/* ============================================================
   WIZKITTY — Marketing site styles
   Visual language pulled from the in-game style-16x9.css:
   - Cinzel serif for display, Inter for body
   - Cream + amber-gold palette over dark mystical purple/teal
   - Two CTA variants: "tower" (gold) and "forest" (purple)
   ============================================================ */

:root {
  /* Base / neutrals */
  --bg-deep: #0a0810;
  --bg-1: #14101a;
  --bg-2: #1a1626;
  --bg-3: #221d30;
  --line: rgba(196, 138, 46, 0.22);
  --line-strong: rgba(196, 138, 46, 0.55);

  /* Text */
  --cream: #f0e6d0;
  --cream-muted: #c0b8a8;
  --gold: #c48a2e;
  --gold-soft: #c0a870;
  --gold-bright: #dca03c;

  /* Tower (gold/orange) — primary path */
  --tower-grad: linear-gradient(180deg, rgba(196, 138, 46, 0.92), rgba(160, 112, 32, 0.92) 50%, rgba(138, 96, 32, 0.92));
  --tower-grad-hover: linear-gradient(180deg, rgba(220, 160, 60, 0.95), rgba(180, 130, 40, 0.95) 50%, rgba(155, 110, 36, 0.95));
  --tower-border: #c48a2e;
  --tower-glow: rgba(220, 160, 60, 0.45);

  /* Forest (purple) — secondary path */
  --forest-grad: linear-gradient(180deg, rgba(100, 60, 160, 0.85) 0%, rgba(60, 30, 100, 0.92) 100%);
  --forest-grad-hover: linear-gradient(180deg, rgba(125, 80, 185, 0.92) 0%, rgba(80, 42, 125, 0.96) 100%);
  --forest-border: rgba(180, 140, 220, 0.78);
  --forest-text: #e0d0f0;
  --forest-glow: rgba(160, 120, 220, 0.5);

  /* Workshop (teal-leaning highlight for the 3rd pillar) */
  --workshop-glow: rgba(120, 200, 220, 0.35);

  /* Layout */
  --max-w: 1200px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Type */
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Motion */
  --easing: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: color 0.18s var(--easing);
}
a:hover { color: var(--cream); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: #14101a url('images/title.png') center/cover no-repeat;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 30%, transparent 60%, rgba(10,8,16,0.85) 100%);
  pointer-events: none;
  z-index: 2;
}

/* --- nav: sticky, floats over content with frosted-glass backdrop --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px var(--gutter);
  background: rgba(10, 8, 16, 0.65);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(196, 138, 46, 0.15);
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--cream);
  text-shadow: 0 0 16px rgba(200, 160, 80, 0.35), 0 2px 6px rgba(0,0,0,0.7);
  flex: 0 0 auto;
}
.nav-brand:hover { color: var(--cream); filter: brightness(1.1); }

/* Right-side store row. iOS/Android slots ready to enable when mobile ships. */
.nav-stores {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
.nav-store {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(20, 16, 14, 0.7);
  border: 1px solid rgba(196, 138, 46, 0.4);
  border-radius: 5px;
  transition: all 0.18s var(--easing);
  white-space: nowrap;
}
.nav-store:hover {
  background: rgba(40, 28, 14, 0.9);
  border-color: var(--gold-bright);
  color: var(--cream);
  box-shadow: 0 0 16px var(--tower-glow);
}
.nav-store svg { display: block; }
.nav-store .pulse-dot {
  width: 7px;
  height: 7px;
}
.nav-store-kickstarter {
  border-color: var(--forest-border);
}
.nav-store-kickstarter:hover {
  border-color: #c8a0ff;
  box-shadow: 0 0 16px var(--forest-glow);
}

/* --- hero content --- */
.hero-inner {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px var(--gutter) 64px; /* top padding clears the fixed nav */
  gap: clamp(20px, 2.6vw, 32px);
}

.hero-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Mascot sits to the left of the WIZKITTY wordmark only. Subtitle drops to its
   own full-width line below. flex-wrap so mascot tucks above on narrow screens. */
.hero-title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(14px, 2.2vw, 32px);
}

.hero-mascot {
  width: clamp(96px, 11vw, 150px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,0.6)) drop-shadow(0 0 36px rgba(160, 120, 220, 0.3));
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 8.5vw, 116px);
  margin: 0;
  letter-spacing: clamp(2px, 0.6vw, 6px);
  color: var(--cream);
  text-shadow:
    0 0 50px rgba(200, 160, 80, 0.45),
    0 4px 14px rgba(0, 0, 0, 0.85),
    0 0 90px rgba(180, 140, 60, 0.25);
  line-height: 1;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 34px);
  margin: 10px 0 0;
  letter-spacing: clamp(1px, 0.25vw, 3px);
  color: var(--gold-soft);
  text-shadow: 0 2px 8px rgba(0,0,0,0.85), 0 0 24px rgba(180, 140, 60, 0.18);
  max-width: 800px;
}

/* Lead tagline under the CTAs — three centered beats, verbs in cream Cinzel
   with wide tracking, objects in italic gold with a soft glow. No bullets. */
.hero-tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.hero-tagline p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 3px;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0,0,0,0.85), 0 0 30px rgba(200, 160, 80, 0.12);
}
.hero-tagline em {
  font-style: italic;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 1.5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.85), 0 0 22px rgba(220, 160, 60, 0.4);
}

.hero-ctas {
  display: flex;
  gap: 18px;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

/* Trailer card embedded in the hero. Sized to coexist with title + tagline + CTAs
   in a single viewport. Click → lightbox shows it bigger, so the inline version
   can stay compact. The standalone .trailer-section was removed. */
.hero .trailer-card {
  width: 100%;
  max-width: min(680px, 56vw);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .hero .trailer-card { max-width: 100%; }
}

@keyframes mascot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 2px;
  height: 56px;
  display: block;
}
.hero-scroll-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--gold-bright));
  opacity: 0.7;
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 0.85; transform: scaleY(1); transform-origin: top; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 2px solid;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s var(--easing);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 240px;
  text-decoration: none;
}
.btn-tower {
  background: var(--tower-grad);
  border-color: var(--tower-border);
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.65);
  box-shadow: 0 0 28px var(--tower-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-tower:hover {
  background: var(--tower-grad-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 48px var(--tower-glow), inset 0 1px 0 rgba(255,255,255,0.2);
  color: #fff;
}

.btn-forest {
  background: var(--forest-grad);
  border-color: var(--forest-border);
  color: var(--forest-text);
  text-shadow: 0 2px 8px rgba(0,0,0,0.65);
  box-shadow: 0 0 24px var(--forest-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-forest:hover {
  background: var(--forest-grad-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 44px var(--forest-glow), inset 0 1px 0 rgba(255,255,255,0.15);
  color: #fff;
}

.btn-compact {
  padding: 12px 22px;
  min-width: 0;
  flex-direction: row;
  gap: 10px;
  font-size: 14px;
}

/* Hero/conversion CTAs: single-line label, optional inline pulse-dot indicator. */
.btn-hero {
  flex-direction: row;
  gap: 12px;
  font-size: clamp(15px, 1.55vw, 19px);
  padding: 16px 36px;
}

/* "LIVE" pulse — used on the Kickstarter button to signal an active campaign. */
.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5b5b;
  box-shadow: 0 0 0 0 rgba(255, 91, 91, 0.7);
  animation: pulse-ring 1.8s ease-out infinite;
  flex: 0 0 auto;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(255, 91, 91, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 91, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 91, 91, 0); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  position: relative;
  padding: clamp(64px, 10vw, 140px) 0;
}
.section + .section { border-top: 1px solid var(--line); }

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.5vw, 56px);
  letter-spacing: clamp(1px, 0.25vw, 3px);
  color: var(--cream);
  margin: 0 0 8px;
  line-height: 1.15;
  text-shadow: 0 0 30px rgba(200, 160, 80, 0.18), 0 2px 6px rgba(0,0,0,0.6);
}
.section-title.centered { text-align: center; }

.section-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--cream-muted);
  margin: 0 0 48px;
  max-width: 720px;
}
.section-sub.centered { text-align: center; margin-left: auto; margin-right: auto; }

/* ============================================================
   TRAILER CARD (embedded in hero)
   ============================================================ */
.trailer-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--line-strong);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    0 0 60px rgba(140, 100, 200, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.07);
  background: #0a0810;
  cursor: zoom-in;
  transition: transform 0.25s var(--easing), box-shadow 0.25s var(--easing), border-color 0.25s var(--easing);
}
.trailer-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
  box-shadow:
    0 36px 90px rgba(0,0,0,0.6),
    0 0 80px var(--tower-glow),
    inset 0 1px 0 rgba(255,255,255,0.1);
}
.trailer-card:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.trailer-poster {
  position: absolute;
  inset: 0;
  background: url('images/title.png') center/cover no-repeat;
  filter: brightness(0.55) saturate(1.1);
}
.trailer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.trailer-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px solid var(--gold-bright);
  background: rgba(20, 16, 14, 0.78);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 40px var(--tower-glow);
  transition: transform 0.25s var(--easing), background 0.25s var(--easing);
}
.trailer-play svg { margin-left: 4px; }
.trailer-card:hover .trailer-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(40, 28, 14, 0.85);
}

.trailer-badge {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cream-muted);
  background: rgba(10, 8, 16, 0.78);
  border: 1px solid var(--line-strong);
  padding: 7px 16px;
  border-radius: 999px;
  z-index: 2;
}

/* ============================================================
   PREMISE
   ============================================================ */
.premise-section {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(80, 50, 130, 0.18), transparent 60%),
    var(--bg-1);
}
.premise-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
/* Genre-veteran headline — spans full width, centered above the content+art grid.
   Longer copy than a typical title, so size scales down. Game names get italic
   gold emphasis. */
.premise-headline {
  font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: 1px;
  line-height: 1.4;
  max-width: 960px;
  margin: 0 auto 56px;
}
.premise-headline em {
  font-style: italic;
  font-weight: 700;
  color: var(--gold-bright);
  text-shadow: 0 0 18px rgba(220, 160, 60, 0.35), 0 2px 6px rgba(0,0,0,0.6);
}

/* The genre claim sits right after the headline as a confident lead. */
.premise-copy .premise-lead {
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.5px;
  line-height: 1.55;
  margin: 0 0 24px;
}
.premise-copy .premise-lead strong {
  color: var(--gold-bright);
  font-weight: 700;
}

.premise-copy p {
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--cream);
  margin: 0 0 20px;
  line-height: 1.65;
}
.premise-copy em { color: var(--gold-soft); font-style: italic; }
.premise-copy strong { color: var(--cream); font-weight: 600; }
.premise-kicker {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 23px) !important;
  color: var(--gold-bright) !important;
  letter-spacing: 1px;
  font-weight: 400;
  text-shadow: 0 0 24px rgba(200, 160, 80, 0.25);
}
.premise-art {
  display: flex;
  justify-content: center;
}
.premise-art img {
  max-width: 320px;
  width: 100%;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.6)) drop-shadow(0 0 60px rgba(160, 120, 220, 0.25));
  animation: mascot-float 6s ease-in-out infinite;
}

/* ============================================================
   PILLARS / FEATURES
   ============================================================ */
.features-section {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(60, 40, 110, 0.2), transparent 55%),
    var(--bg-1);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.feature-card {
  position: relative;
  background: linear-gradient(180deg, rgba(28, 22, 38, 0.85), rgba(18, 14, 26, 0.85));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 28px;
  transition: transform 0.25s var(--easing), border-color 0.25s var(--easing), box-shadow 0.25s var(--easing);
  overflow: hidden;
}

/* Primary card spans both columns — visually anchors the section. */
.feature-primary {
  grid-column: 1 / -1;
  padding: clamp(36px, 4vw, 52px) clamp(28px, 3.5vw, 44px);
  background:
    radial-gradient(ellipse at top right, rgba(196, 138, 46, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(38, 28, 18, 0.88), rgba(22, 16, 10, 0.88));
  border-color: var(--line-strong);
}
.feature-primary .feature-title {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 6px;
}
/* Tower card carries a sentence-length subtext, so override the small uppercase
   tag style the other cards use. */
.feature-primary .feature-tag {
  font-size: clamp(18px, 1.9vw, 24px);
  letter-spacing: 0.5px;
  text-transform: none;
  font-style: italic;
  color: var(--gold-soft);
  margin-bottom: 24px;
  max-width: 720px;
  line-height: 1.45;
}
.feature-primary .feature-body {
  font-size: clamp(17px, 1.55vw, 19px);
  max-width: 760px;
  line-height: 1.7;
}
.feature-primary .feature-icon { margin-bottom: 22px; }
.feature-bullets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 32px;
}
@media (max-width: 540px) {
  .feature-bullets-grid { grid-template-columns: 1fr; }
}

.feature-badge-primary {
  background: linear-gradient(180deg, var(--gold-bright), #b07a26) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px var(--tower-glow) !important;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(180deg, var(--line-strong), transparent 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-bright);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 50px rgba(196, 138, 46, 0.22);
}

/* Banner art slot at the top of each card. Bleeds to card edges via negative
   margins. Shows a styled placeholder ("ART") until the image file exists; the
   img's onerror handler hides itself so the placeholder remains visible. */
.feature-banner {
  position: relative;
  margin: -36px -28px 24px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(196, 138, 46, 0.04) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border-bottom: 1px solid var(--line);
}
.feature-banner::before {
  content: "ART";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--cream-muted);
  opacity: 0.35;
  z-index: 1;
}
.feature-banner img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Primary card has more padding, so its banner needs proportionally larger negatives. */
.feature-primary .feature-banner {
  margin-top: calc(-1 * clamp(36px, 4vw, 52px));
  margin-left: calc(-1 * clamp(28px, 3.5vw, 44px));
  margin-right: calc(-1 * clamp(28px, 3.5vw, 44px));
  margin-bottom: 28px;
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: 2px;
  margin: 0 0 4px;
  color: var(--cream);
}
.feature-tag {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 20px;
}
.feature-daily .feature-tag { color: #c8a0ff; }
.feature-workshop .feature-tag { color: #9adfe6; }

.feature-body {
  font-size: clamp(16px, 1.4vw, 17px);
  color: var(--cream);
  margin: 0 0 20px;
  line-height: 1.65;
}
.feature-body strong { color: var(--gold-bright); font-weight: 600; }

.feature-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--cream-muted);
  line-height: 1.5;
}
.feature-bullets li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold-bright);
  font-size: 10px;
  top: 4px;
}

.feature-workshop {
  background: linear-gradient(180deg, rgba(28, 38, 48, 0.88), rgba(18, 22, 30, 0.88));
}
.feature-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0a0810;
  background: linear-gradient(180deg, #9adfe6, #6cc4cd);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(140, 220, 230, 0.4);
}

/* ============================================================
   SCREENSHOTS
   ============================================================ */
.screenshots-section {
  background: var(--bg-1);
}
.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 32px auto 0;
}

/* Decorative divider between screenshot tiles — thin gold rule + ornament,
   matching the in-game UI's panel separators. */
.screenshot-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  user-select: none;
}
.screenshot-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 138, 46, 0.55), transparent);
}
.screenshot-divider-ornament {
  color: var(--gold-bright);
  font-size: 12px;
  line-height: 1;
  text-shadow: 0 0 14px var(--tower-glow);
}
.screenshot-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0810;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.25s var(--easing), border-color 0.25s var(--easing), box-shadow 0.25s var(--easing);
}
.screenshot-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.screenshot-tile:hover {
  transform: translateY(-3px);
  border-color: var(--gold-bright);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px var(--tower-glow);
}
.screenshot-tile:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}
.screenshot-caption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(10, 8, 16, 0.82);
  padding: 7px 14px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  pointer-events: none;
}

/* Image variant of the lightbox-body (when a screenshot tile is opened, not the
   trailer). Drops the 16:9 lock so non-16:9 images don't get letterboxed weirdly. */
.lightbox-body.lightbox-body-image {
  aspect-ratio: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.lightbox-body img.lightbox-image {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 200px);
  max-height: calc(100svh - 200px);
  object-fit: contain;
  display: block;
  border-radius: 8px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 80px var(--tower-glow);
}

/* ============================================================
   CONVERSION STRIP
   ============================================================ */
.conversion-section {
  background:
    radial-gradient(ellipse at center, rgba(80, 50, 130, 0.25), transparent 70%),
    var(--bg-1);
}
.conversion-inner {
  text-align: center;
}
.conversion-ctas {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0 56px;
}

.signup-card {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 44px);
  background: linear-gradient(180deg, rgba(28, 22, 38, 0.78), rgba(18, 14, 26, 0.78));
  border: 1px solid var(--line);
  border-radius: 14px;
}
.signup-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 34px);
  color: var(--cream);
  margin: 0 0 12px;
  letter-spacing: 1px;
  line-height: 1.25;
}
.signup-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--cream-muted);
  margin: 0 0 24px;
  line-height: 1.6;
}
.signup-label {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.signup-row {
  display: flex;
  gap: 10px;
}
.signup-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 18px);
  padding: 16px 18px;
  background: rgba(10, 8, 16, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--cream);
  outline: none;
  transition: border-color 0.18s var(--easing), box-shadow 0.18s var(--easing);
}
.signup-row .btn-compact {
  padding: 16px 28px;
  font-size: clamp(14px, 1.2vw, 16px);
}
.signup-input::placeholder { color: rgba(192, 184, 168, 0.5); }
.signup-input:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(220, 160, 60, 0.18);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: var(--bg-1);
}
.faq-section .container { max-width: 800px; }

/* ============================================================
   PRESS
   ============================================================ */
.press-section {
  background: var(--bg-1);
}
.press-block {
  max-width: 720px;
  margin: 24px auto 0;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 44px);
  background: linear-gradient(180deg, rgba(28, 22, 38, 0.78), rgba(18, 14, 26, 0.78));
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
}
.press-block .press-intro {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--cream);
  line-height: 1.65;
  margin: 0 0 32px;
}
.press-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream-muted);
}
.form-optional {
  color: var(--cream-muted);
  opacity: 0.7;
  text-transform: none;
  letter-spacing: 1px;
  font-size: 11px;
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 17px);
  padding: 13px 15px;
  background: rgba(10, 8, 16, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--cream);
  outline: none;
  transition: border-color 0.18s var(--easing), box-shadow 0.18s var(--easing);
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(192, 184, 168, 0.5);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(220, 160, 60, 0.18);
}
.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
.form-status {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.4vw, 17px);
  letter-spacing: 1px;
  color: var(--gold-bright);
  margin: 8px 0 0;
  text-shadow: 0 0 16px rgba(220, 160, 60, 0.3);
}
.form-status.error {
  color: #ff8a8a;
  text-shadow: none;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
.faq-item {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 21px);
  letter-spacing: 1.5px;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 4px;
  transition: color 0.2s var(--easing);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--gold-bright);
  font-size: 24px;
  transition: transform 0.25s var(--easing);
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold-bright); }
.faq-item p {
  margin: 10px 4px 8px;
  color: var(--cream-muted);
  font-size: clamp(16px, 1.4vw, 17px);
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-mascot {
  width: 64px;
  height: 64px;
}
.footer-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--cream);
}
.footer-tag {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--cream-muted);
  letter-spacing: 1px;
  margin-top: 2px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(20, 16, 26, 0.6);
  color: var(--cream-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s var(--easing);
}
.social:hover {
  color: var(--cream);
  border-color: var(--gold-bright);
  background: rgba(40, 28, 14, 0.7);
  box-shadow: 0 0 18px var(--tower-glow);
  transform: translateY(-2px);
}

.footer-meta {
  text-align: right;
  font-size: 14px;
  color: var(--cream-muted);
}
.footer-meta p { margin: 0 0 4px; }
.footer-fine { font-size: 12px; opacity: 0.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .premise-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .premise-art { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-socials { justify-content: center; }
  .footer-meta { text-align: center; }
}

@media (max-width: 720px) {
  .site-nav { padding: 10px 16px; gap: 10px; }
  .nav-brand { font-size: 18px; }
  .nav-store { padding: 6px 10px; font-size: 11px; letter-spacing: 1px; gap: 6px; }

  .hero { min-height: auto; }
  .hero-inner { padding: 56px var(--gutter) 48px; gap: 24px; }
  .hero-ctas { gap: 12px; flex-direction: column; width: 100%; max-width: 320px; }
  .btn { width: 100%; min-width: 0; }

  .screenshot-grid { grid-template-columns: 1fr; }

  .signup-row { flex-direction: column; }
  .signup-row .btn { width: 100%; }
}

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

/* ============================================================
   LIGHTBOX (trailer)
   ============================================================ */
body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 56px);
  background: rgba(4, 2, 8, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.22s var(--easing);
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }

.lightbox-content {
  position: relative;
  width: min(1280px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: scale(0.96);
  transition: transform 0.22s var(--easing);
}
.lightbox.open .lightbox-content { transform: scale(1); }

.lightbox-body {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 200px);
  max-height: calc(100svh - 200px);
  border-radius: 12px;
  overflow: hidden;
  background: #0a0810;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 80px var(--tower-glow);
}

.lightbox-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 540px) {
  .lightbox-ctas { width: 100%; flex-direction: column; }
  .lightbox-ctas .btn { width: 100%; }
}
.lightbox-body iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(20, 16, 14, 0.85);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s var(--easing);
}
.lightbox-close:hover {
  background: rgba(40, 28, 14, 0.95);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 0 0 20px var(--tower-glow);
}
.lightbox-close:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* Placeholder content shown in the lightbox when there's no real trailer iframe yet. */
.lightbox-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  background: url('images/title.png') center/cover no-repeat;
}
.lightbox-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.lightbox-placeholder-msg {
  position: relative;
  z-index: 1;
  align-self: end;
  text-align: center;
  padding: clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-placeholder-msg h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: 2px;
  color: var(--cream);
  margin: 0;
  text-shadow: 0 0 30px rgba(200, 160, 80, 0.45), 0 4px 14px rgba(0,0,0,0.85);
}
.lightbox-placeholder-msg p {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--cream-muted);
  margin: 0;
  max-width: 520px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.85);
}
