/* ============================================================================
   GODMAW — "coming soon" landing page
   Theme: data-cathedral / digital-sublime — a sacred codex rendered in a dying
   datacenter. Void-black, teal + gold, ember for the Wreck.
   Cinzel (inscriptional display) · Spectral (codex body) · Space Mono (data).
   Shares the GODMAW codex theme; zero build dependency — pure CSS.
   ========================================================================== */

:root {
  --void: #06080f;
  --void-2: #0a0d16;
  --panel: #0e121d;
  --panel-2: #121726;
  --edge: #1d2536;
  --edge-2: #2a3550;
  --ink: #e9edf8;
  --ink-dim: #b9c2d8;
  --mut: #7e88a3;
  --mut-2: #5a6480;

  --teal: #5ed0c8;
  --teal-bright: #8af0e6;
  --teal-deep: #2a7e7a;
  --gold: #d6b15a;
  --gold-bright: #f0d488;
  --ember: #e0623c;
  --ember-bright: #ff7d52;
  --violet: #8b7cff;

  --display: "Cinzel", "Times New Roman", serif;
  --body: "Spectral", Georgia, "Times New Roman", serif;
  --mono: "Space Mono", "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1200px;
  --radius: 14px;
  --shadow: 0 24px 60px -18px #000d, 0 2px 0 #ffffff06 inset;
  --glow-teal: 0 0 0 1px #5ed0c83a, 0 14px 50px -14px #5ed0c855;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.72;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  background-image:
    radial-gradient(1200px 720px at 78% -8%, #14305a55 0%, transparent 60%),
    radial-gradient(1000px 620px at 12% 8%, #1f534f3a 0%, transparent 55%),
    radial-gradient(900px 900px at 50% 122%, #2a1a1233 0%, transparent 60%),
    linear-gradient(180deg, var(--void) 0%, var(--void-2) 100%);
  background-attachment: fixed;
}

/* faint circuit grid + grain over everything */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(#5ed0c809 1px, transparent 1px),
    linear-gradient(90deg, #5ed0c809 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  mask-image: radial-gradient(1100px 900px at 50% 0%, #000 0%, transparent 80%);
  opacity: 0.7;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer, nav { position: relative; z-index: 2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--teal); color: #03110f; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: 0.01em; line-height: 1.12; color: var(--ink); margin: 0; }

.kicker {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.42em;
  font-size: 11.5px; color: var(--teal); margin: 0 0 16px; display: inline-block;
}
.kicker.gold { color: var(--gold); }
.kicker.ember { color: var(--ember); }

.gradient-text {
  background: linear-gradient(96deg, #f3f7ff 6%, var(--teal-bright) 48%, var(--gold-bright) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

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

/* ---- top navigation --------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(180deg, #06080fee, #06080fb0);
  border-bottom: 1px solid var(--edge);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 13px 26px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; letter-spacing: 0.16em; font-size: 18px; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 7px; flex: none;
  background: radial-gradient(circle at 35% 30%, var(--teal-bright), var(--teal-deep) 70%);
  box-shadow: 0 0 18px -2px var(--teal), 0 0 0 1px #5ed0c855 inset; position: relative;
}
.brand .mark::after { content: ""; position: absolute; inset: 7px; border-radius: 3px; background: var(--void); box-shadow: 0 0 8px #000 inset; }
.brand b { background: linear-gradient(92deg, #eef4ff, var(--teal-bright) 70%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-links a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mut); padding: 8px 12px; border-radius: 8px; transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--ink); background: #5ed0c814; }
.nav-cta {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: #03130f !important; background: linear-gradient(100deg, var(--teal-deep), var(--teal));
  padding: 9px 16px; border-radius: 9px; box-shadow: 0 10px 30px -12px var(--teal); transition: transform .15s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -10px var(--teal-bright); background: linear-gradient(100deg, var(--teal-deep), var(--teal)) !important; }

/* ---- transmission ticker --------------------------------------------- */
.ticker {
  border-bottom: 1px solid var(--edge); background: #070a12cc; overflow: hidden;
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mut);
}
.ticker-track { display: inline-flex; gap: 48px; white-space: nowrap; padding: 8px 0; animation: tick 38s linear infinite; }
.ticker-track span { display: inline-flex; gap: 48px; }
.ticker b { color: var(--teal); font-weight: 400; }
.ticker i { color: var(--ember-bright); font-style: normal; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- hero ------------------------------------------------------------- */
.hero { position: relative; min-height: clamp(580px, 92vh, 940px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--edge); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 32%; transform: scale(1.05); animation: heroDrift 30s ease-in-out infinite alternate; }
@keyframes heroDrift { from { transform: scale(1.05) translateY(0); } to { transform: scale(1.13) translateY(-2.4%); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #06080f22 0%, #06080f55 42%, var(--void) 97%),
    radial-gradient(130% 86% at 72% 28%, transparent 26%, #06080faa 100%);
}
.hero-scan { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; background: repeating-linear-gradient(180deg, transparent 0 3px, #00000022 3px 4px); mix-blend-mode: multiply; }
.hero-inner { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; padding: 0 26px 80px; width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright);
  border: 1px solid #d6b15a55; background: #d6b15a12; border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
}
.badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ember-bright); box-shadow: 0 0 10px var(--ember); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

.hero h1 { font-size: clamp(60px, 13vw, 184px); font-weight: 900; letter-spacing: 0.05em; margin: 4px 0 0; line-height: .98; }
.hero .tagline { font-family: var(--body); font-size: clamp(19px, 2.5vw, 30px); color: var(--ink); font-style: italic; max-width: 720px; margin: 20px 0 0; line-height: 1.4; }
.hero .sub { color: var(--ink-dim); max-width: 640px; margin: 18px 0 0; font-size: clamp(15.5px, 1.6vw, 18px); }
.hero .cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.btn {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 26px; border-radius: 10px; cursor: pointer; transition: transform .15s, box-shadow .2s, border-color .2s, background .2s, color .2s;
  border: 1px solid var(--edge-2); color: var(--ink); background: #0c1019;
  display: inline-flex; align-items: center; gap: 9px;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(100deg, var(--teal-deep), var(--teal)); color: #03130f; border-color: transparent; box-shadow: 0 14px 40px -12px var(--teal); }
.btn.primary:hover { box-shadow: 0 18px 50px -10px var(--teal-bright); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn.big { padding: 16px 30px; font-size: 13px; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---- generic section -------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 110px) 0 0; }
.rule { height: 1px; background: linear-gradient(90deg, var(--teal), transparent 70%); opacity: .5; border: 0; margin: 0; }

/* ---- pitch band ------------------------------------------------------- */
.pitch { max-width: 920px; }
.pitch .big {
  font-family: var(--display); font-weight: 600; letter-spacing: .01em;
  font-size: clamp(28px, 4.4vw, 52px); line-height: 1.12; color: var(--ink);
}
.pitch .big em { color: var(--teal-bright); font-style: normal; }
.pitch p.lead { color: var(--ink-dim); margin-top: 22px; max-width: 720px; font-size: clamp(16px, 1.8vw, 19px); }
.pitch p.lead strong { color: var(--ink); font-weight: 600; }

/* ---- feature grid ----------------------------------------------------- */
.feat-head { margin-bottom: 34px; }
.feat-head h2 { font-size: clamp(26px, 3.6vw, 42px); }
.feat-head p { color: var(--mut); max-width: 560px; margin: 10px 0 0; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.feature {
  position: relative; border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--panel), var(--void-2)); min-height: 230px;
  padding: 26px 26px 28px; display: flex; flex-direction: column;
  transition: transform .22s, border-color .22s, box-shadow .25s;
}
.feature::before { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .14; transition: opacity .35s, transform .5s; transform: scale(1.06); }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #070a1288 0%, #070a12e8 95%); }
.feature > * { position: relative; z-index: 2; }
.feature:hover { transform: translateY(-5px); border-color: var(--teal); box-shadow: var(--glow-teal); }
.feature:hover::before { opacity: .3; transform: scale(1.12); }
.feature .num { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.feature h3 { font-size: 25px; margin: 12px 0 10px; }
.feature h3 .tk { color: var(--teal-bright); }
.feature p { color: var(--ink-dim); font-size: 15.5px; margin: 0; line-height: 1.6; }
.feature.ember:hover { border-color: var(--ember); box-shadow: 0 0 0 1px #e0623c3a, 0 14px 50px -14px #e0623c55; }
.feature.gold:hover { border-color: var(--gold); box-shadow: 0 0 0 1px #d6b15a3a, 0 14px 50px -14px #d6b15a55; }

/* ---- world strip ------------------------------------------------------ */
.world-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.world-head h2 { font-size: clamp(26px, 3.6vw, 42px); }
.world-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .world-grid { grid-template-columns: 1fr; } }
.shot { position: relative; border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; transition: transform .2s, border-color .2s, box-shadow .25s; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, #070a12e0); }
.shot .cap { position: absolute; left: 16px; bottom: 13px; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.shot:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: var(--glow-teal); }
.shot:hover img { transform: scale(1.06); }
.linkmore { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid #d6b15a55; padding-bottom: 2px; transition: color .15s, border-color .15s; }
.linkmore:hover { color: var(--gold-bright); border-color: var(--gold-bright); }

/* ---- signup / CTA ----------------------------------------------------- */
.signup-wrap { margin-top: clamp(70px, 9vw, 120px); }
.signup {
  position: relative; border: 1px solid var(--edge-2); border-radius: 20px; overflow: hidden;
  background: linear-gradient(120deg, var(--panel-2), var(--void-2));
  padding: clamp(34px, 6vw, 72px); box-shadow: var(--shadow);
}
.signup::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 85% -20%, #1f534f55, transparent 60%), radial-gradient(600px 320px at 10% 120%, #2a1a1255, transparent 60%); }
.signup > * { position: relative; z-index: 2; }
.signup h2 { font-size: clamp(28px, 4.2vw, 50px); max-width: 640px; }
.signup p.s-sub { color: var(--ink-dim); max-width: 560px; margin: 16px 0 0; }
.signup-form { display: flex; gap: 12px; margin-top: 30px; max-width: 560px; flex-wrap: wrap; }
.signup-form input[type="email"] {
  flex: 1 1 260px; min-width: 0; font-family: var(--mono); font-size: 14px; color: var(--ink);
  background: #0a0e18; border: 1px solid var(--edge-2); border-radius: 10px; padding: 14px 16px; transition: border-color .18s, box-shadow .18s;
}
.signup-form input[type="email"]::placeholder { color: var(--mut-2); }
.signup-form input[type="email"]:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px #5ed0c822; }
.signup-form .btn { flex: 0 0 auto; }
.signup .fine { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--mut-2); margin-top: 16px; }
.signup .or { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mut-2); margin: 26px 0 14px; display: flex; align-items: center; gap: 14px; }
.signup .or::before, .signup .or::after { content: ""; height: 1px; flex: 1; background: var(--edge); max-width: 80px; }
.signup .steam-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.signup .steam-note { font-family: var(--mono); font-size: 11px; color: var(--mut); letter-spacing: .04em; }
.form-msg { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; margin-top: 16px; min-height: 1em; }
.form-msg.ok { color: var(--teal-bright); }
.form-msg.err { color: var(--ember-bright); }
.signup.done .signup-form { display: none; }
.signup .thanks { display: none; }
.signup.done .thanks { display: block; }
.signup .thanks h3 { font-family: var(--display); font-size: clamp(22px, 3vw, 32px); color: var(--teal-bright); margin-top: 4px; }
.signup .thanks p { color: var(--ink-dim); margin-top: 10px; max-width: 520px; }

/* ---- footer ----------------------------------------------------------- */
.footer { margin-top: clamp(80px, 10vw, 130px); border-top: 1px solid var(--edge); padding: 48px 0 60px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 24px; } }
.footer .f-brand { font-family: var(--display); font-weight: 800; letter-spacing: .16em; font-size: 18px; margin-bottom: 12px; background: linear-gradient(92deg, #eef4ff, var(--teal-bright) 70%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer p { color: var(--mut); font-size: 14px; max-width: 420px; }
.footer .f-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.footer .f-col a { display: block; color: var(--mut); font-size: 14px; padding: 4px 0; transition: color .15s; }
.footer .f-col a:hover { color: var(--ink); }
.f-base { max-width: var(--maxw); margin: 36px auto 0; padding: 22px 26px 0; border-top: 1px solid var(--edge); color: var(--mut-2); font-family: var(--mono); font-size: 11.5px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---- scroll reveal (progressive enhancement; visible by default) ------ */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
html.js .reveal.in { opacity: 1; transform: none; }
/* staggered hero load-in */
html.js .hero .load { opacity: 0; transform: translateY(20px); animation: loadIn .9s cubic-bezier(.2,.7,.2,1) forwards; }
html.js .hero .load.d1 { animation-delay: .05s; }
html.js .hero .load.d2 { animation-delay: .18s; }
html.js .hero .load.d3 { animation-delay: .32s; }
html.js .hero .load.d4 { animation-delay: .46s; }
html.js .hero .load.d5 { animation-delay: .60s; }
@keyframes loadIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .hero .load { opacity: 1; transform: none; transition: none; animation: none; }
  .hero-bg { animation: none; }
  .ticker-track { animation: none; }
}
