/* gam-dom.ca - Gamdom Canada
   Dark premium UI, mobile-first */

:root {
  --bg: #0a0f16;
  --bg-2: #0d141d;
  --surface: #111a26;
  --surface-2: #16212f;
  --surface-3: #1c2938;
  --border: rgba(148, 178, 209, 0.12);
  --border-strong: rgba(148, 178, 209, 0.22);
  --green: #00e582;
  --green-bright: #00ff94;
  --green-deep: #00b96a;
  --green-soft: rgba(0, 229, 130, 0.12);
  --gold: #ffc24b;
  --text: #e9f0f7;
  --muted: #93a5b8;
  --faint: #64778c;
  --radius: 14px;
  --radius-lg: 20px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-card: 0 10px 30px rgba(2, 8, 15, 0.45);
  --glow-green: 0 0 24px rgba(0, 229, 130, 0.28);
  --max-w: 1160px;
}

* { 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(--green); text-decoration: none; }
a:hover { color: var(--green-bright); }

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

h1 { font-size: clamp(1.9rem, 5.4vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); }

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.container.wide { max-width: 1340px; }

/* ---------- Utility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--green);
  color: #04110a;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #04110a; }

.section { padding: 72px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 12px; font-size: 1.02rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  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: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  color: #04110a;
  box-shadow: 0 6px 20px rgba(0, 229, 130, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 229, 130, 0.42);
  color: #04110a;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green-bright);
  background: var(--green-soft);
}

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

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 22, 0.88);
  border-bottom: 1px solid var(--border);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself
   creates a containing block that clips the fixed mobile menu panel */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #04110a;
  background: var(--green);
  border-radius: 5px;
  padding: 2px 6px;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.main-nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 9px 14px;
  border-radius: 9px;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--text); background: rgba(148, 178, 209, 0.08); }
.main-nav a.active { color: var(--green-bright); background: var(--green-soft); }
.main-nav .nav-register { display: none; } /* shown only inside the mobile panel */

.header-cta { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }

/* Gamdom-style header buttons: neutral dark Sign in, flat bright green Sign up */
.btn-hdr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  border: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-hdr-login {
  background: var(--surface-3);
  color: var(--text);
}
.btn-hdr-login:hover {
  background: #243348;
  color: #ffffff;
}
.btn-hdr-register {
  background: var(--green-bright);
  color: #04110a;
}
.btn-hdr-register:hover {
  background: #47ffae;
  color: #04110a;
}

.nav-toggle {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 560px;
  background: radial-gradient(ellipse at center, rgba(0, 229, 130, 0.14), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 178, 209, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--muted);
}
.badge-green { border-color: rgba(0, 229, 130, 0.4); background: var(--green-soft); color: var(--green-bright); }
.badge-gold { border-color: rgba(255, 194, 75, 0.4); background: rgba(255, 194, 75, 0.1); color: var(--gold); }

.hero h1 span { color: var(--green-bright); }
.hero-sub { margin: 18px 0 26px; font-size: 1.08rem; max-width: 560px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Bonus panel */
.bonus-panel {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.bonus-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(150deg, rgba(0, 229, 130, 0.55), transparent 45%, transparent 60%, rgba(0, 229, 130, 0.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.bonus-panel h2, .bonus-panel h3 { margin-bottom: 6px; }
.bonus-panel .panel-note { font-size: 0.85rem; color: var(--faint); }

.bonus-list { list-style: none; margin: 18px 0 22px; }
.bonus-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}
.bonus-list li:last-child { border-bottom: 0; }
.bonus-list .tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 2px;
}
.bonus-list small { display: block; color: var(--faint); font-weight: 400; }

/* Code chip */
.code-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0a1210;
  border: 1px dashed rgba(0, 229, 130, 0.55);
  border-radius: 12px;
  padding: 12px 14px 12px 18px;
  margin: 14px 0;
}
.code-chip .code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green-bright);
}
.copy-btn {
  background: var(--green);
  color: #04110a;
  border: 0;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.copy-btn:hover { background: var(--green-bright); transform: translateY(-1px); }
.copy-btn.copied { background: var(--gold); }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 130, 0.4);
  box-shadow: var(--shadow-card);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 0.92rem; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-soft);
  border: 1px solid rgba(0, 229, 130, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.tag-exclusive { background: var(--green-soft); color: var(--green-bright); border: 1px solid rgba(0, 229, 130, 0.4); }
.tag-gold { background: rgba(255, 194, 75, 0.12); color: var(--gold); border: 1px solid rgba(255, 194, 75, 0.35); }

.bonus-value {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

/* ---------- Whole-card links ----------
   Cards that act as one link use a real <a> as the ROOT element, so the
   entire area from border to border is natively clickable - no overlay
   or stretched-link tricks that stacking contexts can break. */
a.card { display: block; }
a.card,
a.card:visited,
a.card:hover,
a.card:active {
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
a.card .card-link { color: var(--green); }
a.card:hover .card-link { color: var(--green-bright); }
a.card:focus-visible,
.bonus-panel-link:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
}

.bonus-panel-link,
.bonus-panel-link:visited,
.bonus-panel-link:hover,
.bonus-panel-link:active {
  display: block;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.bonus-panel-link {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bonus-panel-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), 0 0 16px rgba(0, 229, 130, 0.14);
}

/* Hero visual blocks that act as one big link */
.hero-card-link { display: block; color: inherit; }
.hero-card-link:hover { color: inherit; }
.hero-card-link .shot-frame,
.hero-card-link .phone-mock {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.hero-card-link:hover .shot-frame,
.hero-card-link:hover .phone-mock {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 130, 0.5);
  box-shadow: var(--shadow-card), 0 0 18px rgba(0, 229, 130, 0.16);
}
.hero-card-link:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  color: #04110a;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.94rem; }

/* ---------- Screenshots ---------- */
.shot-frame {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-card);
}
.shot-frame img { border-radius: 8px; width: 100%; }
.shot-frame figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--faint);
  padding: 12px 8px 6px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.split.reverse > .split-media { order: 2; }

/* Screenshot-first layout: media column gets ~60% of the row on desktop */
@media (min-width: 1024px) {
  .split.registration-guide {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 36px;
  }
}
.registration-guide .shot-frame { padding: 8px; }
.registration-guide .shot-frame img { width: 100%; height: auto; object-fit: contain; }

/* Zoomable screenshots + lightbox */
.zoomable-image {
  cursor: zoom-in;
  outline: 2px solid transparent;
  outline-offset: -2px;
  border-radius: 8px;
  transition: transform 0.2s ease, outline-color 0.2s ease;
}
.zoomable-image:hover,
.zoomable-image:focus-visible {
  transform: scale(1.012);
  outline-color: rgba(0, 229, 130, 0.5);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(4, 8, 13, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}
.lightbox img {
  max-width: min(1400px, 94vw);
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lightbox-close:hover { border-color: var(--green); color: var(--green-bright); }
.lightbox-caption {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 90vw;
  text-align: center;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: rgba(0, 229, 130, 0.4); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 18px 22px;
  cursor: pointer;
}
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--green);
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--green-soft); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner { padding: 0 22px 20px; font-size: 0.95rem; color: var(--muted); }
.faq-a-inner a { font-weight: 600; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 18px 0 0; font-size: 0.85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { color: var(--faint); display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; color: var(--faint); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--green-bright); }
.breadcrumbs [aria-current] { color: var(--green); font-weight: 600; }

/* ---------- Tables ---------- */
.info-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.info-table { width: 100%; border-collapse: collapse; min-width: 480px; background: var(--surface); }
.info-table th, .info-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
.info-table th { color: var(--faint); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.info-table td { color: var(--muted); }
.info-table td:first-child { color: var(--text); font-weight: 600; }
.info-table tr:last-child td { border-bottom: 0; }

/* ---------- Prose ---------- */
.prose { max-width: 780px; }
.prose p + p { margin-top: 14px; }
.prose h2, .prose h3 { margin: 28px 0 12px; }
.prose ul { margin: 14px 0 14px 20px; color: var(--muted); }
.prose li { margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(140deg, rgba(0, 229, 130, 0.14), rgba(0, 185, 106, 0.05)), var(--surface);
  border: 1px solid rgba(0, 229, 130, 0.32);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { max-width: 560px; margin: 0 auto 24px; }
.cta-band .hero-actions { justify-content: center; margin-top: 0; }

/* ---------- Notice ---------- */
.notice {
  display: flex;
  gap: 14px;
  background: rgba(255, 194, 75, 0.07);
  border: 1px solid rgba(255, 194, 75, 0.25);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.9rem;
  color: var(--muted);
}
.notice strong { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 28px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; max-width: 340px; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--faint);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: 0.93rem; }
.footer-col a:hover { color: var(--green-bright); }

.footer-note {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--faint);
}
.footer-note p + p { margin-top: 10px; }
.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 3px 8px;
  margin-right: 8px;
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

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

/* ---------- Phone mockup (app page) ---------- */
.phone-mock {
  width: min(300px, 78vw);
  margin: 0 auto;
  background: #05090e;
  border: 2px solid var(--border-strong);
  border-radius: 38px;
  padding: 14px 12px;
  box-shadow: var(--shadow-card), var(--glow-green);
}
.phone-mock .phone-notch {
  width: 110px;
  height: 8px;
  background: var(--surface-3);
  border-radius: 999px;
  margin: 0 auto 12px;
}
.phone-screen {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}
.phone-screen img { width: 100%; }
.phone-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.phone-bar img { height: 18px; width: auto; }

/* ---------- Login mock card ---------- */
.login-mock {
  display: block;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.login-mock:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 130, 0.5);
  box-shadow: var(--shadow-card), var(--glow-green);
  color: var(--text);
}
.login-mock .mock-field {
  background: #0a1017;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--faint);
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.login-mock .mock-label { font-size: 0.78rem; color: var(--faint); margin-bottom: 6px; }
.login-mock .mock-btn {
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  color: #04110a;
  text-align: center;
  font-weight: 700;
  border-radius: 10px;
  padding: 14px;
  margin-top: 8px;
}
.login-mock .mock-note { text-align: center; font-size: 0.8rem; color: var(--faint); margin-top: 14px; }

/* ---------- 404 ---------- */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 80px 0;
}
.code-404 {
  font-family: var(--font-head);
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
    z-index: 99;
    background: rgba(10, 15, 22, 0.98);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 20px 20px 48px;
    margin: 0;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.28s ease;
  }
  .main-nav a {
    font-size: 1.1rem;
    padding: 14px 16px;
    border-radius: 12px;
    min-height: 48px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .main-nav .nav-register {
    display: flex;
    justify-content: center;
    margin-top: 14px;
  }
  .nav-toggle { display: block; }
  .header-cta .btn-outline-desktop { display: none; }

  .grid-3 { grid-template-columns: 1fr; }
  .split, .split.reverse, .split.registration-guide { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse > .split-media { order: 0; }
  /* Screenshot goes right under the section intro on mobile */
  .split.registration-guide > .split-media,
  .split.reverse.registration-guide > .split-media { order: -1; }
  .shot-frame { padding: 8px; }
  .section { padding: 56px 0; }
}

@media (max-width: 560px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 52px 0 60px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .bonus-panel { padding: 22px 18px; }
  .code-chip { flex-direction: column; align-items: stretch; text-align: center; }
  .step { flex-direction: column; gap: 12px; }
  .cta-band { padding: 34px 20px; }
  .header-cta .btn { padding: 10px 16px; font-size: 0.86rem; }
  .btn-hdr { height: 36px; padding: 0 14px; font-size: 0.85rem; }
  .brand img { height: 26px; }
}

@media (max-width: 479px) {
  /* Not enough header width on small phones; Login stays available in the menu */
  .btn-hdr-login { display: none; }
}
