/* Voxlore - Coming soon page. No build step, no external requests. */

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/cinzel-normal-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('fonts/crimson-pro-normal-300-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('fonts/crimson-pro-italic-300-latin.woff2') format('woff2');
}

:root {
  /* Tokens from Voxlore's own dark theme (frontend/theme.css). */
  --bg-abyss: #060809;
  --bg-deep: #0a0c0e;
  --bg-panel: #0d1117;
  --bg-card: #141920;
  --gold: #d6bd77;
  --gold-dim: #92733a;
  --gold-glow: #e8c96a;
  --gold-rgb: 201, 168, 76;
  --text: #e9e2d0;
  --text-soft: #c4bba6;
  --muted: #a39a86;
  --line: rgba(var(--gold-rgb), 0.22);
  --display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --body: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  --wrap: 1140px;
  --gutter: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.1875rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: var(--gold-glow); text-underline-offset: 3px; }
a:hover { color: #f6dc8a; }
:focus-visible { outline: 2px solid var(--gold-glow); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 10;
  background: var(--gold); color: #120e05; padding: 8px 14px;
  font-family: var(--display); font-weight: 700; text-decoration: none; border-radius: 4px;
}
.skip-link:focus { top: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; color: var(--gold); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); letter-spacing: 0.02em; }
h3 { font-size: 1.15rem; letter-spacing: 0.04em; }
p { margin: 0 0 1em; }
strong { color: var(--text); font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow-wrap { max-width: 860px; }
.center { text-align: center; }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }

.kicker {
  font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold-dim); margin-bottom: 0.7em;
}
.lead { font-size: 1.25rem; color: var(--text-soft); }
.fine { font-size: 1rem; color: var(--muted); font-style: italic; }

/* ---------- Top bar (section jumps) ---------- */
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.topbar-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold-glow);
  font-family: var(--display); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 1.05rem; }
.brand img { width: 30px; height: 30px; }
.topbar-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.topbar-links a { color: var(--text-soft); text-decoration: none; font-size: 1.05rem; }
.topbar-links a:hover, .topbar-links a:focus-visible { color: var(--gold-glow); }
section[id] { scroll-margin-top: 16px; }
@media (max-width: 760px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 12px; }
  .topbar-links { justify-content: flex-start; gap: 6px 16px; }
  .topbar-links a { font-size: 0.98rem; }
  .hero-inner { padding-top: 150px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-abyss);
}
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; }
.hero-art img { object-fit: cover; object-position: 50% 60%; animation: drift 30s ease-out both; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(6, 8, 9, 0.5) 0%, rgba(6, 8, 9, 0.45) 45%, rgba(6, 8, 9, 0.85) 100%),
    linear-gradient(to bottom, rgba(6, 8, 9, 0.15) 0%, rgba(6, 8, 9, 0) 45%, var(--bg-deep) 100%);
}
.hero-inner { padding: 96px var(--gutter) 120px; max-width: 900px; animation: rise 1.4s ease-out both; }
.eyebrow {
  font-family: var(--display); font-size: clamp(0.72rem, 0.6rem + 0.5vw, 0.9rem);
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2em;
}
.wordmark {
  font-size: clamp(3.2rem, 1.2rem + 9vw, 7.5rem);
  font-weight: 700; letter-spacing: 0.12em; margin: 0 0 0.25em;
  padding-left: 0.12em; /* balance the trailing letter-spacing */
  color: var(--gold-glow);
  text-shadow: 0 0 28px rgba(232, 201, 106, 0.35), 0 2px 2px rgba(0, 0, 0, 0.8);
}
.pitch { font-size: clamp(1.2rem, 1rem + 0.9vw, 1.6rem); color: var(--text); max-width: 680px; margin: 0 auto 1.4em; text-shadow: 0 1px 3px rgba(0,0,0,0.9); }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.1em; color: var(--text);
  padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(10, 12, 14, 0.6);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-glow); box-shadow: 0 0 10px var(--gold-glow); animation: flicker 3.2s ease-in-out infinite; }
.cta { margin: 28px 0 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cta-note { font-size: 0.95rem; color: var(--text-soft); font-style: italic; }
.platforms { font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-soft); margin: 0; }
.hero-credit {
  position: absolute; right: var(--gutter); bottom: 12px; margin: 0;
  font-size: 0.85rem; color: var(--muted); text-align: right;
}

.btn {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  padding: 14px 30px; border-radius: 4px; border: 1px solid var(--gold);
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-steam { background: linear-gradient(180deg, #e8c96a, #c9a84c); color: #15100a; box-shadow: 0 4px 24px rgba(var(--gold-rgb), 0.3); }
a.btn-steam:hover { background: #f3d77f; color: #15100a; }
.btn-steam.is-disabled {
  cursor: not-allowed; background: rgba(20, 25, 32, 0.85); color: var(--text-soft);
  border-color: var(--gold-dim); box-shadow: none;
}
.btn-discord {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(88, 101, 242, 0.16); color: #c7ccff; border-color: #5865f2;
}
.btn-discord:hover, .btn-discord:focus-visible { background: #5865f2; color: #fff; }
.btn-discord .discord-mark { width: 20px; height: 16px; flex: none; }
.cta .btn-discord { margin-top: 18px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-ghost { color: var(--gold); background: transparent; }
.btn-ghost:hover { background: rgba(var(--gold-rgb), 0.12); color: var(--gold-glow); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section + .section { border-top: 1px solid rgba(var(--gold-rgb), 0.08); }
.assistant, .free { background: var(--bg-panel); }
.gallery-section { background: linear-gradient(180deg, var(--bg-deep), var(--bg-abyss)); }

.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.two-col.reverse > :first-child { order: 2; }
.two-col > * { min-width: 0; }

.points { list-style: none; margin: 1.4em 0; padding: 0; display: grid; gap: 14px; }
.points li { position: relative; padding-left: 26px; color: var(--text-soft); }
.points li::before {
  content: ''; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 9px;
  transform: rotate(45deg); border: 1px solid var(--gold); background: rgba(var(--gold-rgb), 0.25);
}

.framed { margin: 0; position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(var(--gold-rgb), 0.04); }
.framed img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.shot { margin: 0; min-width: 0; }
.shot-wide { grid-column: 1 / -1; }
.shot a { display: block; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-card); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; transition: transform 0.4s ease; }
.shot a:hover img { transform: scale(1.02); }
.shot-natural img { aspect-ratio: auto; }
.shot figcaption { font-size: 1rem; color: var(--muted); margin-top: 10px; font-style: italic; }

/* ---------- Worlds cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 22px 22px 8px; }
.card-body p { color: var(--text-soft); font-size: 1.08rem; }
.card-text { justify-content: center; background: linear-gradient(160deg, rgba(var(--gold-rgb), 0.1), var(--bg-card) 60%); }

/* ---------- Players play free ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; text-align: left; }
.split-col { padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-deep); }
.split-col p { color: var(--text-soft); margin: 0; }

/* ---------- Rulesets ---------- */
.rulesets { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.ruleset { padding: 20px 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-card); }
.ruleset p { margin: 0; color: var(--text-soft); }
.ruleset h3 { margin-bottom: 0.35em; }
.ruleset.now { border-color: rgba(var(--gold-rgb), 0.55); box-shadow: inset 3px 0 0 var(--gold); }
.ruleset.planned h3 { color: var(--text-soft); }
.tag {
  display: inline-block; font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
  border: 1px solid var(--line); color: var(--muted);
}
.ruleset.now .tag { color: #15100a; background: var(--gold); border-color: var(--gold); }

/* ---------- Closing + footer ---------- */
.closing { background: radial-gradient(ellipse at 50% 100%, rgba(var(--gold-rgb), 0.14), transparent 65%), var(--bg-deep); }
.site-footer { background: var(--bg-abyss); border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 1rem; color: var(--muted); }
.site-footer p { margin: 0 0 0.8em; }
.footer-brand { font-family: var(--display); color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-size: 1rem; }
.footer-brand span { color: var(--muted); letter-spacing: 0.06em; text-transform: none; font-family: var(--body); font-size: 1rem; }
.disclaimer { font-size: 0.95rem; max-width: 820px; }
.copyright { font-size: 0.9rem; }

/* ---------- Motion ---------- */
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes flicker { 0%, 100% { opacity: 1; } 45% { opacity: 0.55; } 60% { opacity: 0.9; } }

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse > :first-child { order: 0; }
  .gallery { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1.0625rem; }
  .lead { font-size: 1.125rem; }
  .split { grid-template-columns: 1fr; }
  .hero-inner { padding: 72px var(--gutter) 96px; }
  .wordmark { letter-spacing: 0.08em; padding-left: 0.08em; }
  .btn { padding: 13px 22px; font-size: 0.95rem; }
  .hero-credit { left: var(--gutter); text-align: center; font-size: 0.8rem; }
  .status { font-size: 0.78rem; letter-spacing: 0.06em; padding: 7px 14px; border-radius: 8px; }
}
