/* Layout: beconfident.app look. Lavender page, floating pill header, centered light-weight headlines, big rounded white cards, dark pill bar fixed at the bottom. Single light theme like the site. */
:root {
  --bg: #f2ebff;
  --ink: #20044e;
  --ink-2: #45404d;
  --muted: #706680;
  --brand: #8134fe;
  --brand-soft: #dbc4ff;
  --brand-deep: #3e0798;
  --deep: #20044e;
  --card: #ffffff;
  --line: #e4dcf3;
  --tt-cyan: #69c9d0;
  --tt-red: #ee1d52;
  --tt-ink: #121212;
  --font: "Rethink Sans", ui-sans-serif, system-ui, sans-serif;
  --font-ui: "Inter", ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-weight: 400; font-size: clamp(42px, 7vw, 84px); line-height: 1.08; letter-spacing: -0.045em; }
h2 { font-weight: 400; font-size: clamp(34px, 5vw, 60px); line-height: 1.1; letter-spacing: -0.035em; }
h3 { font-weight: 500; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 18px; max-width: 46ch; }
.center .sub { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: 12px; font-weight: 500; color: var(--ink); background: var(--card); border-radius: 999px; padding: 8px 14px; }
.eyebrow.on-dark { background: rgba(255,255,255,0.12); color: #fff; }

/* Pills (site: white pill 52px, radius 16; brand pill purple) */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: 16px; font: 500 16px/1 var(--font); text-decoration: none; transition: transform 140ms ease-out, background-color 160ms ease-out; white-space: nowrap; }
.pill:active { transform: scale(0.97); }
.pill-white { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(32,4,78,0.06); }
.pill-white:hover { background: #faf7ff; }
.pill-brand { background: var(--brand); color: #fff; }
.pill-brand:hover { background: #9148ff; }
.pill-sm { height: 40px; padding: 0 16px; font-size: 14px; }

/* Floating header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 15; padding-block: 18px; pointer-events: none; }
.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.top > .wrap > * { pointer-events: auto; }
.top .right { justify-self: end; }
.top .tag { justify-self: start; text-decoration: none; }
.logo-pill { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 14px; background: var(--brand); color: #fff; box-shadow: 0 6px 20px rgba(129,52,254,0.28); }
.logo-pill svg { height: 17px; width: auto; display: block; }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 12px; border-radius: 14px; background: var(--tt-ink); color: #fff; font: 500 15px/1 var(--font); }
.tag .dot { width: 24px; height: 24px; display: grid; place-items: center; }
.tag .dot svg { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; padding-block: 40px 48px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 { max-width: 12ch; }
.hero .sub { margin-top: 24px; }
.hero .cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 660px; display: grid; place-items: center; }
.glow { position: absolute; left: 50%; top: 50%; width: 800px; max-width: 150vw; height: 800px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(129,52,254,0.9) 0%, rgba(129,52,254,0.45) 28%, rgba(129,52,254,0) 60%); pointer-events: none; }
.hero-video { position: relative; z-index: 1; width: 320px; max-width: 100%; transform: rotate(-3deg); }
.av { position: absolute; z-index: 2; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 30px rgba(32,4,78,0.2); }
.av img { width: 100%; height: 100%; display: block; object-fit: cover; }
.av.a1 { left: 0; top: 70px; }
.av.a3 { right: 0; bottom: 110px; }
.av .badge { position: absolute; right: -2px; bottom: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--tt-ink); border: 3px solid var(--bg); display: grid; place-items: center; }
.av .badge svg { width: 16px; height: 16px; }
.tt-float { position: absolute; z-index: 3; background: var(--card); border-radius: 14px; padding: 10px 14px; box-shadow: 0 10px 30px rgba(32,4,78,0.14); font-family: var(--font-ui); font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.tt-float .h { color: var(--tt-red); font-weight: 600; }
.plus-ic { width: 22px; height: 22px; border-radius: 50%; background: #82e39c; color: #0f5a2a; display: grid; place-items: center; font: 700 15px/1 var(--font-ui); flex-shrink: 0; }
.tt-float.f1 { left: 0; bottom: 50px; }
.tt-float.f2 { right: 0; top: 50px; }

/* Bottom bar (site: fixed dark pill) */
.bar { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 16; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--deep); color: #fff; box-shadow: 0 14px 40px rgba(32,4,78,0.35); font: 500 15px/1 var(--font); max-width: calc(100vw - 32px); }
.bar .pill { height: 44px; padding: 0 18px; font-size: 15px; }
.bar span { white-space: nowrap; }

section { padding-block: 96px; }
.pad-bottom { padding-bottom: 140px; }

/* Smile moment */
.smile-band { position: relative; margin-top: 24px; padding-block: 72px 0; overflow: hidden; }
.smile-band .halo { position: absolute; left: 50%; top: 0; width: 1200px; max-width: 220vw; height: 760px; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 30%, #8134fe 0%, #8134fe 34%, rgba(129,52,254,0) 68%); }
.rings { position: absolute; inset: 0; background-image: radial-gradient(circle, transparent 54px, rgba(129,52,254,0.14) 55px, rgba(129,52,254,0.14) 56px, transparent 57px); background-size: 120px 120px; background-position: center; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent); pointer-events: none; }
.smile { position: relative; width: 440px; max-width: 80vw; aspect-ratio: 440 / 250; margin: 0 auto; }
.smile .eye { position: absolute; top: 0; width: 17%; height: 56%; background: #fff; border-radius: 999px; }
.smile .eye.l { left: 6%; } .smile .eye.r { right: 6%; }
.smile .mouth { position: absolute; left: 20%; right: 20%; bottom: 0; height: 36%; background: #fff; border-radius: 999px; clip-path: path("M0 0 C 20 40 240 40 260 0 L 260 60 C 240 100 20 100 0 60 Z"); }
.smile-band .text { position: relative; }

/* Prize cards: podium, 1st place bigger and lifted */
.cards { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 20px; margin-top: 48px; align-items: stretch; }
.card { background: var(--card); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card .k { font-family: var(--font-ui); font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card .k .gold { background: #fac940; color: var(--deep); font-weight: 600; padding: 5px 9px; border-radius: 999px; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.card .t { font-weight: 500; font-size: clamp(44px, 4.4vw, 60px); letter-spacing: -0.04em; line-height: 1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.card .money { color: var(--ink-2); font-size: 16px; }
.card .perks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.card .perks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.card .perks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='black'/><path d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='black'/><path d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; margin-top: 2px; }
.card .foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: flex-end; align-items: end; gap: 12px; }
.card .logo-sm { color: var(--brand); display: inline-flex; }
.card .logo-sm svg { height: 14px; width: auto; }
.card.hi { background: radial-gradient(ellipse at 80% 0%, rgba(255,255,255,0.18), transparent 50%), linear-gradient(160deg, #8134fe, #3e0798 70%, #20044e); color: #fff; padding: 36px 32px; box-shadow: 0 30px 60px rgba(129,52,254,0.35); transform: translateY(-18px); }
.card.hi .k, .card.hi .money, .card.hi .perks { color: rgba(255,255,255,0.85); }
.card.hi .t { font-size: clamp(64px, 6.5vw, 96px); }
.card.hi .perks li::before { background: #fac940; }
.card.hi .logo-sm { color: #fff; }
.card .foot { justify-content: space-between; }
.card .winner { position: relative; width: 64px; height: 64px; display: inline-block; }
.card .winner .ph { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: 0 6px 18px rgba(32,4,78,0.18); }
.card .winner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .winner .badge { position: absolute; right: -4px; bottom: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--tt-ink); border: 2px solid #fff; display: grid; place-items: center; }
.card .winner .badge svg { width: 12px; height: 12px; }
.card.hi .winner { width: 76px; height: 76px; }
.card.hi .winner .badge { border-color: #3e0798; }
.countdown { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.countdown div { background: var(--card); border-radius: 18px; padding: 14px 10px; min-width: 92px; }
.countdown b { display: block; font: 500 44px/1 var(--font); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.countdown small { display: block; margin-top: 8px; font: 500 11px/1 var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.cd-label { font-family: var(--font-ui); font-size: 13px; color: var(--muted); margin-top: 12px; }
.example { display: block; width: fit-content; margin-inline: auto; }
.prize-img { margin-top: 18px; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg); }
.prize-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card.hi .prize-img { aspect-ratio: 16 / 10; box-shadow: 0 20px 40px rgba(0,0,0,0.3); margin-top: 22px; }
.card.hi .total { margin-top: 12px; }
.card .total { margin-top: 10px; font-family: var(--font-ui); font-size: 14px; color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.12); border-radius: 999px; padding: 8px 14px; width: fit-content; }
.card .total b { color: #fac940; font-weight: 600; }

/* TikTok feed: three vertical video cards */
.feed { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 20px; align-items: end; margin-top: 48px; }
.video { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--tt-ink); color: #fff; font-family: var(--font-ui); min-width: 0; max-width: 100%; box-shadow: 0 20px 50px rgba(32,4,78,0.18); }
.video .bgimg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75)); z-index: 1; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
.video .fy { position: absolute; top: 16px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 18px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.65); }
.video .fy b { color: #fff; position: relative; }
.video .fy b::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: -6px; height: 2px; background: #fff; border-radius: 2px; }
.video .rail { position: absolute; right: 12px; bottom: 96px; z-index: 2; display: grid; gap: 16px; justify-items: center; font-size: 11px; font-weight: 600; }
.video .rail div { display: grid; justify-items: center; gap: 4px; }
.video .rail svg { width: 28px; height: 28px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); }
.video .rail .pfp { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; overflow: hidden; position: relative; margin-bottom: 6px; }
.video .rail .pfp img { position: static; width: 100%; height: 100%; }
.video .rail .pfp::after { content: "+"; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--tt-red); color: #fff; font-size: 12px; line-height: 16px; text-align: center; }
.video .meta { position: absolute; left: 14px; right: 64px; bottom: 18px; z-index: 2; display: grid; gap: 6px; }
.video .meta .u { font-weight: 600; font-size: 14px; }
.video .meta .c { font-size: 12.5px; line-height: 1.35; color: rgba(255,255,255,0.92); }
.video .meta .c b { font-weight: 600; }
.video .meta .snd { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255,255,255,0.85); white-space: nowrap; overflow: hidden; }
.video .meta .snd svg { width: 12px; height: 12px; flex-shrink: 0; }
.video .meta .snd span { overflow: hidden; text-overflow: ellipsis; }
.video .ttchip { position: absolute; left: 14px; top: 44px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.14); backdrop-filter: blur(6px); border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 600; }
.video .ttchip i { width: 8px; height: 8px; border-radius: 50%; background: var(--tt-red); display: inline-block; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.bars i { width: 2px; background: #fff; border-radius: 1px; animation: eq 900ms ease-in-out infinite alternate; }
.bars i:nth-child(1) { height: 5px; } .bars i:nth-child(2) { height: 12px; animation-delay: 120ms; } .bars i:nth-child(3) { height: 8px; animation-delay: 240ms; } .bars i:nth-child(4) { height: 11px; animation-delay: 360ms; }
@keyframes eq { to { transform: scaleY(0.35); } }
.video .title-big { position: absolute; left: 14px; right: 68px; top: 38%; z-index: 2; font-family: var(--font); font-weight: 600; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.1; letter-spacing: -0.02em; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.video.g1 .scene { background: linear-gradient(160deg, #ff9a3c, #ff7ab6 60%, #8134fe); }
.video.g2 .scene { background: linear-gradient(160deg, #8134fe, #3e0798 60%, #20044e); }
.video.g3 .scene { background: linear-gradient(160deg, #69c9d0, #428bc1 55%, #20044e); }
.video .scene { position: absolute; inset: 0; }
.video .scene .big-av { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); width: 46%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 4px solid rgba(255,255,255,0.7); }
.video .scene .big-av img { position: static; }
.video .scene .bubble { position: absolute; left: 10%; right: 10%; top: 50%; background: rgba(255,255,255,0.92); color: var(--ink); border-radius: 16px 16px 16px 4px; padding: 10px 12px; font-size: 12.5px; line-height: 1.35; }
.video .scene .bubble.me { top: auto; bottom: 30%; left: 22%; right: 8%; background: var(--brand); color: #fff; border-radius: 16px 16px 4px 16px; }
.video .scene .bubble small { display: block; font-size: 10px; opacity: 0.7; margin-bottom: 2px; }
.video .scene .streak { position: absolute; left: 50%; top: 28%; transform: translateX(-50%); text-align: center; font-family: var(--font); }
.video .scene .streak b { display: block; font-size: 84px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.video .scene .streak span { font-size: 14px; font-weight: 500; opacity: 0.9; }
.video .scene .flame { font-size: 36px; display: block; margin-bottom: 4px; }
.video.streakcard .bgimg { background: linear-gradient(180deg, rgba(32,4,78,0.25) 0%, rgba(32,4,78,0.45) 40%, rgba(20,2,50,0.92) 100%); }
.video.streakcard .streak { top: 44%; z-index: 2; text-shadow: 0 4px 24px rgba(0,0,0,0.45); }
/* Live card in the hero */
.video .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.video.live .bgimg { background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.78) 100%); }
.live-top { position: absolute; top: 14px; left: 12px; right: 12px; z-index: 2; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.live-top .host { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,0,0,0.35); border-radius: 999px; padding: 4px 10px 4px 4px; font-weight: 600; backdrop-filter: blur(6px); }
.live-top .host b { background: var(--tt-red); border-radius: 999px; padding: 3px 8px; font-size: 11px; }
.pfp-sm { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; display: inline-block; }
.pfp-sm img { width: 100%; height: 100%; display: block; object-fit: cover; position: static; }
.live-pill { margin-left: auto; background: var(--tt-red); border-radius: 6px; padding: 3px 7px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; }
.viewers { display: inline-flex; align-items: center; gap: 4px; background: rgba(0,0,0,0.35); border-radius: 6px; padding: 3px 7px; font-size: 11px; font-weight: 600; }
.viewers svg { width: 12px; height: 12px; }
.video.live .rail { bottom: 120px; }
.chat { position: absolute; left: 12px; right: 64px; bottom: 54px; z-index: 2; display: grid; gap: 6px; font-size: 12px; line-height: 1.3; }
.chat div { background: rgba(0,0,0,0.3); border-radius: 12px; padding: 6px 10px; width: fit-content; max-width: 100%; backdrop-filter: blur(4px); }
.chat b { color: rgba(255,255,255,0.7); font-weight: 600; margin-right: 4px; }
.chat .hl { background: rgba(129,52,254,0.75); display: inline-flex; align-items: center; gap: 5px; }
.chat .hl b { color: #fff; }
.chat .hl svg { width: 11px; height: 11px; }
.chat-input { position: absolute; left: 12px; right: 64px; bottom: 14px; z-index: 2; border: 1px solid rgba(255,255,255,0.5); border-radius: 999px; padding: 8px 12px; font-size: 12px; color: rgba(255,255,255,0.75); }
.hearts { position: absolute; right: 18px; bottom: 60px; width: 40px; height: 220px; z-index: 1; pointer-events: none; }
.hearts i { position: absolute; left: 50%; bottom: 0; width: 18px; height: 18px; background: var(--tt-red); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21s-7.5-4.6-9.6-9.3C.9 8.2 3 4.5 6.6 4.5c2 0 3.4 1.1 4.2 2.4h2.4c.8-1.3 2.2-2.4 4.2-2.4 3.6 0 5.7 3.7 4.2 7.2C19.5 16.4 12 21 12 21Z'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21s-7.5-4.6-9.6-9.3C.9 8.2 3 4.5 6.6 4.5c2 0 3.4 1.1 4.2 2.4h2.4c.8-1.3 2.2-2.4 4.2-2.4 3.6 0 5.7 3.7 4.2 7.2C19.5 16.4 12 21 12 21Z'/></svg>") center / contain no-repeat; opacity: 0; animation: floatup 3.2s ease-out infinite; }
.hearts i:nth-child(2) { animation-delay: 0.8s; background: var(--brand); }
.hearts i:nth-child(3) { animation-delay: 1.6s; background: #ff7ab6; }
.hearts i:nth-child(4) { animation-delay: 2.4s; }
@keyframes floatup { 0% { opacity: 0; transform: translate(-50%, 0) scale(0.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + 14px), -200px) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .hearts { display: none; } }

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; background: var(--card); border-radius: 24px; padding: 28px 26px 30px; min-width: 0; display: grid; gap: 10px; }
.steps .num { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font: 400 28px/1 var(--font); letter-spacing: -0.03em; margin-bottom: 8px; box-shadow: 0 10px 24px rgba(129,52,254,0.3); }
.steps h3 { font-size: 22px; }
.steps p { color: var(--ink-2); font-size: 16px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 56px; right: -20px; width: 20px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 4px, transparent 4px 8px); }
/* Student challenge: dark rounded block like the WhatsApp section */
.dark-block { background: radial-gradient(ellipse at 20% 100%, rgba(129,52,254,0.75), transparent 55%), linear-gradient(170deg, #2d1461, #20044e 60%, #150333); color: #fff; border-radius: 40px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.dark-block h2 { max-width: 16ch; }
.dark-block .sub { color: rgba(255,255,255,0.78); }
.tiers { display: grid; gap: 10px; margin-top: 8px; }
.tier { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 14px 16px; }
.tier .pos { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 600 14px/1 var(--font-ui); background: rgba(255,255,255,0.12); }
.tier .pos.g { background: #fac940; color: var(--deep); }
.tier .w { font-weight: 500; font-size: 17px; }
.tier .s { font-family: var(--font-ui); font-size: 12.5px; color: rgba(255,255,255,0.65); margin-top: 2px; }
.tier .v { font-family: var(--font-ui); font-weight: 600; font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dark-block .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.18); grid-column: 1 / -1; }
.dark-block .steps div { font-size: 14.5px; color: rgba(255,255,255,0.85); }
.dark-block .steps b { display: block; font-family: var(--font-ui); font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.55); margin-bottom: 6px; }

/* Ranking */
.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.board { background: var(--card); border-radius: 28px; overflow: hidden; min-width: 0; }
.board .bh { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px 14px; }
.board .bh small { font-family: var(--font-ui); font-size: 12px; color: var(--muted); }
.board table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 14px; }
.board th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); padding: 8px 24px; }
.board td { padding: 13px 24px; border-top: 1px solid var(--line); vertical-align: middle; }
.board .num { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.board .pos { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--bg); font-weight: 600; font-size: 12px; }
.board tr.top td { background: #faf7ff; }
.board tr.top .pos { background: var(--brand); color: #fff; }
.board .who { font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.board .who .mini { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--brand-soft); display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--brand-deep); }
.board .who .mini img { width: 100%; height: 100%; display: block; object-fit: cover; }
.board .who small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.example { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: 12px; color: var(--muted); border: 1px dashed #c9bde0; border-radius: 999px; padding: 6px 12px; margin-top: 16px; }

/* PIX notification inside prize cards */
.pix { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; background: var(--bg); border-radius: 16px; padding: 10px 12px; margin-top: 4px; font-family: var(--font-ui); }
.pix-ic { width: 40px; height: 40px; border-radius: 11px; background: #32bcad; color: #fff; display: grid; place-items: center; font: 700 12px/1 var(--font-ui); letter-spacing: 0.02em; }
.pix-b b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.pix-b span { font-size: 12.5px; color: var(--muted); }
.pix-t { font-size: 11px; color: var(--muted); align-self: start; }
.card.hi .pix { background: rgba(255,255,255,0.96); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
/* Full ranking modal */
dialog#full-ranking { border: 0; padding: 0; border-radius: 28px; width: min(760px, calc(100vw - 32px)); max-height: 86vh; background: var(--card); color: var(--ink); overflow: hidden; display: none; flex-direction: column; }
dialog#full-ranking[open] { display: flex; }
dialog#full-ranking::backdrop { background: rgba(32,4,78,0.55); backdrop-filter: blur(4px); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.dlg-tabs { display: inline-flex; gap: 6px; background: var(--bg); border-radius: 999px; padding: 4px; }
.dlg-tab { border: 0; background: transparent; color: var(--muted); font: 500 14px/1 var(--font); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.dlg-tab.active { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(32,4,78,0.08); }
.dlg-close { width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--bg); color: var(--ink); font: 400 24px/1 var(--font-ui); cursor: pointer; }
.dlg-body { overflow: auto; flex: 1; }
.board.flat { border-radius: 0; }
.dlg-more { display: flex; justify-content: center; padding: 16px; }
.dlg-foot { padding: 12px 20px; font-family: var(--font-ui); font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); text-align: center; }
/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; align-items: start; }
details { background: var(--card); border-radius: 20px; min-width: 0; }
summary { cursor: pointer; padding: 20px 22px; font-weight: 500; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 24px/1 var(--font-ui); color: var(--brand); flex-shrink: 0; transition: transform 260ms cubic-bezier(.2,.8,.2,1); }
details[open] summary::after { transform: rotate(45deg); }
details .b { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { summary::after { transition: none; } }
details .b { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; }

/* Final */
.final { padding-block: 40px 160px; }
.final .box { background: var(--card); border-radius: 40px; padding: clamp(32px, 5vw, 72px); text-align: center; display: grid; gap: 22px; justify-items: center; }
.final .cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.final .logo-sm { color: var(--brand); }
.final .logo-sm svg { height: 18px; width: auto; }
footer { font-family: var(--font-ui); font-size: 13px; color: var(--muted); padding-bottom: 110px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
footer a { color: var(--muted); }

@media (max-width: 900px) {
  .cards, .steps, .boards, .faq, .feed { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { top: auto; right: auto; bottom: -20px; left: 54px; width: 2px; height: 20px; background: repeating-linear-gradient(180deg, var(--brand) 0 4px, transparent 4px 8px); }
  .card.hi { order: -1; transform: none; }
  .dark-block { grid-template-columns: 1fr; }
  .dark-block .steps { grid-template-columns: 1fr; }
  .feed { max-width: 360px; margin-inline: auto; }
  .top .wrap { grid-template-columns: auto 1fr auto; }
  .top .tag span { display: none; }
  .top .tag { padding: 0 10px; }
  section { padding-block: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { max-width: none; }
  .hero-visual { min-height: 620px; }
  .av { width: 92px; height: 92px; }
  .av.a1 { left: -8px; } .av.a3 { right: -8px; }
}
@media (max-width: 520px) {
  .bar span { display: none; }
  .bar { padding-left: 8px; }
  .tier { grid-template-columns: 46px 1fr; }
  .tier .v { grid-column: 2; }
  .board th, .board td { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .bars i, .video .ttchip i { animation: none; } }

.board td.empty { text-align: center; color: var(--muted); font-family: var(--font-ui); font-size: 14px; padding: 28px 16px; }
.dlg-more button[disabled] { opacity: 0.6; }
