/* NATAL RUSH — landing (tema: corrida natalina nos trilhos) */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800;900&family=Lilita+One&display=swap");

:root {
  --night: #071a33;
  --night-2: #0e2a52;
  --panel: rgb(16 46 92 / 0.72);
  --line: rgb(191 230 255 / 0.18);
  --white: #f6fbff;
  --muted: #a9c3e2;
  --red: #ff3347;
  --red-d: #b30f24;
  --green: #2fd36b;
  --green-d: #0d6b37;
  --gold: #ffc93c;
  --ice: #7fe3ff;
  --display: "Lilita One", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--white);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgb(45 111 176 / 0.55), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgb(255 51 71 / 0.14), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, #0b2547 50%, var(--night) 100%);
  min-height: 100vh; min-height: 100dvh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* neve caindo (fundo fixo) */
.snow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(3px 3px at 20px 30px, #fff, transparent),
    radial-gradient(2px 2px at 120px 80px, #fff, transparent),
    radial-gradient(3px 3px at 220px 160px, rgb(255 255 255 / .8), transparent),
    radial-gradient(2px 2px at 300px 40px, #fff, transparent),
    radial-gradient(4px 4px at 360px 220px, rgb(255 255 255 / .7), transparent),
    radial-gradient(2px 2px at 60px 260px, #fff, transparent);
  background-size: 400px 300px;
  animation: snow 14s linear infinite;
  opacity: .55;
}
@keyframes snow { to { background-position: 60px 300px; } }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip-link:focus { left: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgb(7 26 51 / 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header::after { /* faixa bengala doce */
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 10px, #fff 10px 20px);
}
.brand { text-decoration: none; }
.brand .wm { --wm-size: 26px; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 800; color: var(--muted); transition: color .2s; }
.site-nav a:hover { color: var(--white); }
.header-actions { display: flex; gap: 10px; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 900; font-size: 16px; text-decoration: none; letter-spacing: .01em;
  border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .2s;
  color: #fff;
  background: linear-gradient(180deg, #ff5a68, var(--red) 55%, var(--red-d));
  box-shadow: 0 5px 0 #7d0716, 0 12px 26px rgb(255 51 71 / .35);
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(3px); box-shadow: 0 2px 0 #7d0716; }
.button--small { padding: 10px 18px; font-size: 14px; box-shadow: 0 4px 0 #7d0716; }
.button--quiet { background: transparent; box-shadow: none; color: var(--muted); padding: 10px 14px; font-size: 14px; }
.button--quiet:hover { color: #fff; }
.button--hero {
  font-size: 18px; padding: 18px 30px;
  background: linear-gradient(180deg, #ffe07a, var(--gold) 55%, #e89a00);
  color: #3a1d00; box-shadow: 0 6px 0 #8a5600, 0 16px 34px rgb(255 201 60 / .35);
}
.button--hero b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px; }
.button--outline {
  background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 2px rgb(255 255 255 / .28);
}
.button--outline:hover { background: rgb(255 255 255 / .12); }

/* ---------- tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px; font-size: 12px; font-weight: 900; letter-spacing: .16em; color: var(--ice);
}
.eyebrow i {
  width: 22px; height: 8px; border-radius: 4px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 4px, #fff 4px 8px);
}
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0 0 20px; letter-spacing: .005em; }
h1 { font-size: clamp(44px, 6.4vw, 84px); text-shadow: 0 6px 0 rgb(0 0 0 / .25); }
h2 { font-size: clamp(34px, 4.4vw, 58px); }
h1 em, h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), #ff8a3d 50%, var(--red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
p { line-height: 1.6; color: var(--muted); }

main, .site-footer { position: relative; z-index: 1; }
section { padding: clamp(60px, 9vw, 120px) clamp(16px, 5vw, 72px); max-width: 1280px; margin: 0 auto; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding-top: clamp(50px, 7vw, 90px);
}
.hero-lights {
  position: absolute; left: 0; right: 0; top: 10px; height: 40px;
  display: flex; justify-content: space-around; pointer-events: none;
}
.hero-lights::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30px;
  border-bottom: 2px solid rgb(255 255 255 / .18); border-radius: 0 0 50% 50%;
}
.hero-lights i {
  width: 12px; height: 18px; border-radius: 50% 50% 45% 45%; margin-top: 18px;
  background: var(--c, var(--red)); box-shadow: 0 0 14px 3px var(--c, var(--red));
  animation: blink 1.6s ease-in-out infinite;
}
.hero-lights i:nth-child(4n+2) { --c: var(--gold); animation-delay: .4s; }
.hero-lights i:nth-child(4n+3) { --c: var(--green); animation-delay: .8s; }
.hero-lights i:nth-child(4n+4) { --c: var(--ice); animation-delay: 1.2s; }
@keyframes blink { 50% { opacity: .35; box-shadow: none; } }

.hero-lead { font-size: 18px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 800; font-size: 14px; }
.hero-points span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #04301a; font-size: 12px; margin-right: 6px; }

.hero-game { position: relative; display: grid; place-items: center; }
.preview-shell {
  position: relative; width: min(380px, 100%); aspect-ratio: 9 / 15;
  border-radius: 38px; overflow: hidden;
  border: 8px solid #0b2440;
  box-shadow: 0 0 0 3px rgb(255 255 255 / .14), 0 40px 80px rgb(0 0 0 / .5), 0 0 80px rgb(127 227 255 / .18);
  transform: rotate(2deg);
}
.preview-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview-top {
  position: absolute; top: 14px; left: 14px; right: 14px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 900; font-size: 12px; letter-spacing: .08em;
}
.preview-top span { display: inline-flex; align-items: center; gap: 6px; background: rgb(7 26 51 / .7); padding: 7px 12px; border-radius: 999px; }
.preview-top span i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.preview-top strong { font-family: var(--display); font-weight: 400; font-size: 22px; background: rgb(7 26 51 / .7); padding: 4px 12px; border-radius: 12px; }
.preview-top small { font-size: 12px; color: var(--ice); }
.preview-gifts {
  position: absolute; top: 58px; right: 14px; font-weight: 900; font-size: 15px;
  background: linear-gradient(180deg, var(--gold), #e89a00); color: #3a1d00;
  padding: 5px 12px; border-radius: 999px; box-shadow: 0 3px 0 #8a5600;
}
.preview-combo {
  position: absolute; top: 58px; left: 14px; text-align: center;
  background: var(--red); padding: 6px 12px; border-radius: 14px; box-shadow: 0 3px 0 #7d0716;
}
.preview-combo small { display: block; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.preview-combo strong { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; }
.preview-runner {
  position: absolute; left: 50%; bottom: 13%; width: 46%;
  transform: translateX(-50%);
  filter: drop-shadow(0 14px 10px rgb(0 0 0 / .35));
  animation: run .55s ease-in-out infinite alternate;
}
@keyframes run { to { transform: translate(-50%, -8px) rotate(-2deg); } }
.preview-swipe { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.preview-swipe i {
  font-style: normal; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 12px; background: rgb(7 26 51 / .65); border: 1px solid rgb(255 255 255 / .25); font-size: 13px;
}

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(10px);
  padding: 12px 16px; border-radius: 18px; box-shadow: 0 18px 40px rgb(0 0 0 / .35);
  animation: float 4s ease-in-out infinite;
}
.float-card span { font-size: 26px; }
.float-card small { display: block; font-size: 10px; font-weight: 900; letter-spacing: .12em; color: var(--gold); }
.float-card strong { font-size: 14px; }
.float-card--left { left: -10px; top: 26%; }
.float-card--right { right: -10px; bottom: 18%; animation-delay: 1.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- faixa ---------- */
.color-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  padding: 0; border-radius: var(--radius); overflow: hidden; max-width: 1136px;
  box-shadow: 0 20px 50px rgb(0 0 0 / .3);
}
.color-strip article { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 26px 10px; }
.color-strip article:nth-child(1) { background: var(--red); }
.color-strip article:nth-child(2) { background: var(--green-d); }
.color-strip article:nth-child(3) { background: #e89a00; }
.color-strip article:nth-child(4) { background: #1f5fa8; }
.color-strip b { font-size: 13px; opacity: .7; }
.color-strip span { font-family: var(--display); font-size: clamp(20px, 2.4vw, 30px); }

/* ---------- como jogar ---------- */
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-grid article {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  overflow: hidden;
}
.how-grid article::before { /* "neve" no topo do card */
  content: ""; position: absolute; left: -10px; right: -10px; top: -14px; height: 30px;
  background: radial-gradient(circle at 20px 14px, #fff 14px, transparent 15px) 0 0 / 44px 30px repeat-x;
  opacity: .9;
}
.how-icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin: 14px 0 18px;
  border-radius: 18px; font-size: 28px;
  background: linear-gradient(180deg, #ff5a68, var(--red-d)); box-shadow: 0 5px 0 #7d0716;
}
.how-grid article:nth-child(2) .how-icon { background: linear-gradient(180deg, #4fe08a, var(--green-d)); box-shadow: 0 5px 0 #053d1f; }
.how-grid article:nth-child(3) .how-icon { background: linear-gradient(180deg, #ffe07a, #e89a00); box-shadow: 0 5px 0 #8a5600; }
.how-grid b { position: absolute; top: 28px; right: 26px; font-family: var(--display); font-size: 42px; font-weight: 400; color: rgb(255 255 255 / .08); }
.how-grid h3 { margin: 0 0 8px; font-size: 22px; }
.how-grid p { margin: 0; }

/* ---------- universo ---------- */
.world { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.world-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.world-art > img { position: relative; width: 78%; z-index: 2; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .45)); }
.mascot-halo {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 201 60 / .35), transparent 65%);
}
.world-badge {
  position: absolute; bottom: 6%; z-index: 3;
  background: var(--green); color: #04301a; font-weight: 900; font-size: 13px; letter-spacing: .12em;
  padding: 10px 18px; border-radius: 999px; box-shadow: 0 5px 0 #053d1f;
}
.gift-field { position: absolute; inset: 0; z-index: 1; }

/* presentes (decoração CSS) */
.gift {
  --s: 50px; --c: var(--red); --r: var(--gold);
  position: relative; display: inline-block; width: var(--s); height: var(--s);
  border-radius: calc(var(--s) * .14);
  background:
    linear-gradient(90deg, transparent 42%, var(--r) 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 42%, var(--r) 42% 58%, transparent 58%),
    var(--c);
  box-shadow: inset 0 -6px 0 rgb(0 0 0 / .2), 0 10px 20px rgb(0 0 0 / .3);
}
.gift::before, .gift::after {
  content: ""; position: absolute; top: calc(var(--s) * -.26); width: calc(var(--s) * .34); height: calc(var(--s) * .3);
  border: calc(var(--s) * .08) solid var(--r); border-radius: 50% 50% 10% 50%;
}
.gift::before { left: calc(var(--s) * .16); transform: rotate(-20deg); }
.gift::after { right: calc(var(--s) * .16); transform: rotate(20deg) scaleX(-1); }
.gift.green { --c: var(--green-d); --r: #fff; }
.gift.gold { --c: #e89a00; --r: var(--red); }
.gift.big { --s: 74px; } .gift.medium { --s: 54px; } .gift.small { --s: 36px; }
.gift-field .gift { position: absolute; animation: float 5s ease-in-out infinite; }
.gift-field .gift:nth-child(1) { left: 2%; top: 12%; transform: rotate(-12deg); }
.gift-field .gift:nth-child(2) { right: 6%; top: 6%; animation-delay: .8s; }
.gift-field .gift:nth-child(3) { right: 0; top: 46%; animation-delay: 1.6s; }
.gift-field .gift:nth-child(4) { left: 0; bottom: 18%; animation-delay: 2.2s; }
.gift-field .gift:nth-child(5) { left: 28%; top: 0; animation-delay: 3s; }
.gift-field .gift:nth-child(6) { right: 14%; bottom: 6%; animation-delay: 1.1s; }

.feature-list { display: grid; gap: 14px; margin: 28px 0; }
.feature-list article {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line);
}
.feature-list span { font-size: 28px; }
.feature-list strong { display: block; font-size: 17px; margin-bottom: 4px; }
.feature-list small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.text-link { font-weight: 900; color: var(--gold); text-decoration: none; }
.text-link span { display: inline-block; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }

/* ---------- comunidade ---------- */
.community { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.community-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.community-stats article { padding: 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.community-stats strong { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--gold); }
.community-stats span { font-size: 13px; color: var(--muted); }

.dashboard-card {
  padding: 26px; border-radius: 30px;
  background: linear-gradient(160deg, #13386b, #0a1f3d);
  border: 1px solid var(--line); box-shadow: 0 40px 80px rgb(0 0 0 / .45);
  position: relative; overflow: hidden;
}
.dashboard-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 10px, #fff 10px 20px);
}
.dashboard-card header { display: flex; align-items: center; gap: 14px; }
.dashboard-card header img { width: 54px; height: 54px; border-radius: 50%; }
.dashboard-card header small { font-size: 10px; letter-spacing: .14em; font-weight: 900; color: var(--muted); }
.dashboard-card header strong { display: block; font-size: 20px; }
.dashboard-card header span { margin-left: auto; font-size: 11px; font-weight: 900; color: #04301a; background: var(--green); padding: 6px 10px; border-radius: 999px; }
.dashboard-score { margin: 24px 0; padding: 20px; border-radius: 20px; background: rgb(255 255 255 / .05); }
.dashboard-score small { font-size: 11px; letter-spacing: .14em; font-weight: 900; color: var(--muted); }
.dashboard-score strong { display: block; font-family: var(--display); font-weight: 400; font-size: 46px; color: var(--gold); }
.dashboard-score i { font-style: normal; font-weight: 900; color: var(--green); }
.dashboard-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.dashboard-bars i { flex: 1; height: var(--size); border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--red), var(--red-d)); }
.dashboard-bars i:nth-child(even) { background: linear-gradient(180deg, var(--green), var(--green-d)); }
.dashboard-bars i:nth-child(5) { background: linear-gradient(180deg, #ffe07a, #e89a00); }
.dashboard-card footer { display: flex; justify-content: space-between; margin-top: 20px; font-size: 11px; font-weight: 900; letter-spacing: .1em; color: var(--muted); }
.dashboard-card footer b { display: block; font-size: 20px; color: #fff; letter-spacing: 0; }

/* ---------- CTA final ---------- */
.final-cta {
  position: relative; text-align: center; max-width: 1000px;
  margin: 40px auto 80px; padding: 70px clamp(20px, 5vw, 70px) 50px;
  border-radius: 40px;
  background: linear-gradient(170deg, #c4122a, #7d0716);
  box-shadow: 0 40px 80px rgb(0 0 0 / .45);
  overflow: hidden;
}
.final-cta::before { /* neve acumulada no topo */
  content: ""; position: absolute; left: -10px; right: -10px; top: -18px; height: 40px;
  background: radial-gradient(circle at 26px 18px, #fff 20px, transparent 21px) 0 0 / 56px 40px repeat-x;
}
.final-cta p { color: #ffd6da; max-width: 560px; margin: 0 auto 28px; }
.final-cta .eyebrow { color: var(--gold); }
.final-cta img { width: 140px; margin: 0 auto 10px; filter: drop-shadow(0 16px 20px rgb(0 0 0 / .4)); }
.final-cta > div:not(.cta-gifts) { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 26px; }
.final-cta small { color: #ffb3bb; font-size: 12px; }
.cta-gifts .gift { position: absolute; opacity: .9; }
.cta-gifts .gift:nth-child(1) { left: 5%; top: 22%; transform: rotate(-14deg); }
.cta-gifts .gift:nth-child(2) { right: 7%; top: 18%; transform: rotate(10deg); }
.cta-gifts .gift:nth-child(3) { left: 9%; bottom: 14%; --s: 38px; }
.cta-gifts .gift:nth-child(4) { right: 10%; bottom: 18%; --s: 34px; --c: var(--green-d); --r: #fff; }

/* ---------- footer ---------- */
.site-footer {
  display: grid; justify-items: center; gap: 12px; text-align: center;
  padding: 50px 20px 40px; border-top: 1px solid var(--line);
  background: rgb(4 15 31 / .6);
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { text-decoration: none; font-weight: 800; color: var(--muted); }
.site-footer nav a:hover { color: #fff; }
.site-footer small { color: #6f8db3; }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero, .world, .community { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .how-grid { grid-template-columns: 1fr; }
  .world-art { max-width: 420px; margin: 0 auto; }
  .float-card--left { left: 0; }
  .float-card--right { right: 0; }
}
@media (max-width: 560px) {
  .site-header { padding: 12px 14px; gap: 10px; }
  .brand .wm { --wm-size: 20px; }
  .button--quiet { display: none; }
  .color-strip { grid-template-columns: repeat(2, 1fr); border-radius: 20px; margin: 0 16px; }
  .community-stats { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .preview-shell { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
