/* ==========================================================================
   Logwiz Logistics Quiz Championship 2026 — Public site
   Design language: vibrant aurora gradients (violet → magenta → orange),
   glass cards, bold geometric type, photography of students & trade.
   ========================================================================== */

:root {
  --ink: #140A2E;
  --ink-2: #1D0F45;
  --ink-3: #2A1660;
  --violet: #7C3AED;
  --pink: #DB2777;
  --orange: #F97316;
  --cyan: #06B6D4;
  --grad: linear-gradient(120deg, #7C3AED 0%, #DB2777 52%, #F97316 100%);
  --grad-cool: linear-gradient(120deg, #06B6D4 0%, #6366F1 55%, #7C3AED 100%);
  --grad-soft: linear-gradient(120deg, rgba(124,58,237,.10), rgba(219,39,119,.10) 50%, rgba(249,115,22,.10));
  --bg: #FFFFFF;
  --bg-soft: #F7F5FD;
  --text: #1C1433;
  --muted: #6B6585;
  --line: #ECE8F5;
  --on-dark: #EEEAFB;
  --on-dark-muted: #B4AACF;
  --success: #059669;
  --danger: #E11D48;
  --radius: 22px;
  --shadow-lg: 0 40px 90px -30px rgba(76, 29, 149, .45);
  --shadow-md: 0 16px 40px -18px rgba(76, 29, 149, .30);
  --ff-display: "Sora", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ff-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); background: var(--grad-soft); border: 1px solid rgba(124,58,237,.18); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(219,39,119,.15); }
.on-dark .eyebrow { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.display { font-family: var(--ff-display); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: 0; }
.display em, .grad-text, .gold-text { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-dark .display em, .on-dark .grad-text { background: linear-gradient(120deg, #C4B5FD, #F9A8D4 45%, #FDBA74); -webkit-background-clip: text; background-clip: text; }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.on-dark .lead { color: var(--on-dark-muted); }

/* ---------- Buttons ---------- */
.btn { --h: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; font-size: 15px; white-space: nowrap; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s; isolation: isolate; overflow: hidden; }
.btn i { transition: transform .35s var(--ease); }
.btn:hover i.bi-arrow-right { transform: translateX(4px); }
.btn-primary { color: #fff; background: var(--grad); background-size: 160% 100%; box-shadow: 0 14px 34px -12px rgba(219,39,119,.7); }
.btn-primary:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(219,39,119,.85); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--violet); color: var(--violet); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 14px 34px -14px rgba(0,0,0,.4); }
.btn-white:hover { transform: translateY(-2px); }
.btn-sm { --h: 44px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .75; pointer-events: none; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; transition: padding .4s var(--ease), background .4s, box-shadow .4s; }
.nav.is-stuck, .nav.solid { padding: 10px 0; background: rgba(20,10,46,.8); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { width: 46px; height: 46px; transition: transform .6s var(--ease); filter: drop-shadow(0 8px 18px rgba(219,39,119,.45)); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--ff-display); font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.brand-sub { font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; margin-top: 4px; background: linear-gradient(120deg, #C4B5FD, #F9A8D4, #FDBA74); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 6px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.nav-links a { display: block; padding: 8px 16px; border-radius: 99px; font-size: 14px; font-weight: 700; color: var(--on-dark-muted); transition: color .25s, background .25s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; font-size: 20px; }

/* ---------- Aurora backdrop ---------- */
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.aurora span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; animation: drift 18s ease-in-out infinite alternate; }
.aurora .a1 { width: 620px; height: 620px; left: -160px; top: -200px; background: #7C3AED; }
.aurora .a2 { width: 520px; height: 520px; right: -140px; top: 8%; background: #DB2777; animation-delay: -6s; opacity: .55; }
.aurora .a3 { width: 500px; height: 500px; left: 38%; bottom: -280px; background: #F97316; animation-delay: -11s; opacity: .45; }
.aurora .a4 { width: 380px; height: 380px; left: 6%; bottom: -40px; background: #06B6D4; animation-delay: -3s; opacity: .3; }
.aurora::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 80%); }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; padding: 150px 0 110px; min-height: clamp(760px, 100vh, 1000px); display: flex; align-items: center; overflow: hidden; }
.hero-inner { width: min(var(--container), 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-presents { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 600; color: var(--on-dark); }
.hero-presents b { padding: 4px 10px; border-radius: 99px; background: var(--grad); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); margin: 24px 0 22px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .05em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-tagline { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.1rem, 1.7vw, 1.3rem); margin: 0 0 14px; opacity: 0; animation: fade 1s .5s var(--ease) forwards; }
.hero .lead { opacity: 0; animation: fade 1s .65s var(--ease) forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; opacity: 0; animation: fade 1s .8s var(--ease) forwards; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; opacity: 0; animation: fade 1s .95s var(--ease) forwards; }
.hero-meta div { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: 13px; color: var(--on-dark-muted); line-height: 1.35; }
.hero-meta i { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 16px; }
.hero-meta strong { color: #fff; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@keyframes bob { 50% { transform: translateY(-10px); } }
.glass { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-radius: 22px; color: #fff; box-shadow: 0 24px 60px -24px rgba(0,0,0,.5); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown div { text-align: center; padding: 10px 4px; border-radius: 14px; background: rgba(255,255,255,.12); }
.countdown b { display: block; font-family: var(--ff-display); font-size: 26px; font-weight: 800; line-height: 1.1; }
.countdown span { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 700; }
.seats { margin-top: 14px; }
.seats-row { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--on-dark-muted); margin-bottom: 8px; }
.seats-row b { color: #fff; }
.seats-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.16); overflow: hidden; }
.seats-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22D3EE, #A78BFA, #F472B6, #FB923C); width: 0; transition: width 1.6s 1s var(--ease); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-muted); }
.scroll-cue span { width: 22px; height: 36px; border-radius: 99px; border: 2px solid rgba(255,255,255,.35); position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--grad); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.03); margin: -14px 0; position: relative; z-index: 3; box-shadow: 0 20px 40px -20px rgba(219,39,119,.6); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--ff-display); font-weight: 700; font-size: 20px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; font-size: 14px; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 11vw, 140px) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark { position: relative; isolation: isolate; color: var(--on-dark); overflow: hidden; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.section-head .display { margin-top: 18px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; height: 560px; isolation: isolate; }
.about-media .ph { position: absolute; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media .ph img { width: 100%; height: 100%; object-fit: cover; }
.about-media .p1 { left: 0; top: 0; width: 76%; height: 400px; }
.about-media .p2 { right: 0; bottom: 0; width: 56%; height: 280px; border: 6px solid #fff; }
.about-media .blob { position: absolute; right: 4%; top: -34px; width: 170px; height: 170px; border-radius: 50%; background: var(--grad); opacity: .25; filter: blur(4px); z-index: -1; }
.est-badge { position: absolute; left: 5%; bottom: 36px; z-index: 2; padding: 16px 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px; }
.est-badge .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; color: #fff; background: var(--grad); }
.est-badge .yr { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 800; line-height: 1; }
.est-badge small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.about-body .display { margin: 18px 0 24px; }
.about-body p { color: #4A4366; margin: 0 0 18px; }
.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pillars span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; }
.pillars i { color: var(--pink); }

/* Stats band */
.stats-band { position: relative; isolation: isolate; color: #fff; background: var(--grad); overflow: hidden; }
.stats-band > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .16; mix-blend-mode: luminosity; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 54px 30px; border-right: 1px solid rgba(255,255,255,.22); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--ff-display); font-size: clamp(3rem, 5.6vw, 4.8rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.stat .lbl { margin-top: 12px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.stat p { margin: 6px 0 0; font-size: 14px; color: rgba(255,255,255,.82); }

/* Journey */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); counter-increment: step; transition: transform .5s var(--ease), box-shadow .5s var(--ease); overflow: hidden; }
.step::after { content: counter(step, decimal-leading-zero); position: absolute; right: 18px; top: 10px; font-family: var(--ff-display); font-weight: 800; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(124,58,237,.16); }
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step-dot { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 24px; color: #fff; background: var(--grad); box-shadow: 0 14px 30px -12px rgba(219,39,119,.7); }
.step:nth-child(2) .step-dot { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.step:nth-child(3) .step-dot { background: var(--grad-cool); box-shadow: 0 14px 30px -12px rgba(6,182,212,.6); }
.step:nth-child(4) .step-dot { background: linear-gradient(135deg, #F59E0B, #F97316); box-shadow: 0 14px 30px -12px rgba(249,115,22,.6); }
.step h3 { font-family: var(--ff-display); font-weight: 700; font-size: 1.35rem; margin: 24px 0 8px; letter-spacing: -.02em; }
.step p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Bento gallery */
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 270px 270px; gap: 18px; }
.tile { position: relative; border-radius: 26px; overflow: hidden; isolation: isolate; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(20,10,46,.88)); }
.tile:hover img { transform: scale(1.07); }
.tile .tag { position: absolute; top: 18px; left: 18px; padding: 6px 12px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); }
.tile h4 { margin: 0; font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.tile p { margin: 4px 0 0; font-size: .9rem; color: rgba(255,255,255,.82); }
.tile.big { grid-row: span 2; }
.tile.big h4 { font-size: 1.8rem; }
.tile.grad-tile { background: var(--grad); justify-content: space-between; }
.tile.grad-tile::before { display: none; }
.tile.grad-tile .q { font-family: var(--ff-display); font-size: 4.6rem; font-weight: 800; line-height: .8; }

/* Eligibility */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-dark { position: relative; padding: 36px 30px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); overflow: hidden; transition: transform .5s var(--ease), background .4s; }
.card-dark:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.card-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 25px; color: #fff; background: var(--grad); margin-bottom: 24px; }
.card-dark:nth-child(2) .card-icon { background: var(--grad-cool); }
.card-dark:nth-child(3) .card-icon { background: linear-gradient(135deg, #F59E0B, #F97316); }
.card-dark h3 { font-family: var(--ff-display); font-weight: 700; font-size: 1.45rem; margin: 0 0 10px; color: #fff; letter-spacing: -.02em; }
.card-dark p { margin: 0; color: var(--on-dark-muted); font-size: .97rem; }
.card-dark ul { margin: 18px 0 0; padding: 0; list-style: none; }
.card-dark li { display: flex; gap: 10px; padding: 8px 0; color: var(--on-dark); font-size: .95rem; border-top: 1px solid rgba(255,255,255,.08); }
.card-dark li i { color: #F9A8D4; }

/* Awards */
.awards { position: relative; overflow: hidden; border-radius: 32px; display: grid; grid-template-columns: 1.1fr .9fr; box-shadow: var(--shadow-lg); }
.awards-main { position: relative; isolation: isolate; padding: clamp(40px, 6vw, 72px); color: #fff; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.awards-main img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.awards-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(140deg, rgba(124,58,237,.9), rgba(219,39,119,.72) 55%, rgba(249,115,22,.5)); }
.prize { font-family: var(--ff-display); font-size: clamp(4.2rem, 10vw, 8rem); line-height: .9; font-weight: 800; letter-spacing: -.05em; margin: 20px 0 12px; }
.awards-main p { color: rgba(255,255,255,.9); max-width: 44ch; margin: 0; }
.awards-list { background: #fff; padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.award-item { display: flex; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.award-item:last-child { border-bottom: 0; }
.award-item .ico { width: 56px; height: 56px; flex: none; border-radius: 18px; display: grid; place-items: center; font-size: 23px; color: #fff; background: var(--grad); }
.award-item:nth-child(2) .ico { background: var(--grad-cool); }
.award-item:nth-child(3) .ico { background: linear-gradient(135deg, #10B981, #06B6D4); }
.award-item h4 { margin: 0; font-family: var(--ff-display); font-weight: 700; font-size: 1.2rem; }
.award-item p { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }

/* Terms */
.terms-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.terms-aside { position: sticky; top: 120px; align-self: start; }
.accordion { display: grid; gap: 10px; }
.acc-item { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.acc-item.open { border-color: transparent; box-shadow: var(--shadow-md); }
.acc-btn { width: 100%; display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: none; border: 0; text-align: left; color: var(--text); }
.acc-btn .n { font-family: var(--ff-mono); font-size: 12px; font-weight: 600; width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); color: var(--violet); transition: all .3s; }
.acc-item.open .acc-btn .n { background: var(--grad); color: #fff; }
.acc-btn .t { flex: 1; font-family: var(--ff-display); font-size: 1.06rem; font-weight: 700; }
.acc-btn .pm { width: 30px; height: 30px; position: relative; flex: none; transition: transform .4s var(--ease); color: var(--muted); }
.acc-btn .pm::before, .acc-btn .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.acc-btn .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.acc-item.open .pm { transform: rotate(180deg); color: var(--pink); }
.acc-item.open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { margin: 0; padding: 0 24px 22px 74px; color: var(--muted); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }

/* CTA */
.cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; padding: clamp(90px, 12vw, 150px) 0; }
.cta > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(76,29,149,.92), rgba(219,39,119,.82) 55%, rgba(249,115,22,.78)); }
.cta .display { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 16ch; margin: 22px auto; }
.cta .lead { margin: 0 auto 36px; color: rgba(255,255,255,.9); }

/* Footer */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: 70px 0 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer h5 { margin: 0 0 18px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #F9A8D4; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ==========================================================================
   Registration wizard
   ========================================================================== */
.reg-page { background: var(--bg-soft); min-height: 100vh; }
.reg-shell { display: grid; grid-template-columns: 390px minmax(0, 1fr); min-height: 100vh; }
.reg-aside { position: sticky; top: 0; height: 100vh; padding: 116px 40px 30px; color: var(--on-dark); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.reg-aside .aside-photo { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; z-index: -1; }
.reg-aside .aside-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .4; mask-image: linear-gradient(transparent, #000 65%); -webkit-mask-image: linear-gradient(transparent, #000 65%); }
.reg-aside h1 { font-size: 2.2rem; margin: 18px 0 10px; }
.reg-aside .sub { color: var(--on-dark-muted); font-size: .95rem; margin: 0 0 30px; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: rgba(255,255,255,.12); border-radius: 2px; }
.steps .bar { position: absolute; left: 19px; top: 20px; width: 2px; background: linear-gradient(#A78BFA, #F472B6, #FB923C); height: 0; transition: height .6s var(--ease); border-radius: 2px; }
.steps li { position: relative; display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.steps li .dot { width: 40px; height: 40px; border-radius: 14px; flex: none; display: grid; place-items: center; z-index: 1; border: 1px solid rgba(255,255,255,.18); background: var(--ink-2); font-family: var(--ff-mono); font-size: 13px; color: var(--on-dark-muted); transition: all .4s var(--ease); }
.steps li .lbl { font-weight: 700; font-size: 14.5px; color: var(--on-dark-muted); transition: color .3s; }
.steps li .lbl small { display: block; font-size: 11.5px; font-weight: 500; opacity: .75; }
.steps li.active .dot { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 0 6px rgba(219,39,119,.22); }
.steps li.active .lbl { color: #fff; }
.steps li.done .dot { background: #fff; color: var(--violet); border-color: transparent; }
.steps li.done .dot span { display: none; }
.steps li.done .dot::after { content: "\F633"; font-family: "bootstrap-icons"; font-size: 17px; }
.steps li.done { cursor: pointer; }
.steps li.done .lbl { color: var(--on-dark); }
.reg-aside-foot { margin-top: auto; padding: 16px 18px; font-size: 13px; color: var(--on-dark); display: grid; gap: 9px; }
.reg-aside-foot div { display: flex; gap: 10px; align-items: center; }
.reg-aside-foot i { color: #F9A8D4; }

.reg-main { min-width: 0; padding: 116px clamp(20px, 5vw, 80px) 80px; }
.reg-card { max-width: 860px; margin: 0 auto; }
.mobile-progress { display: none; }
.panel { display: none; animation: panelIn .6s var(--ease); }
.panel.active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.panel-head { margin-bottom: 30px; }
.panel-head .kicker { display: inline-block; font-family: var(--ff-mono); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 99px; color: var(--violet); background: var(--grad-soft); }
.panel-head h2 { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 14px 0 8px; letter-spacing: -.03em; line-height: 1.1; }
.panel-head p { margin: 0; color: var(--muted); max-width: 64ch; }

.form-block { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3.4vw, 36px); box-shadow: 0 24px 50px -36px rgba(76,29,149,.35); margin-bottom: 22px; }
.form-block-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -4px 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-block-head h3 { margin: 0; font-family: var(--ff-display); font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; gap: 12px; }
.form-block-head h3 .badge-num { width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--ff-mono); font-size: 12.5px; }
.form-block-head h3 > i { color: var(--pink) !important; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--grad-soft); color: var(--violet); border: 1px solid rgba(124,58,237,.18); }
.chip-opt { color: var(--muted); background: var(--bg-soft); border-color: var(--line); }

.grid { display: grid; gap: 20px 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.span-2 { grid-column: span 2; }
.grid > *, .field, .course-options > * { min-width: 0; }

.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field > span, .field-label { font-size: 13px; font-weight: 800; color: var(--text); }
.field > span .req, .field-label .req { color: var(--pink); margin-left: 2px; }
.field > span .hint, .field-label .hint { font-weight: 600; color: var(--muted); margin-left: 6px; font-size: 12px; }
.field input, .field select, .field textarea { width: 100%; height: 54px; padding: 0 18px; font: inherit; font-size: 15px; color: var(--text); background: #FBFAFE; border: 1.5px solid #E4DFF0; border-radius: 15px; outline: none; transition: border-color .25s, box-shadow .25s, background .25s; appearance: none; -webkit-appearance: none; }
.field textarea { height: auto; min-height: 110px; padding: 14px 18px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%237C3AED' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field input::placeholder { color: #A7A2BC; }
.field input:hover, .field select:hover { border-color: #CFC6E6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(124,58,237,.14); }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #A7A2BC; font-size: 16px; pointer-events: none; transition: color .25s; }
.input-icon input { padding-left: 46px; }
.input-icon:focus-within > i { color: var(--violet); }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix .pre { display: grid; place-items: center; padding: 0 14px; border: 1.5px solid #E4DFF0; border-right: 0; border-radius: 15px 0 0 15px; background: var(--bg-soft); font-weight: 800; font-size: 14px; color: var(--muted); }
.input-prefix input { border-radius: 0 15px 15px 0; }
.field.has-error input, .field.has-error select, .field.has-error .seg { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(225,29,72,.08); }
.field .err { font-size: 12.5px; color: var(--danger); font-weight: 700; display: none; align-items: flex-start; gap: 6px; }
.field.has-error .err { display: flex; }
.field .ok-msg { font-size: 12.5px; color: var(--success); font-weight: 700; display: none; gap: 6px; }
.field.is-valid .ok-msg { display: flex; }
.field.is-valid input { border-color: rgba(5,150,105,.55); }
.field .help { font-size: 12.5px; color: var(--muted); }
.domain-pill { display: none; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 700; color: var(--violet); background: var(--grad-soft); border: 1px solid rgba(124,58,237,.2); }
.domain-pill.show { display: inline-flex; }
.domain-pill b { font-family: var(--ff-mono); font-weight: 600; }
.domain-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; margin-bottom: 22px; border-radius: 16px; background: var(--grad-soft); border: 1px solid rgba(124,58,237,.18); font-size: 13.5px; color: #4A4366; }
.domain-note i { font-size: 18px; color: var(--violet); }
.domain-note b { color: var(--text); }

.seg { display: inline-flex; padding: 5px; background: var(--bg-soft); border-radius: 15px; border: 1.5px solid #E4DFF0; gap: 4px; height: 54px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 18px; border-radius: 11px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .3s var(--ease); }
.seg input:checked + span { background: var(--grad); color: #fff; box-shadow: 0 6px 16px -6px rgba(219,39,119,.6); }
.seg input:focus-visible + span { outline: 2px solid var(--violet); }

.course-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.course-opt { position: relative; }
.course-opt input { position: absolute; opacity: 0; }
.course-opt span { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px 52px; border: 1.5px solid #E4DFF0; border-radius: 16px; background: #FBFAFE; cursor: pointer; transition: all .3s var(--ease); position: relative; min-height: 72px; justify-content: center; }
.course-opt span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 2px solid #CFC6E6; transition: all .3s; }
.course-opt b { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 800; }
.course-opt small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.course-opt input:checked + span { border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(124,58,237,.12); }
.course-opt input:checked + span::before { border: 7px solid var(--pink); }
.field.has-error .course-opt span { border-color: var(--danger); }
.sem-pills { display: flex; flex-wrap: wrap; gap: 8px; min-height: 54px; align-items: center; }
.sem-pills .empty { font-size: 13px; color: var(--muted); font-style: italic; }
.sem-pills label input { position: absolute; opacity: 0; }
.sem-pills label span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 13px; border: 1.5px solid #E4DFF0; background: #FBFAFE; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .25s; }
.sem-pills label input:checked + span { background: var(--grad); color: #fff; border-color: transparent; }

.decl { display: grid; gap: 12px; }
.check { display: flex; gap: 16px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 18px; background: #FBFAFE; cursor: pointer; transition: border-color .25s; }
.check:hover { border-color: #CFC6E6; }
.check input { position: absolute; opacity: 0; }
.check .box { width: 24px; height: 24px; flex: none; border-radius: 8px; border: 2px solid #CFC6E6; display: grid; place-items: center; margin-top: 2px; transition: all .3s var(--ease); background: #fff; }
.check .box::after { content: "\F633"; font-family: "bootstrap-icons"; font-size: 15px; color: #fff; transform: scale(0); transition: transform .3s var(--ease); }
.check input:checked ~ .box { background: var(--grad); border-color: transparent; }
.check input:checked ~ .box::after { transform: scale(1); }
.check input:focus-visible ~ .box { outline: 2px solid var(--violet); outline-offset: 2px; }
.check .txt { font-size: 14.5px; color: #4A4366; }
.check .txt b { color: var(--text); }
.check.has-error { border-color: var(--danger); background: #FFF5F7; }

.review { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review-card { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; background: #FBFAFE; position: relative; }
.review-card h4 { margin: 0 0 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--violet); }
.review-card .edit { position: absolute; right: 14px; top: 14px; background: none; border: 0; color: var(--muted); font-size: 12.5px; font-weight: 800; }
.review-card .edit:hover { color: var(--pink); }
.review-card dl { margin: 0; display: grid; gap: 4px; font-size: 14px; }
.review-card dt { font-weight: 800; }
.review-card dd { margin: 0 0 6px; color: var(--muted); word-break: break-word; }
.review-card.span-2 { grid-column: 1 / -1; }

.form-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; }
.form-nav .save-note { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 18px; border-radius: 14px; font-size: 14px; margin-bottom: 16px; display: flex; gap: 12px; align-items: flex-start; }
.alert-error { background: #FFF1F3; color: #9F1239; border: 1px solid #FECDD3; }
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.toast-wrap { position: fixed; z-index: 100; right: 24px; bottom: 24px; display: grid; gap: 10px; }
.toast { min-width: 280px; max-width: 420px; padding: 16px 20px 16px 22px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: flex-start; font-size: 14px; animation: toastIn .5s var(--ease); position: relative; overflow: hidden; }
.toast::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.toast.error::before { background: #F43F5E; }
.toast i { color: #F9A8D4; font-size: 18px; }
.toast.error i { color: #FB7185; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }

/* Status screens */
.status-card { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; border-radius: 30px; padding: clamp(36px, 6vw, 60px); box-shadow: 0 40px 100px -30px rgba(0,0,0,.55); position: relative; overflow: hidden; }
.status-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--grad); }
.status-icon { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 30px; display: grid; place-items: center; font-size: 42px; color: #fff; background: var(--grad); box-shadow: 0 20px 40px -16px rgba(219,39,119,.7); }
.status-icon.ok { background: linear-gradient(135deg, #10B981, #06B6D4); box-shadow: 0 20px 40px -16px rgba(16,185,129,.6); }
.status-icon.bad { background: linear-gradient(135deg, #F43F5E, #F97316); }
.status-card h2 { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 12px; letter-spacing: -.03em; line-height: 1.1; }
.status-card p { color: var(--muted); margin: 0 auto 16px; max-width: 48ch; }
.status-card .email-pill { display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 800; margin: 6px 0 18px; word-break: break-all; }
.ref-box { display: block; width: fit-content; margin: 8px auto 24px !important; padding: 16px 30px; border-radius: 18px; background: var(--grad-soft); border: 1.5px dashed rgba(124,58,237,.4); }
.ref-box small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--violet); font-weight: 800; }
.ref-box b { font-family: var(--ff-mono); font-size: 26px; letter-spacing: .06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }
.status-steps { text-align: left; display: grid; gap: 12px; margin: 24px 0; padding: 22px; border-radius: 18px; background: var(--bg-soft); }
.status-steps div { display: flex; gap: 14px; font-size: 14px; color: #4A4366; }
.status-steps i { color: var(--pink); font-size: 18px; }
.resend-row { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.resend-row button { background: none; border: 0; color: var(--violet); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.resend-form { display: flex; gap: 10px; max-width: 460px; margin: 18px auto 0; }
.resend-form input { flex: 1; height: 52px; border-radius: 99px; border: 1.5px solid var(--line); padding: 0 20px; font: inherit; background: #FBFAFE; }
.resend-form input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,58,237,.14); }
.simple-page { position: relative; isolation: isolate; min-height: 100vh; padding: 140px 20px 80px; overflow: hidden; }

/* Auth */
.auth-body { position: relative; isolation: isolate; min-height: 100vh; display: grid; place-items: center; padding: 24px; overflow: hidden; background: var(--ink); }
.auth-card { width: min(440px, 100%); background: #fff; border-radius: 28px; padding: 44px 38px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); position: relative; z-index: 1; }
.auth-logo { margin: 0 auto 18px; }
.auth-title { text-align: center; font-family: var(--ff-display); font-weight: 800; font-size: 1.9rem; margin: 0; letter-spacing: -.03em; }
.auth-sub { text-align: center; color: var(--muted); margin: 6px 0 28px; font-size: 14.5px; }
.auth-form { display: grid; gap: 18px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .reg-shell { grid-template-columns: minmax(0, 1fr); }
  .reg-aside { display: none; }
  .mobile-progress { display: block; position: sticky; top: 64px; z-index: 20; margin: -20px -20px 28px; padding: 14px 20px; background: rgba(247,245,253,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .mobile-progress .mp-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; margin-bottom: 8px; }
  .mobile-progress .mp-row span:last-child { color: var(--violet); font-family: var(--ff-mono); }
  .mobile-progress .mp-bar { height: 5px; border-radius: 99px; background: rgba(124,58,237,.1); overflow: hidden; }
  .mobile-progress .mp-bar span { display: block; height: 100%; background: var(--grad); transition: width .5s var(--ease); }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 240px 240px; }
  .tile.big { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 960px) {
  .nav-links { position: fixed; inset: 0 0 auto; top: 0; padding: 90px 24px 30px; flex-direction: column; align-items: stretch; border-radius: 0; background: rgba(20,10,46,.97); backdrop-filter: blur(14px); transform: translateY(-110%); transition: transform .5s var(--ease); z-index: -1; border: 0; }
  .nav-links a { font-size: 18px; padding: 14px 8px; border-radius: 12px; }
  .nav.menu-open .nav-links { transform: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta .btn-primary { display: none; }
  .section-head, .about-grid, .terms-wrap, .awards { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .terms-aside { position: static; }
  .about-media { height: 480px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
  .journey, .cards-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container, .hero-inner { width: calc(100% - 32px); }
  .hero { padding: 116px 0 90px; }
  .hero-meta div { flex: 1 1 100%; }
  .countdown b { font-size: 21px; }
  .stats, .journey, .cards-3, .footer-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); padding: 30px 4px; }
  .stat:last-child { border-bottom: 0; }
  .about-media { height: 400px; }
  .about-media .p1 { width: 88%; height: 290px; }
  .about-media .p2 { width: 62%; height: 190px; }
  .est-badge { bottom: 20px; left: 0; padding: 12px 16px; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .tile.big { grid-column: auto; }
  .acc-panel p { padding: 0 18px 20px; }
  .g-2, .course-options, .review { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .reg-main { padding: 96px 16px 60px; }
  .mobile-progress { top: 60px; margin: -16px -16px 24px; padding: 12px 16px; }
  .form-nav { flex-wrap: wrap; }
  .form-nav .btn { flex: 1; }
  .form-nav .save-note { order: 3; width: 100%; justify-content: center; }
  .seg { width: 100%; }
  .seg label { flex: 1; }
  .seg span { justify-content: center; }
  .brand-sub { display: none; }
  .resend-form { flex-direction: column; }
  .toast-wrap { left: 16px; right: 16px; bottom: 16px; }
  .toast { min-width: 0; }
  .scroll-cue { display: none; }
  .marquee-track span { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .nav, .footer, .scroll-cue, .marquee { display: none !important; } }
.hero h1 .yr { display: inline-block; vertical-align: middle; font-family: var(--ff-mono); font-size: .24em; font-weight: 600; letter-spacing: .08em; padding: .35em .8em; border-radius: 99px; border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); position: relative; top: -.4em; margin-left: .2em; }
.hero h1 { font-size: clamp(2.8rem, 5.8vw, 5.2rem); }
.resend-form input { flex: 1 1 auto; min-height: 52px; }

/* ==========================================================================
   Hero stage: Championship Pass
   ========================================================================== */
.hero-stage { position: relative; padding: 10px 0 70px; opacity: 0; animation: fade 1.2s .3s var(--ease) forwards; }
.pass-wrap { filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)) drop-shadow(0 0 1px rgba(255,255,255,.4)); transform: perspective(1400px) rotateY(-10deg) rotateX(4deg) rotate(1.5deg); transition: transform .8s var(--ease); max-width: 500px; margin-left: auto; }
.pass-wrap:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg) translateY(-4px); }
.pass { --hole: 15px; color: var(--text); }
.pass-top, .pass-bottom { position: relative; background: #fff;
  -webkit-mask: radial-gradient(circle var(--hole) at 0 var(--hy), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--hole) at 100% var(--hy), #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--hole) at 0 var(--hy), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--hole) at 100% var(--hy), #0000 98%, #000) right / 51% 100% no-repeat; }
.pass-top { --hy: 100%; border-radius: 24px 24px 0 0; overflow: hidden; }
.pass-bottom { --hy: 0%; border-radius: 0 0 24px 24px; padding: 22px 26px 22px; background: linear-gradient(180deg, #fff, #F6F2FF); }
.pass-top::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; border-bottom: 2px dashed #E2DCF0; }
.pass-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 26px; background: var(--grad); color: #fff; }
.pass-head .tag { display: inline-flex; gap: 8px; align-items: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; }
.pass-head .serial { font-family: var(--ff-mono); font-size: 12px; opacity: .9; }
.pass-body { padding: 24px 26px 26px; }
.pass-route { display: flex; align-items: center; gap: 12px; }
.pass-route .code { font-family: var(--ff-display); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.pass-route .code small { display: block; font-family: var(--ff-body); font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.pass-route .code.right { text-align: right; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pass-route .code.right small { -webkit-text-fill-color: var(--muted); }
.pass-route .path { flex: 1; display: flex; align-items: center; gap: 6px; }
.pass-route .path span { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #C4B5FD 0 6px, transparent 6px 12px); }
.pass-route .path i { font-size: 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: wob 3s ease-in-out infinite; }
@keyframes wob { 50% { transform: rotate(-14deg) scale(1.1); } }
.pass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 24px; }
.pass-grid .k { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.pass-grid .v { font-family: var(--ff-display); font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.pass .countdown div { background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 14px -10px rgba(76,29,149,.4); }
.pass .countdown b { color: var(--text); font-size: 25px; }
.pass .countdown span { color: var(--muted); }
.pass .seats-row { color: var(--muted); }
.pass .seats-row b { color: var(--text); }
.pass .seats-bar { background: #EDE9F7; }
.pass-barcode { display: flex; gap: 2px; height: 34px; margin-top: 18px; }
.pass-barcode i { background: var(--ink); border-radius: 1px; }


@media (max-width: 1100px) {
  .hero-stage { max-width: 560px; }
  .pass-wrap { margin: 0; transform: none; }
  .pass-wrap:hover { transform: translateY(-4px); }
}
@media (max-width: 640px) {
  .hero-stage { padding: 0; display: grid; gap: 16px; }
  .pass-route .code { font-size: 30px; }
  .pass-grid .v { font-size: 17px; }
  .pass .countdown b { font-size: 20px; }
  .pass-head, .pass-body, .pass-bottom { padding-left: 20px; padding-right: 20px; }
}

/* ==========================================================================
   Creative form layer
   ========================================================================== */
.panel-head { position: relative; padding-left: 86px; min-height: 70px; }
.panel-ico { position: absolute; left: 0; top: 2px; width: 66px; height: 66px; border-radius: 22px; display: grid; place-items: center; font-size: 28px; color: #fff; background: var(--grad); box-shadow: 0 18px 34px -14px rgba(219,39,119,.7); transform: rotate(-6deg); animation: pop .6s var(--ease); }
.panel[data-step="2"] .panel-ico { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.panel[data-step="3"] .panel-ico { background: var(--grad-cool); box-shadow: 0 18px 34px -14px rgba(6,182,212,.6); }
.panel[data-step="4"] .panel-ico { background: linear-gradient(135deg, #F59E0B, #F97316); box-shadow: 0 18px 34px -14px rgba(249,115,22,.6); }
.panel[data-step="5"] .panel-ico { background: linear-gradient(135deg, #10B981, #06B6D4); box-shadow: 0 18px 34px -14px rgba(16,185,129,.6); }
@keyframes pop { from { transform: scale(.4) rotate(-30deg); opacity: 0; } }
.panel-head h2 { margin-top: 10px; }

/* Player cards */
.player { padding: 0; overflow: hidden; }
.player-head { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 24px; color: #fff; background: var(--grad); isolation: isolate; overflow: hidden; }
.player-head::after { content: "?"; position: absolute; right: 70px; top: -26px; z-index: -1; font-family: var(--ff-display); font-weight: 800; font-size: 130px; line-height: 1; color: rgba(255,255,255,.12); }
.player.is-backup .player-head { background: linear-gradient(120deg, #0EA5E9, #6366F1 60%, #8B5CF6); }
.avatar { width: 58px; height: 58px; border-radius: 18px; flex: none; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; font-size: 20px; background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.55); transition: transform .4s var(--ease); }
.avatar.filled { background: #fff; color: var(--pink); transform: rotate(-4deg); }
.player.is-backup .avatar.filled { color: #6366F1; }
.player-meta { flex: 1; min-width: 0; display: grid; gap: 2px; }
.player-meta small { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.player-meta b { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pchip { padding: 3px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,.16); border: 1px dashed rgba(255,255,255,.45); }
.pchip.on { background: #fff; color: var(--text); border: 1px solid #fff; }
.player-no { font-family: var(--ff-mono); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.18); }
.player-x { width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; font-size: 15px; }
.player-x:hover { background: rgba(255,255,255,.25); }
.player-body { padding: clamp(20px, 3vw, 30px); }
.player.is-collapsed { display: none; }

.add-player { width: 100%; display: flex; align-items: center; gap: 18px; padding: 22px 24px; margin-bottom: 22px; border-radius: 24px; border: 2px dashed #CFC6E6; background: #fff; color: var(--text); text-align: left; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.add-player:hover { border-color: var(--violet); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.add-player .plus { width: 54px; height: 54px; flex: none; border-radius: 17px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(120deg, #0EA5E9, #6366F1 60%, #8B5CF6); }
.add-player b { display: block; font-family: var(--ff-display); font-size: 1.1rem; }
.add-player small { color: var(--muted); font-size: 13px; }
.add-player > span:nth-child(2) { flex: 1; }
.add-player > i { font-size: 20px; color: var(--violet); }
.add-player.hidden { display: none; }

/* Course tiles with icon */
.course-opt span { padding-left: 16px; padding-right: 48px; }
.course-opt span::before { left: auto; right: 16px; }
.course-opt .cico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; color: var(--violet); background: var(--grad-soft); margin-bottom: 6px; transition: all .3s; }
.course-opt b em { font-style: normal; font-family: var(--ff-body); font-size: 12px; font-weight: 700; color: var(--muted); margin-left: 4px; }
.course-opt input:checked + span .cico { background: var(--grad); color: #fff; transform: rotate(-6deg); }
.dob-age { font-size: 12.5px; font-weight: 700; color: var(--violet); display: none; }
.dob-age.show { display: block; }

/* Live team pass (sidebar) */
.live-pass { margin-top: auto; border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.lp-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--grad); font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.lp-pct { font-family: var(--ff-mono); letter-spacing: 0; font-size: 12px; }
.lp-body { padding: 14px 16px; display: grid; gap: 8px; }
.lp-college { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 800; color: #fff; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-domain { font-family: var(--ff-mono); font-size: 12px; color: #F9A8D4; display: flex; gap: 6px; align-items: center; }
.lp-team { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.lp-av { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; font-size: 13px; color: var(--on-dark-muted); border: 1.5px dashed rgba(255,255,255,.35); transition: all .4s var(--ease); }
.lp-av.on { background: #fff; color: var(--pink); border: 1.5px solid #fff; transform: rotate(-4deg); }
.lp-vs { color: var(--on-dark-muted); font-weight: 800; }
.lp-bk { margin-left: auto; font-size: 11.5px; color: var(--on-dark-muted); font-weight: 700; }
.lp-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.15); overflow: hidden; }
.lp-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #22D3EE, #A78BFA, #F472B6, #FB923C); transition: width .6s var(--ease); }
.lp-meta { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--on-dark-muted); }
.lp-meta i { color: #F9A8D4; }
@media (max-height: 860px) { .reg-aside .sub { display: none; } .reg-aside h1 { font-size: 1.9rem; } .steps li { padding: 7px 0; } }
@media (max-height: 740px) { .live-pass { display: none; } }

/* Review: team pass ticket */
.ticket { border-radius: 26px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); margin-bottom: 22px; }
.ticket-head { position: relative; padding: 24px 28px; color: #fff; background: var(--grad); isolation: isolate; overflow: hidden; }
.ticket-head::after { content: "?"; position: absolute; right: 26px; top: -30px; z-index: -1; font-family: var(--ff-display); font-size: 160px; font-weight: 800; line-height: 1; color: rgba(255,255,255,.12); }
.ticket-head small { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.ticket-head h3 { margin: 6px 0; padding-right: 90px; font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -.02em; line-height: 1.15; }
.ticket-head .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; opacity: .92; }
.ticket .edit { position: absolute; right: 20px; top: 20px; border-radius: 99px; padding: 5px 12px; font-size: 12px; font-weight: 800; color: var(--violet); background: var(--grad-soft); border: 1px solid rgba(124,58,237,.2); }
.ticket-head .edit { color: #fff; background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); }
.ticket-perf { border-top: 2px dashed #E2DCF0; margin: 0 26px; }
.ticket-sec { position: relative; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.ticket-sec:last-child { border-bottom: 0; }
.ticket-sec h4 { margin: 0 0 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--violet); }
.coord-row { display: flex; align-items: center; gap: 14px; }
.coord-row .avatar { width: 46px; height: 46px; border-radius: 14px; font-size: 15px; color: #fff; background: var(--grad); border: 0; }
.coord-row b { display: block; font-family: var(--ff-display); }
.coord-row span { font-size: 13.5px; color: var(--muted); }
.roster { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.roster-item { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); min-width: 0; }
.roster-item .avatar { width: 44px; height: 44px; border-radius: 14px; font-size: 14px; color: #fff; background: var(--grad); border: 0; }
.roster-item.bk .avatar { background: linear-gradient(120deg, #0EA5E9, #6366F1); }
.roster-item div { min-width: 0; }
.roster-item b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roster-item small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roster-empty { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }
@media (max-width: 640px) {
  .panel-head { padding-left: 0; padding-top: 76px; }
  .panel-ico { width: 58px; height: 58px; font-size: 24px; border-radius: 18px; }
  .player-head { padding: 16px 18px; }
  .avatar { width: 50px; height: 50px; }
  .player-head::after { display: none; }
  .roster { grid-template-columns: 1fr; }
  .ticket-head h3 { padding-right: 0; }
  .ticket-head .edit { position: static; margin-top: 12px; display: inline-block; }
}

/* Flatpickr: themed modern calendar */
.flatpickr-calendar { width: 318px; padding: 10px; border-radius: 22px; border: 0 !important; font-family: var(--ff-body); box-shadow: 0 30px 70px -20px rgba(76,29,149,.45), 0 0 0 1px var(--line) !important; }
.flatpickr-calendar::before, .flatpickr-calendar::after { display: none; }
.flatpickr-months { background: var(--grad); border-radius: 16px; padding: 8px 4px; margin-bottom: 8px; align-items: center; }
.flatpickr-months .flatpickr-month { height: 40px; color: #fff; fill: #fff; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { top: 8px; padding: 10px 14px; fill: #fff; color: #fff; }
.flatpickr-months .flatpickr-prev-month svg, .flatpickr-months .flatpickr-next-month svg { fill: #fff; }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: #FDE68A; }
.flatpickr-current-month { padding-top: 6px; font-size: 15px; display: flex; justify-content: center; gap: 6px; align-items: center; height: 40px; left: 10%; width: 80%; }
.flatpickr-current-month .flatpickr-monthDropdown-months, .fp-year { appearance: none; -webkit-appearance: none; background: rgba(255,255,255,.18); color: #fff; border: 0; border-radius: 10px; padding: 5px 10px; font: 700 14px var(--ff-body); cursor: pointer; height: auto; }
.flatpickr-current-month .flatpickr-monthDropdown-months:hover, .fp-year:hover { background: rgba(255,255,255,.3); }
.flatpickr-current-month .flatpickr-monthDropdown-months option, .fp-year option { color: var(--text); background: #fff; }
.flatpickr-current-month .numInputWrapper { display: none; }
span.flatpickr-weekday { color: var(--violet); font-weight: 800; font-size: 12px; }
.flatpickr-days { width: 298px !important; }
.dayContainer { width: 298px; min-width: 298px; max-width: 298px; }
.flatpickr-day { border-radius: 12px; font-weight: 600; color: var(--text); max-width: 42px; height: 40px; line-height: 40px; }
.flatpickr-day:hover { background: var(--bg-soft); border-color: transparent; }
.flatpickr-day.today { border-color: var(--pink); }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -8px rgba(219,39,119,.8); }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: #C9C3DA; }
.fp-hint { display: flex; justify-content: space-between; align-items: center; padding: 8px 6px 2px; font-size: 12px; color: var(--muted); }
.fp-hint b { color: var(--violet); }
.field input.flatpickr-input[readonly] { cursor: pointer; background-color: #FBFAFE; }

/* Flip card: pass (front) / quick quiz (back) */
.hero-stage { padding: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.flip { width: 100%; max-width: 500px; perspective: 1600px; }
.flip-inner { position: relative; transform-style: preserve-3d; transform: rotateY(-10deg) rotateX(4deg) rotate(1.5deg); transition: transform 1s var(--ease); }
.flip:hover .flip-inner { transform: rotateY(-3deg) rotateX(1deg); }
.flip.flipped .flip-inner, .flip.flipped:hover .flip-inner { transform: rotateY(180deg); }
.face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face.front { filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); }
  background: radial-gradient(360px 220px at 100% 0%, rgba(249,115,22,.35), transparent 60%), radial-gradient(360px 260px at 0% 100%, rgba(6,182,212,.3), transparent 60%), linear-gradient(150deg, #2A1660, #140A2E);
  border: 1px solid rgba(255,255,255,.18); box-shadow: 0 40px 70px -20px rgba(0,0,0,.6); }
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .3s, transform .3s var(--ease); margin-right: 20px; }
@media (max-width: 1100px) { .hero-stage { align-items: flex-start; } .flip-inner { transform: none; } .flip:hover .flip-inner { transform: none; } }
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } }
.on-dark .pass .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Hero motion layer: routes, floaters, rotator, pass fly-in, shine, tilt
   ========================================================================== */
.hero-routes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-routes .route { fill: none; stroke-width: 1.4; stroke-dasharray: 2 8; opacity: .8; }
.hero-routes .route-live { fill: none; stroke: #FDE68A; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 70 1500; animation: sail 9s linear infinite; filter: drop-shadow(0 0 6px rgba(253,186,116,.95)); }
.hero-routes .route-live.r2 { stroke: #A5F3FC; animation-duration: 12s; animation-delay: -4s; filter: drop-shadow(0 0 6px rgba(34,211,238,.9)); }
.hero-routes .route-live.r3 { stroke: #F9A8D4; animation-duration: 15s; animation-delay: -7s; filter: drop-shadow(0 0 6px rgba(244,114,182,.9)); }
.hero-routes .port { fill: #fff; }
.hero-routes .port-ring { fill: none; stroke: #F9A8D4; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ping 3s var(--ease) infinite; }
@keyframes sail { from { stroke-dashoffset: 1570; } to { stroke-dashoffset: 0; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }

.floaters { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fl { position: absolute; transition: transform .6s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.fl i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; font-size: 24px; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: floatY var(--d, 8s) ease-in-out infinite; opacity: 0; animation-fill-mode: both; }
.fl.sm i { width: 38px; height: 38px; border-radius: 12px; font-size: 17px; }
.fl:nth-child(odd) i { color: #FDBA74; }
.fl:nth-child(3n) i { color: #A5F3FC; }
.fl:nth-child(4n) i { color: #F9A8D4; }
@keyframes floatY { 0% { opacity: .0; transform: translateY(16px) rotate(var(--r, 0deg)); } 12% { opacity: .9; } 50% { transform: translateY(-18px) rotate(calc(var(--r, 0deg) * -1)); opacity: .9; } 100% { transform: translateY(16px) rotate(var(--r, 0deg)); opacity: .9; } }

.hero-rotator { margin: 0 0 14px; font-family: var(--ff-display); font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--on-dark); opacity: 0; animation: fade 1s .58s var(--ease) forwards; }
.rot { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.4em; padding: 0 .35em; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.rot-word { display: block; line-height: 1.4em; background: linear-gradient(120deg, #FDE68A, #F9A8D4 50%, #A5F3FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rot-word.in { animation: wordIn .55s var(--ease) both; }
.rot-word.out { animation: wordOut .4s var(--ease) both; }
@keyframes wordIn { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wordOut { to { transform: translateY(-100%); opacity: 0; } }

/* Shimmering gradient on "Quiz" */
.hero h1 em { background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Pass: 3D fly-in, cursor tilt, light sweep */
.flip { animation: passIn 1.4s .35s var(--ease) both; }
@keyframes passIn { from { opacity: 0; transform: translateY(60px) rotateX(18deg) rotateY(-28deg) scale(.92); } to { opacity: 1; transform: none; } }
.flip-inner { transform: rotateY(calc(var(--by, -10deg) + var(--ty, 0deg))) rotateX(calc(var(--bx, 4deg) + var(--tx, 0deg))) rotate(var(--bz, 1.5deg)); transition: transform .9s var(--ease); }
.flip:hover .flip-inner { transform: rotateY(calc(var(--by, -10deg) + var(--ty, 0deg))) rotateX(calc(var(--bx, 4deg) + var(--tx, 0deg))) rotate(var(--bz, 1.5deg)); }
.flip.tilting .flip-inner { transition: transform .25s ease-out; }
.flip.flipped { --by: 180deg; --bx: 0deg; --bz: 0deg; }
.flip.flipped .flip-inner, .flip.flipped:hover .flip-inner { transform: rotateY(calc(var(--by) - var(--ty, 0deg))) rotateX(calc(var(--bx) + var(--tx, 0deg))); }
.pass-top { isolation: isolate; }
.pass-top::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%); transform: translateX(-120%); animation: sweep 6s 2s ease-in-out infinite; }
@keyframes sweep { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.pass .countdown b.tick { animation: tickBounce .45s var(--ease); }
@keyframes tickBounce { 0% { transform: translateY(-40%); opacity: .3; } 100% { transform: none; opacity: 1; } }


@media (max-width: 1100px) { .flip { --by: 0deg; --bx: 0deg; --bz: 0deg; } }
@media (max-width: 640px) { .floaters .fl:nth-child(n+5) { display: none; } .fl i { width: 42px; height: 42px; font-size: 18px; } .hero-routes { opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .fl i, .route-live, .pass-top::before, .hero h1 em { animation: none !important; opacity: .9; } }
.rot > .rot-word { grid-area: 1 / 1; }
@media (max-width: 640px) { .floaters .fl { display: none; } .floaters .fl:nth-child(5), .floaters .fl:nth-child(6) { display: block; } }
.pass-grid .k.sub { margin-top: 2px; letter-spacing: .12em; }
