/* G-Zone Gamers — website design system (dark by default, full light mode, GPU-friendly motion) */
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('../fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('../fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('../fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --bg: #07090F; --bg-2: #0A0D17; --surface: #0F1422; --surface-2: #151B2C; --surface-3: #1C2337;
  --card: linear-gradient(180deg, #0F1422, #0C1020);
  --line: rgba(166, 180, 230, .08); --line-2: rgba(166, 180, 230, .14); --line-3: rgba(166, 180, 230, .24);
  --text: #EEF0F8; --text-2: #A7AEC6; --text-3: #6D7592;
  --red: #EE3B55; --red-2: #D02E47; --blue: #3D7BFF; --blue-2: #2F66E8; --cyan: #3FB8F5; --violet: #A445D8;
  --green: #30C48D; --amber: #F2A93B; --gold: #D9B26A;
  --t-green: #6fe3ad; --t-red: #ff8fa0; --t-blue: #93b6ff; --t-amber: #f7c77c; --t-gold: #e6c98d; --t-icon: #a9c1ff;
  --brand: linear-gradient(120deg, #EE3B55 0%, #A445D8 50%, #3D7BFF 100%);
  --brand-soft: linear-gradient(120deg, rgba(238,59,85,.16), rgba(61,123,255,.16));
  --nav-bg: #07090F; --bar-bg: #0f1422; --sheet-bg: #111727; --toast-bg: #1a2135; --ov-bg: rgba(3, 5, 10, .74);
  --glow-a: rgba(238, 59, 85, .16); --glow-b: rgba(61, 123, 255, .2);
  --shadow: 0 18px 50px rgba(0, 0, 0, .45); --shadow-sm: 0 6px 18px rgba(0, 0, 0, .3);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --head: 'Jakarta', 'Inter', sans-serif; --serif: 'Fraunces', Georgia, serif;
  --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.3, .64, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #F5F6FA; --bg-2: #FFFFFF; --surface: #FFFFFF; --surface-2: #F1F3F8; --surface-3: #E5E8F1;
  --card: #FFFFFF;
  --line: rgba(17, 24, 54, .07); --line-2: rgba(17, 24, 54, .12); --line-3: rgba(17, 24, 54, .2);
  --text: #0E1324; --text-2: #4A5372; --text-3: #7C849E;
  --t-green: #0f8f5f; --t-red: #c7243d; --t-blue: #2457d6; --t-amber: #a96a07; --t-gold: #8f6a1f; --t-icon: #3462e6;
  --brand-soft: linear-gradient(120deg, rgba(238,59,85,.09), rgba(61,123,255,.1));
  --nav-bg: #FFFFFF; --bar-bg: #ffffff; --sheet-bg: #FFFFFF; --toast-bg: #FFFFFF; --ov-bg: rgba(14, 19, 36, .42);
  --glow-a: rgba(238, 59, 85, .1); --glow-b: rgba(61, 123, 255, .12);
  --shadow: 0 18px 50px rgba(20, 30, 70, .12); --shadow-sm: 0 4px 14px rgba(20, 30, 70, .08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .3s, color .3s; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(61, 123, 255, .3); }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--text-2); } .dim { color: var(--text-3); } .small { font-size: 13px; } .xs { font-size: 12px; }
.serif { font-family: var(--serif); }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
svg.i { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dark-tile { background: radial-gradient(circle at 50% 40%, #1a2140, #080b14 70%); }

/* ---------- buttons & inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); font-weight: 600; font-size: 14.5px; transition: transform .15s var(--ease), background-color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { background: var(--surface-3); border-color: var(--line-3); }
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(135deg, #4D88FF, var(--blue-2)); border-color: transparent; color: #fff; box-shadow: 0 8px 22px rgba(61,123,255,.3), inset 0 1px 0 rgba(255,255,255,.2); }
.btn.brand { background: var(--brand); border: 0; color: #fff; box-shadow: 0 8px 24px rgba(164,69,216,.32), inset 0 1px 0 rgba(255,255,255,.22); }
.btn.primary:hover, .btn.brand:hover { filter: brightness(1.08); }
.btn.red { background: linear-gradient(135deg, #F2536A, var(--red-2)); border-color: transparent; color: #fff; }
.btn.wa { background: linear-gradient(135deg, #25D366, #128C7E); border-color: transparent; color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn.xs { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 9px; gap: 6px; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 15.5px; border-radius: 14px; }
.btn.block { width: 100%; }
.btn.icon { width: 40px; padding: 0; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .i { width: 17px; height: 17px; }
.input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(61,123,255,.15); }
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A92AE' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
label.f { display: block; font-size: 13px; color: var(--text-2); font-weight: 500; }
label.f .input { margin-top: 7px; }
.glass { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px; font-size: 12.5px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.chip .d { width: 7px; height: 7px; border-radius: 50%; background: currentColor; position: relative; flex: none; }
.chip .i { width: 14px; height: 14px; }
.chip.green { color: var(--t-green); background: rgba(48,196,141,.1); border-color: rgba(48,196,141,.3); }
.chip.red { color: var(--t-red); background: rgba(238,59,85,.09); border-color: rgba(238,59,85,.3); }
.chip.blue { color: var(--t-blue); background: rgba(61,123,255,.09); border-color: rgba(61,123,255,.3); }
.chip.amber { color: var(--t-amber); background: rgba(242,169,59,.1); border-color: rgba(242,169,59,.3); }
.chip.gold { color: var(--t-gold); background: rgba(217,178,106,.1); border-color: rgba(217,178,106,.32); }
.chip.violet { color: #b98cff; background: rgba(164,69,216,.1); border-color: rgba(164,69,216,.3); }
/* pulse uses transform + opacity only (no repaints) */
.pulse .d::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- top bar ---------- */
.announce { position: relative; z-index: 3; text-align: center; font-size: 13px; padding: 9px 16px; background: var(--brand-soft); border-bottom: 1px solid var(--line); }
.announce a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nav { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s; }
.nav.scrolled { background: var(--nav-bg); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand .bl { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; transition: transform .4s var(--spring); }
.brand .bl img { width: 140%; height: 140%; max-width: none; object-fit: contain; }
.brand:hover .bl { transform: rotate(-8deg) scale(1.05); }
[data-theme="light"] .brand .bl { background: radial-gradient(circle at 50% 40%, #1a2140, #080b14 75%); box-shadow: 0 4px 12px rgba(20,30,70,.18); }
[data-theme="light"] .brand .bl img { width: 115%; height: 115%; }
.brand b { font: 600 19px/1.1 var(--serif); letter-spacing: -.01em; display: block; }
.brand small { color: var(--text-3); font-size: 11.5px; letter-spacing: .04em; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 13px; border-radius: 10px; color: var(--text-2); font-weight: 500; font-size: 14.5px; transition: color .2s, background-color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.theme-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); display: grid; place-items: center; position: relative; overflow: hidden; }
.theme-btn .i { position: absolute; transition: transform .4s var(--spring), opacity .25s; }
.theme-btn .sun { transform: translateY(24px) rotate(-90deg); opacity: 0; }
[data-theme="light"] .theme-btn .sun { transform: none; opacity: 1; }
[data-theme="light"] .theme-btn .moon { transform: translateY(-24px) rotate(90deg); opacity: 0; }
.avatar-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 5px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface-2); font-weight: 600; font-size: 13.5px; }
.avatar-btn span.av, .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font: 700 12px var(--head); flex: none; }

/* ---------- hero: neon night city (always a night scene; GPU-only motion) ---------- */
.hero { --text: #EEF0F8; --text-2: #c2c8de; --text-3: #8f97b5; --surface: #10142a; --surface-2: rgba(255,255,255,.07); --surface-3: rgba(255,255,255,.12); --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.15); --line-3: rgba(255,255,255,.26); --t-green: #6fe3ad; --t-amber: #f7c77c; --t-icon: #a9c1ff;
  position: relative; overflow: hidden; color: var(--text); background: linear-gradient(180deg, #04050c 0%, #070a1c 28%, #121433 50%, #2a1a45 66%, #5a2a52 80%, #a4485a 91%, #d9774f 100%); isolation: isolate; }
.nav + main .hero, .hero { margin-top: 0; }
.hero .sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero .sky::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 320px at 70% 88%, rgba(255, 150, 90, .35), transparent 70%), radial-gradient(600px 400px at 12% 20%, rgba(61, 123, 255, .12), transparent 70%); }
.hero .clouds { position: absolute; left: 0; right: 0; top: 18%; height: 46%; background: url('../img/clouds.svg') repeat-x 0 0 / 1600px 100%; opacity: .28; }
.hero .stars { position: absolute; inset: 0 0 35%; background-image: radial-gradient(1.4px 1.4px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 90px 80px, #cfd8ff, transparent), radial-gradient(1.2px 1.2px at 160px 20px, #fff, transparent), radial-gradient(1px 1px at 230px 110px, #ffd6e6, transparent), radial-gradient(1.3px 1.3px at 300px 60px, #fff, transparent); background-size: 340px 160px; opacity: .55; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.hero .stars.b { background-position: 170px 70px; opacity: .35; animation: twinkle 4.5s ease-in-out infinite alternate; }
.hero .beam { position: absolute; left: 62%; top: -20%; width: 34%; height: 90%; background: linear-gradient(180deg, rgba(120, 140, 255, .12), transparent 80%); transform: skewX(-18deg); transform-origin: top; animation: beam 9s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .1; } to { opacity: .6; } }
@keyframes beam { from { transform: skewX(-24deg); opacity: .5; } to { transform: skewX(-8deg); opacity: 1; } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; min-height: 500px; padding-top: 34px; }
.hero h1 { font: 600 clamp(38px, 6vw, 76px)/1.02 var(--serif); letter-spacing: -.03em; margin: 18px 0 18px; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.hero h1 .grad { font-style: italic; padding-right: .08em; background: linear-gradient(95deg, #ff3d81 0%, #ff7a45 55%, #ffd34d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--text-2); max-width: 540px; margin: 0 0 30px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn.glassy { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: #EEF0F8; }
.btn.glassy:hover { background: rgba(255,255,255,.13); }
.hero .stats { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.hero .stats b { display: block; font: 700 30px/1 var(--head); letter-spacing: -.02em; }
.hero .stats > div > span { color: var(--text-3); font-size: 13px; }
/* entrance: staggered, transform/opacity only */
.h-anim { opacity: 0; transform: translate3d(0, 22px, 0); animation: hIn .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes hIn { to { opacity: 1; transform: none; } }
.hero-copy { will-change: transform, opacity; }
/* art: logo with a soft city-light halo */
.hero-art { position: relative; aspect-ratio: 1; max-width: 500px; justify-self: center; width: 100%; }
.hero-art .halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(164, 69, 216, .32), rgba(61, 123, 255, .12) 45%, transparent 68%); animation: halo 6s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes halo { from { opacity: .65; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }
.hero-art .logo { position: absolute; inset: 8%; animation: float 7s ease-in-out infinite; will-change: transform; }
.hero-art .logo img { width: 100%; height: 100%; object-fit: contain; }
.hero-art .ring { position: absolute; inset: 2%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); animation: spin 60s linear infinite; will-change: transform; }
.hero-art .ring::before, .hero-art .ring::after { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; top: -4.5px; left: 50%; background: #ff4f8a; box-shadow: 0 0 12px 3px rgba(255,79,138,.6); }
.hero-art .ring::after { top: auto; bottom: -4.5px; background: var(--cyan); box-shadow: 0 0 12px 3px rgba(63,184,245,.6); }
.float-card { position: absolute; padding: 11px 14px; border-radius: 16px; display: flex; align-items: center; gap: 10px; font-size: 13px; background: rgba(14, 12, 32, .92); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 40px rgba(0,0,0,.45); animation: float 6s ease-in-out infinite; will-change: transform; z-index: 2; color: #EEF0F8; }
.float-card b { display: block; font-size: 14px; }
.float-card .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255,61,129,.25), rgba(255,122,69,.2)); color: #ffb38a; }
.float-card.a { left: -4%; bottom: 18%; animation-delay: -2s; }
.float-card.b { right: -2%; top: 10%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -14px, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
/* horizon: layered night skyline, fog, traffic and water reflections (static images; only small bits move) */
.horizon { position: relative; height: 330px; margin-top: -10px; pointer-events: none; z-index: -1; --base: 104px; }
.horizon .glow { position: absolute; left: 0; right: 0; bottom: var(--base); height: 260px; background: radial-gradient(55% 100% at 62% 100%, rgba(255, 140, 90, .45), rgba(255, 90, 120, .16) 45%, transparent 75%); }
.layer { position: absolute; left: -2%; right: -2%; background-repeat: repeat-x; background-position: left bottom; will-change: transform; }
.layer.far { bottom: var(--base); height: 300px; background-image: url('../img/city-far.svg'); background-size: 1600px 100%; opacity: .7; }
.layer.mid { bottom: var(--base); height: 250px; background-image: url('../img/city-mid.svg'); background-size: 1540px 100%; background-position: -300px bottom; }
.layer.near { bottom: var(--base); height: 200px; background-image: url('../img/city-near.svg'); background-size: 1520px 100%; background-position: -620px bottom; }
.fog { position: absolute; left: 0; right: 0; bottom: var(--base); pointer-events: none; }
.fog.f1 { height: 170px; background: linear-gradient(180deg, transparent, rgba(120, 70, 120, .38) 70%, rgba(150, 80, 110, .5)); }
.fog.f2 { height: 90px; background: linear-gradient(180deg, transparent, rgba(70, 40, 80, .45)); }
.road { position: absolute; left: 0; right: 0; bottom: calc(var(--base) - 16px); height: 16px; background: linear-gradient(180deg, #120e1c, #07060c); border-top: 1px solid rgba(255, 190, 130, .28); overflow: hidden; }
.road .lamps { position: absolute; inset: 0 0 auto; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 200, 130, .95) 0 3px, transparent 3px 90px); filter: none; box-shadow: 0 0 6px rgba(255, 190, 120, .6); }
.lane { position: absolute; left: 0; right: 0; height: 8px; }
.lane.r { top: 4px; } .lane.l { top: 9px; }
.car { position: absolute; left: 0; top: var(--y, 0); width: 26px; height: 3px; border-radius: 2px; will-change: transform; animation: carR var(--t, 9s) linear infinite; animation-delay: calc(var(--d, 0s) * -1); }
.car.hd { background: linear-gradient(90deg, rgba(255, 250, 230, 0), rgba(255, 248, 225, .95)); box-shadow: 8px 0 8px 1px rgba(255, 245, 210, .55); }
.car.tl { width: 20px; background: linear-gradient(90deg, rgba(255, 50, 60, .95), rgba(255, 50, 60, 0)); box-shadow: -4px 0 7px 1px rgba(255, 40, 60, .5); animation-name: carL; }
@keyframes drift { to { transform: translate3d(-1600px, 0, 0); } }
@keyframes carR { from { transform: translate3d(-40px, 0, 0); } to { transform: translate3d(calc(100vw + 40px), 0, 0); } }
@keyframes carL { from { transform: translate3d(calc(100vw + 40px), 0, 0); } to { transform: translate3d(-40px, 0, 0); } }
.water { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--base) - 16px); overflow: hidden; background: linear-gradient(180deg, #120d22, #06050d 85%); }
.water .refl { position: absolute; left: -2%; right: -2%; top: 0; height: 110px; background: url('../img/city-reflect.svg') repeat-x -620px 0 / 1520px 100%; opacity: .95; -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); animation: shimmer 5s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes shimmer { from { transform: scaleY(1) translate3d(0, 0, 0); opacity: .8; } to { transform: scaleY(1.06) translate3d(-6px, 0, 0); opacity: 1; } }
.water .ripple { position: absolute; left: -10%; width: 120%; top: 0; bottom: 0; background: repeating-linear-gradient(180deg, transparent 0 5px, rgba(4, 3, 10, .55) 5px 7px); animation: ripple 3.5s linear infinite; will-change: transform; }
@keyframes ripple { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 7px, 0); } }
.hero .sky::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .5)); }
.ticker { z-index: 2; }

/* ticker: bold italic gaming marquee */
.ticker { position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); background: #07050d; padding: 14px 0; }
.ticker .track { display: flex; width: max-content; animation: tick 38s linear infinite; will-change: transform; }
.ticker .track > div { display: flex; align-items: center; gap: 22px; padding-right: 22px; }
.ticker span { font: 800 italic 22px/1 var(--head); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.ticker span.f { background: linear-gradient(95deg, #ff3d81, #ff8a45 60%, #ffd34d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticker span.o { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.55); }
.ticker .sep { width: 8px; height: 8px; transform: rotate(45deg); background: #3fb8f5; box-shadow: 0 0 10px #3fb8f5; flex: none; }
.ticker:hover .track { animation-play-state: paused; }
@keyframes tick { to { transform: translate3d(-50%, 0, 0); } }
.hero.off *, .hero.off *::before, .hero.off *::after { animation-play-state: paused !important; }
[data-theme="light"] .nav { background: var(--nav-bg); border-color: var(--line); }
.scroll-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ---------- numbers strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 28px; position: relative; }
.strip > div { background: var(--surface); padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.strip .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--t-icon); flex: none; }
.strip b { display: block; font: 700 20px/1.1 var(--head); }
.strip span { color: var(--text-3); font-size: 12.5px; }

/* ---------- sections ---------- */
section.s { padding: 84px 0; position: relative; }
.s-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.eyebrow { font: 700 12px var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--t-blue); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.s-head h2 { font: 600 clamp(30px, 4vw, 48px)/1.08 var(--serif); letter-spacing: -.025em; margin: 12px 0 0; }
.s-head p { color: var(--text-2); max-width: 540px; margin: 10px 0 0; }
.reveal { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > .reveal { transition-delay: calc(var(--i, 0) * 50ms); }

/* ---------- live floor ---------- */
.live-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { border: 0; background: transparent; padding: 8px 16px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 13.5px; white-space: nowrap; transition: background-color .2s, color .2s; }
.tabs button.on { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.stations { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; }
.st { position: relative; padding: 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; contain: layout paint; }
.st:hover { transform: translate3d(0, -3px, 0); border-color: var(--line-3); box-shadow: var(--shadow); }
.st::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--glow, rgba(61,123,255,.16)), transparent 70%); pointer-events: none; }
.st.free { --glow: rgba(48,196,141,.18); }
.st.playing { --glow: rgba(61,123,255,.22); }
.st.timeup, .st.soon { --glow: rgba(238,59,85,.2); }
.st.off { opacity: .55; }
.st-top { display: flex; align-items: center; gap: 12px; }
.st-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--t-icon); flex: none; }
.st-ic .i { width: 22px; height: 22px; }
.st-name { font: 700 17px/1.2 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-type { font-size: 12.5px; color: var(--text-3); }
.st .chip { margin-left: auto; }
.st-mid { display: flex; align-items: center; gap: 16px; margin: 18px 0 12px; min-height: 84px; }
.ring-t { position: relative; width: 84px; height: 84px; flex: none; }
.ring-t svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-t circle { fill: none; stroke-width: 6; }
.ring-t .bg { stroke: var(--surface-3); }
.ring-t .fg { stroke: url(#gzRing); stroke-linecap: round; }
.ring-t span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 15px var(--head); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ring-t span.long { font-size: 12.5px; }
.st-mid .big { font: 700 24px/1.1 var(--head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.st-mid .sub { color: var(--text-3); font-size: 13px; margin-top: 4px; }
.st-free-big { font: 700 22px/1.15 var(--head); color: var(--t-green); }
.st-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.st-foot b { color: var(--text); }
.st-act { margin-top: 12px; display: flex; gap: 8px; }
.st-act .btn { flex: 1; }
.note-bar { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(242,169,59,.08); border: 1px solid rgba(242,169,59,.25); color: var(--t-amber); font-size: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.note-bar .btn { margin-left: auto; }
.note-bar.blue { background: rgba(61,123,255,.07); border-color: rgba(61,123,255,.25); color: var(--t-blue); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.price { padding: 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .25s var(--ease), border-color .25s; }
.price:hover { transform: translate3d(0, -3px, 0); border-color: var(--line-3); }
.price .st-ic { margin-bottom: 18px; }
.price h3 { margin: 0; font: 700 18px var(--head); }
.price .amt { font: 700 38px/1 var(--head); letter-spacing: -.03em; margin: 14px 0 4px; }
.price .amt small { font-size: 15px; color: var(--text-3); font-weight: 600; letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 16px 0 0; color: var(--text-2); font-size: 13.5px; }
.price li { display: flex; gap: 8px; padding: 4px 0; } .price li .i { color: var(--green); width: 16px; height: 16px; margin-top: 3px; }
.deals { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 18px; }
.deal { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r-lg); border: 1px solid rgba(217,178,106,.28); background: linear-gradient(135deg, rgba(217,178,106,.1), transparent 70%), var(--surface); }
.deal .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(217,178,106,.15); color: var(--gold); flex: none; }
.deal b { display: block; font: 700 16px var(--head); }
.deal .px { margin-left: auto; text-align: right; font: 700 20px var(--head); white-space: nowrap; }
.deal.green { border-color: rgba(48,196,141,.28); background: linear-gradient(135deg, rgba(48,196,141,.1), transparent 70%), var(--surface); }
.deal.green .ic { background: rgba(48,196,141,.15); color: var(--green); }

/* ---------- games ---------- */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.game { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.game:hover { transform: translate3d(0, -3px, 0); border-color: var(--line-3); }
.game .cv { aspect-ratio: 3 / 4; position: relative; background: radial-gradient(160px 120px at 30% 20%, rgba(238,59,85,.35), transparent 70%), radial-gradient(180px 140px at 90% 90%, rgba(61,123,255,.4), transparent 70%), #0b0f1c; display: grid; place-items: center; overflow: hidden; }
.game .cv img { width: 100%; height: 100%; object-fit: cover; }
.game .cv .ph { font: 600 26px/1.1 var(--serif); color: #fff; text-align: center; padding: 14px; text-shadow: 0 4px 20px rgba(0,0,0,.5); }
.game .cv .feat { position: absolute; top: 10px; left: 10px; }
.game .gi { padding: 12px 14px 14px; }
.game .gi b { display: block; font: 700 14.5px/1.25 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game .gi span { color: var(--text-3); font-size: 12px; }
.game .plats { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.game .plats i { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-2); }

/* ---------- menu ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.menu-cat { padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.menu-cat h3 { margin: 0 0 10px; font: 600 20px var(--serif); }
.menu-item { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; font-size: 14.5px; }
.menu-item .dots { flex: 1; border-bottom: 1px dotted var(--line-3); transform: translateY(-4px); }
.menu-item.out { opacity: .45; text-decoration: line-through; }
.menu-item b { font-weight: 700; white-space: nowrap; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feat { padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.feat .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-soft); color: var(--t-icon); margin-bottom: 18px; border: 1px solid var(--line-2); }
.feat h3 { margin: 0 0 6px; font: 700 17px var(--head); }
.feat p { margin: 0; color: var(--text-2); font-size: 14px; }

/* ---------- tournaments ---------- */
.tours { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.tour { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s var(--ease), border-color .25s; }
.tour:hover { transform: translate3d(0, -3px, 0); border-color: rgba(217,178,106,.35); }
.tour .banner { position: relative; height: 136px; background: radial-gradient(300px 140px at 20% 30%, rgba(238,59,85,.4), transparent 70%), radial-gradient(300px 160px at 90% 20%, rgba(61,123,255,.45), transparent 70%), #0b0f1c; overflow: hidden; }
.tour .banner img { position: absolute; right: -24px; top: -20px; width: 190px; opacity: .55; transform: rotate(-12deg); }
.tour .banner .chip { position: absolute; left: 18px; top: 18px; background: rgba(11,15,28,.7); }
.tour .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tour h3 { margin: 0; font: 600 23px/1.15 var(--serif); }
.tour .meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--text-2); font-size: 13.5px; }
.tour .meta span { display: inline-flex; gap: 6px; align-items: center; }
.tour .prize { font: 700 15px var(--head); color: var(--t-gold); display: flex; align-items: center; gap: 8px; }
.fill { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.fill i { display: block; height: 100%; background: var(--brand); border-radius: 6px; }
.bracket { display: flex; gap: 22px; overflow-x: auto; padding: 4px 2px 12px; }
.b-round { display: flex; flex-direction: column; justify-content: space-around; gap: 14px; min-width: 190px; }
.b-round h4 { margin: 0 0 4px; font: 700 11px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.b-match { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-2); }
.b-match div { padding: 9px 12px; font-size: 13.5px; display: flex; justify-content: space-between; gap: 8px; }
.b-match div + div { border-top: 1px solid var(--line); }
.b-match .win { background: rgba(61,123,255,.14); font-weight: 700; }
.b-match .lose { color: var(--text-3); text-decoration: line-through; }
.champ { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(217,178,106,.18), rgba(217,178,106,.04)); border: 1px solid rgba(217,178,106,.4); color: var(--t-gold); text-align: center; }
.champ .i { width: 30px; height: 30px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); grid-auto-rows: 220px; gap: 12px; }
.gallery figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); }
.gallery figure:nth-child(5n+1) { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: 13px; font-weight: 600; }

/* ---------- faq & contact ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-3); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .3s var(--ease); color: var(--text-3); }
.faq details[open] summary .i { transform: rotate(45deg); color: var(--text); }
.faq .a { padding: 0 20px 18px; color: var(--text-2); }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; }
.contact .card { padding: 28px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); }
.c-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.c-row:last-of-type { border: 0; }
.c-row .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--t-icon); flex: none; }
.c-row small { display: block; color: var(--text-3); font-size: 12px; }
.map { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--surface); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
[data-theme="dark"] .map iframe, :root:not([data-theme="light"]) .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); }
.map .pin-card { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 360px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); transition: transform .2s, background-color .2s; }
.socials a:hover { transform: translateY(-2px); background: var(--surface-3); }

/* ---------- CTA band & footer ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 54px; background: radial-gradient(500px 260px at 0% 0%, rgba(238,59,85,.32), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(61,123,255,.38), transparent 70%), #0d1222; color: #EEF0F8; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font: 600 clamp(28px, 3.5vw, 42px)/1.1 var(--serif); letter-spacing: -.02em; max-width: 620px; }
.cta-band .eyebrow { color: #93b6ff; }
.cta-band img { position: absolute; right: 2%; bottom: -40%; width: 300px; opacity: .14; pointer-events: none; }
footer { padding: 40px 0 28px; border-top: 1px solid var(--line); margin-top: 30px; color: var(--text-3); font-size: 13.5px; }
footer .wrap { display: flex; gap: 30px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
footer a:hover { color: var(--text); }

/* ---------- modal / sheet (no backdrop blur: much smoother) ---------- */
.ov { position: fixed; inset: 0; z-index: 100; background: var(--ov-bg); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .2s; }
.ov.in { opacity: 1; }
.sheet { width: min(620px, 100%); max-height: min(92vh, 880px); overflow: auto; overscroll-behavior: contain; border-radius: 26px; background: var(--sheet-bg); border: 1px solid var(--line-2); box-shadow: 0 30px 90px rgba(0,0,0,.45); transform: translate3d(0, 24px, 0) scale(.98); transition: transform .32s var(--spring); will-change: transform; }
.ov.in .sheet { transform: none; }
.sheet-head { position: sticky; top: 0; z-index: 2; padding: 22px 24px 14px; background: var(--sheet-bg); display: flex; align-items: flex-start; gap: 14px; }
.sheet-head h3 { margin: 0; font: 600 24px/1.15 var(--serif); }
.sheet-head p { margin: 4px 0 0; color: var(--text-3); font-size: 13.5px; }
.sheet-head .x { margin-left: auto; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface-2); display: grid; place-items: center; flex: none; }
.sheet-body { padding: 4px 24px 24px; }
.sheet-foot .btn.block { flex: 1 1 auto; width: auto; min-width: 0; }
.sheet-foot .btn { flex-shrink: 0; }
.sheet-foot .btn.block { flex-shrink: 1; }
.sheet-foot { position: sticky; bottom: 0; padding: 14px 24px calc(16px + var(--safe-b)); background: var(--sheet-bg); border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.steps { display: flex; gap: 6px; margin: 0 24px 16px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; position: relative; }
.steps i.on::after { content: ''; position: absolute; inset: 0; background: var(--brand); transform-origin: left; animation: grow .45s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.step { animation: stepIn .35s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translate3d(14px, 0, 0); } to { opacity: 1; transform: none; } }
.lbl { font: 700 12px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 18px 0 10px; display: flex; justify-content: space-between; align-items: center; }
.picks { display: flex; gap: 8px; flex-wrap: wrap; }
.picks.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.picks.scroll::-webkit-scrollbar { display: none; }
.pick { border: 1px solid var(--line-2); background: var(--surface-2); border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: 14px; transition: border-color .15s, background-color .15s, box-shadow .15s; white-space: nowrap; scroll-snap-align: start; }
.pick:hover { border-color: var(--line-3); }
.pick.on { border-color: var(--blue); background: rgba(61,123,255,.14); box-shadow: 0 0 0 3px rgba(61,123,255,.12); }
.pick small { display: block; font-weight: 500; font-size: 11.5px; color: var(--text-3); }
.pick.day { min-width: 74px; text-align: center; }
.pick.day b { display: block; font: 700 18px var(--head); }
.st-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.st-pick button { text-align: left; border: 1px solid var(--line-2); background: var(--surface-2); border-radius: 14px; padding: 12px; transition: border-color .15s, background-color .15s; }
.st-pick button b { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.st-pick button small { display: block; color: var(--text-3); font-size: 12px; margin-top: 3px; }
.st-pick button.on { border-color: var(--blue); background: rgba(61,123,255,.14); box-shadow: 0 0 0 3px rgba(61,123,255,.12); }
.st-pick button[disabled] { opacity: .4; cursor: not-allowed; }
.summary { margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--brand-soft); border: 1px solid var(--line-2); display: grid; gap: 6px; font-size: 14px; }
.summary div { display: flex; justify-content: space-between; gap: 10px; }
.summary b { font-weight: 700; }
.done-art { text-align: center; padding: 10px 0 6px; }
.done-art .tick { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(48,196,141,.14); color: var(--green); animation: pop .5s var(--spring) both; }
.done-art .tick .i { width: 40px; height: 40px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.code { font: 800 34px var(--head); letter-spacing: .18em; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.status-row { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 12px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-3); border-top-color: var(--blue); animation: spin .8s linear infinite; display: inline-block; }

/* ---------- toast ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(420px, 100% - 32px); pointer-events: none; }
.toast { pointer-events: auto; padding: 13px 16px; border-radius: 14px; background: var(--toast-bg); border: 1px solid var(--line-3); box-shadow: var(--shadow); font-size: 14px; animation: toastIn .35s var(--spring) both; display: flex; gap: 10px; align-items: center; }
.toast.err { border-color: rgba(238,59,85,.5); }
.toast.ok .i { color: var(--green); } .toast.err .i { color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

/* ---------- mobile app bar (solid, no blur) ---------- */
.appbar { display: none; position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 60; height: 66px; border-radius: 22px; background: var(--bar-bg); border: 1px solid var(--line-2); box-shadow: 0 14px 34px rgba(0,0,0,.35); padding: 6px; }
.appbar a, .appbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--text-3); border: 0; background: none; border-radius: 16px; transition: color .2s, background-color .2s; }
.appbar a.on { color: var(--text); background: var(--surface-2); }
.appbar .i { width: 21px; height: 21px; }
.appbar .book { flex: 1.1; color: #fff; }
.appbar .book span.bub { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--brand); box-shadow: 0 8px 20px rgba(164,69,216,.4); }
.install { display: none; }

/* ---------- account page ---------- */
.acc-wrap { min-height: calc(100vh - 72px); padding: 40px 0 60px; }
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); max-width: 980px; margin: 0 auto; }
.auth .art { position: relative; padding: 40px; background: radial-gradient(400px 300px at 20% 20%, rgba(238,59,85,.35), transparent 70%), radial-gradient(400px 300px at 90% 90%, rgba(61,123,255,.4), transparent 70%), #0b0f1c; color: #EEF0F8; display: flex; flex-direction: column; justify-content: space-between; min-height: 560px; overflow: hidden; }
.auth .art img { position: absolute; right: -60px; bottom: -40px; width: 360px; opacity: .9; animation: float 8s ease-in-out infinite; }
.auth .art h2 { font: 600 34px/1.1 var(--serif); margin: 0 0 12px; max-width: 320px; position: relative; }
.auth .art ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; position: relative; font-size: 14px; color: #c9cfe3; }
.auth .art li { display: flex; gap: 10px; align-items: center; }
.auth .art li .i { color: #6fe3ad; }
.auth .form { padding: 40px; }
.auth .form h1 { font: 600 30px var(--serif); margin: 0 0 4px; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); margin: 22px 0 18px; }
.seg2 button { border: 0; background: transparent; padding: 10px; border-radius: 10px; font-weight: 600; color: var(--text-2); transition: background-color .2s, color .2s; }
.seg2 button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.acc-head { display: flex; align-items: center; gap: 18px; padding: 26px; border-radius: var(--r-xl); background: radial-gradient(400px 220px at 0% 0%, rgba(238,59,85,.3), transparent 70%), radial-gradient(500px 260px at 100% 100%, rgba(61,123,255,.35), transparent 70%), #0d1222; color: #EEF0F8; border: 1px solid var(--line-2); flex-wrap: wrap; }
.acc-head .av { width: 64px; height: 64px; font-size: 22px; }
.acc-head h1 { margin: 0; font: 600 28px var(--serif); }
.acc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 22px; }
.kpi2 { padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.kpi2 span { color: var(--text-3); font-size: 12.5px; }
.kpi2 b { display: block; font: 700 24px var(--head); margin-top: 4px; }
.panel { border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); margin-bottom: 16px; overflow: hidden; }
.panel h3 { margin: 0; padding: 16px 20px; font: 700 15.5px var(--head); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.row-i { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.row-i:last-child { border-bottom: 0; }
.row-i .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); color: var(--t-icon); flex: none; }
.row-i .t { flex: 1; min-width: 0; } .row-i .t b { display: block; } .row-i .t span { color: var(--text-3); font-size: 12.5px; }
.tier-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.14); overflow: hidden; margin-top: 8px; width: min(320px, 100%); }
.tier-bar i { display: block; height: 100%; background: linear-gradient(90deg, #6fe3ad, #93b6ff); border-radius: 8px; }

/* ---------- extra polish ---------- */
.btn.shine { position: relative; overflow: hidden; }
.btn.shine::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: translate3d(0,0,0) skewX(-20deg); animation: shine 4.5s var(--ease) infinite; pointer-events: none; }
@keyframes shine { 0%, 70% { transform: translate3d(0,0,0) skewX(-20deg); } 100% { transform: translate3d(420%,0,0) skewX(-20deg); } }
.s-head .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .15s; }
.s-head.in .eyebrow::before { transform: none; }
.price::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.price:hover::before { transform: none; }
.st.enter { animation: stIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes stIn { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.98); } to { opacity: 1; transform: none; } }
.cta-band::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: url('../img/city-near.svg') repeat-x left bottom / 800px 100%; opacity: .5; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
body:has(.ov) .appbar { transform: translate3d(0, 140%, 0); }
.appbar { transition: transform .3s var(--ease); }
footer .f-links { display: flex; gap: 6px 4px; flex-wrap: wrap; align-items: center; }
footer .f-links a { padding: 8px 10px; border-radius: 10px; }
footer .f-links a:hover { background: var(--surface-2); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; gap: 8px; padding-top: 18px; }
  .hero-art { max-width: 330px; order: -1; }
  .float-card { display: none; }
  .nav-links { display: none; }
  .contact { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; } .auth .art { min-height: 0; padding: 28px; } .auth .art img { width: 200px; right: -30px; bottom: -30px; opacity: .5; }
  .acc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .nav .wrap { height: 62px; gap: 10px; }
  .nav-cta .btn.brand { display: none; }   /* the phone app bar has the Book button */
  .nav-cta { margin-left: auto; }
  .hide-m { display: none !important; }
  .brand .bl { width: 40px; height: 40px; border-radius: 12px; }
  .brand b { font-size: 17px; } .nav .brand small { display: none; }
  .announce { font-size: 12.5px; padding: 8px 14px; }
  .hero-in { padding-top: 6px; }
  .hero-art { max-width: 240px; }
  .hero-art .ring { animation: none; }
  .hero h1 { margin: 14px 0 12px; }
  .hero p.lead { margin-bottom: 22px; }
  .hero .ctas { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero .ctas .btn { width: 100%; }
  .hero .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
  .hero .stats > div { padding: 12px 10px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); text-align: center; }
  .hero .stats b { font-size: 18px; white-space: nowrap; letter-spacing: -.03em; }
  .hero .stats > div > span { font-size: 11.5px; line-height: 1.3; display: block; margin-top: 4px; }
  .horizon { height: 210px; margin-top: -10px; --base: 66px; }
  .horizon .glow { height: 160px; }
  .layer.far { height: 170px; background-size: 960px 100%; }
  .layer.mid { height: 150px; background-size: 920px 100%; }
  .layer.near { height: 118px; background-size: 900px 100%; background-position: -380px bottom; }
  .fog.f1 { height: 110px; } .fog.f2 { height: 60px; }
  .water .refl { background-size: 900px 100%; background-position: -380px 0; height: 70px; }
  .hero .clouds { background-size: 960px 100%; }
  .ticker { padding: 11px 0; } .ticker span { font-size: 17px; } .ticker .track > div { gap: 16px; padding-right: 16px; }
  .ticker .track { animation-duration: 30s; }
  section.s { padding: 56px 0; }
  .s-head { margin-bottom: 22px; }
  .s-head > .btn { width: 100%; }
  .appbar { display: flex; }
  footer { padding: 28px 0 calc(96px + var(--safe-b)); margin-top: 10px; }
  footer .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  footer .f-links { margin-left: -10px; }
  .toasts { bottom: calc(92px + var(--safe-b)); }
  /* numbers strip: tidy 2x2 */
  .strip { margin-top: 18px; }
  .strip > div { padding: 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .strip .ic { width: 36px; height: 36px; border-radius: 10px; }
  .strip b { font-size: 17px; }
  .strip > div > span > span { display: block; line-height: 1.35; }
  /* live floor: one clean card per row */
  .live-bar { gap: 8px; }
  .live-bar .tabs { width: 100%; }
  .stations { grid-template-columns: 1fr; gap: 10px; }
  .st { padding: 14px 16px; border-radius: 18px; }
  .st:hover { transform: none; box-shadow: none; }
  .st-ic { width: 40px; height: 40px; border-radius: 12px; }
  .st-name { font-size: 16px; }
  .st-mid { gap: 14px; margin: 12px 0 10px; min-height: 0; }
  .ring-t { width: 60px; height: 60px; } .ring-t span { font-size: 12.5px; } .ring-t span.long { font-size: 10.5px; }
  .st-mid .big { font-size: 19px; } .st-free-big { font-size: 19px; }
  .st-foot { font-size: 12.5px; }
  .st-act .btn { height: 40px; }
  .note-bar { padding: 12px 14px; }
  .note-bar .btn { width: 100%; margin-left: 0; }
  /* rates: swipeable cards */
  .price-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 8px; scroll-padding: 16px; }
  .price-grid::-webkit-scrollbar { display: none; }
  .price { scroll-snap-align: start; padding: 20px; }
  .price:hover { transform: none; }
  .price .amt { font-size: 32px; }
  .deal { padding: 16px; gap: 12px; flex-wrap: wrap; }
  .deal .ic { width: 42px; height: 42px; }
  .deal > span:nth-child(2) { flex: 1 1 150px; min-width: 0; }
  .deal .px { font-size: 18px; }
  /* features: compact 2-up */
  .features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feat { padding: 16px; }
  .feat .ic { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px; }
  .feat h3 { font-size: 15px; } .feat p { font-size: 12.5px; }
  .cta-band { padding: 30px 22px 70px; }
  .cta-band > div:last-of-type { display: grid; gap: 10px; width: 100%; } .cta-band .btn { width: 100%; }
  .menu-grid { grid-template-columns: 1fr; }
  .contact .card { padding: 20px; }
  .map { min-height: 300px; }
  .ov { padding: 0; align-items: flex-end; }
  .sheet { border-radius: 24px 24px 0 0; max-height: 94vh; transform: translate3d(0, 100%, 0); transition-duration: .3s; }
  .sheet-head { padding: 18px 18px 12px; } .sheet-body { padding: 4px 18px 20px; } .sheet-foot { padding: 12px 18px calc(14px + var(--safe-b)); } .steps { margin: 0 18px 14px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .tours { grid-template-columns: 1fr; }
  .tour .body { padding: 18px; }
  .games { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .auth .form { padding: 26px 20px; }
  .acc-head { padding: 20px; }
  .acc-head > div:last-child { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .row-i { padding: 12px 16px; flex-wrap: wrap; }
  .panel h3 { padding: 14px 16px; }
}
@media (max-width: 380px) {
  .brand b { font-size: 15.5px; }
  .hero .stats b { font-size: 17px; }
  .price-grid { grid-auto-columns: 82%; }
  .features { grid-template-columns: 1fr; }
}
@media (hover: none) { .btn.shine::after { animation-duration: 6s; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal, .h-anim { opacity: 1; transform: none; } }
@media (display-mode: standalone) { .announce { display: none; } }
