@font-face {
  font-family: Cairo;
  src: url('assets/Cairo.ttf') format('truetype');
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  font-family: Cairo, system-ui, sans-serif;
  font-synthesis: none;
  color-scheme: dark;
  --bg: #060a14;
  --bg-deep: #03050a;
  --surface: #11192a;
  --surface-glass: rgba(17, 25, 42, 0.72);
  --high: #27344d;
  --text: #f8f6f2;
  --muted: #b8c4d6;
  --red: #ff4b55;
  --blood: #920c14;
  --gold: #f0c96b;
  --gold-soft: rgba(240, 201, 107, 0.22);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --shadow-lg: 0 28px 64px rgba(2, 6, 23, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(146, 12, 20, 0.18), transparent 60%),
    radial-gradient(ellipse 65% 45% at 88% 12%, rgba(240, 201, 107, 0.09), transparent 55%),
    linear-gradient(170deg, var(--bg), var(--bg-deep) 70%);
  color: var(--text);
  line-height: 1.85;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

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

h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  line-height: 1.45;
  text-wrap: balance;
}

p, li {
  overflow-wrap: break-word;
}

.wrap {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}

.section {
  padding-block: 84px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(240, 201, 107, 0.1);
  border: 1px solid rgba(240, 201, 107, 0.28);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading > p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 1.03rem;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.24rem;
  font-weight: 850;
}

.skip-link {
  position: fixed;
  top: -120px;
  right: 20px;
  z-index: 60;
  background: var(--gold);
  color: #090d16;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 12px;
}

.skip-link:focus {
  top: 12px;
}

/* Shared primary button used across secondary pages (support/delete-account) */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 13px 26px;
  background: linear-gradient(120deg, #9b111a, #5c070d);
  border: 1px solid rgba(255, 75, 85, 0.42);
  border-radius: 16px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  transition: transform 0.16s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.button:hover {
  border-color: var(--red);
  box-shadow: 0 10px 28px rgba(255, 75, 85, 0.28);
}

.button:active {
  scale: 0.97;
}

/* Official Google Play Store CTA Pill / Badge */
.play-badge-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 11px 22px;
  border-radius: 18px;
  background: linear-gradient(145deg, #171f33, #0b101d);
  border: 1px solid rgba(240, 201, 107, 0.45);
  box-shadow:
    0 14px 34px rgba(2, 6, 23, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--text);
  transition:
    transform 0.18s ease-out,
    scale 0.15s ease-out,
    border-color 0.2s ease-out,
    box-shadow 0.22s ease-out;
}

.play-badge-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.12) 50%, transparent 75%);
  transform: translateX(120%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.play-badge-btn:hover::before {
  transform: translateX(-120%);
}

.play-badge-btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow:
    0 18px 40px rgba(240, 201, 107, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.play-badge-btn:active {
  scale: 0.97;
  transform: translateY(0);
}

.play-badge-btn .gplay-logo {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.play-badge-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: start;
}

.play-badge-copy small {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}

.play-badge-copy strong {
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  color: #fff;
}

.play-badge-arrow {
  margin-inline-start: 6px;
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.play-badge-btn:hover .play-badge-arrow {
  transform: translate(-3px, -2px);
}

.play-badge-wide {
  width: 100%;
  justify-content: space-between;
  background: linear-gradient(135deg, #1b253d, #0d1322);
}

.play-badge-wide .play-badge-copy {
  margin-inline-end: auto;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 12px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-weight: 750;
  font-size: 0.98rem;
  transition: background 0.18s ease, border-color 0.18s ease, scale 0.15s ease;
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(240, 201, 107, 0.45);
}

.ghost-btn:active {
  scale: 0.97;
}

/* Sticky Glass Header + Scroll Shrinking */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 10, 20, 0.74);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.header.is-scrolled {
  background: rgba(6, 10, 20, 0.92);
  box-shadow: 0 12px 36px rgba(2, 6, 23, 0.6);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  transition: min-height 0.25s ease;
}

.header.is-scrolled .nav-bar {
  min-height: 66px;
}

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes header-shrink {
    to {
      min-height: 66px;
    }
  }
  @keyframes header-elevate {
    to {
      background: rgba(6, 10, 20, 0.92);
      box-shadow: 0 12px 36px rgba(2, 6, 23, 0.62);
    }
  }
  @media (prefers-reduced-motion: no-preference) {
    .header {
      animation: header-elevate linear both;
      animation-timeline: scroll(block root);
      animation-range: 0px 140px;
    }
    .nav-bar {
      animation: header-shrink linear both;
      animation-timeline: scroll(block root);
      animation-range: 0px 140px;
    }
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.brand > img {
  width: 44px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 13px;
  border: 1px solid rgba(240, 201, 107, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1.02rem;
  font-weight: 900;
}

.brand-text small {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 700;
}

.nav-bar nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-bar nav a {
  padding: 9px 14px;
  border-radius: 10px;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-bar nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav-play {
  display: none;
}

.nav-play-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(240, 201, 107, 0.16), rgba(240, 201, 107, 0.05));
  border: 1px solid rgba(240, 201, 107, 0.45);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.16s ease, background 0.16s ease, scale 0.14s ease;
}

.nav-play-pill:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(240, 201, 107, 0.25), rgba(240, 201, 107, 0.1));
}

.nav-play-pill:active {
  scale: 0.96;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--high);
  background: var(--surface);
  border-radius: 12px;
  padding: 9px 14px;
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 750;
}

.menu-toggle span {
  margin-inline-start: 6px;
}

/* Cinematic Hero Stage */
.hero-stage {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-panorama {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0.17;
  filter: saturate(1.15) contrast(1.05);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 70% at 24% 48%, rgba(6, 10, 20, 0.35), rgba(6, 10, 20, 0.94) 72%),
    linear-gradient(180deg, rgba(6, 10, 20, 0.55) 0%, rgba(6, 10, 20, 0.35) 45%, var(--bg) 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.42;
}

.orb-crimson {
  width: 380px;
  height: 380px;
  background: #8b0000;
  top: -80px;
  left: 4%;
}

.orb-gold {
  width: 320px;
  height: 320px;
  background: rgba(240, 201, 107, 0.35);
  bottom: -90px;
  right: 8%;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 54px;
  align-items: center;
  padding-block: 68px 82px;
  min-height: 620px;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--surface-glass);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  color: #e8ecf4;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
}

.hero h1 {
  font-size: clamp(2.65rem, 5vw, 4.35rem);
  line-height: 1.38;
  font-weight: 900;
  letter-spacing: -0.025em;
  background: linear-gradient(170deg, #ffffff 35%, #d6dee9 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(125deg, #ff6b73, #ff2e3d 55%, #f0c96b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro {
  max-width: 580px;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 2;
  margin-top: 22px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 14px;
  background: rgba(17, 25, 42, 0.65);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.hero-metrics li strong {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
}

.hero-metrics li span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Hero Showcase Art Stage */
.hero-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: 30px 20px;
  min-width: 0;
}

.city-backdrop {
  position: absolute;
  inset: auto 0 -10px;
  width: 100%;
  height: auto;
  z-index: -1;
  opacity: 0.55;
}

.hero-halo {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 75, 85, 0.24), rgba(240, 201, 107, 0.12) 45%, transparent 72%);
  z-index: -1;
}

.character-card {
  width: min(100%, 348px);
  border: 1px solid rgba(240, 201, 107, 0.36);
  background: linear-gradient(155deg, rgba(30, 41, 59, 0.92), rgba(11, 17, 30, 0.96));
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    0 0 42px rgba(255, 75, 85, 0.14);
  animation: arrival 0.75s ease-out both;
}

.character-frame {
  position: relative;
  overflow: hidden;
}

.character-frame > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.card-corner-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(6, 10, 20, 0.78);
  border: 1px solid rgba(255, 75, 85, 0.5);
  color: #ffd7d9;
  font-size: 0.76rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.character-card figcaption {
  padding: 18px 20px 22px;
  text-align: center;
}

.character-card figcaption strong {
  display: block;
  font-size: 1.28rem;
  font-weight: 900;
  color: #fff;
}

.character-card figcaption span {
  display: block;
  font-size: 0.88rem;
  color: var(--gold);
  margin-top: 4px;
}

.hero-float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(11, 17, 30, 0.88);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.chip-top {
  top: 18px;
  left: 6px;
}

.chip-bottom {
  bottom: 24px;
  right: 4px;
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.chip-red {
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.chip-gold {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

/* Modes Section */
.modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mode {
  container-type: inline-size;
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(24, 34, 54, 0.85), rgba(13, 20, 35, 0.94));
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.4);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.mode:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 201, 107, 0.32);
  box-shadow: 0 24px 52px rgba(2, 6, 23, 0.65);
}

.mode-featured {
  border-color: rgba(255, 75, 85, 0.26);
  background:
    radial-gradient(ellipse at top left, rgba(255, 75, 85, 0.08), transparent 55%),
    linear-gradient(155deg, rgba(24, 34, 54, 0.9), rgba(13, 20, 35, 0.96));
}

.mode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mode-number {
  direction: ltr;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  color: var(--red);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 75, 85, 0.12);
  border: 1px solid rgba(255, 75, 85, 0.26);
}

.mode-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--gold);
}

.mode h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.mode p,
.mode li {
  font-size: 0.98rem;
  color: var(--muted);
}

.mode ul {
  padding-inline-start: 20px;
  margin: 20px 0 0;
}

.mode li {
  padding-block: 5px;
}

.mode li::marker {
  color: var(--red);
}

.remote-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 26px;
  border: 1px solid rgba(240, 201, 107, 0.26);
  border-radius: 20px;
  background: linear-gradient(125deg, rgba(240, 201, 107, 0.08), rgba(17, 25, 42, 0.72));
}

.remote-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(240, 201, 107, 0.15);
  color: var(--gold);
  flex-shrink: 0;
}

.remote-note p {
  color: var(--muted);
  font-size: 0.97rem;
}

.remote-note strong {
  color: var(--gold);
}

/* Ballot Trial Timeline */
.ballot-section {
  padding-top: 24px;
}

.ballot-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ballot-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  inset-inline: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(240, 201, 107, 0.2), rgba(255, 75, 85, 0.5), rgba(240, 201, 107, 0.2));
  z-index: 0;
}

.ballot-steps li {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(21, 31, 50, 0.92), rgba(11, 17, 30, 0.96));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ballot-steps li:hover {
  border-color: rgba(255, 75, 85, 0.4);
  transform: translateY(-3px);
}

.step-num {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 36px;
  padding-inline: 10px;
  background: linear-gradient(135deg, rgba(146, 12, 20, 0.85), rgba(80, 6, 12, 0.95));
  border: 1px solid rgba(255, 75, 85, 0.48);
  border-radius: 12px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
  direction: ltr;
  margin-bottom: 18px;
}

.ballot-steps h3 {
  font-size: 1.15rem;
}

.ballot-steps p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-top: 9px;
}

/* App Moments Phone Carousel */
.moments-section {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(146, 12, 20, 0.14), transparent 60%),
    #080d19;
}

.moments-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.moments-header .section-heading {
  margin-bottom: 0;
}

.moments-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.snap-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 1.15rem;
  transition: background 0.16s ease, border-color 0.16s ease, scale 0.14s ease;
}

.snap-btn:hover {
  background: var(--high);
  border-color: var(--gold);
  color: var(--gold);
}

.snap-btn:active {
  scale: 0.94;
}

.moments {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 6px 26px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 6px;
  scrollbar-color: var(--high) transparent;
  scrollbar-width: thin;
}

.moment {
  flex: 0 0 clamp(255px, 27vw, 290px);
  scroll-snap-align: center;
  container-type: scroll-state;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px 24px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(24, 34, 54, 0.72), rgba(10, 15, 28, 0.9));
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.moment:hover {
  border-color: rgba(240, 201, 107, 0.35);
}

.moment figcaption {
  margin-bottom: 18px;
}

.moment-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
}

.moment h3 {
  font-size: 1.24rem;
}

.moment figcaption p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.75;
}

.screen {
  position: relative;
  width: 100%;
  max-width: 240px;
  margin-inline: auto;
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(145deg, #2d3b54, #141c2c);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 44px rgba(2, 6, 23, 0.72);
}

.screen::before {
  content: '';
  display: block;
  width: 56px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 auto 7px;
}

.screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  border-radius: 20px;
}

/* Interactive Role Dossier Stage */
.role-stage {
  --faction-accent: #ff4b55;
  --faction-glow: rgba(255, 75, 85, 0.22);
  --faction-soft: rgba(255, 75, 85, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 44px;
  align-items: center;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at 22% 50%, var(--faction-glow), transparent 55%),
    linear-gradient(145deg, #162034, #0c1220);
  box-shadow: var(--shadow-lg);
  transition: background 0.35s ease;
}

.role-stage[data-faction='citizen'] {
  --faction-accent: #f0c96b;
  --faction-glow: rgba(240, 201, 107, 0.2);
  --faction-soft: rgba(240, 201, 107, 0.14);
}

.role-stage[data-faction='joker'] {
  --faction-accent: #c084fc;
  --faction-glow: rgba(192, 132, 252, 0.2);
  --faction-soft: rgba(192, 132, 252, 0.14);
}

.role-portrait {
  position: relative;
  min-width: 0;
  width: min(100%, 320px);
  justify-self: center;
  padding: 10px;
  border-radius: 28px;
  border: 1px solid var(--faction-accent);
  background: rgba(6, 10, 20, 0.72);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease;
}

.role-portrait-ring {
  position: absolute;
  inset: -12px;
  border-radius: 36px;
  background: radial-gradient(circle, var(--faction-glow), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.role-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}

.role-dossier {
  min-width: 0;
}

.role-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.role-picker button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--high);
  border-radius: 13px;
  background: rgba(6, 10, 20, 0.55);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, scale 0.12s ease;
}

.role-picker button:hover {
  border-color: var(--faction-accent);
  color: var(--text);
}

.role-picker button:active {
  scale: 0.96;
}

.role-picker button[aria-pressed='true'] {
  background: var(--faction-soft);
  border-color: var(--faction-accent);
  color: #fff;
  box-shadow: 0 0 0 1px var(--faction-accent);
}

.role-copy {
  min-height: 175px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

#role-team {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--faction-soft);
  border: 1px solid var(--faction-accent);
  color: var(--faction-accent);
  font-size: 0.86rem;
  font-weight: 800;
}

.role-copy h3 {
  font-size: clamp(1.65rem, 2.6vw, 2.1rem);
  margin-block: 14px 12px;
  color: #fff;
}

#role-description {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 2;
}

.role-note {
  margin-top: 18px;
  color: var(--muted);
}

/* City Chronicles */
.memory-section {
  padding-top: 24px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.features article {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(20, 30, 48, 0.85), rgba(10, 15, 28, 0.95));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.features article:hover {
  border-color: rgba(240, 201, 107, 0.34);
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 75, 85, 0.12);
  border: 1px solid rgba(255, 75, 85, 0.3);
  color: var(--red);
  margin-bottom: 20px;
}

.features h3 {
  font-size: 1.24rem;
}

.features p {
  font-size: 0.97rem;
  line-height: 1.95;
  color: var(--muted);
  margin-top: 10px;
}

/* FAQ Accordion */
.questions {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: start;
}

.questions-sub {
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.98rem;
}

.faq-list {
  min-width: 0;
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 25, 42, 0.65);
  padding: 6px 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

details[open] {
  border-color: rgba(240, 201, 107, 0.38);
  background: rgba(21, 31, 50, 0.9);
}

summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.02rem;
  min-height: 52px;
  padding-inline-end: 8px;
}

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

summary::after {
  content: '+';
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

details[open] summary::after {
  content: '−';
  background: rgba(240, 201, 107, 0.16);
}

details p {
  margin: 0;
  padding: 4px 0 18px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.9;
}

/* Final Store Download Card */
.download-section {
  background:
    radial-gradient(ellipse at 18% 60%, rgba(146, 12, 20, 0.24), transparent 58%),
    radial-gradient(ellipse at 85% 30%, rgba(240, 201, 107, 0.1), transparent 55%),
    #070b15;
  border-top: 1px solid var(--line);
}

.download-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 54px;
  align-items: center;
}

.download-pitch > p {
  color: var(--muted);
  margin-top: 16px;
  font-size: 1.04rem;
}

.download-perks {
  margin: 24px 0 0;
  padding-inline-start: 20px;
  color: #dbe3ef;
  font-size: 0.96rem;
}

.download-perks li {
  padding-block: 4px;
}

.download-perks li::marker {
  color: var(--gold);
}

.download-box {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(240, 201, 107, 0.35);
  border-radius: 30px;
  background: linear-gradient(155deg, #172136, #0d1423);
  box-shadow: var(--shadow-lg);
}

.download-banner {
  position: relative;
  height: 120px;
  overflow: hidden;
}

.download-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.download-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 20, 35, 0.12), #151e32);
}

.download-box-body {
  padding: 0 28px 28px;
  margin-top: -26px;
  position: relative;
  z-index: 1;
}

.download-app {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.download-app img {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  border: 2px solid rgba(240, 201, 107, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.download-app h3 {
  font-size: 1.24rem;
  color: #fff;
}

.download-app p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 3px;
}

.download-box .file-info {
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 14px;
  text-align: center;
}

/* Footer & Shared Subpage Footer */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-block: 30px 42px;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
}

.footer a,
.footer-bug-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
}

.footer-studio-badge {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 4px;
  border-radius: 9px;
  background: linear-gradient(145deg, #18233a, #070c17);
  border: 1px solid rgba(240, 201, 107, 0.35);
}

.footer-studio-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.support-link {
  color: var(--gold);
  font-weight: 700;
}

.footer-bug-btn {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 6px 14px;
  min-height: 38px;
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.footer a:hover,
.footer-bug-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Modal */
.bug-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  direction: rtl;
}

.bug-modal[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  background: #141c2b;
  border: 1px solid rgba(240, 201, 107, 0.35);
  border-radius: 22px;
  padding: 26px 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(240, 201, 107, 0.1);
  color: #f8fafc;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.modal-heading {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 850;
  color: #f0c96b;
}

.modal-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.modal-close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.modal-desc {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 750;
  color: #cbd5e1;
}

.form-input,
.form-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #090e17;
  border: 1px solid #293548;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #f8fafc;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #f0c96b;
  box-shadow: 0 0 0 3px rgba(240, 201, 107, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 95px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.btn-report-send {
  flex: 1;
  padding: 12px 20px;
  border-radius: 12px;
  background: #f0c96b;
  color: #0b1220;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 850;
  border: none;
  transition: background 0.15s;
}

.btn-report-send:hover {
  background: #f4d494;
}

.btn-report-copy {
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 750;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.15s, border-color 0.15s;
}

.btn-report-copy:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

.copy-status {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: #4ade80;
  text-align: center;
  line-height: 1.6;
}

/* Scroll Reveal Animations */
@keyframes arrival {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal-ready .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet & Small Desktop */
@media (max-width: 980px) {
  .wrap {
    width: calc(100% - 44px);
  }
  .nav-bar {
    gap: 14px;
  }
  .nav-bar nav {
    gap: 2px;
    font-size: 0.84rem;
  }
  .nav-bar nav a {
    padding: 8px 10px;
  }
  .hero {
    gap: 32px;
    min-height: 0;
    padding-block: 52px 62px;
  }
  .ballot-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ballot-steps::before {
    display: none;
  }
  .role-stage {
    gap: 28px;
    padding: 26px;
  }
  .features {
    gap: 16px;
  }
  .questions {
    gap: 30px;
  }
}

/* Mobile-First Game Showcase Layout */
@media (max-width: 780px) {
  html {
    scroll-padding-top: 76px;
  }
  .wrap {
    width: calc(100% - 28px);
  }
  .section {
    padding-block: 40px;
  }
  .section-kicker {
    font-size: 0.76rem;
    padding: 4px 12px;
    margin-bottom: 10px;
  }
  .section-heading {
    margin-bottom: 22px;
  }
  .section-heading > p {
    font-size: 0.94rem;
    margin-top: 8px;
  }
  h2 {
    font-size: clamp(1.5rem, 6.2vw, 1.95rem);
  }

  /* Compact Single-Row Mobile Header with Always-Accessible Play CTA */
  .nav-bar {
    min-height: 64px;
    gap: 8px;
  }
  .header.is-scrolled .nav-bar {
    min-height: 60px;
  }
  .brand {
    gap: 9px;
    min-width: 0;
  }
  .brand > img {
    width: 34px;
    height: auto;
    border-radius: 10px;
  }
  .brand-text strong {
    font-size: 0.94rem;
  }
  .brand-text small {
    display: none;
  }
  .nav-play-pill {
    display: inline-flex;
    min-height: 38px;
    padding: 6px 11px;
    gap: 6px;
    font-size: 0.78rem;
  }
  .nav-play-pill .gplay-logo {
    width: 16px;
    height: 16px;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 6px 11px;
    font-size: 0.8rem;
    margin-inline-start: auto;
  }
  .nav-bar nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: rgba(8, 13, 24, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--high);
    padding: 12px 14px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .nav-bar nav[data-open='true'] {
    display: grid;
  }
  .nav-bar nav a {
    justify-content: center;
    text-align: center;
    padding: 10px 8px;
    font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .mobile-nav-play {
    display: none;
  }

  /* Compact First-Screen Mobile Hero */
  .hero-panorama {
    opacity: 0.3;
    object-position: center top;
  }
  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(6, 10, 20, 0.35) 0%, rgba(6, 10, 20, 0.84) 46%, var(--bg) 96%);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 26px 34px;
    min-height: 0;
  }
  .hero-eyebrow {
    font-size: 0.78rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }
  .hero h1 {
    font-size: clamp(2.05rem, 8.6vw, 2.7rem);
    line-height: 1.32;
  }
  .intro {
    font-size: 0.96rem;
    line-height: 1.85;
    margin-top: 12px;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 20px;
  }
  .play-badge-btn {
    width: 100%;
    min-height: 56px;
    padding: 10px 18px;
    justify-content: space-between;
  }
  .ghost-btn {
    width: 100%;
    min-height: 46px;
    padding: 9px 16px;
    justify-content: center;
    font-size: 0.92rem;
    border-radius: 14px;
  }
  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }
  .hero-metrics li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
    padding: 9px 6px;
    border-radius: 12px;
  }
  .hero-metrics li strong {
    font-size: 0.95rem;
  }
  .hero-metrics li span {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  /* Horizontal Character Spotlight Strip on Mobile */
  .hero-art {
    width: 100%;
    padding: 6px 0 0;
  }
  .city-backdrop,
  .hero-halo,
  .hero-float-chip,
  .card-corner-badge {
    display: none;
  }
  .character-card {
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    align-items: center;
    width: 100%;
    max-width: none;
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(2, 6, 23, 0.65);
  }
  .character-frame {
    height: 100%;
  }
  .character-frame > img {
    width: 98px;
    height: 98px;
    aspect-ratio: 1;
    object-fit: cover;
  }
  .character-card figcaption {
    padding: 12px 14px;
    text-align: start;
  }
  .character-card figcaption strong {
    font-size: 1.06rem;
  }
  .character-card figcaption span {
    font-size: 0.82rem;
    margin-top: 2px;
  }

  /* Compact Play Modes */
  .modes {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mode {
    padding: 20px 18px;
    border-radius: 22px;
  }
  .mode-head {
    margin-bottom: 12px;
  }
  .mode-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  .mode h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
  }
  .mode p,
  .mode li {
    font-size: 0.9rem;
    line-height: 1.75;
  }
  .mode ul {
    margin-top: 12px;
  }
  .remote-note {
    padding: 14px 16px;
    gap: 12px;
    margin-top: 14px;
    border-radius: 16px;
  }
  .remote-note p {
    font-size: 0.88rem;
  }

  /* 2x2 Connected Ballot Grid on Mobile */
  .ballot-section {
    padding-top: 28px;
  }
  .ballot-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .ballot-steps::before {
    display: none;
  }
  .ballot-steps li {
    padding: 16px 14px;
    border-radius: 18px;
  }
  .step-num {
    min-width: 34px;
    height: 28px;
    font-size: 0.78rem;
    border-radius: 9px;
    margin-bottom: 10px;
  }
  .ballot-steps h3 {
    font-size: 1rem;
  }
  .ballot-steps p {
    font-size: 0.83rem;
    line-height: 1.6;
    margin-top: 5px;
  }

  /* Native App-Store Peek Carousel for Screenshots */
  .moments-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 18px;
  }
  .moments-controls {
    display: none;
  }
  .moments {
    gap: 14px;
    padding: 6px 0 18px;
    margin-inline: -14px;
    padding-inline: 14px;
    scroll-padding-inline: 14px;
  }
  .moment {
    flex: 0 0 68%;
    max-width: 240px;
    padding: 14px 13px 16px;
    border-radius: 22px;
    scroll-snap-align: start;
  }
  .moment figcaption {
    margin-bottom: 12px;
  }
  .moment-tag {
    font-size: 0.72rem;
    margin-bottom: 2px;
  }
  .moment h3 {
    font-size: 1.05rem;
  }
  .moment figcaption p {
    font-size: 0.8rem;
    line-height: 1.55;
    margin-top: 4px;
  }
  .screen {
    max-width: 172px;
    padding: 5px;
    border-radius: 22px;
  }
  .screen::before {
    width: 42px;
    height: 4px;
    margin-bottom: 5px;
  }
  .screen img {
    border-radius: 17px;
  }

  /* Single-Viewport Mobile Interactive Role Stage */
  .role-stage {
    grid-template-columns: 1fr;
    padding: 18px 16px;
    gap: 16px;
    border-radius: 24px;
  }
  .role-portrait {
    width: 152px;
    padding: 7px;
    border-radius: 22px;
  }
  .role-portrait img {
    border-radius: 15px;
  }
  .role-picker {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .role-picker::-webkit-scrollbar {
    display: none;
  }
  .role-picker button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 7px 14px;
    font-size: 0.84rem;
    border-radius: 11px;
    scroll-snap-align: start;
  }
  .role-copy {
    min-height: 0;
    padding-top: 14px;
  }
  .role-copy h3 {
    font-size: 1.42rem;
    margin-block: 10px 8px;
  }
  #role-description {
    font-size: 0.92rem;
    line-height: 1.85;
  }

  /* Compact Horizontal Chronicle Tiles */
  .memory-section {
    padding-top: 28px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .features article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
    padding: 16px;
    border-radius: 18px;
  }
  .feature-icon {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 0;
  }
  .features h3 {
    font-size: 1.06rem;
  }
  .features p {
    font-size: 0.88rem;
    line-height: 1.75;
    margin-top: 0;
  }

  /* Tighter FAQ & Mobile Store Finale */
  .questions {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .questions-sub {
    font-size: 0.9rem;
    margin-top: 8px;
  }
  details {
    padding: 4px 16px;
    border-radius: 15px;
  }
  summary {
    font-size: 0.94rem;
    min-height: 48px;
  }
  details p {
    font-size: 0.9rem;
    padding-bottom: 14px;
  }
  .download-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .download-pitch > p {
    font-size: 0.94rem;
    margin-top: 10px;
  }
  .download-perks {
    margin-top: 14px;
    font-size: 0.9rem;
  }
  .download-box {
    border-radius: 24px;
  }
  .download-banner {
    height: 90px;
  }
  .download-box-body {
    padding: 0 18px 20px;
    margin-top: -22px;
  }
  .download-app {
    gap: 12px;
    margin-bottom: 16px;
  }
  .download-app img {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }
  .download-app h3 {
    font-size: 1.1rem;
  }
  .download-app p {
    font-size: 0.8rem;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-block: 24px 30px;
    font-size: 0.88rem;
  }
  .footer-links {
    gap: 12px 18px;
  }
}

@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .brand > img {
    width: 30px;
  }
  .brand-text strong {
    font-size: 0.84rem;
  }
  .nav-play-pill {
    padding: 5px 9px;
    font-size: 0.72rem;
  }
  .menu-toggle {
    padding: 5px 8px;
    font-size: 0.74rem;
  }
  .ballot-steps li {
    padding: 14px 11px;
  }
  .character-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }
  .character-frame > img {
    width: 84px;
    height: 84px;
  }
  .modal-card {
    padding: 20px 18px;
  }
  .modal-actions {
    flex-direction: column;
  }
  .btn-report-copy {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
