/* ═══════════════════════════════════════════════════════
   KIVORA — One-Pager
   Design system from "Elegantes Fantasy-UI-Design für Kivora"
   Midnight Blue · Charcoal · Gold · Ivory · Bronze · Arcane Blue
   Cinzel (display) · Inter (body)
   ═══════════════════════════════════════════════════════ */

/* Self-hosted fonts (GDPR-safe — no requests to Google) */
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/cinzel-var.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-var.woff2") format("woff2");
}

:root {
  --midnight:  #0B1323;
  --midnight-2:#0E1830;
  --charcoal:  #14171E;
  --gold:      #D4AF37;
  --gold-soft: #E8CD7A;
  --gold-dim:  rgba(212, 175, 55, 0.35);
  --gold-faint:rgba(212, 175, 55, 0.14);
  --ivory:     #F4F1EA;
  --ivory-dim: rgba(244, 241, 234, 0.72);
  --ivory-faint:rgba(244, 241, 234, 0.45);
  --bronze:    #8A6E3D;
  --arcane:    #3A6EA6;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --radius: 14px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--midnight);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

::selection { background: var(--gold); color: var(--midnight); }

/* ── Scrollbar (subtle, game-like) ── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: var(--bronze); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ═══════════ PRELOADER ═══════════ */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--midnight);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 34px;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  width: min(300px, 60vw);
  filter: drop-shadow(0 0 24px rgba(212,175,55,0.35));
  animation: preloader-pulse 2s ease-in-out infinite;
}
@keyframes preloader-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}
.preloader-line {
  width: min(220px, 50vw); height: 1px;
  background: rgba(212,175,55,0.2);
  overflow: hidden; position: relative;
}
.preloader-line span {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: preloader-sweep 1.4s ease-in-out infinite;
}
@keyframes preloader-sweep {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* ═══════════ ORNAMENT DIVIDER ═══════════ */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 22px auto 26px;
}
.ornament span {
  height: 1px; width: 90px;
  background: linear-gradient(90deg, transparent, var(--gold-dim));
}
.ornament span:last-child {
  background: linear-gradient(90deg, var(--gold-dim), transparent);
}
.ornament i {
  color: var(--gold); font-style: normal; font-size: 13px;
  text-shadow: 0 0 12px rgba(212,175,55,0.6);
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 8px;
  border: 1px solid var(--gold-dim);
  transition: all 0.35s var(--ease);
  position: relative;
}
.btn-primary {
  background: linear-gradient(160deg, #E4C05C, var(--gold) 55%, #A8842A);
  color: #1a1405;
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.25), 0 6px 24px rgba(212,175,55,0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.5), 0 10px 34px rgba(212,175,55,0.35);
}
.btn-ghost {
  color: var(--gold-soft);
  background: rgba(212,175,55,0.06);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(212,175,55,0.12);
  box-shadow: 0 0 24px rgba(212,175,55,0.15);
}
.btn-big { padding: 19px 48px; font-size: 15px; }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
  padding: 6px 0;
}
.nav.scrolled {
  background: rgba(11, 19, 35, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(212,175,55,0.18), 0 10px 30px rgba(0,0,0,0.35);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 10px 28px;
  display: flex; align-items: center; gap: 30px;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links {
  display: flex; gap: 26px; margin-left: auto;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ivory-dim);
  padding: 6px 2px;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.35s var(--ease), left 0.35s var(--ease);
  box-shadow: 0 0 8px rgba(212,175,55,0.8);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-soft); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; left: 0; }
/* "Play Demo" als Gold-Pill-Button — führt direkt zu /play/ */
.nav-links a.nav-play {
  color: #1a1204; font-weight: 600;
  background: linear-gradient(180deg, #f2df9a, #d4af37);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 8px 18px; border-radius: 100px;
  box-shadow: 0 4px 14px rgba(212,175,55,0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, filter 0.25s ease;
}
.nav-links a.nav-play::after { display: none; }
.nav-links a.nav-play:hover, .nav-links a.nav-play.active {
  color: #1a1204; filter: brightness(1.06); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212,175,55,0.45);
}
.btn-nav { padding: 11px 22px; font-size: 12px; }
.nav-social { display: flex; align-items: center; gap: 14px; margin-left: 4px; }
.nav-social a { display: flex; padding: 4px; }
.nav-social svg {
  width: 20px; height: 20px;
  fill: #fff; opacity: 0.82;
  transition: fill 0.3s, opacity 0.3s, transform 0.3s var(--ease);
}
.nav-social a:hover svg {
  fill: var(--gold-soft); opacity: 1;
  transform: translateY(-2px);
}
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav-burger span { width: 24px; height: 2px; background: var(--gold); transition: 0.3s; border-radius: 2px; }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center 40%, rgba(11,19,35,0.15) 0%, rgba(11,19,35,0.72) 78%),
    linear-gradient(to bottom, rgba(11,19,35,0.55) 0%, rgba(11,19,35,0.25) 30%, rgba(11,19,35,0.4) 70%, var(--midnight) 100%);
}
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-content {
  position: relative; z-index: 2;
  padding: 130px 24px 90px;
  max-width: 900px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-soft);
  text-shadow: 0 0 18px rgba(212,175,55,0.5);
  margin-bottom: 26px;
}
.hero-logo {
  width: min(430px, 74vw); margin: 0 auto;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,0.6)) drop-shadow(0 0 34px rgba(212,175,55,0.22));
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4.6vw, 46px);
  line-height: 1.32;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 26px rgba(0,0,0,0.7);
}
.hero-title em {
  font-style: normal; color: var(--gold-soft);
  text-shadow: 0 0 26px rgba(212,175,55,0.55);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ivory-dim);
  max-width: 560px; margin: 22px auto 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.8);
}
.hero-sub strong { color: var(--ivory); font-weight: 600; }
.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero-note {
  margin-top: 34px;
  font-size: 13px; color: var(--ivory-faint);
  letter-spacing: 0.04em;
}
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 26px; height: 42px;
  border: 1.5px solid var(--gold-dim); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
  transition: border-color 0.3s;
}
.scroll-hint:hover { border-color: var(--gold); }
.scroll-hint-wheel {
  width: 3px; height: 8px; border-radius: 2px;
  background: var(--gold);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ═══════════ SECTIONS (shared) ═══════════ */
.section { padding: 110px 0; position: relative; }
.section-eyebrow {
  font-family: var(--font-display);
  text-align: center;
  font-size: 12.5px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--bronze);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  text-align: center;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.03em;
  margin-top: 12px;
  line-height: 1.25;
}
.section-title em { font-style: normal; color: var(--gold-soft); }
.section-intro {
  text-align: center;
  max-width: 660px; margin: 0 auto;
  color: var(--ivory-dim);
  font-size: 17.5px;
}
.media-caption, figcaption {
  font-size: 12.5px; color: var(--ivory-faint);
  letter-spacing: 0.06em;
}

/* ═══════════ ABOUT ═══════════ */
.section-about {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(58,110,166,0.08), transparent),
    var(--midnight);
}
.about-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 54px; align-items: center;
  margin-top: 44px;
}
.about-text p + p { margin-top: 18px; }
.about-text strong { color: var(--gold-soft); font-weight: 600; }
.about-vision {
  border-left: 2px solid var(--gold-dim);
  padding-left: 20px;
  color: var(--ivory-dim);
  font-style: italic;
}
.about-media { position: relative; }
.about-media video {
  border-radius: var(--radius);
  border: 1px solid rgba(212,175,55,0.22);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(212,175,55,0.06);
}
.about-media .media-caption {
  position: absolute; bottom: 14px; left: 16px;
  background: rgba(11,19,35,0.75); backdrop-filter: blur(6px);
  padding: 5px 12px; border-radius: 6px;
  border: 1px solid rgba(212,175,55,0.2);
}
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; margin-top: 74px;
}
.pillar {
  text-align: center;
  padding: 38px 26px;
  background: linear-gradient(180deg, rgba(244,241,234,0.03), rgba(244,241,234,0.008));
  border: 1px solid rgba(212,175,55,0.16);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.45);
  box-shadow: 0 18px 44px rgba(0,0,0,0.4), 0 0 30px rgba(212,175,55,0.08);
}
.pillar img {
  width: 64px; height: 64px; object-fit: contain; margin: 0 auto 16px;
  filter: drop-shadow(0 0 14px rgba(212,175,55,0.35));
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 10px;
}
.pillar p { font-size: 15px; color: var(--ivory-dim); }

/* ═══════════ WORLD MAP + BIOMES ═══════════ */
.section-world { background: var(--midnight-2); }
.worldmap {
  position: relative;
  margin-top: 50px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.25);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.worldmap img { width: 100%; transition: transform 8s var(--ease); transform: scale(1.02); }
.worldmap:hover img { transform: scale(1.06); }
.map-pin {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.pin-dot {
  display: block; width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid rgba(11,19,35,0.85);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.35), 0 0 18px rgba(212,175,55,0.8);
  cursor: pointer;
  position: relative;
}
.pin-dot::before {
  content: ""; position: absolute; inset: -9px;
  border: 1.5px solid rgba(212,175,55,0.55);
  border-radius: 50%;
  animation: pin-pulse 2.4s ease-out infinite;
}
@keyframes pin-pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.pin-label {
  position: absolute; bottom: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(11,19,35,0.92);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 8px;
  padding: 9px 16px;
  white-space: nowrap;
  font-size: 12.5px; color: var(--ivory-dim);
  text-align: center; line-height: 1.5;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.pin-label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px; letter-spacing: 0.08em;
  color: var(--gold-soft);
}
.map-pin:hover .pin-label { opacity: 1; transform: translateX(-50%) translateY(0); }
.biome-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 54px;
}
.biome-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.16);
  background: var(--charcoal);
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.biome-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 22px 50px rgba(0,0,0,0.5), 0 0 34px rgba(212,175,55,0.1);
}
.biome-card video { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.biome-card figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(11,19,35,0.95), transparent);
}
.biome-card figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--ivory);
}
.biome-card figcaption span { font-size: 13px; color: var(--ivory-dim); }

/* ═══════════ VORA SHOWCASE ═══════════ */
.section-vora {
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(58,110,166,0.07), transparent),
    var(--midnight);
  padding-bottom: 90px;
}
.vora-lines {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.9;
  color: var(--ivory-dim);
  margin: 38px auto 0;
}
.vora-showcase { margin-top: 56px; }
.vora-stage {
  position: relative;
  max-width: 1320px; margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16/8.2;
  border-top: 1px solid rgba(212,175,55,0.25);
  border-bottom: 1px solid rgba(212,175,55,0.25);
  background: var(--charcoal);
}
@media (min-width: 1340px) { .vora-stage { border-radius: var(--radius); border: 1px solid rgba(212,175,55,0.25); } }
.vora-stage > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  animation: vora-kenburns 18s ease-in-out infinite alternate;
  transition: opacity 0.45s ease;
}
.vora-stage > img.switching { opacity: 0; }
@keyframes vora-kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.vora-stage-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,19,35,0.9) 0%, rgba(11,19,35,0.62) 34%, rgba(11,19,35,0.1) 60%, transparent 75%);
}
.vora-info {
  position: absolute; top: 50%; left: clamp(24px, 5vw, 72px);
  transform: translateY(-50%);
  max-width: 420px;
  z-index: 2;
}
.vora-info.switching .vora-anim { opacity: 0; transform: translateY(14px); }
.vora-no {
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bronze);
}
.vora-name {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600; letter-spacing: 0.04em;
  color: var(--ivory);
  text-shadow: 0 0 34px rgba(212,175,55,0.25), 0 3px 20px rgba(0,0,0,0.8);
  line-height: 1.1;
  margin: 4px 0 14px;
}
.vora-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.badge {
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(244,241,234,0.25);
  color: var(--ivory-dim);
  background: rgba(11,19,35,0.5);
  backdrop-filter: blur(4px);
}
.badge-gold {
  border-color: rgba(212,175,55,0.55);
  color: var(--gold-soft);
  background: rgba(212,175,55,0.1);
  box-shadow: 0 0 16px rgba(212,175,55,0.12);
}
.vora-meta { list-style: none; display: flex; gap: 34px; margin-bottom: 16px; }
.vora-meta span {
  display: block;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ivory-faint);
}
.vora-meta strong {
  font-family: var(--font-display);
  font-size: 15.5px; font-weight: 500;
  color: var(--gold-soft);
}
.vora-desc {
  font-size: 15.5px; color: var(--ivory-dim);
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.vora-starter {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 14px rgba(212,175,55,0.5);
}
.vora-starter[hidden] { display: none; }
.vora-anim { transition: opacity 0.4s ease, transform 0.4s var(--ease); }
.vora-nav {
  position: absolute; right: clamp(18px, 3vw, 40px); bottom: clamp(18px, 3vw, 34px);
  display: flex; gap: 12px; z-index: 3;
}
.vora-nav button {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.45);
  background: rgba(11,19,35,0.6);
  backdrop-filter: blur(6px);
  color: var(--gold-soft);
  font-size: 18px;
  transition: all 0.3s var(--ease);
}
.vora-nav button:hover {
  background: rgba(212,175,55,0.18);
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
  transform: translateY(-2px);
}
.vora-rail {
  display: flex; gap: 12px;
  max-width: 1320px;
  margin: 22px auto 0;
  padding: 6px 28px 14px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.vora-thumb {
  flex: 0 0 auto;
  width: 104px; height: 76px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(244,241,234,0.14);
  position: relative;
  padding: 0;
  transition: all 0.3s var(--ease);
  opacity: 0.6;
}
.vora-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 76% 42%;
}
.vora-thumb::after {
  content: attr(data-name);
  position: absolute; inset: auto 0 0 0;
  font-family: var(--font-display);
  font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center;
  color: var(--ivory);
  background: linear-gradient(to top, rgba(11,19,35,0.9), transparent);
  padding: 12px 2px 3px;
}
.vora-thumb:hover { opacity: 1; transform: translateY(-3px); }
.vora-thumb.active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(212,175,55,0.4);
}
.vora-thumb-locked {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  background: rgba(244,241,234,0.03);
  border-style: dashed;
  cursor: default;
  opacity: 0.55;
}
.vora-thumb-locked:hover { transform: none; opacity: 0.8; }

/* ═══════════ LOCK STYLING (game-like) ═══════════ */
.lock-icon svg {
  width: 22px; height: 22px;
  fill: var(--gold-dim);
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.3));
}
.lock-text {
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--ivory-faint);
}

/* ═══════════ STARTER DREAM ═══════════ */
.section-starter { background: var(--midnight-2); }
.starter-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 54px; align-items: center;
  margin-top: 48px;
}
.starter-text p + p { margin-top: 18px; }
.starter-text strong { color: var(--gold-soft); font-weight: 600; }
.starter-quote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 2px solid var(--gold);
  background: rgba(212,175,55,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 20px; line-height: 1.6;
  color: var(--ivory);
}
.starter-quote em {
  font-style: normal; color: var(--gold-soft);
  text-shadow: 0 0 16px rgba(212,175,55,0.4);
}
.dev-hint { font-size: 13.5px; color: var(--ivory-faint); }
.starter-media { display: grid; gap: 20px; }
.starter-media figure {
  position: relative;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(212,175,55,0.22);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}
.starter-media figcaption {
  position: absolute; bottom: 12px; left: 14px;
  background: rgba(11,19,35,0.78); backdrop-filter: blur(6px);
  padding: 5px 12px; border-radius: 6px;
  border: 1px solid rgba(212,175,55,0.2);
}
.starter-question { transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.starter-question:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 26px 60px rgba(0,0,0,0.55), 0 0 40px rgba(212,175,55,0.08);
}

/* ═══════════ PACT ═══════════ */
.section-pact { overflow: hidden; padding: 130px 0; }
.pact-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.pact-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--midnight) 0%, rgba(11,19,35,0.82) 18%, rgba(11,19,35,0.82) 82%, var(--midnight) 100%);
}
.pact-content { position: relative; z-index: 2; }
.pact-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 54px;
}
.pact-step {
  text-align: center;
  padding: 36px 26px;
  background: rgba(11,19,35,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.pact-step:hover { transform: translateY(-5px); border-color: rgba(212,175,55,0.5); }
.pact-step-no {
  font-family: var(--font-display);
  font-size: 15px; color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  margin-bottom: 16px;
  box-shadow: 0 0 18px rgba(212,175,55,0.15) inset, 0 0 14px rgba(212,175,55,0.15);
}
.pact-step h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600; letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.pact-step p { font-size: 14.5px; color: var(--ivory-dim); }
.pact-seal {
  display: flex; align-items: center; gap: 28px;
  max-width: 780px; margin: 54px auto 0;
  padding: 28px 32px;
  background: rgba(212,175,55,0.06);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.pact-seal img {
  width: 84px; height: 84px; object-fit: contain; flex-shrink: 0;
  filter: drop-shadow(0 0 18px rgba(212,175,55,0.45));
  animation: seal-glow 3.5s ease-in-out infinite;
}
@keyframes seal-glow {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(212,175,55,0.3)); }
  50% { filter: drop-shadow(0 0 26px rgba(212,175,55,0.65)); }
}
.pact-seal p { font-size: 16px; color: var(--ivory-dim); }
.pact-seal strong { color: var(--gold-soft); font-weight: 600; }
.pact-visual {
  margin: 60px auto 0; max-width: 920px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(212,175,55,0.3);
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
  position: relative;
}
.pact-visual figcaption {
  position: absolute; bottom: 12px; left: 14px;
  background: rgba(11,19,35,0.78); backdrop-filter: blur(6px);
  padding: 5px 12px; border-radius: 6px;
  border: 1px solid rgba(212,175,55,0.2);
}

/* ═══════════ EVOLUTION ═══════════ */
.section-evo { background: var(--midnight-2); }
.evo-tree {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  gap: 0; align-items: center;
  margin-top: 60px;
}
.evo-col { display: grid; gap: 26px; }
.evo-connector {
  height: 72%;
  min-height: 180px;
  position: relative;
}
.evo-connector::before {
  content: "";
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1.5px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim) 20%, var(--gold-dim) 80%, transparent);
  transform: scaleY(0);
  transition: transform 1.2s var(--ease) 0.3s;
}
.evo-connector::after {
  content: "✦";
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold);
  font-size: 12px;
  text-shadow: 0 0 12px rgba(212,175,55,0.7);
  opacity: 0;
  transition: opacity 0.8s ease 1s;
}
.evo-tree.drawn .evo-connector::before { transform: scaleY(1); }
.evo-tree.drawn .evo-connector::after { opacity: 1; }
.evo-card {
  background: var(--charcoal);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.evo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.08);
}
.evo-img { overflow: hidden; }
.evo-img img {
  aspect-ratio: 16/9.4; width: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.evo-card:hover .evo-img img { transform: scale(1.05); }
.evo-body { padding: 20px 22px 24px; }
.evo-stage {
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--bronze);
}
.evo-body h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600;
  margin: 6px 0 4px;
  color: var(--gold-soft);
}
.evo-theme {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ivory-faint);
  margin-bottom: 8px;
}
.evo-body p { font-size: 14.5px; color: var(--ivory-dim); }

/* locked evolution card — transparent, game-style */
.evo-locked {
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(-45deg, rgba(244,241,234,0.015) 0 10px, transparent 10px 20px),
    rgba(20, 23, 30, 0.5);
  border: 1.5px dashed rgba(212,175,55,0.28);
  backdrop-filter: blur(2px);
}
.evo-locked:hover {
  transform: none;
  border-color: rgba(212,175,55,0.55);
  box-shadow: 0 0 34px rgba(212,175,55,0.08) inset;
}
.evo-lock { text-align: center; padding: 30px; }
.evo-lock svg {
  width: 40px; height: 40px;
  fill: rgba(212,175,55,0.4);
  filter: drop-shadow(0 0 12px rgba(212,175,55,0.35));
  margin-bottom: 12px;
  animation: lock-float 3.4s ease-in-out infinite;
}
@keyframes lock-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.evo-lock .evo-stage { display: block; margin-bottom: 4px; }
.evo-lock p {
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ivory-faint);
}
.evo-question {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(17px, 2.4vw, 22px);
  line-height: 1.8;
  color: var(--ivory-dim);
  margin: 64px auto 0;
}
.evo-question strong { color: var(--gold-soft); font-weight: 600; }
.evo-video {
  margin: 56px auto 0; max-width: 860px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(212,175,55,0.25);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  position: relative;
}
.evo-video figcaption {
  position: absolute; bottom: 12px; left: 14px;
  background: rgba(11,19,35,0.78); backdrop-filter: blur(6px);
  padding: 5px 12px; border-radius: 6px;
  border: 1px solid rgba(212,175,55,0.2);
}

/* ═══════════ FEATURES ═══════════ */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; margin-top: 54px;
}
.feature-card {
  background: var(--charcoal);
  border: 1px solid rgba(212,175,55,0.16);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 22px 54px rgba(0,0,0,0.5), 0 0 34px rgba(212,175,55,0.09);
}
.feature-media { overflow: hidden; }
.feature-media video, .feature-media img {
  aspect-ratio: 16/9; width: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.feature-card:hover .feature-media video,
.feature-card:hover .feature-media img { transform: scale(1.05); }
.feature-body { padding: 22px 24px 26px; position: relative; }
.feature-icon {
  position: absolute; top: -30px; right: 20px;
  width: 56px; height: 56px; object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6)) drop-shadow(0 0 10px rgba(212,175,55,0.3));
}
.feature-body h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.feature-body p { font-size: 14.5px; color: var(--ivory-dim); }
.boss-banner {
  position: relative;
  margin-top: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.28);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.boss-banner img { width: 100%; }
.boss-banner figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 90px 40px 34px;
  background: linear-gradient(to top, rgba(11,19,35,0.94), transparent);
}
.boss-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: var(--ivory);
  text-shadow: 0 0 26px rgba(120, 80, 220, 0.45);
}
.boss-banner p { font-size: 15px; color: var(--ivory-dim); margin-top: 6px; }

/* ═══════════ TRAILER ═══════════ */
.section-trailer { background: var(--midnight-2); }
.trailer-frame {
  position: relative;
  margin-top: 50px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.3);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.08), 0 40px 100px rgba(0,0,0,0.6);
}
.trailer-frame video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.trailer-play {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
  background: rgba(11,19,35,0.35);
  transition: background 0.4s;
}
.trailer-play:hover { background: rgba(11,19,35,0.15); }
.trailer-play.hidden { display: none; }
.trailer-play-ring {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(11,19,35,0.65);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 10px rgba(212,175,55,0.08), 0 0 44px rgba(212,175,55,0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  animation: play-breathe 3s ease-in-out infinite;
}
@keyframes play-breathe {
  0%, 100% { box-shadow: 0 0 0 8px rgba(212,175,55,0.06), 0 0 30px rgba(212,175,55,0.25); }
  50% { box-shadow: 0 0 0 14px rgba(212,175,55,0.1), 0 0 54px rgba(212,175,55,0.45); }
}
.trailer-play:hover .trailer-play-ring { transform: scale(1.08); }
.trailer-play-ring svg { width: 34px; height: 34px; fill: var(--gold-soft); margin-left: 4px; }
.trailer-play-text {
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory);
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
.trailer-note { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--ivory-faint); }

/* ═══════════ ROADMAP ═══════════ */
.roadmap-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 54px; align-items: center;
  margin-top: 50px;
}
.roadmap-list { list-style: none; display: grid; gap: 14px; }
.roadmap-list li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 15px 22px;
  background: linear-gradient(180deg, rgba(244,241,234,0.03), rgba(244,241,234,0.01));
  border: 1px solid rgba(212,175,55,0.14);
  border-radius: 10px;
  font-size: 15.5px;
  color: var(--ivory-dim);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.roadmap-list li:hover { border-color: rgba(212,175,55,0.4); transform: translateX(4px); }
.roadmap-list i {
  font-style: normal; color: var(--gold); font-size: 12px;
  text-shadow: 0 0 10px rgba(212,175,55,0.6);
}
.roadmap-media {
  position: relative;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(212,175,55,0.22);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.roadmap-media figcaption {
  position: absolute; bottom: 12px; left: 14px;
  background: rgba(11,19,35,0.78); backdrop-filter: blur(6px);
  padding: 5px 12px; border-radius: 6px;
  border: 1px solid rgba(212,175,55,0.2);
}
.roadmap-goal {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(17px, 2.4vw, 22px);
  color: var(--ivory-dim);
  margin-top: 56px;
}
.roadmap-goal strong { color: var(--gold-soft); font-weight: 600; }
.wip-strip { margin-top: 64px; }
.wip-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 22px;
}
.wip-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wip-gallery figure {
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(212,175,55,0.16);
  background: var(--charcoal);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.wip-gallery figure:hover { transform: translateY(-4px); border-color: rgba(212,175,55,0.4); }
.wip-gallery figcaption { padding: 10px 14px; text-align: center; }

/* ═══════════ COMMUNITY ═══════════ */
.section-community {
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(212,175,55,0.06), transparent),
    var(--midnight-2);
  text-align: center;
}
.community-questions {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px;
  max-width: 760px; margin: 44px auto 0;
}
.chip {
  font-family: var(--font-display);
  font-size: 13.5px; letter-spacing: 0.06em;
  padding: 13px 24px;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 999px;
  color: var(--ivory-dim);
  background: rgba(212,175,55,0.05);
  transition: all 0.35s var(--ease);
}
.chip:hover {
  color: var(--gold-soft);
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(212,175,55,0.18);
  transform: translateY(-2px);
}
.community-cta { margin-top: 48px; }
.community-cta p { margin-top: 18px; font-size: 14px; color: var(--ivory-faint); }

/* ═══════════ FOOTER ═══════════ */
.footer {
  padding: 80px 0 46px;
  text-align: center;
  border-top: 1px solid rgba(212,175,55,0.14);
  background: var(--midnight);
}
.footer-logo { height: 40px; width: auto; margin: 0 auto; opacity: 0.9; }
.footer-disclaimer {
  max-width: 620px; margin: 8px auto 0;
  font-size: 13.5px; color: var(--ivory-faint);
  line-height: 1.9;
}
.footer-disclaimer strong { color: var(--ivory-dim); }
.footer-soon {
  font-family: var(--font-display);
  margin-top: 26px;
  font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-soft);
  text-shadow: 0 0 14px rgba(212,175,55,0.4);
}
.footer-copy { margin-top: 30px; font-size: 12px; color: rgba(244,241,234,0.3); }

.community-contact { margin-top: 26px !important; }
.community-contact a { color: var(--gold-soft); border-bottom: 1px solid var(--gold-dim); }
.community-contact a:hover { color: var(--gold); border-color: var(--gold); }

/* ═══════════ SIGNUP MODAL ═══════════ */
.modal {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal-body[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 9, 18, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.35s;
}
.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(212,175,55,0.07), transparent),
    linear-gradient(180deg, #101a30, var(--midnight));
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.1), 0 40px 120px rgba(0,0,0,0.7), 0 0 80px rgba(212,175,55,0.08);
  padding: 44px 44px 38px;
  opacity: 0; transform: translateY(26px) scale(0.97);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.modal.open .modal-backdrop { opacity: 1; }
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--ivory-dim);
  font-size: 14px;
  transition: all 0.3s;
}
.modal-close:hover {
  color: var(--gold-soft); border-color: var(--gold);
  box-shadow: 0 0 16px rgba(212,175,55,0.25);
}
.modal-body { text-align: center; }
.modal-title {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 600; letter-spacing: 0.04em;
  margin-top: 10px;
}
.modal-text { font-size: 15px; color: var(--ivory-dim); }
.modal-label {
  display: block; text-align: left;
  margin: 26px 0 8px;
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ivory-faint);
}
.modal-input {
  width: 100%;
  padding: 15px 18px;
  font: 400 16px var(--font-body);
  color: var(--ivory);
  background: rgba(11,19,35,0.7);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.modal-input::placeholder { color: rgba(244,241,234,0.3); }
.modal-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15), 0 0 24px rgba(212,175,55,0.12);
}
.modal-optional {
  text-transform: none; letter-spacing: 0.04em;
  color: rgba(244,241,234,0.3);
}
.modal-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.modal-consent {
  display: flex; gap: 12px;
  text-align: left;
  margin-top: 18px;
  font-size: 12.5px; line-height: 1.65;
  color: var(--ivory-faint);
  cursor: pointer;
}
.modal-consent input {
  flex-shrink: 0;
  width: 17px; height: 17px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}
.modal-consent a { color: var(--gold-soft); border-bottom: 1px solid var(--gold-dim); }
.modal-consent a:hover { color: var(--gold); }
.modal-error {
  margin-top: 16px;
  padding: 11px 16px;
  font-size: 13.5px;
  color: #f0b8b8;
  background: rgba(160, 50, 50, 0.15);
  border: 1px solid rgba(200, 90, 90, 0.35);
  border-radius: 8px;
  text-align: left;
}
.modal-submit { width: 100%; margin-top: 22px; }
.modal-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
.modal-fineprint {
  margin-top: 20px;
  font-size: 11.5px; line-height: 1.7;
  color: rgba(244,241,234,0.4);
}
.modal-success .btn { margin-top: 8px; }

/* ═══════════ FOOTER LINKS + LEGAL PAGES ═══════════ */
.footer-links {
  display: flex; justify-content: center; align-items: center; gap: 14px;
  margin-top: 26px;
  font-size: 13px;
}
.footer-links a { color: var(--ivory-dim); transition: color 0.3s; border-bottom: 1px solid transparent; }
.footer-links a:hover { color: var(--gold-soft); border-color: var(--gold-dim); }
.footer-links span { color: rgba(212,175,55,0.4); }

.legal-page { padding: 150px 0 90px; min-height: 70vh; }
.legal-page .wrap { max-width: 780px; }
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px); font-weight: 500;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--gold-soft);
  margin: 42px 0 12px;
}
.legal-page p, .legal-page li { color: var(--ivory-dim); font-size: 15.5px; margin-top: 10px; }
.legal-page ul { padding-left: 22px; }
.legal-page a { color: var(--gold-soft); border-bottom: 1px solid var(--gold-dim); }
.legal-page a:hover { color: var(--gold); }
.legal-updated { font-size: 13px; color: var(--ivory-faint); margin-top: 6px; }
.legal-placeholder {
  display: inline-block;
  padding: 1px 8px;
  background: rgba(212,175,55,0.12);
  border: 1px dashed rgba(212,175,55,0.45);
  border-radius: 6px;
  color: var(--gold-soft);
}
.legal-back {
  display: inline-block; margin-bottom: 34px;
  font-family: var(--font-display);
  font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ivory-dim) !important; border-bottom: none !important;
}
.legal-back:hover { color: var(--gold-soft) !important; }

/* ═══════════ REVEAL ANIMATIONS ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .about-grid, .starter-grid, .roadmap-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .biome-grid { grid-template-columns: repeat(2, 1fr); }
  .vora-stage { aspect-ratio: 16/10; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .nav-links {
    position: fixed; inset: 0;
    background: linear-gradient(180deg, #0B1323 0%, #0E1830 100%);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 34px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    margin: 0;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 17px; }
  .btn-nav { display: none; }
  .nav-social { margin-left: auto; gap: 10px; }
  .nav-burger { display: flex; z-index: 60; margin-left: 0; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .pillars, .pact-steps, .feature-grid, .biome-grid, .wip-gallery { grid-template-columns: 1fr; }
  .evo-tree { grid-template-columns: 1fr; }
  .evo-connector { display: none; }
  .evo-col { gap: 20px; }
  .evo-col + .evo-col { margin-top: 20px; }
  .vora-stage { aspect-ratio: auto; min-height: 640px; }
  .vora-stage > img { object-position: 72% 30%; }
  .vora-stage-shade {
    background: linear-gradient(to top, rgba(11,19,35,0.96) 0%, rgba(11,19,35,0.75) 45%, rgba(11,19,35,0.2) 75%, transparent 100%);
  }
  .vora-info { top: auto; bottom: 76px; transform: none; left: 22px; right: 22px; max-width: none; }
  .vora-name { font-size: 34px; }
  .vora-meta { gap: 22px; flex-wrap: wrap; }
  .vora-nav { bottom: 14px; right: 16px; }
  .pact-seal { flex-direction: column; text-align: center; }
  .map-pin .pin-label { display: none; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .trailer-play-ring { width: 72px; height: 72px; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .vora-stage > img { animation: none; }
  .pin-dot::before, .preloader-logo, .preloader-line span,
  .trailer-play-ring, .pact-seal img, .evo-lock svg, .scroll-hint-wheel { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ══════════ PLAYABLE DEMO ══════════ */
.section-demo .demo-lead{ max-width:640px; margin:22px auto 0; text-align:center; line-height:1.65; opacity:.82; }
/* Klickbares Vorschau-Poster — öffnet die Demo als eigene Seite in neuem Tab */
.section-demo .demo-card{ position:relative; display:block; width:100%; max-width:1180px; margin:38px auto 0; aspect-ratio:16/9;
  border-radius:var(--radius); overflow:hidden; border:1px solid rgba(212,175,55,0.3); text-decoration:none; cursor:pointer;
  box-shadow:0 0 0 1px rgba(212,175,55,0.08), 0 40px 100px rgba(0,0,0,0.6); background:#0b0d09;
  transition:transform .45s var(--ease), box-shadow .45s ease, border-color .45s ease; }
.section-demo .demo-card:hover, .section-demo .demo-card:focus-visible{ transform:translateY(-4px); border-color:rgba(212,175,55,0.6); outline:none;
  box-shadow:0 0 0 1px rgba(212,175,55,0.18), 0 50px 120px rgba(0,0,0,0.7); }
.section-demo .demo-card-poster{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .6s var(--ease), filter .45s ease; }
.section-demo .demo-card:hover .demo-card-poster{ transform:scale(1.04); filter:brightness(1.06) saturate(1.08); }
.section-demo .demo-card-shade{ position:absolute; inset:0; background:radial-gradient(120% 120% at 50% 42%, transparent 30%, rgba(0,0,0,0.5) 100%); }
.section-demo .demo-card-play{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  display:inline-flex; align-items:center; gap:12px; padding:16px 34px; border-radius:100px; white-space:nowrap;
  font-family:var(--font-display); font-size:clamp(17px,2.4vw,22px); letter-spacing:0.04em; color:#1a1204; font-weight:600;
  background:linear-gradient(180deg,#f2df9a,#d4af37); border:1px solid rgba(255,255,255,0.4);
  box-shadow:0 10px 30px rgba(0,0,0,0.5), 0 0 40px rgba(212,175,55,0.35);
  transition:transform .3s var(--ease), box-shadow .3s ease; }
.section-demo .demo-card:hover .demo-card-play{ transform:translate(-50%,-50%) scale(1.06);
  box-shadow:0 14px 40px rgba(0,0,0,0.6), 0 0 60px rgba(212,175,55,0.55); }
.section-demo .demo-card-play-icon{ font-size:0.85em; }
.section-demo .demo-card-badge{ position:absolute; right:16px; bottom:16px; padding:7px 14px; border-radius:100px;
  font-family:var(--font-body); font-size:12px; letter-spacing:0.06em; text-transform:uppercase; color:var(--gold-soft);
  background:rgba(10,12,8,0.62); border:1px solid rgba(212,175,55,0.35); backdrop-filter:blur(6px); }
.section-demo .trailer-note a{ color:var(--gold-soft); text-decoration:none; }
.section-demo .trailer-note a:hover{ text-decoration:underline; }
@media (max-width:640px){ .section-demo .demo-card{ border-radius:12px; } .section-demo .demo-card-badge{ display:none; } }

/* ══════════ HERO "PLAY DEMO" CTA ══════════ */
.btn-demo{
  position:relative; overflow:hidden;
  background:linear-gradient(135deg, #FCE9A6 0%, #F5D66B 45%, #D4AF37 100%);
  color:#1a1408; font-weight:800; letter-spacing:.02em;
  border:1px solid rgba(255,244,205,.75);
  box-shadow:0 8px 26px rgba(212,175,55,.35), 0 0 0 0 rgba(245,214,107,.55);
  animation:demoPulse 2.2s ease-in-out infinite;
}
.btn-demo:hover{ transform:translateY(-2px); filter:brightness(1.06); }
.btn-demo .btn-demo-dot{
  display:inline-block; width:8px; height:8px; margin-right:9px; border-radius:50%;
  background:#e5432e; box-shadow:0 0 0 0 rgba(229,67,46,.7); animation:demoDot 1.5s ease-out infinite; vertical-align:middle;
}
.btn-demo::after{
  content:""; position:absolute; top:0; left:-70%; width:45%; height:100%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent);
  transform:skewX(-20deg); animation:demoShine 3.4s ease-in-out infinite;
}
@keyframes demoPulse{
  0%,100%{ box-shadow:0 8px 26px rgba(212,175,55,.35), 0 0 0 0 rgba(245,214,107,.55); }
  50%{ box-shadow:0 10px 34px rgba(212,175,55,.5), 0 0 0 9px rgba(245,214,107,0); }
}
@keyframes demoDot{
  0%{ box-shadow:0 0 0 0 rgba(229,67,46,.7); }
  70%,100%{ box-shadow:0 0 0 7px rgba(229,67,46,0); }
}
@keyframes demoShine{ 0%{ left:-70%; } 55%,100%{ left:135%; } }
@media (prefers-reduced-motion:reduce){
  .btn-demo, .btn-demo .btn-demo-dot, .btn-demo::after{ animation:none !important; }
}
