/* Self-hosted fonts. WOFF2 files in /fonts/, sourced from Google Fonts
   (Bungee, Special Elite, VT323 -- all OFL). Re-fetch via:
     curl -A "Mozilla/5.0" "https://fonts.googleapis.com/css2?family=Bungee&family=Special+Elite&family=VT323&display=swap"
   then save each woff2 in dinggoingup_site/site/fonts/. */

@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bungee.woff2') format('woff2');
}

@font-face {
  font-family: 'Special Elite';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/special-elite.woff2') format('woff2');
}

@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/vt323.woff2') format('woff2');
}

:root {
  --navy: #0A0E1C;
  --navy-card: #0A1428;
  --gold: #C4992A;
  --gold-dim: #A89070;
  --cream: #F5E6C8;
  --dim: #7A8499;
  --burgundy: #8B2E2E;

  --font-display: 'Bungee', cursive;
  --font-body: 'Special Elite', monospace;
  --font-meta: 'VT323', monospace;

  --pack-classic: #8B2E2E;
  --pack-belle: #D4AA30;
  --pack-haunted: #CC66FF;
  --pack-underground: #44CC22;
  --pack-future: #22AAFF;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--cream); }

/* ── Diegetic VTA strip ───────────────────────────────────── */
.vta-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--navy-card);
  border-bottom: 1.5px solid var(--gold);
  font-family: var(--font-meta);
  font-size: 14px;
  color: var(--gold-dim);
  letter-spacing: 0.08em;
}

.vta-strip .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 12px;
  flex-shrink: 0;
}

.vta-strip span.title { color: var(--gold); }

/* ── Page wrapper ─────────────────────────────────────────── */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 56px 12px 40px;
}

/* Hero pull-quote — the actual in-voice tease, sits between wordmark
   and the explanatory subtitle. Cream text on subtle gold-rim block. */
.hero-quote {
  max-width: 640px;
  margin: 0 auto 24px;
  padding: 18px 20px 14px;
  background: rgba(20, 32, 54, 0.45);
  border-left: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  text-align: left;
}
.hero-quote p {
  font-family: var(--font-body);
  color: var(--cream);
  font-size: 17px;
  line-height: 1.45;
  margin: 0 0 10px;
}
.hero-quote p strong { color: var(--gold); font-weight: inherit; }
.hero-quote cite {
  display: block;
  font-family: var(--font-meta);
  font-style: normal;
  font-size: 13px;
  color: var(--gold-dim);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* Narrator tease cards — one per narrator, each with a name banner
   above and a literal in-game quote below. */
.narrator-tease {
  padding: 16px 18px;
}
.narrator-tease .narrator-name {
  font-family: var(--font-meta);
  font-size: 13px;
  color: var(--gold-dim);
  letter-spacing: 0.12em;
  margin: 0 0 8px;
}
.narrator-tease .narrator-name strong {
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 0.04em;
  font-weight: inherit;
}
.narrator-tease .narrator-line {
  font-family: var(--font-body);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.narrator-tease .narrator-line em {
  color: var(--gold);
  font-style: normal;
}

.hero h1 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 40px;
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.hero .subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--cream);
  margin: 0 0 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero .subtitle strong {
  color: var(--gold);
  font-weight: inherit;
}

.hero .free-line {
  font-family: var(--font-meta);
  font-size: 18px;
  color: var(--cream);
  letter-spacing: 0.06em;
  margin: 16px 0 6px;
}

.hero .free-line strong {
  color: var(--gold);
  font-weight: inherit;
}

.hero .hero-pack-badge {
  display: inline-block;
  font-family: var(--font-meta);
  font-size: 14px;
  color: var(--gold-dim);
  letter-spacing: 0.08em;
  border: 1.5px solid var(--gold-dim);
  padding: 6px 14px;
  margin: 4px 0 0;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 56px; }
}
@media (min-width: 960px) {
  .hero h1 { font-size: 64px; }
}

/* ── Cards (the canonical pattern) ────────────────────────── */
.card {
  position: relative;
  background: var(--navy-card);
  border: 2px solid var(--gold);
  padding: 24px;
  margin: 0 0 24px;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}

.card.accent-classic::before    { background: var(--pack-classic); }
.card.accent-belle::before      { background: var(--pack-belle); }
.card.accent-haunted::before    { background: var(--pack-haunted); }
.card.accent-underground::before { background: var(--pack-underground); }
.card.accent-future::before     { background: var(--pack-future); }

/* ── Section titles ───────────────────────────────────────── */
h2 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 22px;
  margin: 48px 0 16px;
  letter-spacing: 0.04em;
}

@media (min-width: 640px) {
  h2 { font-size: 28px; }
}

h3 {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.meta {
  font-family: var(--font-meta);
  color: var(--gold-dim);
  font-size: 15px;
  letter-spacing: 0.06em;
}

p { margin: 0 0 12px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-block;
  background: var(--navy-card);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 16px;
  padding: 14px 28px;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: center;
  min-width: 240px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}

.btn:hover {
  background: #11203c;
  color: var(--cream);
}

.btn.disabled,
.btn[aria-disabled="true"] {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  font-size: 18px;
  padding: 18px 36px;
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin: 24px 0;
}

@media (min-width: 640px) {
  .btn-row { flex-direction: row; justify-content: center; }
}

/* ── Notify-me forms ──────────────────────────────────────── */
.notify-intro {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 20px;
}

.notify-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 24px;
}

@media (min-width: 720px) {
  .notify-row { grid-template-columns: 1fr 1fr; }
}

.notify-form {
  background: var(--navy-card);
  border: 2px solid var(--gold);
  padding: 16px;
  position: relative;
}

.notify-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}

.notify-label {
  display: block;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

.notify-input-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 480px) {
  .notify-input-row { flex-direction: row; }
}

.notify-form input[type="email"] {
  flex: 1;
  background: var(--navy);
  border: 1.5px solid var(--gold-dim);
  color: var(--cream);
  font-family: var(--font-meta);
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 10px 12px;
  min-width: 0;
}

.notify-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
}

.notify-form .btn {
  min-width: 0;
  padding: 10px 18px;
  font-size: 14px;
}

/* ── Screenshots strip ────────────────────────────────────── */
.shots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 24px 0 8px;
}

@media (min-width: 640px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .shots { grid-template-columns: repeat(5, 1fr); }
}

/* Each grid cell is a size container so the .phone-frame inside can
   scale its bezel with cqw units (see proportion note below). */
.shots > .shot {
  container-type: inline-size;
}

/* ── Phone frame (device bezel) ───────────────────────────────
   CSS device frame around raw game screenshots.

   PROPORTION RULE: corner radius + bezel padding must scale WITH
   the rendered phone size — reusing one fixed radius makes small
   thumbnails look like fat cartoon frames. We use container-query
   units (cqw = 1% of the container's width), so the bezel stays
   phone-like from a 200px grid thumbnail up to a full-column shot:
     padding 3cqw, outer radius 11cqw, inner radius = outer − pad.
   Requires an ancestor with container-type: inline-size (the .shot
   grid cell above); the px values are the no-container fallback.

   For fixed-size contexts rendered notably smaller, use
   .phone-frame--sm (slimmer paired values, same idea). */
.phone-frame {
  position: relative;
  background: #05080F;            /* near-black navy bezel */
  padding: 8px;                   /* fallback */
  border-radius: 28px;            /* fallback */
  padding: 3cqw;
  border-radius: 11cqw;
  box-shadow:
    0 0 0 1px rgba(196, 153, 42, 0.35),   /* 1px gold rim */
    0 14px 34px rgba(0, 0, 0, 0.55),      /* soft drop shadow */
    0 3px 8px rgba(0, 0, 0, 0.45);
}

.phone-frame picture,
.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;            /* fallback */
  border-radius: 8cqw;            /* outer − padding */
  overflow: hidden;
}

.phone-frame--sm {
  padding: 5px;
  border-radius: 18px;
  padding: 2.4cqw;
  border-radius: 8.5cqw;
}

.phone-frame--sm picture,
.phone-frame--sm img {
  border-radius: 13px;
  border-radius: 6.1cqw;
}

.phone-frame .placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-meta);
  font-size: 14px;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
  text-align: center;
  padding: 12px;
}

/* ── Free Pack 1 banner ───────────────────────────────────── */
.free-banner {
  text-align: center;
  margin: 40px 0;
}

.free-banner h3 {
  color: var(--gold);
  font-size: 22px;
}

.free-banner .meta {
  display: block;
  margin-top: 8px;
}

/* ── Pack carousel ────────────────────────────────────────── */
.packs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .packs { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .packs { grid-template-columns: repeat(5, 1fr); }
}

.pack-card {
  padding: 20px 16px;
}

.pack-card .pack-name {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 16px;
  margin: 0 0 6px;
  letter-spacing: 0.04em;
}

.pack-card .pack-era {
  font-family: var(--font-body);
  color: var(--gold);
  font-size: 13px;
  margin: 0 0 12px;
}

.pack-card .pack-tagline {
  font-family: var(--font-body);
  color: var(--cream);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  margin-top: 64px;
  padding: 32px 20px;
  border-top: 1.5px solid var(--gold);
  background: var(--navy-card);
  font-family: var(--font-body);
  color: var(--dim);
  font-size: 14px;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

footer .col a { display: inline-block; margin-right: 12px; }
footer .col.right { text-align: left; }

@media (min-width: 640px) {
  footer .col.right { text-align: right; }
}

/* ── Press kit page ───────────────────────────────────────── */
.press-list, .press-numbered {
  padding-left: 22px;
  color: var(--cream);
}

.press-list li, .press-numbered li {
  margin: 0 0 8px;
}

.press-list strong, .press-numbered strong {
  color: var(--gold);
}

.hook-card .hook {
  font-family: var(--font-body);
  color: var(--cream);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

/* ── Privacy page ─────────────────────────────────────────── */
.legal h1 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 32px;
  letter-spacing: 0.04em;
  margin: 24px 0 24px;
}

.legal h2 {
  margin-top: 32px;
  font-size: 20px;
}

.legal p, .legal li {
  color: var(--cream);
}

