/* ==========================================================================
   DREM Guide — Cloudflare Pages Static Design System
   1:1 Design Spec modeled after comeplaygo.com:
   - Deep dark navy base (#020617) + layered slate panels (#0f172a / #101b2c)
   - Action Blue (#00bbff -> #009fe0) exclusively for primary CTAs & links
   - Brand Gold (#ffc600) strictly for kickers, labels & emphasis numbers
   - WCAG AAA CTA contrast (#001826 on #00bbff = 8.2:1)
   ========================================================================== */

:root {
  color-scheme: dark;
  --cp-bg: #020617;
  --cp-bg-elevated: #0c1527;
  --cp-surface: #0f172a;
  --cp-surface-2: #111c33;
  --play-surface: #101b2c;
  --play-border: #30435b;
  --play-accent: #7ddcf9;

  --cp-brand-blue: #00bbff;
  --cp-brand-blue-hi: #33c9ff;
  --cp-brand-blue-lo: #009fe0;
  --cp-cta-text: #001826;
  --cp-cta-ring: rgba(0, 187, 255, 0.45);
  --cp-cta-glow: 0 10px 26px rgba(0, 187, 255, 0.25);

  --cp-brand-gold: #ffc600;
  --cp-text: #f8fafc;
  --cp-body: #e5edf9;
  --cp-muted: #aab8cc;
  --cp-border: rgba(0, 187, 255, 0.18);
  --cp-border-soft: rgba(148, 163, 184, 0.2);
  --cp-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);

  --cp-radius: 22px;
  --cp-radius-md: 16px;
  --cp-radius-sm: 12px;
  --cp-max: 1120px;

  --font-sans: "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Orbitron", "Noto Sans", system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 124px;
  -webkit-text-size-adjust: 100%;
}

body.localized-page {
  margin: 0;
  min-width: 0;
  background:
    radial-gradient(circle at 16% 6%, rgba(0, 187, 255, 0.14), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(0, 159, 224, 0.10), transparent 32%),
    var(--cp-bg);
  color: var(--cp-body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cp-brand-blue);
  text-decoration: none;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

a:hover {
  color: var(--cp-brand-blue-hi);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cp-cta-ring);
  outline-offset: 2px;
}

/* ---------- Skip Link (Accessibility) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1300;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--cp-brand-blue);
  color: var(--cp-cta-text);
  font-weight: 800;
}

.skip-link:focus {
  left: 16px;
}

/* ---------- On-Page Quick Jump TOC ---------- */
.go-toc {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid var(--cp-border);
}

.go-toc-title {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cp-brand-gold);
}

.go-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.go-toc-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 5px 12px;
  border-radius: 9px;
  background: #101f36;
  border: 1px solid rgba(0, 187, 255, 0.2);
  color: #dbeafe;
  font-size: 0.85rem;
  font-weight: 600;
}

.go-toc-list a:hover {
  border-color: var(--cp-brand-blue);
  background: #152b4a;
  color: #fff;
}

/* ---------- Editorial Freshness Meta Strip ---------- */
.go-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--cp-muted);
}

.go-meta-strip strong {
  color: #dbeafe;
}

/* ---------- Semantic Footer Heading ---------- */
.footer-links .footer-heading {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--cp-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Shells ---------- */
.site-shell,
.go-shell {
  width: min(calc(100% - 32px), var(--cp-max));
  margin-inline: auto;
}

/* ---------- Top Social Strip ---------- */
.go-social-strip {
  background: var(--cp-bg-elevated);
  border-bottom: 1px solid #233148;
  color: #cbd7ea;
}

.go-social-inner {
  width: min(calc(100% - 32px), var(--cp-max));
  margin: 0 auto;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.go-social-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.go-social-strip nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  flex-shrink: 0;
}

.go-social-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #d9e6fa;
}

.go-social-strip a:hover {
  background: #25354d;
  color: #fff;
}

/* ---------- Sticky Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cp-border);
  padding-top: env(safe-area-inset-top);
}

.header-row {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cp-text);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.site-brand:hover {
  color: #fff;
}

.site-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: block;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 0.87rem;
  font-weight: 700;
  color: #dce6f7;
}

.desktop-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.desktop-nav a[aria-current="page"],
.mobile-menu a[aria-current="page"] {
  background: rgba(0, 187, 255, 0.12);
  color: var(--cp-brand-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 11px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.04);
  color: #e5efff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.lang-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--cp-brand-blue);
  color: #fff;
}

.header-cta {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 11px;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--cp-text);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--cp-border);
  background: #071022;
  padding: 12px 16px 18px;
  max-height: calc(100dvh - 110px);
  overflow: auto;
}

.mobile-menu[data-open="true"] {
  display: block;
}

.mobile-menu nav {
  display: grid;
  gap: 6px;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #e5edf9;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.mobile-menu .mobile-menu-cta {
  margin-top: 8px;
  justify-content: center;
}

@media (min-width: 960px) {
  .desktop-nav {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* ---------- Buttons (Strict Blue Action Rule) ---------- */
.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.button-primary,
.header-cta {
  background: linear-gradient(180deg, var(--cp-brand-blue), var(--cp-brand-blue-lo));
  color: var(--cp-cta-text);
  border: 1px solid rgba(120, 220, 255, 0.55);
  box-shadow: var(--cp-cta-glow);
  font-weight: 800;
}

.button-primary:hover,
.header-cta:hover {
  background: linear-gradient(180deg, var(--cp-brand-blue-hi), var(--cp-brand-blue));
  color: var(--cp-cta-text);
  box-shadow: 0 12px 30px rgba(0, 187, 255, 0.36);
  transform: translateY(-1px);
}

.button-primary:active,
.header-cta:active {
  transform: translateY(0);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e5efff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(148, 163, 184, 0.62);
  color: #fff;
}

.button-telegram {
  padding-inline: 14px;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* ---------- Gold Kickers & Labels ---------- */
.go-kicker,
.eyebrow,
.category-kicker {
  display: inline-block;
  color: var(--cp-brand-gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.gold-num {
  color: var(--cp-brand-gold);
  font-family: var(--font-display);
  font-weight: 900;
}

/* ---------- Breadcrumbs ---------- */
.go-breadcrumbs {
  font-size: 0.84rem;
  color: var(--cp-muted);
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.go-breadcrumbs a {
  color: var(--cp-brand-blue);
  font-weight: 600;
}

/* ---------- Hero Section ---------- */
.go-hero {
  padding: clamp(28px, 4.5vw, 54px) 0 clamp(24px, 4vw, 44px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.go-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.go-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 4.4vw, 2.75rem);
  line-height: 1.16;
  font-weight: 900;
  color: var(--cp-text);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.go-lede {
  margin: 0 0 22px;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  color: #cbd5e1;
  max-width: 64ch;
}

.go-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.go-small {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--cp-muted);
}

.go-home-phone {
  margin: 0 auto;
  width: min(100%, 310px);
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.55));
}

.go-home-phone img {
  display: block;
  width: 100%;
  border-radius: 30px;
  border: 1px solid rgba(0, 187, 255, 0.28);
}

@media (min-width: 820px) {
  .go-hero-grid--split {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 330px);
    gap: 40px;
  }
}

@media (max-width: 719px) {
  .go-hero .go-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 10px;
  }
  .go-hero .go-actions .button {
    padding-inline: 12px;
    font-size: clamp(0.8rem, 3.5vw, 0.9rem);
    white-space: nowrap;
  }
}

/* ---------- Main Sections ---------- */
main.go-intent {
  padding-bottom: 92px;
}

.go-section {
  padding: clamp(26px, 4vw, 44px) 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.11);
}

.go-section:last-of-type {
  border-bottom: 0;
}

.go-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.24;
  font-weight: 800;
  color: var(--cp-text);
  letter-spacing: -0.015em;
}

.go-section h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--cp-text);
}

.go-section p {
  margin: 0 0 14px;
  color: #cbd5e1;
}

.go-section p:last-child {
  margin-bottom: 0;
}

/* ---------- Verified Facts / Release Strip ---------- */
.go-release {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  margin: 16px 0 18px;
  background: linear-gradient(145deg, var(--cp-surface), var(--cp-surface-2));
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius);
  box-shadow: var(--cp-shadow);
}

.go-release img {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  display: block;
}

.go-release dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.go-release dt {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cp-muted);
}

.go-release dd {
  margin: 2px 0 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--cp-text);
}

@media (min-width: 720px) {
  .go-release {
    grid-template-columns: 104px minmax(0, 1fr);
    padding: 24px;
  }
  .go-release img {
    width: 104px;
    height: 104px;
    border-radius: 22px;
  }
  .go-release dl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Numbered 4-Step Grid ---------- */
.go-steps {
  list-style: none;
  counter-reset: step;
  margin: 18px 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.go-steps li {
  counter-increment: step;
  position: relative;
  padding: 20px 20px 20px 62px;
  background: var(--cp-surface);
  border: 1px solid var(--cp-border-soft);
  border-radius: var(--cp-radius-md);
}

.go-steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 187, 255, 0.14);
  border: 1px solid rgba(0, 187, 255, 0.35);
  color: var(--cp-brand-gold);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.9rem;
}

.go-steps p {
  font-size: 0.94rem;
  color: var(--cp-muted);
}

@media (min-width: 720px) {
  .go-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ---------- Account / Quick-Jump Panel ---------- */
.go-panel {
  padding: 22px;
  background: var(--cp-surface);
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius);
}

.go-pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.go-pill-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 11px;
  background: #11253b;
  border: 1px solid var(--play-border);
  color: #e5f4ff;
  font-size: 0.88rem;
  font-weight: 700;
}

.go-pill-links a:hover {
  border-color: var(--cp-brand-blue);
  background: #15314f;
  color: #fff;
}

/* ---------- Gameplay Section (comeplaygo.com signature module) ---------- */
.go-play-jump {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}

@media (min-width: 720px) {
  .go-play-jump--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.go-play-jump a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--play-border);
  border-radius: 12px;
  background: #11253b;
  color: #e5f4ff;
  font-size: 0.92rem;
  font-weight: 700;
}

.go-play-jump a:hover {
  border-color: var(--cp-brand-blue);
  background: #163250;
}

.go-play-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

@media (min-width: 900px) {
  .go-play-grid--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.go-play-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--play-border);
  border-radius: 18px;
  background: var(--play-surface);
  scroll-margin-top: 120px;
}

.go-play-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.go-play-label {
  color: var(--play-accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}

.go-play-heading h3 {
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  margin: 0;
}

.go-play-screen {
  display: block;
  border: 1px solid #445d78;
  border-radius: 11px;
  overflow: hidden;
  background: #09111e;
}

.go-play-screen img {
  display: block;
  width: 100%;
  height: 76px;
  object-fit: cover;
  object-position: center top;
}

.go-play-screen > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  background: #142b43;
  color: #d4efff;
  font-size: 0.7rem;
  font-weight: 700;
}

.go-play-steps {
  margin: 12px 0 16px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  color: #cbd5e1;
}

.go-play-steps strong {
  color: var(--cp-text);
}

.go-play-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ---------- 3-Column Cards Grid ---------- */
.go-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

@media (min-width: 720px) {
  .go-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .go-cards--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.go-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--cp-surface);
  border: 1px solid var(--cp-border-soft);
  border-radius: 18px;
}

.go-card:hover {
  border-color: rgba(0, 187, 255, 0.42);
}

.go-card p {
  font-size: 0.93rem;
  color: var(--cp-muted);
  flex: 1;
}

.go-card a.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.92rem;
}

/* ---------- Horizontal App Gallery (Download Page) ---------- */
.download-gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.download-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 240px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.download-gallery-card {
  margin: 0;
  scroll-snap-align: start;
  background: var(--cp-surface);
  border: 1px solid var(--cp-border);
  border-radius: 16px;
  overflow: hidden;
}

.download-gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.download-gallery-card figcaption {
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cp-text);
  text-align: center;
  background: #0c1527;
}

/* ---------- Data Tables ---------- */
.go-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-md);
  background: var(--cp-surface);
}

.go-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 520px;
}

.go-table caption {
  padding: 12px 16px;
  text-align: left;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--cp-brand-gold);
  background: #0c1527;
  border-bottom: 1px solid var(--cp-border-soft);
}

.go-table th,
.go-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  vertical-align: top;
}

.go-table th {
  color: var(--cp-text);
  font-weight: 700;
  background: rgba(17, 28, 51, 0.7);
}

.go-table tr:last-child td {
  border-bottom: 0;
}

/* ---------- Callouts & Checklists ---------- */
.go-callout {
  padding: 18px 20px;
  margin: 18px 0;
  border-radius: 14px;
  background: rgba(0, 187, 255, 0.07);
  border: 1px solid rgba(0, 187, 255, 0.28);
}

.go-callout--warn {
  background: rgba(255, 198, 0, 0.07);
  border-color: rgba(255, 198, 0, 0.34);
}

.go-callout strong {
  color: var(--cp-text);
}

.go-list {
  margin: 12px 0 16px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: #cbd5e1;
}

.go-list strong {
  color: var(--cp-text);
}

/* ---------- FAQ Accordion ---------- */
.go-faq {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.go-faq details {
  background: var(--cp-surface);
  border: 1px solid var(--cp-border-soft);
  border-radius: 14px;
  overflow: hidden;
}

.go-faq details[open] {
  border-color: rgba(0, 187, 255, 0.42);
}

.go-faq summary {
  list-style: none;
  padding: 16px 46px 16px 18px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--cp-text);
  cursor: pointer;
  position: relative;
}

.go-faq summary::-webkit-details-marker {
  display: none;
}

.go-faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cp-brand-blue);
  font-size: 1.3rem;
  font-weight: 700;
}

.go-faq details[open] summary::after {
  content: "−";
}

.go-faq details > div {
  padding: 0 18px 16px;
  color: var(--cp-muted);
  font-size: 0.94rem;
}

/* ---------- Closing CTA Banner ---------- */
.go-cta-banner {
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--cp-radius);
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 187, 255, 0.2), transparent 45%),
    linear-gradient(145deg, #0d1930, #091224);
  border: 1px solid rgba(0, 187, 255, 0.3);
  box-shadow: var(--cp-shadow);
}

/* ---------- Footer (Multi-Column comeplaygo.com Grid) ---------- */
.site-footer {
  background: #050b19;
  border-top: 1px solid var(--cp-border);
  padding: 40px 0 96px;
}

@media (min-width: 769px) {
  .site-footer {
    padding-bottom: 44px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(16px, 4vw, 48px);
  row-gap: 26px;
  align-items: start;
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-brand p {
  margin: 12px 0 0;
  max-width: 48ch;
  font-size: 0.9rem;
  color: var(--cp-muted);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links h2 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--cp-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--cp-muted);
}

.footer-links a:hover {
  color: var(--cp-brand-blue);
}

@media (min-width: 860px) {
  .footer-grid {
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: auto;
  }
}

.footer-note {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 0.82rem;
  color: #8294ad;
}

/* ---------- Mobile Sticky Bottom CTA ---------- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 950;
  padding: 9px max(12px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  border-top: 1px solid rgba(0, 187, 255, 0.25);
  background: rgba(2, 6, 23, 0.95);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.mobile-sticky-cta .button {
  width: 100%;
  min-height: 46px;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: block;
  }
}

/* ---------- Lightbox Modal ---------- */
.go-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(8px);
}

.go-lightbox[data-open="true"] {
  display: grid;
}

.go-lightbox-inner {
  position: relative;
  max-width: min(92vw, 420px);
  max-height: 88vh;
}

.go-lightbox-inner img {
  display: block;
  max-height: 84vh;
  width: auto;
  border-radius: 22px;
  border: 1px solid rgba(0, 187, 255, 0.35);
}

.go-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #0f172a;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

/* ---------- Tag Badges ---------- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(0, 187, 255, 0.1);
  border: 1px solid rgba(0, 187, 255, 0.24);
  color: #bae6fd;
}

.tag-badge--gold {
  background: rgba(255, 198, 0, 0.12);
  border-color: rgba(255, 198, 0, 0.32);
  color: var(--cp-brand-gold);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .header-cta, a { transition: none; }
  .button:hover, .header-cta:hover { transform: none; }
}

/* Source photographs retain the proportions of the public mobile interface. */
.site-brand img.br-wordmark { width:90px; height:auto; border-radius:0; }
.br-photo { margin:0; max-width:100%; min-width:0; }
.br-photo a { display:block; border-radius:14px; background:#131b29; border:1px solid #35445b; overflow:hidden; cursor:zoom-in; }
.br-photo img { display:block; width:100%; height:auto; }
.br-photo figcaption { color:#b9c8d9; font-size:.9rem; line-height:1.5; margin-top:9px; }
.go-hero-grid > .br-photo { width:min(100%,330px); justify-self:center; }
.go-hero-grid > .br-photo:has(img[height="844"]) { width:min(100%,224px); }
.go-section > .br-photo { width:min(100%,390px); margin:20px 0; }
.br-gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); gap:18px; margin:20px 0; align-items:start; }
.br-gallery .br-photo { width:min(100%,260px); }
.br-sources { margin-top:18px !important; font-size:.94rem; }
.br-digest { overflow-wrap:anywhere; word-break:break-all; }
.br-anchor { display:block; height:0; scroll-margin-top:120px; }
.go-section,.go-section [id] { scroll-margin-top:110px; }
.go-table tbody th { text-align:left; }
.go-lightbox-inner img { max-width:calc(100vw - 44px); height:auto; }
.footer-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); }
@media(max-width:719px){
 .site-brand img.br-wordmark { width:70px; }
 .go-hero .go-actions {display:flex;flex-wrap:wrap;}
 .go-hero .go-actions .button {white-space:normal;}
 .br-gallery {display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px;}
 .br-gallery .br-photo {flex:0 0 min(65vw,236px);scroll-snap-align:start;}
 .go-hero-grid > .br-photo {width:min(100%,330px);}
 .go-hero-grid > .br-photo:has(img[height="844"]) {width:min(100%,218px);}
}
