/* gamdomcasino.games — design system
   Foundation: graphite / near-black, green accent, cyan + lime secondary accents,
   chamfered panels, grid textures, restrained glow. */

:root {
  --bg: #0a0d12;
  --bg-2: #0e1219;
  --panel: #121820;
  --panel-2: #171e28;
  --panel-3: #1d2530;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #e9eef4;
  --text-2: #aab4c1;
  --muted: #7c8794;
  --green: #00ff85;
  --green-2: #00c968;
  --green-dim: rgba(0, 255, 133, 0.12);
  --lime: #c6ff4a;
  --cyan: #3fe4ff;
  --blue: #5b84ff;
  --steel: #9aa7b8;
  --red: #ff4d5e;
  --gold: #ffc14d;
  --ink: #06090d;
  --radius: 6px;
  --radius-lg: 10px;
  --chamfer: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --chamfer-sm: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", "SF Pro Display", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --container: 1240px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.25) 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.25) 60%, transparent);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.018) 20%, rgba(255,255,255,0.018) 80%, transparent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green); }
.eyebrow--cyan::before { background: var(--cyan); }
.eyebrow--lime::before { background: var(--lime); }
.eyebrow--gold::before { background: var(--gold); }
.lead { color: var(--text-2); font-size: 1.08rem; max-width: 62ch; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head .lead { margin-top: 12px; }
.section-head__side { flex-shrink: 0; }
.text-green { color: var(--green); }
.text-cyan { color: var(--cyan); }
.text-lime { color: var(--lime); }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.prose { max-width: 72ch; color: var(--text-2); }
.prose h3 { color: var(--text); margin: 28px 0 10px; }
.prose ul { padding-left: 1.2em; list-style: disc; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose a { color: var(--green); border-bottom: 1px solid rgba(0,255,133,.35); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; white-space: nowrap;
  border-radius: 4px;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary {
  background: var(--green); color: var(--ink);
  clip-path: var(--chamfer-sm);
  border-radius: 0;
}
.btn--primary:hover { background: #45ffa4; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.btn--cyan { background: var(--cyan); color: var(--ink); clip-path: var(--chamfer-sm); border-radius: 0; }
.btn--cyan:hover { background: #7cedff; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1.02rem; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.86rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: rgba(10, 13, 18, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 6px; justify-self: center; }
.nav a {
  position: relative; padding: 10px 14px; font-weight: 600; font-size: 0.93rem; color: var(--text-2);
  border-radius: 4px; transition: color .18s ease, background-color .18s ease;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav a[aria-current="page"] { color: var(--green); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--green);
}
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.burger {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 4px; background: rgba(255,255,255,.03);
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--text); position: relative;
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.burger span::before { position: absolute; top: -7px; }
.burger span::after { position: absolute; top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: rgba(10, 13, 18, 0.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
  overflow-y: auto; padding: 24px 20px 40px;
}
.menu-open .mobile-nav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.mobile-nav ul { display: grid; gap: 4px; max-width: 520px; margin: 0 auto; }
.mobile-nav li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; font-size: 1.1rem; font-weight: 700;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
}
.mobile-nav li a[aria-current="page"] { border-color: rgba(0,255,133,.4); color: var(--green); }
.mobile-nav li a span { font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .1em; }
.mobile-nav__cta { max-width: 520px; margin: 20px auto 0; display: grid; gap: 10px; }
.mobile-nav__code { text-align: center; color: var(--muted); font-size: .85rem; }
.mobile-nav__code b { color: var(--green); font-family: var(--mono); letter-spacing: .12em; }
body.menu-open { overflow: hidden; }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding: 18px 0 0; font-size: 0.82rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: rgba(255,255,255,.2); }
.crumbs a { color: var(--text-2); transition: color .18s; }
.crumbs a:hover { color: var(--green); }
.crumbs [aria-current] { color: var(--text); }

/* ---------- Code chip ---------- */
.code-chip {
  display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); background: var(--panel);
  border-radius: 4px; overflow: hidden; font-family: var(--mono);
}
.code-chip__label { padding: 0 12px; display: flex; align-items: center; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.03); border-right: 1px solid var(--line); font-family: var(--font); font-weight: 700; }
.code-chip__code { padding: 0 14px; display: flex; align-items: center; font-weight: 700; font-size: 1.05rem; letter-spacing: .18em; color: var(--green); }
.code-chip__copy {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 46px; font-family: var(--font); font-weight: 700; font-size: .82rem;
  color: var(--text); background: rgba(255,255,255,.04); border-left: 1px solid var(--line); transition: background .18s;
}
.code-chip__copy:hover { background: rgba(0,255,133,.12); color: var(--green); }
.code-chip__copy svg { width: 16px; height: 16px; }
.code-chip__copy.is-copied { color: var(--ink); background: var(--green); }

/* ---------- Winners ticker ---------- */
.ticker {
  position: relative; overflow: hidden; border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0,255,133,.06), transparent 18%, transparent 82%, rgba(63,228,255,.06));
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 46s linear infinite; will-change: transform; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; flex-shrink: 0; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 28px 0 0; margin-right: 28px;
  border-right: 1px solid var(--line-2); font-size: .88rem; white-space: nowrap;
}
.ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.ticker__dot--cyan { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.ticker__dot--lime { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.ticker__dot--gold { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.ticker__user { font-family: var(--mono); color: var(--text-2); }
.ticker__game { color: var(--muted); }
.ticker__win { font-weight: 800; color: var(--text); }
.ticker__win--x { color: var(--lime); }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-note { text-align: center; font-size: .74rem; color: var(--muted); padding: 8px 20px 0; }

/* ---------- Panels & cards ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.panel--chamfer { clip-path: var(--chamfer); border-radius: 0; }
.glass { background: rgba(255,255,255,.035); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.glow-green { box-shadow: 0 0 0 1px rgba(0,255,133,.25), 0 0 40px rgba(0,255,133,.12); }

/* Feature list (crypto features etc.) */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature-strip__item { padding: 28px 26px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); transition: background .25s ease; }
.feature-strip__item:last-child { border-right: 0; }
.feature-strip__item:hover { background: rgba(255,255,255,.04); }
.feature-strip__num { font-family: var(--mono); font-size: .74rem; color: var(--green); margin-bottom: 18px; letter-spacing: .1em; }
.feature-strip__item h3 { margin-bottom: 8px; }
.feature-strip__item p { color: var(--text-2); font-size: .93rem; }

/* Game tile (CSS art) */
.gtile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px; overflow: hidden; border-radius: 8px; isolation: isolate;
  color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.45);
  transition: transform .3s ease, box-shadow .3s ease;
  will-change: transform;
}
.gtile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 75% 20%, rgba(255,255,255,.28), transparent 40%),
    linear-gradient(160deg, var(--c1), var(--c2));
}
.gtile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 18px 18px; opacity: .5;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.gtile:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 24px 40px rgba(0,0,0,.45); }
.gtile__icon { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; opacity: .95; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); transition: transform .35s ease; }
.gtile:hover .gtile__icon { transform: translateY(-4px) rotate(-6deg) scale(1.08); }
.gtile__icon svg { width: 100%; height: 100%; }
.gtile__tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .85; }
.gtile__name { font-size: 1.25rem; font-weight: 900; letter-spacing: -.01em; line-height: 1.05; text-transform: uppercase; }
.gtile__meta { font-size: .72rem; opacity: .85; margin-top: 4px; }
.gtile--crash { --c1: #6a2cff; --c2: #1a1040; }
.gtile--mines { --c1: #ff5a3c; --c2: #4a0f14; }
.gtile--dice { --c1: #00d16f; --c2: #063b26; }
.gtile--plinko { --c1: #ff3fa4; --c2: #3a0a3a; }
.gtile--hilo { --c1: #2f8dff; --c2: #0a1f4a; }
.gtile--roulette { --c1: #f6a21a; --c2: #4a2604; }
.gtile--blackjack { --c1: #ff4d6d; --c2: #3a0c1c; }
.gtile--keno { --c1: #ffb020; --c2: #4a2a00; }
.gtile--limbo { --c1: #19c8e6; --c2: #063a4a; }
.gtile--slots { --c1: #b64bff; --c2: #2a0a4a; }
.gtile--live { --c1: #ff7a2f; --c2: #4a1a05; }
.gtile--tower { --c1: #58c4ff; --c2: #0a2a4a; }
.gtile--wheel { --c1: #c6ff4a; --c2: #2a4a05; }
.gtile--twist { --c1: #a24bff; --c2: #1c0a3a; }

/* ---------- Rails (continuous horizontal movement) ---------- */
.rail { overflow: hidden; padding: 12px 0; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.rail__track { display: flex; width: max-content; gap: 0; animation: rail 60s linear infinite; will-change: transform; }
.rail--reverse .rail__track { animation-direction: reverse; animation-duration: 70s; }
@media (hover: hover) { .rail:hover .rail__track { animation-play-state: paused; } }
.rail__group { display: flex; flex-shrink: 0; gap: 16px; padding-right: 16px; }
.rail .gtile { flex-shrink: 0; width: 200px; height: 250px; }
.rail .gtile--wide { width: 300px; }
.rail .gtile--short { height: 250px; width: 170px; }
@keyframes rail { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; transition: border-color .2s ease; }
.faq__item.is-open { border-color: rgba(0,255,133,.35); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 18px 20px; font-weight: 700; font-size: 1rem;
}
.faq__q .faq__icon { flex-shrink: 0; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 4px; display: grid; place-items: center; transition: transform .3s ease, background .3s ease, border-color .3s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; width: 12px; height: 2px; background: currentColor; transition: transform .3s ease; }
.faq__icon { position: relative; }
.faq__icon::after { transform: rotate(90deg); }
.is-open .faq__icon { background: var(--green-dim); border-color: rgba(0,255,133,.4); color: var(--green); }
.is-open .faq__icon::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 20px 18px; color: var(--text-2); font-size: .96rem; }
.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 56px 48px; border: 1px solid rgba(0,255,133,.25); background: linear-gradient(120deg, rgba(0,255,133,.08), rgba(63,228,255,.05) 60%, transparent); clip-path: var(--chamfer); }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(0,255,133,.25), transparent 65%); pointer-events: none; }
.cta-band__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band .lead { margin-bottom: 0; }
.cta-band__actions { display: grid; gap: 14px; justify-items: start; }
.cta-band__perks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.perk { font-size: .78rem; font-weight: 700; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 3px; background: rgba(0,0,0,.25); color: var(--text-2); }
.perk b { color: var(--lime); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.35)); font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer p { color: var(--text-2); }
.footer h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer li { margin-bottom: 8px; }
.footer li a { color: var(--text-2); transition: color .18s; }
.footer li a:hover { color: var(--green); }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--muted); font-size: .8rem; }
.age-badge { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--muted); border-radius: 50%; font-size: .7rem; font-weight: 800; color: var(--text-2); }
.footer__logo img { height: 30px; width: auto; margin-bottom: 14px; }
.responsible { margin-top: 14px; font-size: .82rem; color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stack { display: grid; gap: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text-2); }
.pill--green { color: var(--green); border-color: rgba(0,255,133,.35); background: var(--green-dim); }
.pill--cyan { color: var(--cyan); border-color: rgba(63,228,255,.35); background: rgba(63,228,255,.1); }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.info-card { padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .25s ease, transform .25s ease; }
.info-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.info-card h3 { margin-bottom: 8px; }
.info-card p { color: var(--text-2); font-size: .95rem; }
.info-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 6px; background: var(--green-dim); color: var(--green); margin-bottom: 16px; }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card__icon--cyan { background: rgba(63,228,255,.12); color: var(--cyan); }
.info-card__icon--lime { background: rgba(198,255,74,.12); color: var(--lime); }
.info-card__icon--gold { background: rgba(255,193,77,.12); color: var(--gold); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }
.steps { counter-reset: step; display: grid; gap: 14px; }
.steps li { position: relative; padding: 18px 18px 18px 62px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text-2); }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 16px; font-family: var(--mono); font-weight: 700; color: var(--green); font-size: .95rem; }
.steps li b { color: var(--text); }
.steps li code { font-family: var(--mono); color: var(--green); letter-spacing: .1em; font-weight: 700; }
.screen { position: relative; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.screen::before { content: ""; display: block; height: 26px; background: var(--panel-2); border-bottom: 1px solid var(--line); background-image: radial-gradient(circle, #ff5f57 4px, transparent 5px), radial-gradient(circle, #febc2e 4px, transparent 5px), radial-gradient(circle, #28c840 4px, transparent 5px); background-size: 20px 26px; background-repeat: no-repeat; background-position: 12px 0, 30px 0, 48px 0; }
.screen img { width: 100%; }
.screen--link { transition: transform .3s ease, box-shadow .3s ease; }
.screen--link:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(0,255,133,.3); }
.callout { display: flex; gap: 14px; padding: 16px 18px; border-left: 3px solid var(--cyan); background: rgba(63,228,255,.06); border-radius: 0 6px 6px 0; color: var(--text-2); font-size: .93rem; }
.callout svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--cyan); }
.callout--green svg { color: var(--green); }
.callout--gold svg { color: var(--gold); }
.callout--green { border-color: var(--green); background: var(--green-dim); }
.callout--gold { border-color: var(--gold); background: rgba(255,193,77,.08); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-strip__item:nth-child(2) { border-right: 0; }
  .feature-strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; }
  .logo img { height: 30px; }
  .section { padding: 60px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
  .grid-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .ticker__track { animation-duration: 28s; }
  .rail__track { animation-duration: 40s; }
  .rail--reverse .rail__track { animation-duration: 46s; }
  .rail .gtile { width: 160px; height: 200px; }
  .rail .gtile--wide { width: 230px; }
  .rail .gtile--short { width: 140px; height: 200px; }
  .gtile__name { font-size: 1.05rem; }
}
@media (max-width: 560px) {
  .container { width: min(var(--container), 100% - 32px); }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-strip__item:last-child { border-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .btn--lg { min-height: 52px; padding: 0 22px; font-size: .96rem; }
  .code-chip { width: 100%; }
  .code-chip__code { flex: 1; justify-content: center; }
  .code-chip__label { display: none; }
  .cta-band__actions .btn { width: 100%; }
  h2 { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker__track, .rail__track { animation: none; }
  .ticker, .rail { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}
