:root {
  --bg: #060504;
  --bg-2: #0d0a06;
  --surface: rgba(21, 17, 10, 0.86);
  --surface-solid: #15110a;
  --surface-2: rgba(255, 236, 190, 0.045);
  --line: rgba(217, 162, 58, 0.34);
  --line-strong: rgba(242, 197, 82, 0.62);
  --line-soft: rgba(255, 236, 190, 0.1);

  --gold-1: #ffe9a6;
  --gold-2: #f2c552;
  --gold-3: #d9a23a;
  --gold-4: #9c6b1a;
  --gold-ink: #1c1303;
  --gold-grad: linear-gradient(180deg, #fff0bf 0%, #f5cf63 38%, #dca53c 72%, #b27a22 100%);
  --gold-grad-hover: linear-gradient(180deg, #fff6d6 0%, #f9da7e 38%, #e6b24b 72%, #c08729 100%);

  --text: #f6f1e4;
  --muted: #b9ae98;
  --muted-2: #8f8572;

  --radius-lg: 18px;
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1200px;
  --header-h: 72px;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-panel: 0 18px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 233, 166, 0.07);
  --glow: 0 0 28px rgba(242, 197, 82, 0.28);
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 40% at 85% 0%, rgba(217, 162, 58, 0.16), transparent 70%),
    radial-gradient(ellipse 60% 35% at 0% 45%, rgba(217, 162, 58, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 35% at 100% 80%, rgba(217, 162, 58, 0.08), transparent 70%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
strong { font-weight: 600; color: var(--text); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 100;
  background: var(--gold-2); color: var(--gold-ink); padding: .6rem 1rem;
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.icon { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }

.text-gold {
  color: var(--gold-2);
  background: linear-gradient(180deg, #fff1c2 10%, #f2c552 55%, #d19a33 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= Header ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 5, 4, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-3) 20%, var(--gold-2) 50%, var(--gold-3) 80%, transparent);
  opacity: .7;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 50px; width: auto; aspect-ratio: 515 / 173; object-fit: contain; }

.desktop-nav {
  display: flex;
  align-items: stretch;
  gap: .25rem;
  height: 100%;
}
.desktop-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 .85rem;
  font-size: .9rem;
  font-weight: 500;
  color: #e6dfcf;
  transition: color .15s;
}
.desktop-nav a::after {
  content: "";
  position: absolute; left: .85rem; right: .85rem; bottom: 14px;
  height: 2px; border-radius: 2px;
  background: var(--gold-2);
  opacity: 0;
  transform: scaleX(0);
  transition: transform .2s ease, opacity .2s ease;
}
.desktop-nav a:hover { color: var(--gold-1); }
.desktop-nav a.active { color: var(--gold-2); }
.desktop-nav a.active::after,
.desktop-nav a:hover::after { opacity: 1; transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--gold-2);
  font-size: 1.5rem;
}
.menu-toggle {
  transition: border-color .25s ease, box-shadow .3s ease, transform .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle:active, .menu-toggle.is-pressed {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(242, 197, 82, 0.16), 0 0 20px rgba(242, 197, 82, 0.4);
  transform: scale(.96);
}

/* ================= Buttons ================= */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 50px;
  padding: 0 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  letter-spacing: .01em;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: color .25s ease, filter .25s ease, box-shadow .3s ease, transform .2s ease;
}
.btn .icon { font-size: 1.25em; transition: transform .25s ease; }
.btn:active, .btn.is-pressed { transform: scale(.97); }

/* Light sweep on hover */
.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; bottom: 0;
  left: -80%;
  width: 55%;
  transform: skewX(-20deg);
  pointer-events: none;
  transition: none;
}
.btn.is-pressed::after { left: 135%; transition: left .6s ease; }
.btn:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 3px; }

/* Gold (primary) */
.btn-gold {
  color: #211603;
  background: linear-gradient(180deg, #fde9ab 0%, #f4cd5f 42%, #e2b048 78%, #d29d36 100%);
  border-color: rgba(150, 104, 24, 0.55);
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.9);
}
.btn-gold::after {
  background: linear-gradient(105deg, transparent 15%, rgba(255, 251, 235, 0.55) 50%, transparent 85%);
}
.btn-gold:focus-visible,
.btn-gold:active,
.btn-gold.is-pressed {
  filter: brightness(1.07) saturate(1.08);
  box-shadow: 0 0 0 4px rgba(242, 197, 82, 0.24), 0 0 34px rgba(242, 197, 82, 0.55);
}

/* Dark with gold gradient border (secondary) */
.btn-outline {
  color: var(--text);
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, rgba(32, 25, 13, 0.95), rgba(10, 8, 5, 0.95)) padding-box,
    linear-gradient(135deg, #f8df95 0%, #a8761f 38%, #f2c552 68%, #8a5c14 100%) border-box;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.9);
}
.btn-outline .icon { color: var(--gold-2); }
.btn-outline::after {
  background: linear-gradient(105deg, transparent 15%, rgba(242, 197, 82, 0.22) 50%, transparent 85%);
}
.btn-outline:focus-visible,
.btn-outline:active,
.btn-outline.is-pressed {
  color: var(--gold-1);
  box-shadow: 0 0 0 4px rgba(242, 197, 82, 0.18), 0 0 30px rgba(242, 197, 82, 0.42);
}

/* Hover effects only on devices with a real pointer (avoids "stuck" hover on phones) */
@media (hover: hover) {
  .btn:hover > .icon:last-child:not(:first-child) { transform: translateX(3px); }
  .btn:hover::after { left: 135%; transition: left .7s ease; }
  .btn-gold:hover {
    filter: brightness(1.05) saturate(1.05);
    box-shadow: 0 0 0 4px rgba(242, 197, 82, 0.16), 0 0 28px rgba(242, 197, 82, 0.38);
  }
  .btn-outline:hover {
    color: var(--gold-1);
    box-shadow: 0 0 0 4px rgba(242, 197, 82, 0.12), 0 0 24px rgba(242, 197, 82, 0.3);
  }
  .menu-toggle:hover {
    border-color: var(--gold-2);
    box-shadow: 0 0 0 3px rgba(242, 197, 82, 0.12), 0 0 16px rgba(242, 197, 82, 0.3);
  }
  .socials a:hover {
    border-color: var(--gold-2);
    color: var(--gold-2);
    box-shadow: 0 0 0 3px rgba(242, 197, 82, 0.12), 0 0 18px rgba(242, 197, 82, 0.35);
  }
}

.btn-sm { min-height: 42px; padding: 0 1.2rem; font-size: .88rem; border-radius: 10px; }
.btn-lg { min-height: 58px; padding: 0 2rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

.btn-pill-sm {
  min-height: 44px;
  min-width: 220px;
  padding: 0 1.4rem;
  font-size: .88rem;
}

/* ================= Mobile menu ================= */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.mobile-overlay.show { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed; top: 0; right: 0; z-index: 70;
  width: min(320px, 86vw); height: 100%;
  height: 100dvh;
  display: flex; flex-direction: column; gap: 1.5rem;
  padding: 1.1rem 1.25rem 1.5rem;
  background:
    radial-gradient(ellipse 90% 40% at 100% 0%, rgba(217, 162, 58, 0.18), transparent 70%),
    var(--surface-solid);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .28s ease, visibility .28s;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; transition: transform .28s ease, visibility 0s; }

.mobile-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu-head .brand-logo { height: 42px; }

.mobile-menu nav { display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu nav a {
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem .9rem;
  border-radius: 10px;
  font-weight: 500;
  color: #e6dfcf;
  border: 1px solid transparent;
}
.mobile-menu nav a .icon { font-size: 1.25rem; color: var(--gold-3); }
.mobile-menu nav a:hover,
.mobile-menu nav a.active {
  background: rgba(242, 197, 82, 0.1);
  border-color: var(--line);
  color: var(--gold-1);
}
.mobile-menu-actions { margin-top: auto; display: grid; gap: .6rem; }
.mobile-menu-support {
  font-size: .8rem; color: var(--muted); text-align: center;
}
.mobile-menu-support a { color: var(--gold-2); }

/* ================= Shared type ================= */
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: .5rem;
}

h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }

.section-title {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  margin-bottom: .6rem;
}
.section-copy {
  color: var(--muted);
  max-width: 62ch;
  font-size: .98rem;
}

/* ================= Home hero ================= */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  background-image:
    url("../img/hero_bg.png"),
    radial-gradient(ellipse 45% 60% at 72% 30%, rgba(242, 197, 82, 0.22), transparent 70%),
    radial-gradient(ellipse 30% 40% at 95% 10%, rgba(242, 197, 82, 0.14), transparent 70%);
  background-size: cover, auto, auto;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 5, 4, 0.92) 0%, rgba(6, 5, 4, 0.72) 38%, rgba(6, 5, 4, 0.1) 70%, rgba(6, 5, 4, 0.25) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.3vw, 3.05rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-copy .lead {
  color: #ece5d4;
  font-size: 1rem;
  max-width: 50ch;
  margin-bottom: 1rem;
}
.hero-copy .meta-text {
  color: #d6cebd;
  font-size: .95rem;
  max-width: 50ch;
}
.meta-text strong { color: var(--gold-1); }
.meta-text a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr);
  gap: .6rem;
  margin: 1.6rem 0;
  max-width: 600px;
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
  padding: .6rem .7rem;
  border-radius: var(--radius-sm);
  background: rgba(10, 8, 5, 0.78);
  border: 1px solid var(--line);
}
.trust-chip > .icon {
  font-size: 1.35rem;
  color: var(--gold-2);
  padding-right: .55rem;
  box-sizing: content-box;
  border-right: 1px solid var(--line);
}
.trust-chip > div { min-width: 0; display: flex; flex-direction: column; }
.trust-label {
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-3);
  line-height: 1.3;
}
.trust-chip strong {
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}
.hero-actions .btn { min-width: 200px; min-height: 54px; font-size: 1rem; }

/* Monitor mockup */
.hero-visual { position: relative; }

.monitor {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding-top: 1.1rem;
  animation: monitor-in .9s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes monitor-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.monitor-badge {
  position: absolute;
  top: 0; left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  padding: .35rem 1.1rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-1);
  background: linear-gradient(180deg, #211808, #0b0803);
  border: 1.5px solid var(--gold-2);
  box-shadow: var(--glow);
}

.monitor-frame {
  position: relative;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(160deg, #26231f, #0a0a0a 40%, #141210);
  box-shadow:
    0 0 0 1px rgba(242, 197, 82, 0.55),
    0 0 40px rgba(242, 197, 82, 0.28),
    0 30px 60px rgba(0, 0, 0, 0.7);
}
.monitor-frame::before {
  content: "";
  position: absolute; top: 4px; left: 50%;
  width: 5px; height: 5px; border-radius: 50%;
  background: #2b2b2b;
  transform: translateX(-50%);
}

/* ================= Image slots (placeholders) ================= */
.slot {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(242, 197, 82, 0.05) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #17120a, #0a0805);
}
.slot > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.slot--empty > img { display: none; }
.slot--empty::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 1rem;
  text-align: center;
  white-space: pre-line;
  overflow-wrap: anywhere;
  font-size: .74rem;
  line-height: 1.5;
  color: var(--gold-3);
  border: 1.5px dashed rgba(217, 162, 58, 0.45);
  border-radius: inherit;
}

.screen { aspect-ratio: 819 / 713; border-radius: 6px; }

/* ================= Panels / cards ================= */
.section { padding-block: clamp(.6rem, 1.4vw, 1rem); }
.section-lg { padding-block: clamp(2rem, 4vw, 3rem); }

.panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 19, 11, 0.9), rgba(9, 7, 4, 0.94));
  box-shadow: var(--shadow-panel);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.panel-textured {
  overflow: hidden;
  isolation: isolate;
}
.panel-textured::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    url("../img/hero_bg.png"),
    radial-gradient(ellipse 50% 70% at 85% 40%, rgba(242, 197, 82, 0.14), transparent 70%);
  background-size: cover, auto;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .9;
}
.panel-textured::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(9, 7, 4, 0.95) 0%, rgba(9, 7, 4, 0.82) 45%, rgba(9, 7, 4, 0.35) 100%);
}

.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 20, 11, 0.88), rgba(10, 8, 5, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 233, 166, 0.06);
  padding: 1.35rem 1.4rem;
}
a.card { display: block; transition: border-color .2s, box-shadow .2s; }
a.card:hover { border-color: var(--line-strong); box-shadow: var(--glow), inset 0 1px 0 rgba(255, 233, 166, 0.08); }

.card h3 {
  font-size: 1.2rem;
  color: var(--gold-2);
  margin-bottom: .35rem;
}
.card p { color: #d3cbb9; font-size: .95rem; }
.card p a, .content a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 10px;
  font-size: 1.85rem;
  color: var(--gold-2);
  background: linear-gradient(180deg, #1d160a, #0a0805);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 233, 166, 0.08);
  margin-bottom: .9rem;
  flex-shrink: 0;
}
.icon-badge .icon { filter: drop-shadow(0 0 6px rgba(242, 197, 82, 0.35)); }
.icon-badge--sm { width: 44px; height: 44px; font-size: 1.5rem; margin: 0; }
.icon-badge--lg { width: 66px; height: 66px; font-size: 2.4rem; margin: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

/* Highlight tiles row */
.tile h3 { font-size: 1.3rem; }
.tile p { font-size: 1rem; line-height: 1.55; }

/* Promo strip */
.card.promo {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
}
.promo > .icon {
  font-size: 2.9rem;
  color: var(--gold-2);
  filter: drop-shadow(0 0 8px rgba(242, 197, 82, 0.3));
}
.promo-kicker {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-2);
  line-height: 1.4;
}
.promo h3 {
  color: var(--text);
  font-size: 1.1rem;
  margin: .1rem 0 .3rem;
}
.promo p { font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* ================= Brand tagline (footer) ================= */
.brand-tagline {
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-2);
}

/* ================= APK panel ================= */
.apk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}
.apk-copy .section-title { margin-bottom: .5rem; }
.apk-copy .section-copy { margin-bottom: 1.4rem; color: #ddd5c3; }

.spec-table {
  width: 100%;
  max-width: 470px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: rgba(255, 236, 190, 0.035);
  padding: .35rem .9rem;
  margin-bottom: 1.4rem;
  font-size: .92rem;
}
.spec-table th, .spec-table td {
  padding: .75rem .25rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line-soft);
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th {
  font-weight: 400;
  color: #e6dfcf;
  width: 55%;
}
.spec-table th span {
  display: inline-flex; align-items: center; gap: .75rem;
}
.spec-table th .icon {
  font-size: 1.1rem;
  color: var(--gold-2);
  width: 28px; height: 28px; padding: 5px;
  border-radius: 6px;
  background: #0b0905;
  border: 1px solid var(--line);
}
.spec-table td { color: var(--text); overflow-wrap: anywhere; }
.spec-table td a { color: var(--gold-2); }

.apk-copy .btn-lg { width: 100%; max-width: 470px; }

/* Phones */
.phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(.75rem, 2vw, 1.25rem);
  padding: 1rem 0;
}
.phones::before {
  content: "";
  position: absolute; inset: 10% 5%; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(242, 197, 82, 0.28), transparent 65%);
  filter: blur(10px);
}
.phone {
  position: relative;
  z-index: 1;
  width: min(46%, 230px);
  padding: 7px;
  border-radius: 34px;
  background: linear-gradient(145deg, #fff0bf, #d9a23a 30%, #7a5212 55%, #f2c552 80%, #9c6b1a);
  box-shadow: 0 0 30px rgba(242, 197, 82, 0.3), 0 25px 50px rgba(0, 0, 0, 0.6);
}
.phone .slot {
  aspect-ratio: 520 / 1127;
  border-radius: 28px;
  border: 5px solid #050505;
}
.phone::before {
  content: "";
  position: absolute; top: 16px; left: 50%; z-index: 2;
  width: 32%; height: 16px;
  border-radius: 20px;
  background: #050505;
  transform: translateX(-50%);
}

.phones--single { padding: .5rem 0; }
.phones--single::before { inset: 5% 0; }
.phones--single .phone {
  width: min(100%, 270px);
  padding: 8px;
  border-radius: 40px;
}
.phones--single .phone .slot { border-radius: 33px; border-width: 6px; }
.phones--single .phone::before { top: 20px; height: 18px; width: 30%; }

/* Meta cards under APK panel */
.meta-card h3 { font-size: 1.12rem; }
.meta-card p { font-size: .92rem; }

/* ================= FAQ ================= */
.faq-panel { padding-bottom: clamp(1.25rem, 3vw, 2rem); }
.faq-body { position: relative; z-index: 1; }
.faq-body .section-copy { margin-bottom: 1.25rem; font-size: .92rem; }
.accordion { display: grid; gap: .55rem; }
.accordion-item {
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: rgba(20, 18, 15, 0.9);
  transition: border-color .2s;
}
.accordion-item.open { border-color: var(--line); }
.accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
  text-align: left;
  font-size: .92rem;
  font-weight: 500;
}
.accordion-button .icon {
  font-size: 1.3rem;
  color: #d6cebd;
  transition: transform .25s ease, color .2s;
}
.accordion-item.open .accordion-button .icon { transform: rotate(180deg); color: var(--gold-2); }
.accordion-item.open .accordion-button { color: var(--gold-1); }

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.accordion-item.open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel > div {
  overflow: hidden;
  padding-inline: 1rem;
  color: var(--muted);
  font-size: .9rem;
}
.accordion-item.open .accordion-panel > div { padding-bottom: .9rem; }
.accordion-panel a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

/* ================= Feature list ================= */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1.25rem;
}
.feature {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .85rem .9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 236, 190, 0.03);
}
.feature h3 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gold-2);
  margin-bottom: .15rem;
}
.feature p { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* ================= Notices ================= */
.notice {
  display: flex;
  gap: 1.1rem;
  align-items: stretch;
}
.notice > .icon-badge { align-self: flex-start; }
.notice > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.notice h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.notice p { font-size: .88rem; margin-bottom: 1.1rem; }
.notice .btn { margin-top: auto; }

/* ================= Page hero (sub pages) ================= */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
  background-image:
    url("../img/hero_bg.png"),
    radial-gradient(ellipse 40% 70% at 85% 30%, rgba(242, 197, 82, 0.2), transparent 70%);
  background-size: cover, auto;
  background-position: right 30%, center;
  background-repeat: no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 5, 4, 0.95) 0%, rgba(6, 5, 4, 0.8) 50%, rgba(6, 5, 4, 0.35) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  line-height: 1.15;
  max-width: 22ch;
  margin-bottom: 1rem;
}
.page-hero .lead {
  color: #e2dbc9;
  max-width: 62ch;
  margin-bottom: .9rem;
}
.page-hero .meta-text { color: var(--muted); font-size: .9rem; }
.page-hero .hero-actions { margin-top: 1.5rem; }
.page-hero .trust-grid { margin-bottom: 0; }

/* Centered variant for text-only pages (About, Responsible Gaming, Legal).
   Phones keep the left-aligned layout for easier reading. */
@media (min-width: 761px) {
  .page-hero--center {
    text-align: center;
    padding: clamp(2.5rem, 5vw, 4.25rem) 0 clamp(2.5rem, 4.5vw, 3.75rem);
  }
  .page-hero--center .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-hero--center::before {
    background-image:
      url("../img/hero_bg.png"),
      radial-gradient(ellipse 45% 70% at 50% 0%, rgba(242, 197, 82, 0.2), transparent 70%);
    background-position: center 30%, center;
  }
  .page-hero--center::after {
    background: radial-gradient(ellipse 58% 85% at 50% 45%, rgba(6, 5, 4, 0.94) 0%, rgba(6, 5, 4, 0.8) 55%, rgba(6, 5, 4, 0.5) 100%);
  }
  .page-hero--center .breadcrumb { justify-content: center; }
  .page-hero--center .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
  }
  .page-hero--center .eyebrow::before,
  .page-hero--center .eyebrow::after {
    content: "";
    width: 44px;
    height: 1px;
  }
  .page-hero--center .eyebrow::before { background: linear-gradient(90deg, transparent, var(--gold-2)); }
  .page-hero--center .eyebrow::after { background: linear-gradient(90deg, var(--gold-2), transparent); }
  .page-hero--center h1 { max-width: 26ch; text-wrap: balance; }
  .page-hero--center .lead { max-width: 64ch; text-wrap: balance; }
  .page-hero--center .trust-grid {
    width: 100%;
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr);
  }
  .page-hero--center .trust-chip:nth-child(2) { grid-column: auto; order: 0; }
  .page-hero--center .trust-chip { text-align: left; }
  .page-hero--center .hero-actions { justify-content: center; }
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 2rem;
  align-items: center;
}

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: #e6dfcf; }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb .icon { font-size: 1rem; color: var(--gold-4); }
.breadcrumb [aria-current] { color: var(--gold-2); }

/* ================= Long-form content ================= */
.content h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  color: var(--gold-2);
  margin: 2rem 0 .7rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.content h2:first-child { margin-top: 0; }
.content h3 {
  font-size: 1.08rem;
  margin: 1.5rem 0 .7rem;
}
.content p { color: #d8d0bf; max-width: 72ch; margin-bottom: .9rem; }

.list-check { display: grid; gap: .65rem; margin: .5rem 0 1rem; }
.list-check li {
  position: relative;
  padding-left: 1.9rem;
  color: #d8d0bf;
  max-width: 72ch;
}
.list-check li .icon {
  position: absolute; left: 0; top: .2rem;
  font-size: 1.2rem;
  color: var(--gold-2);
}

.site-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .8rem;
  margin: 1rem 0 .5rem;
}
.site-map a {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .95rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: rgba(255, 236, 190, 0.03);
  transition: border-color .2s;
}
.site-map a:hover { border-color: var(--line-strong); }
.site-map strong { display: block; color: var(--gold-1); font-size: .95rem; }
.site-map a > div > span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.5; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
  margin-top: 1.5rem;
}
.step { position: relative; }
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold-ink);
  background: var(--gold-grad);
  box-shadow: 0 0 18px rgba(242, 197, 82, 0.35);
  margin-bottom: .9rem;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .88rem; }

/* Legal layout */
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.1rem;
}
.toc-title {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: .6rem;
  font-weight: 500;
}
.toc ol { display: grid; gap: .15rem; }
.toc a {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem .6rem;
  border-radius: 8px;
  font-size: .88rem;
  color: #d8d0bf;
}
.toc a .icon { color: var(--gold-3); font-size: 1.1rem; }
.toc a:hover, .toc a.active { background: rgba(242, 197, 82, 0.1); color: var(--gold-1); }

.contact-box {
  display: flex; flex-wrap: wrap; gap: .8rem;
  margin: .5rem 0 1rem;
}
.contact-box .trust-chip { flex: 1 1 220px; }

.note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--gold-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(242, 197, 82, 0.06);
  color: #d8d0bf;
  font-size: .92rem;
}

/* ================= Footer ================= */
.site-footer {
  position: relative;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  padding: 2.25rem 0 1.75rem;
  background: #040302;
}
.site-footer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-3) 15%, var(--gold-2) 50%, var(--gold-3) 85%, transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
}
.footer-brand .brand-logo { height: 58px; }
.footer-brand .brand-tagline { font-size: .82rem; margin-top: .3rem; }

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: .4rem;
}
.footer-nav li { display: flex; align-items: center; }
.footer-nav li + li::before {
  content: "";
  width: 1px; height: 12px;
  margin: 0 .75rem;
  background: rgba(246, 241, 228, 0.3);
}
.footer-nav a { font-size: .82rem; color: #d6cebd; }
.footer-nav a:hover { color: var(--gold-2); }

.footer-side { display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.socials { display: flex; gap: .55rem; }
.socials a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1.15rem;
  color: #fff;
  background: #0d0b08;
  border: 1.5px solid rgba(246, 241, 228, 0.55);
  -webkit-tap-highlight-color: transparent;
  transition: border-color .25s ease, color .25s ease, box-shadow .3s ease, transform .2s ease;
}
.socials a:active, .socials a.is-pressed {
  border-color: var(--gold-2);
  color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(242, 197, 82, 0.18), 0 0 22px rgba(242, 197, 82, 0.45);
  transform: scale(.94);
}
.copyright { font-size: .85rem; color: #d6cebd; }

/* ================= Responsive ================= */
@media (min-width: 961px) and (max-width: 1200px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-chip:nth-child(2) { grid-column: 1 / -1; order: 3; }
}

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero::before {
    background-image:
      url("../img/herobg_mobile.png");,
      radial-gradient(ellipse 80% 40% at 60% 55%, rgba(242, 197, 82, 0.2), transparent 70%);
    background-position: top center, center;
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(6, 5, 4, 0.55) 0%, rgba(6, 5, 4, 0.85) 45%, rgba(6, 5, 4, 0.7) 100%);
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 500px; margin-inline: auto; width: 100%; }

  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-grid .phones { max-width: 420px; width: 100%; margin-inline: auto; }

  .apk-grid { grid-template-columns: 1fr; }
  .apk-grid .phones { max-width: 440px; margin-inline: auto; width: 100%; }
  .spec-table, .apk-copy .btn-lg { max-width: none; }

  .faq-body { max-width: none; }

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

  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: .4rem; }
  .toc a { border: 1px solid var(--line-soft); }

  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-brand .brand-logo { margin-inline: auto; }
  .footer-nav ul { justify-content: center; }
  .footer-side { align-items: center; }
}

@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .tile { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; }
  .tile .icon-badge { grid-row: span 2; margin: 0; }
  .notice { flex-direction: column; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { width: min(100% - 1.75rem, var(--max)); }
  .brand-logo { height: 42px; }
  .footer-brand .brand-logo { height: 52px; }
  .header-actions .btn { display: none; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-chip strong { font-size: .85rem; }
  .hero-actions .btn { flex: 1 1 100%; min-width: 0; }

  .monitor-badge { font-size: .62rem; padding: .3rem .8rem; }
  .monitor-frame { padding: 7px; border-radius: 12px; }

  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; }
  .step-num { grid-row: span 2; margin: 0; }

  .spec-table { font-size: .86rem; padding-inline: .6rem; }
  .spec-table th .icon { width: 24px; height: 24px; padding: 4px; }
  .spec-table th span { gap: .5rem; }
  .spec-table th { width: 44%; }

  .phone { border-radius: 26px; padding: 5px; }
  .phone .slot { border-radius: 22px; border-width: 4px; }
  .phone::before { top: 11px; height: 11px; }
  .phones--single .phone { width: min(78%, 240px); border-radius: 34px; padding: 6px; }
  .phones--single .phone .slot { border-radius: 29px; border-width: 5px; }
  .phones--single .phone::before { top: 15px; height: 14px; }

  .promo > .icon { font-size: 2.4rem; }
  .accordion-button { font-size: .88rem; padding: .75rem .85rem; }
  .accordion-panel > div { padding-inline: .85rem; }

  .footer-nav li + li::before { margin: 0 .5rem; }
}

@media (max-width: 360px) {
  .btn { padding: 0 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ================= Additions ================= */
.accordion-item h3 { font: inherit; line-height: inherit; letter-spacing: normal; margin: 0; }
.accordion-panel > div { visibility: hidden; transition: visibility .28s; }
.accordion-item.open .accordion-panel > div { visibility: visible; }

.badge-text { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }


.footnote { margin-top: .9rem; font-size: .8rem; color: var(--muted-2); max-width: 470px; }

.section-head { margin-bottom: 1.25rem; }

.checklist-card h3 { color: var(--text); font-size: 1.1rem; margin-bottom: .8rem; }
.checklist-card .btn { margin-top: .5rem; }

.card .icon-badge + h3 { margin-top: 0; }
.card-row { display: flex; gap: 1rem; align-items: flex-start; }
.card-row .icon-badge { margin: 0; }
.breadcrumb .icon { transform: rotate(-90deg); }

@media (max-width: 560px) {
  .footer-nav ul { column-gap: 1.1rem; }
  .footer-nav li + li::before { display: none; }
  .phone .slot--empty::after { font-size: .62rem; padding: .5rem; }
}
.content .site-map a { text-decoration: none; color: inherit; }
.site-map { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.trust-grid--even { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 961px) and (max-width: 1200px) {
  .trust-grid--even { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-grid--even .trust-chip:nth-child(2) { grid-column: auto; order: 0; }
}
@media (max-width: 560px) {
  .trust-grid--even { grid-template-columns: 1fr; }
}
