:root {
  --bg: #0b0b12;
  --surface: #14141f;
  --surface-2: #1c1c2a;
  --truth: #00ff88;
  --lie: #ff3366;
  --chaos: #aa66ff;
  --amber: #ffaa00;
  --text: #ffffff;
  --muted: #8a8aa0;
  --border: rgba(255, 255, 255, 0.08);
  --glow-truth: rgba(0, 255, 136, 0.35);
  --glow-amber: rgba(255, 170, 0, 0.35);
  --max: 1080px;
  --cup-gold-hi: #ffd76a;
  --cup-gold-lo: #c98a00;
  --cup-silver-hi: #f0f0f0;
  --cup-silver-lo: #8f95a3;
  --cup-bronze-hi: #e6a86b;
  --cup-bronze-lo: #9a5b24;
  --cup-star: #ffdd55;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--truth);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(0, 255, 136, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 10%, rgba(255, 51, 102, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(170, 102, 255, 0.08), transparent 55%);
}

.shell {
  position: relative;
  z-index: 1;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 11, 18, 0.85);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.5rem;
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
}

.lang-picker {
  margin: 0;
}

.lang-picker select {
  appearance: none;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 2rem 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a8aa0' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

.lang-picker select:hover,
.lang-picker select:focus {
  border-color: rgba(0, 255, 136, 0.35);
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 0 24px var(--glow-truth);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.25rem;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero-logo {
  width: min(320px, 78vw);
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 0 48px rgba(0, 255, 136, 0.35));
}

.hero-icon {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  margin: 0 auto 1.5rem;
  box-shadow:
    0 0 0 1px rgba(0, 255, 136, 0.25),
    0 0 48px var(--glow-truth);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--text) 0%, var(--truth) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .tagline {
  margin: 0 auto 2rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #00cc6a, var(--truth));
  color: #04140c;
  box-shadow: 0 8px 32px var(--glow-truth);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.hero-note {
  font-size: 0.88rem;
  color: var(--muted);
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.03em;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 40rem;
}

.demo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  max-width: 360px;
  margin: 0 auto 2rem;
  text-align: center;
}

.demo-card.truth {
  border-color: rgba(0, 255, 136, 0.45);
  box-shadow: 0 0 40px var(--glow-truth);
}

.demo-card.lie {
  border-color: rgba(255, 170, 0, 0.5);
  box-shadow: 0 0 40px var(--glow-amber);
}

.demo-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.demo-card.truth .demo-label {
  color: var(--truth);
}

.demo-card.lie .demo-label {
  color: var(--amber);
}

.demo-command {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.demo-hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.rule-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
}

.rule-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.rule-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.rule-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.rule-dot.truth {
  background: var(--truth);
  box-shadow: 0 0 10px var(--glow-truth);
}

.rule-dot.lie {
  background: var(--amber);
  box-shadow: 0 0 10px var(--glow-amber);
}

.rule-dot.chaos {
  background: var(--chaos);
  box-shadow: 0 0 10px rgba(170, 102, 255, 0.4);
}

.daily-podium-section {
  padding-top: 2.5rem;
}

.daily-podium {
  margin-top: 1.5rem;
}

.podium-footnote {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.92rem;
}

.podium-state {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  border: 1px dashed var(--border);
  border-radius: 16px;
  background: rgba(20, 20, 31, 0.55);
}

.podium-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 1.75rem);
  max-width: 720px;
  margin-inline: auto;
  padding-top: 0.5rem;
}

.podium-slot {
  flex: 1 1 0;
  min-width: 0;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.podium-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 0.35rem;
  width: 100%;
}

.podium-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  background: var(--surface-2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.podium-avatar--placeholder {
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
}

.podium-avatar--1 {
  width: 72px;
  height: 72px;
  border-color: var(--cup-gold-hi);
  box-shadow: 0 0 0 4px rgba(255, 215, 106, 0.15), 0 10px 28px rgba(0, 0, 0, 0.4);
}

.podium-avatar--2 {
  width: 64px;
  height: 64px;
  border-color: var(--cup-silver-hi);
  box-shadow: 0 0 0 4px rgba(192, 192, 192, 0.12), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.podium-avatar--3 {
  border-color: var(--cup-bronze-hi);
  box-shadow: 0 0 0 4px rgba(205, 127, 50, 0.12), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.podium-name {
  margin: 0.65rem 0 0.15rem;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.25;
  word-break: break-word;
}

.podium-congrats {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.podium-slot--1 .podium-congrats { color: var(--cup-gold-hi); }
.podium-slot--2 .podium-congrats { color: var(--cup-silver-hi); }
.podium-slot--3 .podium-congrats { color: var(--cup-bronze-hi); }

.podium-score {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.podium-stand {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.podium-cup {
  width: clamp(64px, 18vw, 88px);
  height: auto;
  margin-bottom: -0.35rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.podium-cup__number {
  fill: rgba(0, 0, 0, 0.55);
  font-size: 24px;
  font-weight: 900;
  font-family: system-ui, sans-serif;
}

.podium-slot--3 .podium-cup__stars circle:nth-child(4),
.podium-slot--3 .podium-cup__stars circle:nth-child(5) {
  opacity: 0;
}

.podium-riser {
  width: 100%;
  border-radius: 12px 12px 4px 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 24px rgba(0, 0, 0, 0.28);
}

.podium-riser--1 { height: 6.5rem; }
.podium-riser--2 { height: 4.75rem; }
.podium-riser--3 { height: 3.25rem; }

.podium-slot--1 .podium-riser {
  background: linear-gradient(180deg, rgba(255, 215, 106, 0.22), rgba(255, 170, 0, 0.08));
  border-color: rgba(255, 215, 106, 0.28);
}

.podium-slot--2 .podium-riser {
  background: linear-gradient(180deg, rgba(192, 192, 192, 0.2), rgba(143, 149, 163, 0.08));
  border-color: rgba(192, 192, 192, 0.25);
}

.podium-slot--3 .podium-riser {
  background: linear-gradient(180deg, rgba(230, 168, 107, 0.2), rgba(154, 91, 36, 0.08));
  border-color: rgba(230, 168, 107, 0.25);
}

@media (max-width: 520px) {
  .podium-name {
    font-size: 0.85rem;
  }

  .podium-congrats {
    font-size: 0.72rem;
  }

  .podium-riser--1 { height: 5.25rem; }
  .podium-riser--2 { height: 4rem; }
  .podium-riser--3 { height: 2.75rem; }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem;
  min-height: 100%;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.feature-card__icon {
  margin-top: 1rem;
  line-height: 1;
}

.feature-card__icon .material-symbols-outlined {
  font-size: 2rem;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.feature-card--solo {
  border-color: rgba(0, 255, 136, 0.3);
  background: linear-gradient(160deg, rgba(0, 255, 136, 0.08), var(--surface));
}

.feature-card--solo h3,
.feature-card--solo .feature-card__icon .material-symbols-outlined {
  color: var(--truth);
}

.feature-card--duel {
  border-color: rgba(255, 170, 0, 0.35);
  background: linear-gradient(160deg, rgba(255, 170, 0, 0.1), var(--surface));
}

.feature-card--duel h3,
.feature-card--duel .feature-card__icon .material-symbols-outlined {
  color: var(--amber);
}

.feature-card--friends {
  border-color: rgba(0, 255, 136, 0.3);
  background: linear-gradient(160deg, rgba(0, 255, 136, 0.08), var(--surface));
}

.feature-card--friends h3,
.feature-card--friends .feature-card__icon .material-symbols-outlined {
  color: var(--truth);
}

.feature-card--chat {
  border-color: rgba(255, 51, 102, 0.35);
  background: linear-gradient(160deg, rgba(255, 51, 102, 0.1), var(--surface));
}

.feature-card--chat h3,
.feature-card--chat .feature-card__icon .material-symbols-outlined {
  color: var(--lie);
}

.feature-card--coliseo {
  border-color: rgba(255, 170, 0, 0.35);
  background: linear-gradient(160deg, rgba(255, 170, 0, 0.1), var(--surface));
}

.feature-card--coliseo h3,
.feature-card--coliseo .feature-card__icon .material-symbols-outlined {
  color: var(--amber);
}

.feature-card--rankings {
  border-color: rgba(170, 102, 255, 0.35);
  background: linear-gradient(160deg, rgba(170, 102, 255, 0.12), var(--surface));
}

.feature-card--rankings h3,
.feature-card--rankings .feature-card__icon .material-symbols-outlined {
  color: var(--chaos);
}

.feature-card--medals {
  border-color: rgba(255, 170, 0, 0.35);
  background: linear-gradient(160deg, rgba(255, 170, 0, 0.1), var(--surface));
}

.feature-card--medals h3,
.feature-card--medals .feature-card__icon .material-symbols-outlined {
  color: var(--amber);
}

.commands-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.chip {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.game-screenshots {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.game-screenshots__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  text-align: center;
}

.game-screenshots__lead {
  margin: 0 0 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.game-screenshots__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 136, 0.35) transparent;
}

.game-screenshots__track::-webkit-scrollbar {
  height: 6px;
}

.game-screenshots__track::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 136, 0.35);
  border-radius: 999px;
}

.game-screenshots__item {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: center;
}

.game-screenshots__item img {
  display: block;
  width: auto;
  height: min(68vh, 520px);
  max-height: 520px;
  border-radius: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 255, 136, 0.08);
  background: #000;
}

@media (max-width: 640px) {
  .game-screenshots__item img {
    height: min(62vh, 420px);
  }

  .game-screenshots__track {
    gap: 0.75rem;
    padding-inline: 0.15rem 1rem;
  }
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 640px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 3rem;
  }
}

.music-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(20, 20, 31, 0.92);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.music-toggle:hover {
  border-color: rgba(0, 255, 136, 0.35);
  color: var(--truth);
}

.music-toggle:focus-visible {
  outline: 2px solid var(--truth);
  outline-offset: 2px;
}

.music-toggle--muted {
  color: var(--muted);
}

.music-toggle .material-symbols-outlined {
  font-size: 1.35rem;
  line-height: 1;
}

.social-rail {
  position: fixed;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.social-rail .social-link:hover {
  transform: translateX(2px);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(20, 20, 31, 0.92);
  color: var(--text);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.social-link:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.social-link:focus-visible {
  outline: 2px solid var(--truth);
  outline-offset: 2px;
}

.social-link--facebook:hover {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.45);
}

.social-link--whatsapp:hover {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.45);
}

.social-link--instagram:hover {
  color: #e4405f;
  border-color: rgba(228, 64, 95, 0.45);
}

.social-link--tiktok:hover {
  color: #25f4ee;
  border-color: rgba(254, 44, 85, 0.45);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-social .social-link {
  width: 2.35rem;
  height: 2.35rem;
  background: var(--surface);
}

@media (max-width: 640px) {
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-social {
    order: 2;
  }

  .footer-links {
    order: 3;
  }
}

@media (max-width: 640px) {
  .social-rail {
    left: 0.5rem;
    gap: 0.4rem;
  }

  .social-rail .social-link {
    width: 2.15rem;
    height: 2.15rem;
  }

  .social-rail .social-link svg {
    width: 17px;
    height: 17px;
  }
}
