/* ============================================================
   Gamdom NZ - gamdomcasino.co.nz
   Dark premium gaming UI / warm orange accents
   ============================================================ */

:root {
  --bg: #0b0d12;
  --bg-2: #101319;
  --bg-3: #151923;
  --card: #161a24;
  --card-2: #1b2030;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eef0f5;
  --muted: #a2abbd;
  --dim: #6f7a8f;
  --accent: #ff8a2b;
  --accent-2: #ffb15c;
  --accent-deep: #f2690f;
  --green: #21e58a;
  --green-dim: #14b96c;
  --gold: #ffd166;
  --danger: #ff5c5c;
  --grad-cta: linear-gradient(135deg, #ffa14a 0%, #ff7a1f 55%, #f25d0a 100%);
  --grad-code: linear-gradient(135deg, rgba(255, 138, 43, 0.16), rgba(255, 177, 92, 0.05));
  --shadow-cta: 0 8px 28px rgba(255, 122, 31, 0.32);
  --radius: 16px;
  --radius-lg: 22px;
  --font-head: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #ffc38a; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }

p { color: var(--muted); }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

section { position: relative; }

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

::selection { background: rgba(255, 138, 43, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-cta);
  color: #17100a;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(255, 122, 31, 0.45);
  color: #17100a;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(255, 158, 74, 0.6);
  background: rgba(255, 138, 43, 0.08);
  color: #fff;
  transform: translateY(-2px);
}

.btn-green {
  background: linear-gradient(135deg, #35f09a, #12c273);
  color: #06281a;
  box-shadow: 0 8px 26px rgba(30, 210, 125, 0.28);
}
.btn-green:hover { transform: translateY(-2px); color: #06281a; box-shadow: 0 12px 32px rgba(30, 210, 125, 0.4); }

.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; border-radius: 10px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(11, 13, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.brand-tag {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #17100a;
  background: var(--grad-cta);
  padding: 3px 7px;
  border-radius: 6px;
  line-height: 1;
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav a {
  display: block;
  padding: 9px 13px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.main-nav a[aria-current="page"] { color: var(--accent-2); background: rgba(255, 138, 43, 0.1); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-login {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  background: transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-login:hover { border-color: rgba(255, 158, 74, 0.65); background: rgba(255, 138, 43, 0.08); color: #fff; }
.btn-signup {
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--grad-cta);
  color: #17100a;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-head);
  box-shadow: 0 6px 20px rgba(255, 122, 31, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-signup:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255, 122, 31, 0.42); color: #17100a; }

/* Hamburger */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(5, 7, 10, 0.6);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 55;
}
body.nav-open .nav-overlay { opacity: 1; pointer-events: auto; }

body.nav-open { overflow: hidden; }

/* ---------- Hero base ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 76px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -240px;
  right: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255, 122, 31, 0.16), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -280px;
  left: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(33, 229, 138, 0.07), transparent 65%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(255, 138, 43, 0.1);
  border: 1px solid rgba(255, 138, 43, 0.28);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(33, 229, 138, 0.8);
}

.hero-lead { max-width: 560px; margin-top: 18px; font-size: 1.06rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-note { margin-top: 16px; font-size: 0.82rem; color: var(--dim); }

/* ---------- Code chip / copy ---------- */

.code-chip {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(255, 138, 43, 0.4);
  background: var(--grad-code);
  border-radius: 14px;
  overflow: hidden;
}
.code-chip .code-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  padding: 13px 20px;
  display: flex;
  align-items: center;
}
.code-chip .copy-btn {
  border: none;
  border-left: 1px solid rgba(255, 138, 43, 0.35);
  background: rgba(255, 138, 43, 0.14);
  color: #ffd9b3;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0 18px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  min-width: 86px;
}
.code-chip .copy-btn:hover { background: rgba(255, 138, 43, 0.28); color: #fff; }
.code-chip .copy-btn.copied { background: rgba(33, 229, 138, 0.18); color: var(--green); border-left-color: rgba(33, 229, 138, 0.4); }

/* ---------- Stat tiles ---------- */

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-tile {
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.stat-tile:hover { transform: translateY(-3px); border-color: rgba(255, 138, 43, 0.4); }
.stat-tile .stat-num {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1.1;
}
.stat-tile .stat-label { font-size: 0.86rem; color: var(--muted); margin-top: 6px; }

/* ---------- Cards / grids ---------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 43, 0.35);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; }
.card .card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 138, 43, 0.12);
  border: 1px solid rgba(255, 138, 43, 0.3);
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.section-head { max-width: 660px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .kicker {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.section-head p { margin-top: 12px; }

/* ---------- Screenshot frames ---------- */

.shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  background: var(--bg-3);
}
.shot img { width: 100%; }
.shot-caption {
  font-size: 0.82rem;
  color: var(--dim);
  text-align: center;
  margin-top: 12px;
}

.glow-orange { position: relative; }
.glow-orange::before {
  content: "";
  position: absolute;
  inset: -26px;
  background: radial-gradient(closest-side, rgba(255, 122, 31, 0.18), transparent);
  z-index: -1;
  border-radius: 40px;
}

/* ---------- Steps ---------- */

.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color 0.2s ease;
}
.steps li:hover { border-color: rgba(255, 138, 43, 0.4); }
.steps li::before {
  content: counter(step);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: #17100a;
  background: var(--grad-cta);
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.steps li strong { color: var(--text); }
.steps li span { color: var(--muted); font-size: 0.94rem; }

/* ---------- Benefit bar ---------- */

.benefit-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.benefit .b-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent-2);
  white-space: nowrap;
}
.benefit .b-label { font-size: 0.85rem; color: var(--muted); line-height: 1.35; }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open { border-color: rgba(255, 138, 43, 0.45); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
}
.faq-q:hover { color: var(--accent-2); }
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--accent-2);
  transition: transform 0.3s ease, background 0.2s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(255, 138, 43, 0.15); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner { padding: 0 20px 20px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Breadcrumbs ---------- */

.breadcrumbs { padding: 18px 0 0; position: relative; z-index: 2; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.84rem; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: var(--dim); }
.breadcrumbs li + li::before { content: "›"; color: var(--dim); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-2); }
.breadcrumbs [aria-current="page"] { color: var(--accent-2); }

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(600px 200px at 80% 0%, rgba(255, 138, 43, 0.16), transparent),
    linear-gradient(160deg, var(--card-2), var(--bg-2));
  border: 1px solid rgba(255, 138, 43, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { max-width: 520px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #090b0f;
  padding: 56px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; max-width: 340px; }
.site-footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer ul a { color: var(--muted); font-size: 0.92rem; }
.site-footer ul a:hover { color: var(--accent-2); }
.footer-note {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  gap: 10px;
}
.footer-note p { font-size: 0.78rem; color: var(--dim); }
.rg-line { display: flex; align-items: center; gap: 8px; }
.rg-badge {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--gold);
  border: 1px solid rgba(255, 209, 102, 0.45);
  border-radius: 8px;
  padding: 3px 8px;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ============================================================
   Page-specific
   ============================================================ */

/* ----- Home hero ----- */

.home-hero { padding: 84px 0 70px; }
.home-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.home-hero h1 .hl { color: var(--accent-2); }
.home-hero-visual { display: grid; gap: 18px; }
.home-hero-visual .shot { transform: rotate(1.2deg); }
.promo-card {
  background:
    radial-gradient(340px 140px at 15% 0%, rgba(255, 138, 43, 0.2), transparent),
    linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid rgba(255, 138, 43, 0.35);
  border-radius: var(--radius-lg);
  padding: 26px 26px 24px;
}
.promo-card .promo-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.promo-card .code-chip { width: 100%; justify-content: space-between; }
.promo-card .code-chip .code-value { flex: 1; }
.promo-perks { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.promo-perks li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--muted); align-items: baseline; }
.promo-perks li::before { content: "✓"; color: var(--green); font-weight: 700; }

/* ----- Game tiles (CSS-built) ----- */

.game-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.game-tile {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 26px 20px 20px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.game-tile:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.25); }
.game-tile .gt-emoji { font-size: 2rem; margin-bottom: auto; }
.game-tile h3 { font-size: 1.05rem; margin-top: 14px; color: #fff; }
.game-tile p { font-size: 0.82rem; margin-top: 4px; }
.gt-a { background: linear-gradient(160deg, #2c1a3d, #171a2c); }
.gt-b { background: linear-gradient(160deg, #3d2314, #1c1626); }
.gt-c { background: linear-gradient(160deg, #14303d, #151a29); }
.gt-d { background: linear-gradient(160deg, #103326, #151a26); }

/* ----- Promo page ----- */

.promo-hero {
  text-align: center;
  padding: 90px 0 70px;
}
.promo-hero::before {
  top: -200px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 760px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 122, 31, 0.2), transparent 65%);
}
.promo-hero .eyebrow { margin-inline: auto; }
.promo-hero h1 { max-width: 720px; margin-inline: auto; }
.promo-hero .hero-lead { margin-inline: auto; text-align: center; }
.promo-hero-code {
  margin: 34px auto 0;
  max-width: 460px;
}
.promo-hero-code .code-chip { width: 100%; justify-content: space-between; }
.promo-hero-code .code-chip .code-value { flex: 1; justify-content: center; font-size: 1.6rem; padding: 18px 20px; }
.promo-hero .benefit-bar { max-width: 860px; margin: 36px auto 0; }
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}
.method-grid.flip .method-copy { order: 2; }
.method-grid.flip .method-shot { order: 1; }

/* Screenshot frames in the method sections: browser-style bar + large image.
   The bar lives on ::after with order:-1 because ::before is taken by .glow-orange. */
.method-shot .shot { display: flex; flex-direction: column; }
.method-shot .shot::after {
  content: "";
  order: -1;
  flex-shrink: 0;
  height: 34px;
  border-bottom: 1px solid var(--line);
  background-color: #1a1f2b;
  background-image:
    radial-gradient(circle 5px at 22px 17px, #ff5f57 98%, transparent),
    radial-gradient(circle 5px at 42px 17px, #febc2e 98%, transparent),
    radial-gradient(circle 5px at 62px 17px, #28c840 98%, transparent);
  background-repeat: no-repeat;
}
.method-shot .shot img { width: 100%; }

@media (min-width: 901px) {
  /* Balance the two columns: wider screenshot column, equal visual height */
  .method-grid { grid-template-columns: 0.85fr 1.15fr; align-items: stretch; }
  .method-grid.flip { grid-template-columns: 1.15fr 0.85fr; }
  .method-grid .method-copy { align-self: center; min-width: 0; }
  .method-shot { display: flex; flex-direction: column; min-width: 0; }
  .method-shot .shot { flex: 1; min-height: 0; }
  .method-shot .shot img {
    flex: 1;
    min-height: 0;
    height: 100%;
    object-fit: contain;
  }
}
.method-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(33, 229, 138, 0.4);
  background: rgba(33, 229, 138, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.method-copy h2 { margin-bottom: 18px; }

/* ----- Login page ----- */

.login-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.login-panel {
  background: linear-gradient(165deg, var(--card-2), var(--card));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  max-width: 420px;
  width: 100%;
  justify-self: center;
}
.login-panel .lp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.login-panel .lp-head img { height: 26px; width: auto; }
.lp-field { margin-bottom: 16px; }
.lp-field .lp-label { font-size: 0.78rem; color: var(--dim); margin-bottom: 6px; display: block; }
.lp-input {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--dim);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-note { font-size: 0.78rem; color: var(--dim); text-align: center; margin-top: 14px; }
.login-panel .btn { width: 100%; margin-top: 6px; }

/* ----- App page ----- */

.app-hero-banner { margin-top: 44px; }
.device-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ----- Slots page ----- */

.slot-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.slot-cat {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.slot-cat:hover { transform: translateY(-5px); border-color: rgba(255, 158, 74, 0.5); }
.slot-cat .sc-emoji { font-size: 1.9rem; margin-bottom: auto; }
.slot-cat h3 { font-size: 1rem; margin-top: 12px; }
.slot-cat p { font-size: 0.8rem; margin-top: 4px; }
.sc-1 { background: linear-gradient(165deg, #33203f, #181527); }
.sc-2 { background: linear-gradient(165deg, #3f2a17, #1c1620); }
.sc-3 { background: linear-gradient(165deg, #16333f, #141a28); }
.sc-4 { background: linear-gradient(165deg, #123527, #141a24); }

/* ----- Rewards page ----- */

.royal-hero::before { background: radial-gradient(circle, rgba(255, 209, 102, 0.14), transparent 65%); }
.tier-strip { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.tier-pill {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}
.tier-pill.bronze { color: #ff9d6b; border-color: rgba(255, 157, 107, 0.45); }
.tier-pill.silver { color: #c9d4e5; border-color: rgba(201, 212, 229, 0.4); }
.tier-pill.gold { color: var(--gold); border-color: rgba(255, 209, 102, 0.5); }

/* ----- Gift cards page ----- */

.gift-visual { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.gift-card-tile {
  width: 210px;
  border-radius: 18px;
  padding: 24px 20px;
  border: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease;
}
.gift-card-tile:hover { transform: translateY(-6px) rotate(-1deg); }
.gift-card-tile .gc-brand { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #fff; }
.gift-card-tile .gc-sub { font-size: 0.75rem; color: rgba(255, 255, 255, 0.75); margin-top: 2px; }
.gift-card-tile .gc-chip {
  width: 34px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.25));
  margin: 26px 0 8px;
}
.gc-orange { background: linear-gradient(150deg, #ff8a2b, #b4430a); }
.gc-green { background: linear-gradient(150deg, #21c47c, #0b5c3a); }
.gc-dark { background: linear-gradient(150deg, #2a3040, #12151d); }

/* ----- CS2 page ----- */

body.page-cs2 {
  background:
    linear-gradient(rgba(11, 13, 18, 0.92), rgba(11, 13, 18, 0.97)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(255, 255, 255, 0.025) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255, 255, 255, 0.025) 38px 39px),
    var(--bg);
}
.cs2-hero::before { background: radial-gradient(circle, rgba(255, 96, 32, 0.22), transparent 62%); }
.match-card {
  background: linear-gradient(165deg, #171c28, #10131b);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}
.match-card .mc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 20px;
}
.match-card .mc-live { color: var(--danger); display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.match-card .mc-live::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--danger);
  animation: pulse 1.4s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.mc-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; text-align: center; }
.mc-team .mc-logo {
  width: 52px; height: 52px;
  margin: 0 auto 10px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: rgba(255, 138, 43, 0.12);
  border: 1px solid rgba(255, 138, 43, 0.35);
}
.mc-team:last-child .mc-logo { background: rgba(255, 255, 255, 0.06); border-color: var(--line-strong); }
.mc-team .mc-name { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; }
.mc-vs { font-family: var(--font-head); color: var(--dim); font-weight: 700; }
.mc-odds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.mc-odd {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.mc-odd:hover { border-color: var(--accent); background: rgba(255, 138, 43, 0.08); }
.mc-odd .mo-label { font-size: 0.72rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; }
.mc-odd .mo-val { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--accent-2); margin-top: 2px; }
.cs2-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.cs2-hero-grid .match-card { justify-self: center; }

/* ----- 404 ----- */

.page-404 {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  text-align: center;
  padding: 80px 0;
}
.page-404 .code-404 {
  font-family: var(--font-head);
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-404 h1 { margin-top: 10px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.page-404 p { max-width: 480px; margin: 16px auto 0; }
.links-404 { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Clickable hero cards ---------- */

a.hero-link { display: block; color: inherit; }
a.hero-link.shot {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.6s ease;
}
a.hero-link.shot:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 158, 74, 0.55);
  box-shadow: 0 28px 66px rgba(0, 0, 0, 0.55);
}
a.hero-link.match-card {
  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.6s ease;
}
a.hero-link.match-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 158, 74, 0.5);
}
.js-card-link { cursor: pointer; }
.js-card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.promo-card.js-card-link,
.login-panel.js-card-link {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.6s ease;
}
.promo-card.js-card-link:hover,
.login-panel.js-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 158, 74, 0.6);
}
a.stat-tile { display: block; color: inherit; }
a.benefit {
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
a.benefit:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 158, 74, 0.5);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1100px) {
  .main-nav a { padding: 9px 9px; font-size: 0.88rem; }
}

@media (max-width: 1000px) {
  .header-inner { gap: 14px; }
  .main-nav a { padding: 8px 7px; font-size: 0.84rem; }
  .brand-tag { display: none; }
}

@media (max-width: 1024px) {
  .section { padding: 66px 0; }
  .home-hero-grid, .login-hero-grid, .cs2-hero-grid { gap: 40px; }
  .game-tiles, .slot-cats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* Solid header background on mobile: backdrop-filter would turn the header
     into the containing block for the fixed menu/overlay below and break their
     positioning, so it must stay off here. */
  .site-header {
    background: rgba(11, 13, 18, 0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    margin-left: 0;
    background: linear-gradient(180deg, var(--bg-2), var(--bg));
    padding: 18px 20px calc(36px + env(safe-area-inset-bottom, 0px));
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    z-index: 58;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 8px; }
  .main-nav a {
    padding: 15px 16px;
    font-size: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
  }
  .nav-toggle { display: block; order: 3; }
  .header-actions { margin-left: auto; order: 2; }
  .header-actions .btn-login { display: none; }
  .mobile-only-login { display: block !important; margin-top: 14px; }

  .home-hero-grid, .login-hero-grid, .cs2-hero-grid, .method-grid { grid-template-columns: 1fr; }
  .method-grid.flip .method-copy { order: 1; }
  .method-grid.flip .method-shot { order: 2; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .device-cards { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 28px; }
  .home-hero-visual .shot { transform: none; }
}

.mobile-only-login { display: none; }

@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 54px 0; }
  .hero { padding: 60px 0 54px; }
  .home-hero { padding: 54px 0 50px; }
  .container { width: min(1180px, 100% - 32px); }
  .stat-row, .benefit-bar { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .game-tiles, .slot-cats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .game-tile, .slot-cat { min-height: 140px; padding: 18px 14px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .promo-hero-code .code-chip .code-value { font-size: 1.25rem; }
  .brand img { height: 30px; }
  .brand-tag { display: none; }
  .btn-signup { padding: 9px 14px; font-size: 0.82rem; }
}

@media (max-width: 400px) {
  .game-tiles, .slot-cats { grid-template-columns: 1fr; }
  .code-chip .code-value { font-size: 1.05rem; letter-spacing: 0.1em; padding: 12px 14px; }
}
