/* ── Tokens ── */
:root {
  /* Gold – canonical from app AppColors */
  --gold-primary:   #C8A96E;
  --gold-highlight: #F5D78A;
  --gold-deep:      #A17A35;
  --gold-shadow:    #6B4E1A;

  /* Orb rarity tiers – canonical from app AppColors, kept as vars so a
     future drift against the app is a one-line fix instead of a hunt
     through every .tier-badge--* rule. */
  --tier-bronze:    #B87333;
  --tier-silver:    #C9D1D9;
  --tier-gold:      var(--gold-highlight);
  --tier-diamond:   #9FE8F5;

  /* Purple background – canonical from app AppColors */
  --bg-top:  #1B0A3E;
  --bg-mid:  #0D0525;
  --bg-edge: #050010;

  /* Surfaces */
  --surface:     rgba(13, 5, 37, 0.85);
  --border-gold: rgba(200, 169, 110, 0.25);

  /* Text */
  --text:       #f0e6d3;
  --text-muted: rgba(240, 230, 211, 0.62);

  /* Ember – chaos accent (orb scroller + "Burn the Table." only) */
  --ember:      #FF5A2A;
  --ember-deep: #C8341A;
  --ember-glow: rgba(255, 90, 42, 0.30);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }

body {
  font-family: 'Inter Tight', system-ui, sans-serif;
  color: var(--text);
  background-color: var(--bg-edge);
  overflow-x: hidden;
}

/* ── Fonts ── */
@font-face {
  font-family: 'Megadeth';
  src: url('/assets/fonts/Megadeth.360964db.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Typography utilities ── */
.megadeth {
  font-family: 'Megadeth', 'Inter Tight', sans-serif;
}

.gold-text {
  background: linear-gradient(
    135deg,
    var(--gold-deep)      0%,
    var(--gold-primary)  35%,
    var(--gold-highlight) 50%,
    var(--gold-primary)  65%,
    var(--gold-deep)     100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ember-text {
  color: var(--ember);
  -webkit-text-fill-color: var(--ember);
}

/* ── Ornamental divider ── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--gold-primary);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}
.ornament::before,
.ornament::after {
  content: '';
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-primary));
}
.ornament::after {
  background: linear-gradient(to left, transparent, var(--gold-primary));
}
.ornament--wide::before,
.ornament--wide::after { width: 140px; }

/* ── Gold CTA button ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 2.2rem;
  background: linear-gradient(180deg, var(--gold-highlight) 0%, var(--gold-primary) 55%, var(--gold-deep) 100%);
  color: #0a0010;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 0 var(--gold-shadow), 0 8px 24px rgba(200, 169, 110, 0.3);
  cursor: not-allowed;
  position: relative;
  white-space: nowrap;
  user-select: none;
  opacity: 0.7;
  text-decoration: none;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--active {
  opacity: 1;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn--active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--gold-shadow), 0 12px 30px rgba(200, 169, 110, 0.45);
}
.btn--active:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--gold-shadow), 0 4px 12px rgba(200, 169, 110, 0.3);
}

/* skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--bg-mid);
  color: var(--gold-primary);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  z-index: 999;
}
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  min-height: clamp(640px, 88vh, 860px);
  background:
    radial-gradient(ellipse at 50% -10%, var(--bg-top) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 80%, rgba(27,10,62,0.6) 0%, transparent 55%),
    var(--bg-edge);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem 5rem;
  position: relative;
}

/* tighter gold glow behind tagline */
.hero::before {
  content: '';
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(ellipse, rgba(200, 169, 110, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  z-index: 1;
  max-width: 760px;
}

.hero-logo {
  width: min(600px, 90vw);
  height: auto;
  filter: drop-shadow(0 0 48px rgba(200, 169, 110, 0.5));
}

.hero-tagline {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1.1;
  filter: drop-shadow(0 0 16px rgba(200, 169, 110, 0.25));
}

.hero-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════
   ORBS SCROLLER
═══════════════════════════════════════ */
.orbs {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-edge) 100%);
  border-top: 1px solid rgba(200, 169, 110, 0.1);
  border-bottom: 1px solid rgba(200, 169, 110, 0.1);
  text-align: center;
}

.orbs .ornament { margin-bottom: 1rem; }

.section-title {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.6rem;
}

.orbs-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
}

.orb-scroller {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8vw;
  padding-inline: 8vw;
  padding-bottom: 1rem;
  /* edge fade */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8vw,
    #000 calc(100% - 8vw),
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8vw,
    #000 calc(100% - 8vw),
    transparent
  );
  /* hide native scrollbar */
  scrollbar-width: none;
}
.orb-scroller::-webkit-scrollbar { display: none; }

.orb-card {
  position: relative;
  flex: 0 0 clamp(280px, 32vw, 360px);
  aspect-ratio: 3 / 4;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  background: var(--bg-mid);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  cursor: default;
  outline: none;
  transition: border-color 0.3s;
}

.orb-card:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

.orb-card__image {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.orb-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
  transition: filter 0.4s;
}

.orb-card__name {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: var(--gold-primary);
  transition: color 0.3s;
  line-height: 1.15;
}

.orb-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 28ch;
}

.tier-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(5, 0, 16, 0.65);
  border: 1px solid currentColor;
}

.tier-badge--bronze  { color: var(--tier-bronze); }
.tier-badge--silver  { color: var(--tier-silver); }
.tier-badge--gold    { color: var(--tier-gold); }
.tier-badge--diamond { color: var(--tier-diamond); }

/* Legendary has no fixed hue -- a conic sweep clipped to the badge text
   (and, since background-clip applies to the whole background stack, to the
   pill's fill too) instead of a single tier colour. The border still needs
   one solid colour; this picks a representative mid-sweep violet, matching
   the app's PrismaticTierTreatment.accent. */
.tier-badge--legendary {
  color: transparent;
  border-color: #CB7DFF;
  background-image: conic-gradient(
    from 0deg, #FF6B6B, #FFD56B, #6BFFA0, #6BD4FF, #B56BFF, #FF6B6B
  );
  background-clip: text;
  -webkit-background-clip: text;
}

.orb-card--locked {
  border-style: dashed;
}

.orb-card__image--locked {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--text-muted);
}

.orbs-note {
  margin-top: 2rem;
  padding: 0 2rem;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* scroll-driven active state — browsers supporting animation-timeline */
@supports (animation-timeline: scroll()) {
  .orb-card {
    animation: orb-activate linear both;
    animation-timeline: view(inline);
    animation-range: entry 20% cover 50%;
  }

  @keyframes orb-activate {
    from {
      border-color: var(--border-gold);
    }
    to {
      border-color: rgba(255, 90, 42, 0.55);
    }
  }

  .orb-card .orb-card__image img {
    animation: orb-glow linear both;
    animation-timeline: view(inline);
    animation-range: entry 20% cover 50%;
  }

  @keyframes orb-glow {
    from { filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6)); }
    to   { filter: drop-shadow(0 8px 30px var(--ember-glow)) drop-shadow(0 0 12px rgba(255, 90, 42, 0.2)); }
  }

  .orb-card .orb-card__name {
    animation: orb-name-glow linear both;
    animation-timeline: view(inline);
    animation-range: entry 20% cover 50%;
  }

  @keyframes orb-name-glow {
    from { color: var(--gold-primary); -webkit-text-fill-color: var(--gold-primary); }
    to   { color: var(--ember);        -webkit-text-fill-color: var(--ember); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb-card,
  .orb-card .orb-card__image img,
  .orb-card .orb-card__name {
    animation: none;
  }
}

/* ═══════════════════════════════════════
   FEATURE ROWS
═══════════════════════════════════════ */
.features {
  background: linear-gradient(180deg, var(--bg-edge) 0%, var(--bg-mid) 50%, var(--bg-edge) 100%);
  border-top: 1px solid rgba(200, 169, 110, 0.1);
  border-bottom: 1px solid rgba(200, 169, 110, 0.1);
}

.feature {
  display: flex;
  align-items: center;
  gap: 5rem;
  padding: 6rem 6vw;
  max-width: 1200px;
  margin: 0 auto;
}

.feature + .feature {
  border-top: 1px solid rgba(200, 169, 110, 0.08);
}

.feature--rtl { flex-direction: row-reverse; }

.feature__art {
  flex: 0 0 auto;
  width: clamp(180px, 28vw, 280px);
  position: relative;
}

.feature__art::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  border: 1px solid var(--border-gold);
  pointer-events: none;
  box-shadow: 0 0 30px rgba(200, 169, 110, 0.15);
}

.feature__art img,
.feature__art video {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.65);
}

.feature__art--video video {
  display: block;
  max-height: 70vh;
  object-fit: cover;
}

.feature__text { flex: 1; min-width: 0; }

.feature__text h2 {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1.1rem;
}

.feature__text p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 46ch;
}

/* ═══════════════════════════════════════
   GAME MODES
═══════════════════════════════════════ */
.modes {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.modes > .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mode-card {
  position: relative;
  height: 420px;
  border-radius: 20px;
  border: 1px solid var(--border-gold);
  overflow: hidden;
  cursor: default;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(200, 169, 110, 0.08) inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .mode-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(200, 169, 110, 0.2);
  }
  .mode-card:hover .mode-card__bg {
    transform: scale(1.04);
  }
}

.mode-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 0.4s ease;
}

.mode-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 0, 16, 0.1) 0%,
    rgba(5, 0, 16, 0.5) 50%,
    rgba(5, 0, 16, 0.92) 100%
  );
}

.mode-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}

.mode-card__body h3 {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

.mode-card__body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 38ch;
}

/* ═══════════════════════════════════════
   FAQ
═══════════════════════════════════════ */
.faq {
  padding: 5rem 2rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.faq .section-title { margin-bottom: 2.5rem; }

.faq-list { text-align: left; }

.faq-list details {
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--gold-primary);
  list-style: none;
  position: relative;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 1.4rem;
  color: var(--gold-primary);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--gold-highlight); }

.faq-list details p {
  padding: 0 1.4rem 1.2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-list a {
  color: var(--gold-primary);
  text-decoration: underline;
  text-decoration-color: var(--border-gold);
}
.faq-list a:hover { color: var(--gold-highlight); }

/* ═══════════════════════════════════════
   LATEST VIDEO
═══════════════════════════════════════ */
.latest-video {
  padding: 5rem 2rem;
  text-align: center;
}

.latest-video .section-title { margin-bottom: 2.5rem; }

.latest-video-wrap {
  margin: 0 auto;
  width: min(840px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: var(--bg-mid);
}

.latest-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ═══════════════════════════════════════
   COMMUNITY
═══════════════════════════════════════ */
.community {
  padding: 5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-edge) 0%, var(--bg-mid) 50%, var(--bg-edge) 100%);
  border-top: 1px solid rgba(200, 169, 110, 0.1);
}

.community .section-title { margin-bottom: 2.5rem; }

.community-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  list-style: none;
}

.community-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--gold-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.community-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.community-icon svg {
  width: 28px;
  height: 28px;
}

.community-link:hover { color: var(--gold-highlight); }
.community-link:hover .community-icon {
  border-color: var(--gold-primary);
  box-shadow: 0 0 24px rgba(200, 169, 110, 0.35);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════
   BETA
═══════════════════════════════════════ */
.beta {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-edge) 0%, var(--bg-top) 50%, var(--bg-edge) 100%);
  border-top: 1px solid rgba(200, 169, 110, 0.18);
  border-bottom: 1px solid rgba(200, 169, 110, 0.12);
  position: relative;
  overflow: hidden;
}

.beta-heading {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.75rem);
  margin-bottom: 0.75rem;
}

.beta-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.beta-btns {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   LEGAL PAGES (terms / privacy)
═══════════════════════════════════════ */
.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% -10%, var(--bg-top) 0%, transparent 65%),
    var(--bg-edge);
}

.legal-header {
  display: flex;
  align-items: center;
  padding: 2rem 2rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.legal-header a {
  font-size: 0.85rem;
  color: var(--gold-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.legal-header a:hover { color: var(--gold-highlight); }

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.legal h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.legal-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  letter-spacing: 0.04em;
}

.legal h2 {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--gold-primary);
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.legal h3 {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal p {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal ul, .legal ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.legal li {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.35rem;
}

.legal a {
  color: var(--gold-primary);
  text-decoration: underline;
  text-decoration-color: var(--border-gold);
  transition: color 0.2s, text-decoration-color 0.2s;
}
.legal a:hover {
  color: var(--gold-highlight);
  text-decoration-color: var(--gold-primary);
}

.legal hr {
  border: none;
  border-top: 1px solid var(--border-gold);
  margin: 2.5rem 0;
}

.legal-notice {
  background: rgba(200, 169, 110, 0.07);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

.legal-notice p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .legal { padding: 2rem 1.25rem 4rem; }
  .legal-header { padding: 1.5rem 1.25rem 0; }
}

/* ═══════════════════════════════════════
   PRESS KIT PAGE
   Rides on .legal for typography; only the
   asset grids and copy blocks are new.
═══════════════════════════════════════ */
.press {
  max-width: 1000px;
}

/* Keep the back-link aligned with the article's wider gutter. */
.press-page .legal-header {
  max-width: 1000px;
}

.press-factsheet {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

.press-factsheet dt {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.press-factsheet dd {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.press-copy {
  background: rgba(200, 169, 110, 0.07);
  border: 1px solid var(--border-gold);
  border-left-width: 3px;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.press-copy p:last-child {
  margin-bottom: 0;
}

.press-notice {
  background: rgba(255, 90, 42, 0.06);
  border: 1px solid rgba(255, 90, 42, 0.3);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.press-notice p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.press-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.press-grid--shots  { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.press-grid--brand  { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.press-grid--orbs   { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }

.press-asset {
  margin: 0;
}

.press-asset--wide {
  grid-column: span 2;
}

.press-asset a {
  display: block;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.press-asset a:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.press-asset img {
  display: block;
  width: 100%;
  height: auto;
}

.press-asset figcaption {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
  text-align: center;
}

.press-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

/* `.legal a` (0,1,1) and `.legal a:hover` (0,2,1) both outrank a bare `.btn`,
   which would paint the label gold on a gold gradient. The hover selector needs
   matching specificity of its own, or the label vanishes only on hover. */
.press-btns .btn,
.press-btns .btn:hover {
  color: #0a0010;
  text-decoration: none;
}

@media (max-width: 600px) {
  .press-factsheet {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .press-factsheet dd {
    margin-bottom: 0.9rem;
  }
  .press-asset--wide {
    grid-column: span 1;
  }
}

/* ═══════════════════════════════════════
   DELETE ACCOUNT PAGE
═══════════════════════════════════════ */
.delete-panel {
  max-width: 420px;
  margin: 2.5rem 0;
}

.delete-panel__intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.delete-field {
  display: block;
  margin-bottom: 1.25rem;
}

.delete-field__label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.delete-field input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 1rem;
}

.delete-field input:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.delete-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.delete-checkbox input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.delete-checkbox span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.delete-error {
  font-size: 0.85rem;
  color: var(--ember);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.delete-panel .btn {
  cursor: pointer;
}

.delete-panel .btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.delete-resend {
  display: block;
  margin-top: 1rem;
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--border-gold);
}

.delete-resend:disabled {
  color: var(--text-muted);
  cursor: default;
  text-decoration: none;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--bg-edge);
  border-top: 1px solid rgba(200, 169, 110, 0.12);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--gold-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-highlight); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .modes-grid { grid-template-columns: 1fr; }
  .mode-card  { height: 360px; }

  .feature,
  .feature--rtl {
    flex-direction: column;
    gap: 2.5rem;
    padding: 4rem 2rem;
  }

  .feature__art { width: clamp(180px, 55vw, 260px); }
  .feature__text p { max-width: 100%; }

  .hero-tagline { font-size: clamp(2rem, 9vw, 3rem); }
}

@media (max-width: 600px) {
  .hero { padding-top: 3rem; }
  .hero-logo { width: min(600px, 90vw); }

  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }

  .orb-card {
    flex: 0 0 clamp(220px, 78vw, 280px);
  }

  .intro-band,
  .orbs,
  .beta { padding: 3.5rem 1.5rem; }

  .modes { padding: 3.5rem 1.5rem; }

  .faq { padding: 3.5rem 1.5rem; }
  .latest-video { padding: 3.5rem 1.5rem; }
  .community { padding: 3.5rem 1.5rem; }
}

/* ═══════════════════════════════════════
   BETA PAGE (/beta.html)
═══════════════════════════════════════ */
.beta-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 120px);
}

.beta-page .beta {
  width: 100%;
  border-top: none;
  flex: 1;
}

.beta-page-logo {
  width: min(600px, 90vw);
  margin: 2.5rem auto 0;
  display: block;
  filter: drop-shadow(0 0 20px rgba(200, 169, 110, 0.35));
}

.beta-video-wrap {
  margin: 0 auto 2.5rem;
  width: clamp(280px, 90vw, 560px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: var(--bg-mid);
  aspect-ratio: 9 / 16;
  max-height: 480px;
}

.beta-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.beta-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Multi-column layout: stacks to one column on narrow screens */
.beta-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.beta-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
  text-align: center;
}

.beta-column__heading {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 0.25rem;
}

.beta-column__sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* When only one platform section is shown (mobile OS detected), centre it. */
.beta-columns--single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

/* Inside a column the existing 9:16 video would dominate at half-viewport widths.
   Tighten the upper bound so two columns sit comfortably side-by-side. */
.beta-column .beta-video-wrap {
  width: clamp(220px, 90%, 360px);
  max-height: 560px;
  margin-bottom: 2rem;
}

@media (max-width: 720px) {
  .beta-columns {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .beta-video-wrap { max-height: 380px; }
  .beta-page-logo { margin-top: 1.5rem; }
}

/* ═══════════════════════════════════════
   UTILITY PAGES (/rewards, /redeem, /join, /signin)
   Shared layout for the four code/link-handoff
   pages. beta.html keeps its own .beta shell —
   it's a real marketing page, not a utility one.
═══════════════════════════════════════ */
.util-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  text-align: center;
}

.util-logo {
  width: min(380px, 70vw);
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 0 20px rgba(200, 169, 110, 0.35));
}

.util-heading {
  font-size: clamp(1.9rem, 6vw, 3.25rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.util-lead {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.7;
  color: var(--text);
  max-width: 56ch;
  margin: 0 auto 1.5rem;
}

/* Link colour is scoped to leaf text containers only, never to .util-page —
   a shared ancestor rule outranks a bare .btn and paints CTA labels gold on
   gold (see press.html's own note on this exact trap in CLAUDE.md). */
.util-lead a,
.util-fineprint a,
.util-step__body a,
.util-code-card a {
  color: var(--gold-primary);
  text-decoration: underline;
  text-decoration-color: var(--border-gold);
  transition: color 0.2s, text-decoration-color 0.2s;
}
.util-lead a:hover,
.util-fineprint a:hover,
.util-step__body a:hover,
.util-code-card a:hover {
  color: var(--gold-highlight);
  text-decoration-color: var(--gold-primary);
}

.util-fineprint {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 62ch;
  margin: 2rem auto 0;
}
.util-fineprint + .util-fineprint { margin-top: 0.75rem; }

/* Prize card (/rewards) */
.util-prize {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
  background: rgba(200, 169, 110, 0.07);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.util-prize__art {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid var(--border-gold);
}

.util-prize__amount {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--gold-highlight);
  line-height: 1.15;
}

.util-prize__note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Step cards */
.util-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

/* Nested inside a code card (redeem/join's "already have the app?" steps),
   the card's own padding already provides the bottom gap. */
.util-code-card .util-steps {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.util-step {
  background: rgba(200, 169, 110, 0.07);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: left;
}

.util-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-highlight) 0%, var(--gold-primary) 55%, var(--gold-deep) 100%);
  color: #0a0010;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.util-step__heading {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.util-step__body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Code cards — table/reward codes get the full-size card; a referral code
   picked up "for later" (see join.html) gets the --secondary variant so it
   reads as subordinate to whichever code is the page's primary action. */
.util-code-card {
  background: rgba(200, 169, 110, 0.07);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  max-width: 420px;
  margin: 0 auto 1.5rem;
  text-align: left;
}

.util-code-card--secondary {
  max-width: 360px;
  padding: 1.25rem 1.5rem;
  border-color: rgba(200, 169, 110, 0.15);
}

.util-code-card__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.util-code {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  letter-spacing: 0.18em;
  color: var(--gold-highlight);
  margin-bottom: 0.75rem;
  user-select: all;
}

.util-code-card--secondary .util-code {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
}

.util-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.util-copy-btn:hover {
  color: var(--gold-highlight);
  border-color: var(--gold-highlight);
  background: rgba(200, 169, 110, 0.08);
}
.util-copy-btn:focus-visible {
  outline: 2px solid var(--gold-highlight);
  outline-offset: 2px;
}
.util-copy-btn svg { width: 14px; height: 14px; }

/* Notices — reuses .legal-notice's exact surface treatment so a missing-code
   state stops rendering as a bare, unstyled paragraph. */
.util-notice {
  background: rgba(200, 169, 110, 0.07);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  text-align: left;
}
.util-notice p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.util-notice--warn {
  border-left: 3px solid var(--ember);
}

.util-ctas {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .util-copy-btn { transition: none; }
}

@media (max-width: 600px) {
  .util-page { padding: 2rem 1.25rem 3rem; }
  .util-prize { flex-direction: column; text-align: center; }
  .util-ctas { flex-direction: column; align-items: stretch; }
  .util-ctas .btn { width: 100%; justify-content: center; }
}
