.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 40px); }
body.landing { overflow-x: hidden; }

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ---------- Background ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: drift 22s ease-in-out infinite alternate; }
.b1 { width: 620px; height: 620px; background: #5b21b6; top: -220px; left: -160px; }
.b2 { width: 560px; height: 560px; background: #0e7490; top: 10%; right: -200px; animation-delay: -6s; opacity: .38; }
.b3 { width: 520px; height: 520px; background: #4c1d95; bottom: -260px; left: 35%; animation-delay: -12s; opacity: .3; }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.cursor-glow {
  position: absolute; left: 0; top: 0; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.17), rgba(34,211,238,.05) 40%, transparent 65%);
  transform: translate(calc(var(--gx, 50vw) - 50%), calc(var(--gy, 30vh) - 50%));
  will-change: transform;
}
@keyframes drift { to { transform: translate(80px, 60px) scale(1.1); } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Shared effects ---------- */
/* Light that follows the pointer inside a card */
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(139,92,246,.16), transparent 60%);
}
.spot:hover::after { opacity: 1; }

/* A highlight running around the border */
.ring-border { position: relative; }
.ring-border::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), rgba(139,92,246,.15) 0 55%, #8b5cf6 72%, #22d3ee 86%, rgba(139,92,246,.15) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ring 5s linear infinite;
}
@keyframes ring { to { --ang: 360deg; } }

/* .sheen (the light sweeping across main buttons) lives in base.css: the panel uses it too */
.btn-primary:hover { transform: translateY(-2px); }

.reveal { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, backdrop-filter .3s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(6,7,11,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-weight: 600; color: var(--muted); font-size: 14.5px; }
.nav-links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; padding: 56px 0 64px; }
.hero > * { min-width: 0; }
.hero-in { animation: hero-in .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 80ms + 80ms); }
@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } }
.hero-title { font-size: clamp(38px, 5.3vw, 66px); margin: 22px 0 20px; }
.hero-title .w { display: inline-block; animation: word-up .9s cubic-bezier(.2,.9,.2,1) both; animation-delay: calc(var(--i) * 80ms + 80ms); }
@keyframes word-up { from { opacity: 0; transform: translateY(.55em) rotate(2deg); filter: blur(8px); } }
.hero-title .shine {
  background: linear-gradient(100deg, #8b5cf6 0%, #22d3ee 25%, #f0abfc 50%, #22d3ee 75%, #8b5cf6 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: word-up .9s cubic-bezier(.2,.9,.2,1) both, shine 7s linear infinite;
  animation-delay: calc(var(--i) * 80ms + 80ms), 0s; padding-bottom: .08em;
}
@keyframes shine { to { background-position: 200% 0; } }
.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div { display: grid; }
.hero-stats b { font-family: var(--display); font-size: 28px; font-variant-numeric: tabular-nums; }
.hero-stats span { color: var(--muted); font-size: 13.5px; font-weight: 600; }

.hero-visual { position: relative; perspective: 1300px; }
.stage { position: relative; transform: rotateX(var(--rx, 3deg)) rotateY(var(--ry, -8deg)); transform-style: preserve-3d; transition: transform .35s ease-out; animation: float-y 7s ease-in-out infinite; }
@keyframes float-y { 50% { translate: 0 -10px; } }
.mock {
  padding: 22px; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, rgba(22,24,38,.95), rgba(11,12,19,.95));
  box-shadow: 0 50px 120px -30px rgba(91,33,182,.65), 0 20px 50px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
}
.mock.ring-border { overflow: visible; }
.mock-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(520px circle at var(--glx, 75%) var(--gly, 0%), rgba(255,255,255,.09), transparent 55%); }
.mock-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); position: relative; }
.mock-ava { position: relative; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.mock-ava .live { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--ok); border: 3px solid #12141f; animation: pulse 1.8s infinite; }
.mock-who { display: grid; gap: 6px; margin-right: auto; justify-items: start; }
.mock-switch { width: 54px; height: 30px; border-radius: 99px; background: var(--grad); position: relative; box-shadow: 0 0 22px rgba(34,211,238,.45); }
.mock-switch i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.4); animation: switch-on 1s cubic-bezier(.3,1.5,.6,1) .9s both; }
@keyframes switch-on { from { transform: translateX(0); } to { transform: translateX(24px); } }
.mock-label { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.mock-label b { color: var(--a2); letter-spacing: 0; font-size: 13px; }
.mock-strip { margin: 0 -22px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.strip-track { display: flex; width: max-content; animation: scroll-x 36s linear infinite; }
.strip-track img { width: 92px; height: 43px; object-fit: cover; border-radius: 8px; margin-right: 8px; border: 1px solid var(--line); }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.mock-rows { display: grid; gap: 9px; padding: 14px 0 16px; }
.mock-game { display: grid; grid-template-columns: 104px 1fr auto auto; gap: 12px; align-items: center; padding: 7px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); animation: rise .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d); }
.mock-game img { width: 104px; height: 40px; object-fit: cover; border-radius: 8px; }
.mg-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-hours { font-weight: 700; color: var(--ok); font-size: 13.5px; padding-right: 6px; min-width: 86px; text-align: right; font-variant-numeric: tabular-nums; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.eq { display: flex; gap: 2px; align-items: flex-end; height: 14px; }
.eq i { width: 3px; height: 100%; background: var(--ok); border-radius: 2px; transform-origin: 50% 100%; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.35s; }
.eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.mock-foot { display: grid; gap: 10px; }
.mock-left { display: flex; justify-content: space-between; font-size: 14px; }
.bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: inherit; position: relative; overflow: hidden; }
.bar.shimmer i { animation: bar-grow 1.6s cubic-bezier(.2,.8,.2,1) .8s both; }
.bar.shimmer i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: translateX(-100%); animation: bar-shine 2.4s ease-in-out infinite 2s; }
@keyframes bar-grow { from { width: 0; } }
@keyframes bar-shine { to { transform: translateX(100%); } }

.float-chip { position: absolute; display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(16,18,27,.92); border: 1px solid var(--line-strong); font-weight: 700; font-size: 13px; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; backdrop-filter: blur(10px); white-space: nowrap; }
.float-chip svg { width: 18px; height: 18px; color: var(--a2); }
.c1 { top: -20px; right: 22px; }
.c2 { bottom: -20px; left: -22px; animation-delay: -2.5s; }
.c3 { bottom: -24px; right: 26px; animation-delay: -1.2s; }
.c3 svg { color: var(--warn); }
@keyframes bob { 0%, 100% { transform: translateZ(60px) translateY(0); } 50% { transform: translateZ(60px) translateY(-9px); } }

/* ---------- Marquee ---------- */
.marquee { padding: 20px 0 0; display: grid; gap: 16px; }
.mq-row { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; width: max-content; animation: scroll-x 70s linear infinite; }
.mq-row.rev .mq-track { animation-direction: reverse; animation-duration: 80s; }
.mq-row:hover .mq-track { animation-play-state: paused; }
.mq-item { position: relative; margin: 0 16px 0 0; width: 250px; aspect-ratio: 460 / 215; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
.mq-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.8); transition: filter .35s, transform .6s; }
.mq-item figcaption { position: absolute; inset: auto 0 0 0; padding: 22px 12px 9px; font-size: 13px; font-weight: 700; background: linear-gradient(transparent, rgba(4,5,9,.92)); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mq-item:hover { transform: translateY(-4px) scale(1.03); border-color: rgba(139,92,246,.6); box-shadow: 0 18px 40px -16px rgba(139,92,246,.7); }
.mq-item:hover img { filter: none; transform: scale(1.06); }
.mq-item:hover figcaption { opacity: 1; transform: none; }
.mq-note { text-align: center; font-size: 14px; font-weight: 600; margin: 6px 0 0; }

/* ---------- Sections ---------- */
.section { padding: 100px 0 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; display: grid; gap: 14px; justify-items: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-head p { margin: 0; font-size: 16.5px; }
.eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--a2); }

/* Mini illustrations */
.viz { height: 96px; margin-bottom: 22px; border-radius: 16px; background: rgba(0,0,0,.28); border: 1px solid var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 26px; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.step:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.step-n { position: absolute; right: 22px; top: 12px; font-family: var(--display); font-size: 15px; font-weight: 800; color: var(--a2); z-index: 2; background: rgba(6,7,11,.7); padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); }
.step h3, .feat h3 { font-size: 19px; margin-bottom: 10px; }
.step p, .feat p { margin: 0; }

.tg-btn { display: inline-flex; gap: 10px; align-items: center; padding: 11px 18px; border-radius: 12px; background: linear-gradient(140deg, #2aabee, #229ed9); font-weight: 700; font-size: 14px; animation: tg-press 4s ease-in-out infinite; }
.tg-btn svg { width: 18px; height: 18px; }
.viz-tg .cursor { position: absolute; width: 22px; height: 22px; left: 50%; top: 50%; animation: cursor-move 4s ease-in-out infinite; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
@keyframes cursor-move { 0%, 10% { transform: translate(90px, 46px); } 40%, 60% { transform: translate(34px, 6px); } 48% { transform: translate(34px, 6px) scale(.85); } 90%, 100% { transform: translate(90px, 46px); } }
@keyframes tg-press { 0%, 44%, 56%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(42,171,238,.5); } 48% { transform: scale(.95); } 60% { box-shadow: 0 0 0 16px rgba(42,171,238,0); } }

.viz-otp { display: flex; gap: 8px; justify-content: center; align-items: center; }
.viz-otp span { width: 40px; height: 50px; border-radius: 11px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.35); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; animation: otp-box 5s infinite; animation-delay: calc(var(--i) * .32s); }
.viz-otp b { animation: otp-char 5s infinite; animation-delay: calc(var(--i) * .32s); }
@keyframes otp-char { 0%, 4% { opacity: 0; transform: translateY(8px); } 10%, 72% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; } }
@keyframes otp-box { 0%, 4% { border-color: var(--line-strong); box-shadow: none; } 10%, 72% { border-color: rgba(139,92,246,.8); box-shadow: 0 0 0 3px rgba(139,92,246,.16); } 80%, 100% { border-color: var(--line-strong); box-shadow: none; } }

.viz-games { display: flex; gap: 10px; justify-content: center; align-items: center; }
.viz-games span { position: relative; width: 31%; animation: pick 5s infinite; animation-delay: calc(var(--i) * .5s); border-radius: 9px; }
.viz-games img { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; border-radius: 9px; border: 1px solid var(--line-strong); }
.viz-games i { position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #05130d; display: grid; place-items: center; animation: pick-check 5s infinite; animation-delay: calc(var(--i) * .5s); }
.viz-games i svg { width: 12px; height: 12px; stroke-width: 3.5; }
@keyframes pick { 0%, 6% { opacity: .35; transform: scale(.94); } 14%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: .35; transform: scale(.94); } }
@keyframes pick-check { 0%, 10% { transform: scale(0); } 18%, 80% { transform: scale(1); } 88%, 100% { transform: scale(0); } }

/* ---------- Features (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 26px; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.feat:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.feat-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.3); color: #c4b5fd; margin-bottom: 22px; }
.feat-ic svg { width: 24px; height: 24px; }
.f-wide { grid-column: span 2; display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: center; }

.tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.tiles img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); animation: tile 6.4s ease-in-out infinite; animation-delay: calc(var(--i) * 90ms); }
@keyframes tile { 0%, 6% { opacity: .16; filter: grayscale(1); transform: scale(.9); } 16%, 78% { opacity: 1; filter: none; transform: none; } 92%, 100% { opacity: .16; filter: grayscale(1); transform: scale(.9); } }

.viz-ring i { position: absolute; width: 74px; height: 74px; border-radius: 50%; background: conic-gradient(from var(--ang), transparent 0 20%, #8b5cf6, #22d3ee); -webkit-mask: radial-gradient(circle, transparent 28px, #000 29px); mask: radial-gradient(circle, transparent 28px, #000 29px); animation: ring 3s linear infinite; }
.viz-ring b { font-family: var(--display); font-size: 15px; }

.viz-friend { display: flex; gap: 12px; align-items: center; justify-content: flex-start; padding: 0 18px; }
.vf-ava { width: 42px; height: 42px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 13px; flex: none; }
.vf-lines { display: grid; gap: 2px; font-size: 14px; min-width: 0; }
.vf-swap { position: relative; height: 20px; font-size: 13px; font-weight: 600; }
.vf-swap em { position: absolute; left: 0; top: 0; font-style: normal; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.vf-swap em svg { width: 14px; height: 14px; }
.vf-swap .a { color: var(--ok); animation: swap-a 6s infinite; }
.vf-swap .b { color: var(--dim); animation: swap-b 6s infinite; }
@keyframes swap-a { 0%, 40% { opacity: 1; transform: none; } 45%, 95% { opacity: 0; transform: translateY(-14px); } 100% { opacity: 1; transform: none; } }
@keyframes swap-b { 0%, 45% { opacity: 0; transform: translateY(14px); } 50%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(14px); } }

.viz-yield .vy { position: absolute; display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 99px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.viz-yield .vy svg { width: 16px; height: 16px; }
.viz-yield .a { color: var(--warn); background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.3); animation: swap-a 6s infinite; }
.viz-yield .b { color: var(--ok); background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); animation: swap-b 6s infinite; }

.viz-type { display: flex; gap: 8px; justify-content: flex-start; align-items: center; padding: 0 18px; font-size: 14.5px; white-space: nowrap; }
.viz-type b { color: var(--ok); }
.caret { width: 2px; height: 18px; background: var(--ok); margin-left: -5px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.viz-cards { background: radial-gradient(120px 70px at 50% 70%, rgba(234,179,8,.14), transparent 70%), rgba(0,0,0,.28); }
.tcard { position: absolute; top: 15px; left: 42%; width: 48px; margin-left: -24px; aspect-ratio: 220 / 256; border-radius: 7px; overflow: hidden; box-shadow: 0 12px 22px -8px rgba(0,0,0,.8); transform-origin: 50% 120%; animation: fan 5.4s cubic-bezier(.3,1.3,.5,1) infinite; }
.tcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard em { display: none; }
.tcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 45%, transparent 60%) -120% 0 / 250% 100% no-repeat; animation: foil 5.4s ease-in-out infinite; }
.tcard:nth-child(1) { --r: -16deg; --x: -40px; }
.tcard:nth-child(2) { --r: 0deg; --x: 0px; z-index: 1; }
.tcard:nth-child(3) { --r: 16deg; --x: 40px; }
@keyframes fan { 0%, 10% { transform: translateY(40px) scale(.8); opacity: 0; } 24%, 80% { transform: translateX(var(--x)) rotate(var(--r)); opacity: 1; } 94%, 100% { transform: translateY(40px) scale(.8); opacity: 0; } }
@keyframes foil { 0%, 30% { background-position: -120% 0; } 50%, 100% { background-position: 220% 0; } }
.viz-cards .drop { position: absolute; right: 12px; top: 50%; margin-top: -12px; z-index: 2; font-size: 11.5px; font-weight: 800; color: #fde047; padding: 3px 8px; border-radius: 99px; background: rgba(234,179,8,.14); border: 1px solid rgba(234,179,8,.35); animation: drop 5.4s ease-in-out infinite; }
@keyframes drop { 0%, 30% { opacity: 0; transform: translateY(8px); } 38%, 76% { opacity: 1; transform: none; } 86%, 100% { opacity: 0; transform: translateY(-8px); } }

/* Both bubbles sit in one grid cell, so the box grows to the taller one and nothing is clipped */
.viz-notify { height: auto; margin: 0; padding: 16px; display: grid; place-items: stretch; align-content: center; min-height: 150px; }
.bubble { grid-area: 1 / 1; align-self: center; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: #1b2030; border: 1px solid var(--line-strong); font-size: 13.5px; min-width: 0; animation: bubble-1 9s infinite; }
.bubble b { color: #7dd3fc; font-size: 12.5px; }
.bubble p { margin: 2px 0 0; color: var(--text); }
.bubble span { display: block; margin-top: 8px; text-align: center; padding: 6px; border-radius: 8px; background: rgba(125,211,252,.12); color: #7dd3fc; font-weight: 700; font-size: 12.5px; }
.bubble.later { animation-name: bubble-2; }
@keyframes bubble-1 { 0%, 4% { opacity: 0; transform: translateY(16px) scale(.96); } 10%, 44% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes bubble-2 { 0%, 52% { opacity: 0; transform: translateY(16px) scale(.96); } 58%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(-14px) scale(.96); } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; padding: 30px; margin-bottom: 28px; align-items: center; }
.calc-controls { display: grid; gap: 26px; }
.calc-row { display: grid; gap: 12px; }
.calc-row label { font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.calc-row label b { font-family: var(--display); font-size: 22px; color: var(--a2); }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline: none; cursor: pointer; background: linear-gradient(90deg, var(--a1), var(--a2)) 0 / var(--p, 25%) 100% no-repeat, rgba(255,255,255,.09); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(139,92,246,.3), 0 4px 12px rgba(0,0,0,.5); transition: box-shadow .2s; }
.calc input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(139,92,246,.3); }
.calc input[type=range]:active::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgba(139,92,246,.3), 0 4px 12px rgba(0,0,0,.5); }
.range-marks { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; padding: 0 6px; }
.calc .seg { width: 100%; }
.calc .seg button { flex: 1; white-space: nowrap; }
.calc-out { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 12px; }
.calc-out > div { padding: 18px 16px; border-radius: 18px; background: rgba(0,0,0,.3); border: 1px solid var(--line); display: grid; gap: 4px; align-content: center; text-align: center; }
.calc-out span { font-size: 12.5px; font-weight: 700; }
.calc-out b { font-family: var(--display); font-size: 22px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-out b i { font-style: normal; }
.calc-out small { font-size: 12.5px; font-weight: 600; }
.calc-out .total { border-color: rgba(139,92,246,.45); background: linear-gradient(180deg, rgba(139,92,246,.16), rgba(34,211,238,.05)); }
.calc-out .total b { font-size: 28px; }

/* ---------- Prices ---------- */
.prices { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.price { width: calc((100% - 54px) / 4); padding: 26px 22px 22px; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
.price:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(139,92,246,.6); }
.price.featured { background: linear-gradient(180deg, rgba(139,92,246,.18), rgba(34,211,238,.05)); border-color: transparent; }
.price-badge { position: absolute; top: -12px; left: 22px; background: var(--grad); color: #fff; font-weight: 800; font-size: 12px; padding: 5px 12px; border-radius: 99px; z-index: 1; }
.price-title { font-family: var(--display); font-size: 18px; font-weight: 700; }
.price-days { color: var(--muted); font-weight: 600; font-size: 14px; margin-top: 2px; }
.price-sum { font-family: var(--display); font-size: 38px; font-weight: 800; margin: 16px 0 2px; white-space: nowrap; }
.price-hours { color: var(--a2); font-weight: 700; font-size: 13.5px; }
.price ul { list-style: none; padding: 0; margin: 20px 0 22px; display: grid; gap: 9px; font-size: 14px; color: var(--muted); flex: 1; }
.price li { display: flex; gap: 8px; align-items: center; }
.price li svg { width: 16px; height: 16px; color: var(--ok); }

/* ---------- Safety ---------- */
.safety { display: grid; grid-template-columns: 1.4fr .6fr; padding: 48px; gap: 32px; align-items: center; overflow: hidden; }
.safety h2 { font-size: clamp(26px, 3vw, 36px); margin: 12px 0 26px; }
.safety-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.safety-list li { display: flex; gap: 14px; color: var(--muted); }
.safety-list li b { color: var(--text); }
.safety-list svg { width: 22px; height: 22px; color: var(--a2); flex: none; margin-top: 2px; }
.safety-art { position: relative; display: grid; place-items: center; height: 280px; }
.shield-core { width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(139,92,246,.45), rgba(139,92,246,.05) 70%); box-shadow: inset 0 0 0 1px rgba(139,92,246,.45), 0 0 60px rgba(139,92,246,.35); animation: breathe 4s ease-in-out infinite; }
.shield-core svg { width: 62px; height: 62px; color: #ddd6fe; }
@keyframes breathe { 50% { transform: scale(1.06); box-shadow: inset 0 0 0 1px rgba(139,92,246,.6), 0 0 90px rgba(34,211,238,.35); } }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); animation: spin 14s linear infinite; }
.orbit i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 14px var(--a2); }
.o1 { width: 190px; height: 190px; }
.o2 { width: 270px; height: 270px; animation-duration: 22s; animation-direction: reverse; }
.o2 i { background: var(--a1); box-shadow: 0 0 14px var(--a1); }

/* ---------- ABOUT ---------- */
.about { padding: 34px 36px; border-radius: 22px; }
.about h2 { font-size: clamp(22px, 3vw, 30px); margin: 10px 0 16px; }
.about p { margin: 0 0 12px; line-height: 1.65; }
.about p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .about { padding: 24px 20px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; padding: 0 24px; transition: border-color .3s, background .3s, opacity .8s, transform .8s; }
.faq details:hover { border-color: var(--line-strong); }
.faq details[open] { border-color: rgba(139,92,246,.4); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { transition: transform .35s; color: var(--muted); flex: none; }
.faq details[open] summary svg { transform: rotate(180deg); color: var(--a2); }
.faq p { margin: 0; padding-bottom: 22px; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 72px 32px; display: grid; gap: 16px; justify-items: center; overflow: hidden; background: radial-gradient(ellipse at top, rgba(139,92,246,.26), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); }
.cta.ring-border { overflow: visible; }
.cta h2 { font-size: clamp(28px, 3.6vw, 44px); position: relative; }
.cta p { margin: 0 0 10px; font-size: 16.5px; position: relative; }
.cta .btn { position: relative; }
.cta-covers { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.cta-covers img { position: absolute; width: 170px; border-radius: 12px; opacity: .2; border: 1px solid var(--line-strong); animation: cover-float 9s ease-in-out infinite; animation-delay: calc(var(--i) * -1.5s); }
.cta-covers img:nth-child(1) { left: 3%; top: 12%; rotate: -8deg; }
.cta-covers img:nth-child(2) { left: 10%; bottom: 8%; rotate: 6deg; }
.cta-covers img:nth-child(3) { left: -3%; top: 46%; rotate: 3deg; }
.cta-covers img:nth-child(4) { right: 3%; top: 10%; rotate: 7deg; }
.cta-covers img:nth-child(5) { right: 11%; bottom: 9%; rotate: -6deg; }
.cta-covers img:nth-child(6) { right: -3%; top: 48%; rotate: -3deg; }
@keyframes cover-float { 50% { translate: 0 -14px; } }

/* ---------- Footer ---------- */
.footer { margin-top: 100px; border-top: 1px solid var(--line); padding: 40px 0 50px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.foot-copy { font-size: 13.5px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-weight: 600; font-size: 14px; margin-left: auto; }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.foot-links a:hover { color: var(--text); }
.foot-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: foot-pulse 2.4s infinite; }
@keyframes foot-pulse { 70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.foot-note { flex-basis: 100%; font-size: 13px; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 56px; }
  .stage { transform: none; }
  .price { width: calc((100% - 18px) / 2); }
  .bento { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; gap: 12px; }
  .nav-in .btn { padding: 0 12px; }
  .steps, .bento { grid-template-columns: 1fr; }
  .f-wide { grid-column: auto; grid-template-columns: 1fr; }
  .price { width: 100%; }
  .calc { padding: 20px; }
  .calc-out { grid-template-columns: 1fr 1fr; }
  .calc-out .total { grid-column: 1 / -1; grid-row: 1; }
  .calc .seg button { flex: 1 1 30%; }
  .safety { grid-template-columns: 1fr; padding: 28px; }
  .safety-art { display: none; }
  .mock { padding: 16px; }
  .mock-strip { margin: 0 -16px; }
  .mock-game { grid-template-columns: 78px 1fr auto; }
  .mock-game img { width: 78px; height: 32px; }
  .mock-game .eq { display: none; }
  .mg-hours { min-width: 0; }
  .c1 { right: 6px; } .c2 { left: 6px; } .c3 { display: none; }
  .mq-item { width: 190px; }
  .cta-covers img { width: 110px; opacity: .13; }
  .section { padding-top: 72px; }
  .hero-stats { gap: 26px; }
}

/* Free trial line under the hero buttons and in pricing */
.hero-trial { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; color: #fde047; font-weight: 700; font-size: 14.5px; }
.hero-trial svg { width: 18px; height: 18px; animation: gift-bob 2.6s ease-in-out infinite; }
@keyframes gift-bob { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-3px) rotate(-8deg); } 50% { transform: translateY(0) rotate(0); } 75% { transform: translateY(-2px) rotate(6deg); } }
.price-trial { margin-top: 14px; }
