:root {
  --bg-1: #080f2b;
  --bg-2: #111b49;
  --bg-3: #24135f;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.2);
  --text: #f7f9ff;
  --muted: #bfd1ff;
  --ink: #132044;
  --blue: #3f7dff;
  --blue-dark: #2c56d8;
  --purple: #9550ff;
  --green: #1bc977;
  --yellow: #ffd84f;
  --pink: #ff4fa1;
  --shadow: 0 26px 58px rgba(2, 7, 24, 0.44);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, "Segoe UI", Tahoma, sans-serif;
  background: radial-gradient(circle at 5% 0%, #1a2d7a 0%, transparent 34%),
              radial-gradient(circle at 100% 10%, #421a7b 0%, transparent 32%),
              linear-gradient(145deg, var(--bg-1), var(--bg-2) 54%, var(--bg-3));
}

.landing-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  animation: float 12s ease-in-out infinite;
}

.blob-a {
  width: 380px;
  height: 380px;
  left: -120px;
  top: 120px;
  background: #2e7aff;
}

.blob-b {
  width: 340px;
  height: 340px;
  right: -90px;
  top: 90px;
  background: #a33fff;
  animation-delay: -4s;
}

.blob-c {
  width: 280px;
  height: 280px;
  right: 22%;
  bottom: -120px;
  background: #ff4fa1;
  animation-delay: -8s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 92%);
}

.container {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
  position: relative;
}

.section-kicker {
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1.03;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}

.hero-subtitle,
.section-subtitle {
  margin-top: 14px;
  color: rgba(231, 237, 255, .88);
  line-height: 1.65;
}

.glass-panel {
  background: linear-gradient(165deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(8, 15, 43, .65);
  backdrop-filter: blur(14px);
}

.header-shell {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.brand-name {
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.main-nav a {
  text-decoration: none;
  color: rgba(255,255,255,.9);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: .93rem;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}

.main-nav a:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  padding: 11px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.primary-btn,
.ghost-btn,
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(130deg, var(--blue), var(--purple));
  box-shadow: 0 14px 30px rgba(74, 88, 255, .42);
  padding: 12px 18px;
}

.primary-btn:hover,
.theme-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.primary-btn:active,
.theme-btn:active,
.ghost-btn:active {
  transform: translateY(0);
}

.primary-btn.xl,
.ghost-btn.xl {
  min-height: 54px;
  padding: 14px 24px;
  font-size: 1rem;
}

.ghost-btn {
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.26);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 22px;
  align-items: stretch;
}

.hero-copy {
  padding: clamp(22px, 4vw, 38px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-mini-stats {
  margin-top: 22px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-mini-stats span {
  font-size: .86rem;
  font-weight: 700;
  color: rgba(255,255,255,.95);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}

.quiz-mockup {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.quiz-mockup::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 25%;
  height: 220px;
  background: radial-gradient(circle at center, rgba(63,125,255,.38), transparent 64%);
  pointer-events: none;
}

.mockup-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  color: rgba(255,255,255,.95);
}

.mockup-theme {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .78rem;
  background: rgba(255,255,255,.16);
}

.mockup-score {
  color: var(--yellow);
  font-size: .92rem;
}

.mockup-progress {
  margin: 14px 0 16px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  overflow: hidden;
}

.mockup-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--yellow));
}

.mockup-question {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.35;
  color: #fff;
  font-weight: 800;
}

.mockup-options {
  margin-top: 14px;
  display: grid;
  gap: 9px;
}

.mockup-option {
  text-align: left;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 700;
  padding: 11px 12px;
}

.mockup-option.correct {
  border-color: rgba(27,201,119,.7);
  background: rgba(27,201,119,.24);
}

.mockup-feedback {
  margin-top: 12px;
  color: #9effcb;
  font-weight: 800;
}

.stats-grid,
.themes-grid,
.examples-grid,
.steps-grid,
.highlights-grid {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.loading-text {
  margin: 0;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: rgba(240, 245, 255, .94);
  font-weight: 700;
  text-align: center;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 24px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(11px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background: linear-gradient(150deg, rgba(255,255,255,.23), transparent 65%);
}

.stat-a { background: rgba(63,125,255,.24); }
.stat-b { background: rgba(149,80,255,.24); }
.stat-c { background: rgba(255,79,161,.24); }

.stat-icon {
  position: relative;
  margin: 0;
  font-size: 1.45rem;
}

.stat-value {
  position: relative;
  margin-top: 8px;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  color: #fff;
  font-weight: 900;
}

.stat-label {
  position: relative;
  margin-top: 4px;
  color: rgba(239, 244, 255, .9);
  font-weight: 700;
}

.themes-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-card {
  border-radius: 22px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.19);
  background: linear-gradient(160deg, rgba(255,255,255,.15), rgba(255,255,255,.06));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}

.theme-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.38);
}

.theme-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  color: #fff;
}

.emoji {
  font-size: 1.45rem;
}

.theme-card p {
  margin-top: 10px;
  color: rgba(232, 239, 255, .88);
  line-height: 1.55;
}

.theme-meta {
  margin-top: 12px;
  display: inline-flex;
  font-size: .82rem;
  color: #fff;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
}

.theme-btn {
  margin-top: 14px;
  color: #fff;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.35);
  min-width: 108px;
  padding: 10px 14px;
}

.card-filmes { box-shadow: 0 20px 44px rgba(255, 120, 72, .3); }
.card-series { box-shadow: 0 20px 44px rgba(88, 142, 255, .32); }
.card-animes { box-shadow: 0 20px 44px rgba(151, 92, 255, .32); }
.card-desenhos { box-shadow: 0 20px 44px rgba(80, 198, 255, .32); }
.card-futebol { box-shadow: 0 20px 44px rgba(35, 197, 121, .32); }
.card-games { box-shadow: 0 20px 44px rgba(255, 74, 163, .32); }
.card-tokusatsu { box-shadow: 0 20px 44px rgba(255, 99, 71, .32); }
.card-musica { box-shadow: 0 20px 44px rgba(255, 207, 82, .32); }
.card-geral { box-shadow: 0 20px 44px rgba(139, 168, 255, .32); }
.card-educacao { box-shadow: 0 20px 44px rgba(101, 190, 255, .32); }

.examples-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.example-card {
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.2);
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  backdrop-filter: blur(10px);
}

.example-theme {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: #d5e3ff;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}

.example-card h3 {
  margin-top: 10px;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.34;
}

.example-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 7px;
}

.example-card li {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.11);
  color: rgba(244,247,255,.95);
  font-size: .92rem;
  font-weight: 700;
}

.example-card li.correct {
  background: rgba(27,201,119,.28);
  border: 1px solid rgba(27,201,119,.6);
  color: #bcffd9;
}

.example-answer {
  margin-top: 10px;
  color: #abffd1;
  font-weight: 800;
  font-size: .88rem;
}

.examples-actions {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

#reloadExamplesBtn {
  min-height: 44px;
  min-width: 210px;
}

#reloadExamplesBtn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(150deg, rgba(255,255,255,.16), rgba(255,255,255,.07));
  position: relative;
}

.step-card span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  background: rgba(255,255,255,.2);
  color: #fff;
}

.step-card h3 {
  margin-top: 12px;
  color: #fff;
  font-size: 1rem;
}

.step-card p {
  margin-top: 8px;
  color: rgba(234, 241, 255, .88);
  line-height: 1.55;
}

.highlights-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlight-card {
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  font-weight: 800;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}

.ranking-awards {
  padding-top: 28px;
}

.awards-shell {
  padding: clamp(20px, 4vw, 34px);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 216, 79, .22), transparent 45%),
    radial-gradient(circle at 92% 0%, rgba(149, 80, 255, .26), transparent 42%),
    linear-gradient(145deg, rgba(14, 28, 68, .72), rgba(31, 16, 72, .72));
}

.awards-head .section-subtitle {
  max-width: 840px;
}

.awards-meta-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.awards-meta-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .07);
  padding: 14px;
}

.awards-meta-card.total {
  background: linear-gradient(130deg, rgba(255, 216, 79, .28), rgba(255, 158, 82, .24));
  border-color: rgba(255, 219, 120, .52);
}

.meta-label {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(246, 251, 255, .84);
  font-weight: 800;
}

.meta-value {
  margin-top: 6px;
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1;
  color: #fff;
  font-weight: 900;
}

.meta-text {
  margin-top: 8px;
  color: rgba(237, 244, 255, .9);
  line-height: 1.45;
  font-weight: 700;
}

.awards-prize-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.awards-prize-list p {
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  padding: 10px 12px;
  color: #fff;
  font-weight: 700;
}

.awards-top-title {
  margin-top: 26px;
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  color: #fff;
}

.awards-podium {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.podium-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  padding: 18px;
  box-shadow: var(--shadow);
}

.podium-gold {
  transform: translateY(-8px);
  background: linear-gradient(150deg, rgba(255, 216, 79, .34), rgba(255, 142, 72, .18));
  border-color: rgba(255, 220, 126, .62);
}

.podium-silver {
  background: linear-gradient(150deg, rgba(208, 222, 255, .3), rgba(147, 168, 231, .16));
}

.podium-bronze {
  background: linear-gradient(150deg, rgba(255, 168, 116, .32), rgba(169, 94, 60, .2));
}

.podium-medal {
  font-size: 1.7rem;
}

.podium-place {
  margin-top: 6px;
  color: rgba(255,255,255,.94);
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.podium-name {
  margin-top: 10px;
  font-size: 1.24rem;
  color: #fff;
  font-weight: 900;
}

.podium-score {
  margin-top: 8px;
  color: rgba(239, 246, 255, .94);
  font-weight: 700;
}

.podium-prize {
  margin-top: 8px;
  color: #fff;
  font-weight: 800;
}

.final-cta {
  padding-top: 34px;
}

.cta-card {
  text-align: center;
  padding: clamp(22px, 4vw, 42px);
  background: linear-gradient(120deg, rgba(63,125,255,.32), rgba(149,80,255,.3), rgba(255,79,161,.3));
}

.cta-card h2 {
  color: #fff;
}

.cta-card p {
  margin: 12px auto 18px;
  max-width: 680px;
  color: rgba(241,246,255,.94);
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(8, 15, 43, .74);
}

.footer-shell {
  padding: 24px 0;
  display: grid;
  gap: 12px;
}

.footer-brand {
  color: #fff;
  font-weight: 900;
}

.footer-text,
.footer-copy {
  margin-top: 6px;
  color: rgba(222, 231, 255, .8);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: #ffd95e;
  font-weight: 700;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(10px); }
}

@media (max-width: 980px) {
  .hero-grid,
  .stats-grid,
  .themes-grid,
  .examples-grid,
  .steps-grid,
  .highlights-grid,
  .awards-meta-grid,
  .awards-prize-list,
  .awards-podium {
    grid-template-columns: 1fr;
  }

  .header-shell {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: block;
    order: 2;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(12, 20, 55, .96);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 16px;
    padding: 10px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    border-radius: 10px;
  }

  .cta-top {
    order: 3;
    font-size: .86rem;
    padding: 10px 14px;
  }

  .section {
    padding: 62px 0;
  }

  .podium-gold {
    transform: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 22px);
  }

  .hero-copy,
  .quiz-mockup,
  .awards-shell,
  .cta-card {
    padding: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn.xl,
  .ghost-btn.xl {
    width: 100%;
  }

  .hero-mini-stats {
    flex-direction: column;
    align-items: flex-start;
  }
}
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(7,20,46,.62);
}

.footer-shell {
  padding: 22px 0;
  display: grid;
  gap: 12px;
}

.footer-brand {
  margin: 0;
  color: #fff;
  font-weight: 900;
}

.footer-text,
.footer-copy {
  margin: 4px 0 0;
  color: rgba(255,255,255,.74);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .themes-grid,
  .examples-grid,
  .steps-grid,
  .highlights-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .header-shell {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: block;
    order: 2;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    background: rgba(7,20,46,.98);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 16px;
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    border-radius: 10px;
    padding: 10px 12px;
  }

  .cta-top {
    order: 3;
    padding: 11px 14px;
    font-size: .9rem;
  }
}

.faq-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.2);
  background: linear-gradient(150deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  padding: 18px;
}

.faq-item h3 {
  color: #fff;
  font-size: 1.04rem;
}

.faq-item p {
  margin-top: 8px;
  color: rgba(236, 243, 255, .9);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
