/* Mega888 LTD shared production stylesheet */

:root {
      --bg: #111827;
      --surface: #182235;
      --surface-2: #202c42;
      --text: #f8fafc;
      --muted: #b8c2d3;
      --line: rgba(255,255,255,.12);
      --gold: #e8c66a;
      --gold-dark: #b89034;
      --success: #9dd6a7;
      --warning: #f0cd84;
      --max: 1180px;
      --radius: 18px;
    }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.65;
    }

a { color: inherit; }

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

button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 0; }

.skip-link:focus { left: 16px; top: 16px; z-index: 1000; background: #fff; color: #111; padding: 10px 14px; border-radius: 8px; }

.site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      border-bottom: 1px solid var(--line);
      background: rgba(17,24,39,.94);
      backdrop-filter: blur(12px);
    }

.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { font-weight: 800; text-decoration: none; letter-spacing: .02em; white-space: nowrap; }

.brand span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 18px; list-style: none; padding: 0; margin: 0; }

.nav-links a { color: var(--muted); text-decoration: none; font-size: .95rem; }

.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }

.nav-cta { padding: 10px 16px; border: 1px solid var(--gold); border-radius: 999px; color: #111827 !important; background: var(--gold); font-weight: 800; }

.hero { padding: 76px 0 58px; background: radial-gradient(circle at 78% 20%, rgba(232,198,106,.18), transparent 34%); }

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 50px; }

.eyebrow { margin: 0 0 12px; color: var(--gold); font-weight: 800; letter-spacing: .12em; font-size: .8rem; }

h1, h2, h3 { line-height: 1.18; margin-top: 0; }

h1 { font-size: clamp(2.35rem, 5vw, 4.6rem); letter-spacing: -.045em; margin-bottom: 22px; }

h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); letter-spacing: -.025em; margin-bottom: 18px; }

h3 { font-size: 1.22rem; margin-bottom: 10px; }

p { margin-top: 0; }

.lead { color: var(--muted); font-size: 1.08rem; max-width: 66ch; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 15px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 800; border: 1px solid var(--line); }

.btn-primary { color: #111827; background: var(--gold); border-color: var(--gold); }

.btn-secondary { background: var(--surface-2); }

.btn-ghost { color: var(--gold); background: transparent; border-color: rgba(232,198,106,.5); }

.btn-download-cta {
  width: 100%;
  min-height: 56px;
  font-size: 1.05rem;
  gap: 10px;
  color: #fff;
  background: linear-gradient(135deg, #1a8f1a, #0ea5b7);
  border: none;
  box-shadow: 0 12px 26px rgba(14,165,183,.35);
  transition: filter .15s ease, transform .15s ease;
}

.btn-download-cta svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn-download-cta-ios {
  width: 100%;
  min-height: 56px;
  font-size: 1.05rem;
  gap: 10px;
  color: #fff;
  background: linear-gradient(135deg, #e0344a, #d4bc2a);
  border: none;
  box-shadow: 0 12px 26px rgba(224,52,74,.35);
  transition: filter .15s ease, transform .15s ease;
}

.btn-download-cta-ios:hover, .btn-download-cta-ios:focus-visible { filter: brightness(1.08); transform: translateY(-1px); }
.btn-download-cta-ios svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-download-cta-ios .icon-apple { width: 17px; height: 22px; }

.btn-download-cta:hover, .btn-download-cta:focus-visible { filter: brightness(1.08); transform: translateY(-1px); }

.cta-social-row { display: flex; gap: 14px; margin-top: 12px; }
.btn-telegram, .btn-whatsapp { flex: 1; min-height: 56px; padding: 14px 20px; border: none; border-radius: 14px; color: #fff; font-size: 1.02rem; gap: 10px; }
.btn-telegram svg, .btn-whatsapp svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-telegram { background: linear-gradient(135deg, #2AABEE, #229ED9); }
.btn-whatsapp { background: linear-gradient(135deg, #25D366, #1DA851); }

@media (max-width: 980px) {
  .cta-social-row { display: none; }
}

.cta-spotlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin: 20px 0;
  padding: 14px 22px;
  border: none;
  border-radius: 14px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  background: linear-gradient(90deg, #6c4bf4, #c026d3);
  box-shadow: 0 14px 34px rgba(150, 45, 200, .38);
  transition: filter .15s ease, transform .15s ease;
}

.cta-spotlight:hover, .cta-spotlight:focus-visible { filter: brightness(1.08); transform: translateY(-1px); }

.cta-spotlight-blue { background: linear-gradient(90deg, #2563eb, #06b6d4); box-shadow: 0 14px 34px rgba(6,182,212,.35); }

.cta-spotlight-orange { background: linear-gradient(90deg, #f97316, #dc2626); box-shadow: 0 14px 34px rgba(220,38,38,.35); }

.microcopy { color: var(--muted); font-size: .9rem; }

.hero-visual { position: relative; }

.hero-visual img { border-radius: 26px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 28px 80px rgba(0,0,0,.38); }

.status-card { margin-top: -38px; margin-left: 24px; position: relative; width: calc(100% - 48px); padding: 18px; border-radius: 16px; background: rgba(24,34,53,.96); border: 1px solid rgba(232,198,106,.32); box-shadow: 0 18px 44px rgba(0,0,0,.3); }

.device-composition + .status-card { margin-top: 16px; margin-left: 0; width: 100%; }

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

.status-card dt { color: var(--muted); font-size: .78rem; }

.status-card dd { margin: 0; font-weight: 800; }

.status-note { margin: 12px 0 0; color: var(--warning); font-size: .8rem; }

section { padding: 72px 0; }

section:nth-of-type(even) { background: rgba(255,255,255,.018); }

.section-intro { color: var(--muted); max-width: 74ch; }

.grid-4, .grid-3, .grid-2 { display: grid; gap: 18px; margin-top: 30px; }

.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }

.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

.card p, .card li { color: var(--muted); }

.card .text-link { color: var(--gold); text-decoration: none; font-weight: 800; }

.spec-list { list-style: none; padding: 0; margin: 16px 0 20px; }

.spec-list li { padding: 7px 0; border-bottom: 1px solid var(--line); }

.chip-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; list-style: none; margin: 24px 0 0; }

.chip-list li { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .9rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

table { width: 100%; border-collapse: collapse; min-width: 620px; }

th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }

th { color: var(--gold); font-size: .9rem; }

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

code.hash { display: block; overflow-wrap: anywhere; padding: 14px; border-radius: 12px; background: #0d1422; color: #dce7fa; }

.notice { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--gold); background: rgba(232,198,106,.08); color: var(--warning); }

.steps { counter-reset: step; display: grid; gap: 16px; margin-top: 30px; }

.step { counter-increment: step; display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }

.step::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #111827; background: var(--gold); font-weight: 900; }

.step p { color: var(--muted); margin-bottom: 0; }

.safety-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 28px; }

.safety-item { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }

.safety-item p { color: var(--muted); margin-bottom: 0; }

.problem-list { display: grid; gap: 12px; margin-top: 26px; }

.problem { padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }

.problem p { color: var(--muted); margin-bottom: 8px; }

.problem a { color: var(--gold); font-weight: 800; text-decoration: none; }

.faq-list { display: grid; gap: 12px; margin-top: 28px; }

details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 20px; }

summary { cursor: pointer; list-style: none; font-weight: 800; padding: 19px 34px 19px 0; position: relative; }

summary::-webkit-details-marker { display: none; }

summary::after { content: "+"; position: absolute; right: 0; color: var(--gold); font-size: 1.3rem; }

details[open] summary::after { content: "−"; }

details p { color: var(--muted); padding-bottom: 18px; margin-bottom: 0; }

.final-cta { text-align: center; background: linear-gradient(140deg, rgba(232,198,106,.16), rgba(255,255,255,.02)); }

.final-cta .button-row { justify-content: center; }

.age-note { margin: 18px auto 0; max-width: 720px; color: var(--muted); font-size: .9rem; }

footer { border-top: 1px solid var(--line); padding: 36px 0 96px; color: var(--muted); }

.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 24px; }

footer a { color: var(--muted); text-decoration: none; }

footer ul { list-style: none; padding: 0; margin: 0; }

footer li { margin: 8px 0; }

.mobile-bar { display: none; position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; padding: 8px; gap: 8px; border: 1px solid var(--line); border-radius: 16px; background: rgba(17,24,39,.96); box-shadow: 0 16px 46px rgba(0,0,0,.45); }

.mobile-bar .btn { flex: 1; min-height: 44px; padding: 10px 12px; }

@media (max-width: 980px) {
      .nav-links li:not(:last-child) { display: none; }
      .hero-grid, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr 1fr; }
      .hero-grid { align-items: start; }
      .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    }

@media (max-width: 720px) {
      .container { width: min(calc(100% - 24px), var(--max)); }
      .hero { padding-top: 48px; }
      .hero-grid, .grid-2, .grid-3, .grid-4, .safety-list, .footer-grid { grid-template-columns: 1fr; }
      .nav-cta { padding: 9px 12px; }
      .status-card { margin: 12px 0 0; width: 100%; }
      .status-card dl { grid-template-columns: 1fr 1fr; }
      section { padding: 58px 0; }
      .mobile-bar { display: flex; }
      footer { padding-bottom: 112px; }
    }

@media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
    }

:root {
      --bg: #111827;
      --surface: #182235;
      --surface-2: #202c42;
      --text: #f8fafc;
      --muted: #b8c2d3;
      --line: rgba(255,255,255,.12);
      --gold: #e8c66a;
      --warning: #f0cd84;
      --success: #a7ddb0;
      --max: 1180px;
      --radius: 18px;
    }

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

.skip-link { position: absolute; left: -9999px; }

.skip-link:focus { left: 16px; top: 16px; z-index: 100; padding: 10px 14px; background: #fff; color: #111; border-radius: 8px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(17,24,39,.95); backdrop-filter: blur(12px); }

.nav-wrap { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }

.brand { text-decoration: none; font-weight: 900; letter-spacing: .02em; }

.nav-links a[aria-current="page"], .nav-links a:hover { color: var(--text); }

.nav-cta { padding: 10px 16px; border-radius: 999px; background: var(--gold); color: #111827 !important; font-weight: 900; }

.breadcrumb { padding: 18px 0 0; color: var(--muted); font-size: .9rem; }

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

.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: rgba(255,255,255,.35); }

.breadcrumb a { color: var(--muted); text-decoration: none; }

.hero { padding: 58px 0 48px; background: radial-gradient(circle at 76% 20%, rgba(232,198,106,.17), transparent 35%); }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }

.eyebrow { color: var(--gold); font-size: .8rem; font-weight: 900; letter-spacing: .12em; }

h1 { margin-bottom: 20px; font-size: clamp(2.35rem, 5vw, 4.5rem); letter-spacing: -.045em; }

h2 { margin-bottom: 16px; font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.03em; }

h3 { margin-bottom: 10px; font-size: 1.22rem; }

.lead { color: var(--muted); font-size: 1.08rem; max-width: 68ch; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 900; }

.btn-ghost { color: var(--gold); border-color: rgba(232,198,106,.5); }

.hero-note { margin-top: 15px; color: var(--warning); font-size: .88rem; }

.device-panel { display: grid; gap: 13px; padding: 22px; border: 1px solid rgba(232,198,106,.28); border-radius: 22px; background: rgba(24,34,53,.94); box-shadow: 0 24px 70px rgba(0,0,0,.32); }

.device-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); text-decoration: none; }

.device-row:hover { border-color: rgba(232,198,106,.55); }

.device-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: rgba(232,198,106,.12); color: var(--gold); font-size: 1.25rem; font-weight: 900; }

.device-row strong { display: block; }

.device-row small { color: var(--muted); }

.arrow { color: var(--gold); font-size: 1.2rem; }

.toc { padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.018); }

.toc strong { display: block; margin-bottom: 10px; }

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

.toc a { display: inline-flex; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .9rem; }

section { padding: 68px 0; }

.section-intro { max-width: 76ch; color: var(--muted); }

.grid-3, .grid-2 { display: grid; gap: 18px; margin-top: 28px; }

.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

.platform-label { display: inline-flex; margin-bottom: 14px; padding: 6px 10px; border: 1px solid rgba(232,198,106,.38); border-radius: 999px; color: var(--gold); font-size: .78rem; font-weight: 900; letter-spacing: .04em; }

.spec-list { list-style: none; padding: 0; margin: 18px 0; }

.text-link { color: var(--gold); text-decoration: none; font-weight: 900; }

.table-wrap { margin-top: 26px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

table { width: 100%; min-width: 700px; border-collapse: collapse; }

.notice { margin-top: 18px; padding: 17px 18px; border-left: 3px solid var(--gold); background: rgba(232,198,106,.08); color: var(--warning); }

.check-list { display: grid; gap: 12px; padding: 0; margin: 26px 0 0; list-style: none; counter-reset: check; }

.check-list li { counter-increment: check; display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--muted); }

.check-list li::before { content: counter(check); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #111827; font-weight: 900; }

.check-list strong { display: block; color: var(--text); margin-bottom: 4px; }

.problem-grid { display: grid; gap: 12px; margin-top: 26px; }

.problem { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }

.problem a { color: var(--gold); font-weight: 900; text-decoration: none; }

.faq-list { display: grid; gap: 12px; margin-top: 26px; }

details { padding: 0 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }

summary { position: relative; cursor: pointer; list-style: none; padding: 19px 34px 19px 0; font-weight: 900; }

details p { padding-bottom: 18px; color: var(--muted); margin-bottom: 0; }

.final-cta { text-align: center; background: linear-gradient(140deg, rgba(232,198,106,.15), rgba(255,255,255,.02)); }

.age-note { max-width: 720px; margin: 17px auto 0; color: var(--muted); font-size: .9rem; }

footer { padding: 38px 0 96px; border-top: 1px solid var(--line); color: var(--muted); }

.mobile-bar { display: none; position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: rgba(17,24,39,.97); box-shadow: 0 16px 46px rgba(0,0,0,.45); }

@media (max-width: 980px) {
      .nav-links li:not(:last-child) { display: none; }
      .hero-grid, .grid-3, .footer-grid { grid-template-columns: 1fr 1fr; }
      .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    }

@media (max-width: 720px) {
      .container { width: min(calc(100% - 24px), var(--max)); }
      .hero-grid, .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
      .hero { padding-top: 42px; }
      section { padding: 56px 0; }
      .device-row { grid-template-columns: 44px 1fr auto; }
      .mobile-bar { display: flex; }
      footer { padding-bottom: 112px; }
    }

:root {
      --bg: #111827;
      --surface: #182235;
      --surface-2: #202c42;
      --text: #f8fafc;
      --muted: #b8c2d3;
      --line: rgba(255,255,255,.12);
      --gold: #e8c66a;
      --warning: #f0cd84;
      --success: #a7ddb0;
      --danger: #f3a7a7;
      --max: 1180px;
      --radius: 18px;
    }

code { overflow-wrap: anywhere; color: var(--warning); }

.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 42px; align-items: center; }

h1 { margin-bottom: 20px; font-size: clamp(2.35rem, 5vw, 4.45rem); letter-spacing: -.045em; }

.file-panel { padding: 22px; border: 1px solid rgba(232,198,106,.28); border-radius: 22px; background: rgba(24,34,53,.94); box-shadow: 0 24px 70px rgba(0,0,0,.32); }

.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }

.status { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(167,221,176,.1); color: var(--success); border: 1px solid rgba(167,221,176,.28); font-size: .78rem; font-weight: 900; }

.file-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }

.file-stat { padding: 14px; background: var(--surface-2); }

.file-stat small { display: block; color: var(--muted); }

.file-stat strong { display: block; margin-top: 2px; }

.hash { margin-top: 14px; padding: 13px; border-radius: 12px; background: rgba(0,0,0,.18); }

.hash small { display: block; color: var(--muted); margin-bottom: 4px; }

.card ul { padding-left: 19px; }

table { width: 100%; min-width: 720px; border-collapse: collapse; }

th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }

.notice-danger { border-left-color: var(--danger); background: rgba(243,167,167,.07); color: var(--danger); }

.steps { display: grid; gap: 12px; padding: 0; margin: 26px 0 0; list-style: none; counter-reset: step; }

.steps li { counter-increment: step; display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--muted); }

.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #111827; font-weight: 900; }

.steps strong { display: block; color: var(--text); margin-bottom: 4px; }

.problem-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 26px; }

.problem { padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }

.problem p { color: var(--muted); margin-bottom: 0; }

.age-note { max-width: 760px; margin: 17px auto 0; color: var(--muted); font-size: .9rem; }

@media (max-width: 720px) {
      .container { width: min(calc(100% - 24px), var(--max)); }
      .hero-grid, .grid-2, .grid-3, .footer-grid, .problem-grid { grid-template-columns: 1fr; }
      .hero { padding-top: 42px; }
      section { padding: 56px 0; }
      .file-grid { grid-template-columns: 1fr 1fr; }
      .mobile-bar { display: flex; }
      footer { padding-bottom: 112px; }
    }

.hero { padding: 58px 0 48px; background: radial-gradient(circle at 78% 20%, rgba(232,198,106,.17), transparent 35%); }

.status-panel { padding: 22px; border: 1px solid rgba(232,198,106,.28); border-radius: 22px; background: rgba(24,34,53,.94); box-shadow: 0 24px 70px rgba(0,0,0,.32); }

.status { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(240,205,132,.1); color: var(--warning); border: 1px solid rgba(240,205,132,.28); font-size: .78rem; font-weight: 900; }

.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }

.status-stat { padding: 14px; background: var(--surface-2); }

.status-stat small { display: block; color: var(--muted); }

.status-stat strong { display: block; margin-top: 2px; }

.route-note { margin-top: 14px; padding: 13px; border-radius: 12px; background: rgba(0,0,0,.18); }

.grid-4, .grid-3, .grid-2 { display: grid; gap: 18px; margin-top: 28px; }

.method { margin-top: 20px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

.method-label { color: var(--gold); font-weight: 900; font-size: .8rem; letter-spacing: .1em; }

@media (max-width: 980px) {
      .nav-links li:not(:last-child) { display: none; }
      .hero-grid, .grid-4, .footer-grid { grid-template-columns: 1fr 1fr; }
      .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    }

@media (max-width: 720px) {
      .container { width: min(calc(100% - 24px), var(--max)); }
      .hero-grid, .grid-2, .grid-3, .grid-4, .footer-grid, .problem-grid { grid-template-columns: 1fr; }
      .hero { padding-top: 42px; }
      section { padding: 56px 0; }
      .status-grid { grid-template-columns: 1fr 1fr; }
      .mobile-bar { display: flex; }
      footer { padding-bottom: 112px; }
    }

.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 42px; align-items: center; }

h1 { margin-bottom: 20px; font-size: clamp(2.35rem, 5vw, 4.35rem); letter-spacing: -.045em; }

h2 { margin-bottom: 16px; font-size: clamp(1.8rem, 3vw, 2.65rem); letter-spacing: -.03em; }

.action-panel { padding: 22px; border: 1px solid rgba(232,198,106,.28); border-radius: 22px; background: rgba(24,34,53,.94); box-shadow: 0 24px 70px rgba(0,0,0,.32); }

.action-panel > strong { display: block; margin-bottom: 14px; }

.action-list { display: grid; gap: 10px; }

.action-link { display: grid; grid-template-columns: 42px 1fr auto; gap: 13px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); text-decoration: none; }

.action-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(232,198,106,.12); color: var(--gold); font-weight: 900; }

.action-link small { display: block; color: var(--muted); }

.action-arrow { color: var(--gold); font-size: 1.25rem; }

@media (max-width: 980px) {
      .nav-links li:not(:last-child) { display: none; }
      .hero-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
    }

@media (max-width: 720px) {
      .container { width: min(calc(100% - 24px), var(--max)); }
      .hero-grid, .grid-2, .grid-3, .footer-grid, .problem-grid { grid-template-columns: 1fr; }
      .hero { padding-top: 42px; }
      section { padding: 56px 0; }
      .mobile-bar { display: flex; }
      footer { padding-bottom: 112px; }
    }

.credential-panel { padding: 22px; border: 1px solid rgba(232,198,106,.28); border-radius: 22px; background: rgba(24,34,53,.94); box-shadow: 0 24px 70px rgba(0,0,0,.32); }

.credential { padding: 18px; margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }

.credential small { display: block; color: var(--muted); }

.credential code { display: block; margin-top: 4px; font-size: 1.32rem; font-weight: 900; }

.credential-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.status-note { margin-top: 14px; color: var(--muted); font-size: .9rem; }

@media (max-width: 720px) {
      .container { width: min(calc(100% - 24px), var(--max)); }
      .hero-grid, .grid-2, .grid-3, .footer-grid, .problem-grid { grid-template-columns: 1fr; }
      .hero { padding-top: 42px; }
      section { padding: 56px 0; }
      .credential-grid { grid-template-columns: 1fr; }
      .mobile-bar { display: flex; }
      footer { padding-bottom: 112px; }
    }

:root {
      --bg: #111827;
      --surface: #182235;
      --surface-2: #202c42;
      --text: #f8fafc;
      --muted: #b8c2d3;
      --line: rgba(255,255,255,.12);
      --gold: #e8c66a;
      --warning: #f0cd84;
      --danger: #f3a7a7;
      --max: 1180px;
      --radius: 18px;
    }

code { color: var(--warning); }

.skip-link:focus { left: 16px; top: 16px; z-index: 100; padding: 10px 14px; background: white; color: #111; border-radius: 8px; }

h3 { margin-bottom: 10px; font-size: 1.18rem; }

.category-panel { padding: 22px; border: 1px solid rgba(232,198,106,.28); border-radius: 22px; background: rgba(24,34,53,.94); box-shadow: 0 24px 70px rgba(0,0,0,.32); }

.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.category-summary { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }

.category-summary small { display: block; color: var(--muted); }

.category-summary strong { display: block; margin-top: 3px; }

.catalogue-controls { display: grid; gap: 14px; margin-top: 26px; }

.search-wrap { position: relative; }

.search-wrap label { display: block; margin-bottom: 8px; font-weight: 900; }

.search-input { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; }

.filter-row { display: flex; flex-wrap: wrap; gap: 9px; }

.filter-btn { cursor: pointer; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font: inherit; font-weight: 800; }

.filter-btn[aria-pressed="true"] { background: var(--gold); color: #111827; border-color: var(--gold); }

.result-status { color: var(--muted); font-size: .92rem; }

.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 24px; }

.game-card { display: flex; flex-direction: column; min-height: 260px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }

.game-card[hidden] { display: none; }

.game-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; }

.game-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(232,198,106,.12); color: var(--gold); font-weight: 900; }

.category-tag { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .75rem; }

.game-card p { color: var(--muted); }

.game-meta { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: .84rem; }

.game-meta span { color: var(--muted); }

.game-meta a { color: var(--gold); text-decoration: none; font-weight: 900; }

.empty-state { display: none; margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--muted); }

@media (max-width: 1050px) {
      .game-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    }

@media (max-width: 760px) {
      .game-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    }

@media (max-width: 620px) {
      .container { width: min(calc(100% - 24px), var(--max)); }
      .hero-grid, .grid-2, .grid-3, .footer-grid, .problem-grid, .game-grid { grid-template-columns: 1fr; }
      .hero { padding-top: 42px; }
      section { padding: 56px 0; }
      .mobile-bar { display: flex; }
      footer { padding-bottom: 112px; }
    }

/* Production system overrides */
:root {
  color-scheme: dark;
  --header-height: 72px;
  --focus-ring: 0 0 0 3px rgba(232, 198, 106, .42);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; }

button, input, select, textarea { font: inherit; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.site-header { min-height: var(--header-height); }

.brand {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.menu-toggle-lines { position: relative; margin-inline: auto; }
.menu-toggle-lines::before,
.menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
.menu-toggle-lines::before { top: -7px; }
.menu-toggle-lines::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { transform: translateY(-7px) rotate(-45deg); }

.nav-links a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.hero-visual { min-height: 480px; }

.device-composition {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 28%, rgba(232,198,106,.23), transparent 25%),
    linear-gradient(145deg, #202c42, #111827 68%);
}

.device-phone {
  position: absolute;
  width: 190px;
  height: 370px;
  padding: 12px;
  border: 7px solid #0b1020;
  border-radius: 34px;
  background: #111827;
  box-shadow: 0 28px 60px rgba(0,0,0,.42);
}
.device-phone--android { left: 13%; top: 34px; transform: rotate(-7deg); }
.device-phone--ios { right: 12%; top: 68px; transform: rotate(7deg); }
.device-phone::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 58px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  transform: translateX(-50%);
}
.device-screen {
  display: grid;
  align-content: start;
  gap: 12px;
  height: 100%;
  padding: 34px 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #2d3b58, #172033);
}
.device-screen-logo { color: var(--gold); font-weight: 900; letter-spacing: .08em; }
.device-screen-banner {
  min-height: 86px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232,198,106,.32), rgba(232,198,106,.06));
}
.device-screen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.device-screen-tile { min-height: 70px; border-radius: 12px; background: rgba(255,255,255,.07); }
.device-platform {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(17,24,39,.86);
  border: 1px solid rgba(232,198,106,.3);
  font-size: .75rem;
  font-weight: 900;
}

.card--spaced { margin-top: 18px; }
.section-intro--center { margin-inline: auto; text-align: center; }

.copy-control {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.credential .copy-control { flex-direction: column; align-items: flex-start; gap: 8px; }

.copy-button,
.random-id-button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}
.copy-button:hover,
.random-id-button:hover { border-color: rgba(232,198,106,.55); color: var(--gold); }
.copy-button[data-copied="true"] { color: var(--success, #a7ddb0); }

.toast {
  position: fixed;
  z-index: 100;
  right: 18px;
  bottom: 88px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #202c42;
  color: var(--text);
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

.site-footer-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

.no-js-message {
  margin: 0;
  padding: 10px 16px;
  text-align: center;
  color: var(--warning);
  background: rgba(240,205,132,.08);
  border-bottom: 1px solid rgba(240,205,132,.2);
}

@media (max-width: 980px) {
  .nav-wrap { position: relative; }
  .menu-toggle { display: inline-grid; place-items: center; margin-left: auto; }
  .site-header .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(17,24,39,.99);
    box-shadow: 0 24px 60px rgba(0,0,0,.42);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .site-header .nav-links[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .site-header .nav-links li { display: block !important; }
  .site-header .nav-links a {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
  }
  .site-header .nav-links a:hover { background: rgba(255,255,255,.05); }
  .site-header .nav-links .nav-cta { justify-content: center; margin-top: 5px; }
  .nav-links a[aria-current="page"] { text-underline-offset: 4px; }
}

@media (max-width: 720px) {
  .device-composition { min-height: 390px; }
  .device-phone { width: 158px; height: 320px; }
  .device-phone--android { left: 6%; }
  .device-phone--ios { right: 5%; top: 62px; }
  .hero-visual { min-height: auto; }
}

@media (max-width: 430px) {
  .device-composition { min-height: 350px; }
  .device-phone { width: 140px; height: 286px; border-width: 5px; border-radius: 28px; }
  .device-phone--android { left: 2%; }
  .device-phone--ios { right: 2%; }
  .device-screen { padding-inline: 10px; }
  .device-screen-tile { min-height: 54px; }
}

@media print {
  .site-header, .mobile-bar, .menu-toggle, .button-row, .filter-row, .copy-button, .random-id-button { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
  section { break-inside: avoid; }
}


/* Legal and information pages */
.footer-grid { grid-template-columns: 1.15fr .75fr .85fr .95fr; }
.site-footer-note { grid-column: 1 / -1; }
.legal-hero { padding-block: 58px 44px; }
.legal-hero-grid { max-width: 880px; }
.legal-meta { margin-top: 20px; color: var(--warning); font-size: .9rem; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.legal-content { max-width: 780px; }
.legal-content h2 { margin-top: 46px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin-top: 25px; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content a, .contact-card a { color: var(--gold); text-underline-offset: 3px; }
.legal-aside { position: sticky; top: 100px; }
.legal-nav { list-style: none; padding: 0; margin: 0; }
.legal-nav li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.legal-nav a { color: var(--muted); text-decoration: none; font-weight: 700; }
.legal-nav a:hover { color: var(--gold); }
.legal-list, .check-list { display: grid; gap: 10px; padding-left: 22px; }
.contact-grid, .risk-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin: 24px 0; }
.contact-card, .risk-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-card h3, .risk-card h3 { margin: 6px 0 10px; }
.contact-card p, .risk-card p { margin-bottom: 0; color: var(--muted); }
.contact-label { color: var(--warning); font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.help-panel { margin-bottom: 28px; padding: 20px 22px; border: 1px solid rgba(243,167,167,.35); border-left: 4px solid var(--danger, #f3a7a7); border-radius: 14px; background: rgba(243,167,167,.08); }
.source-note { margin-top: 38px; padding: 18px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.page-legal code { padding: 2px 6px; border-radius: 6px; background: #0d1422; color: #dce7fa; }
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
}
@media (max-width: 620px) {
  .footer-grid, .contact-grid, .risk-grid { grid-template-columns: 1fr; }
  .legal-hero { padding-top: 44px; }
}


/* Approved image-production assets */
.brand-logo {
  width: clamp(150px, 16vw, 214px);
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

footer .brand-logo {
  width: 190px;
  max-height: 48px;
}

.hero--with-banner {
  padding-top: 28px;
}

.hero-banner-wrap {
  margin-bottom: 34px;
}

.page-hero-banner {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: #0b1020;
  box-shadow: 0 26px 74px rgba(0,0,0,.40);
}

.page-hero-banner picture,
.page-hero-banner img {
  display: block;
  width: 100%;
}

.page-hero-banner img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero--with-banner > .container.hero-grid {
  margin-top: 0;
}

@media (max-width: 720px) {
  .brand-logo {
    width: 154px;
    max-height: 42px;
  }

  .hero--with-banner {
    padding-top: 18px;
  }

  .hero-banner-wrap {
    width: min(calc(100% - 16px), var(--max));
    margin-bottom: 24px;
  }

  .page-hero-banner {
    border-radius: 16px;
  }
}

@media print {
  .page-hero-banner { display: none !important; }
}


/* Editorial internal-link variation */
.context-link {
  color: var(--gold);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(232,198,106,.48);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.context-link:hover,
.context-link:focus-visible {
  color: #f5dc94;
  text-decoration-color: currentColor;
}


/* Balanced editorial-link forms */
.card-title-link {
  color: inherit;
  text-decoration: none;
}

.card-title-link:hover,
.card-title-link:focus-visible {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.resource-link:hover,
.resource-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reference-link {
  color: var(--gold);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(232,198,106,.48);
  text-underline-offset: 3px;
}

.reference-link:hover,
.reference-link:focus-visible {
  text-decoration-color: currentColor;
}

.related-link-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.related-link-list a {
  color: var(--gold);
  font-weight: 750;
}
