:root {
  --bg: #171009;
  --bg-alt: #1c130a;
  --text: #ece1cf;
  --gold: #dbb45c;
  --gold-dim: #8a6a3e;
  --accent: #c98a3e;
  --border: #3a2a17;
  --border-light: #4a3620;
  --input-border: #5a3f22;
  --input-bg: #1f150c;
  --muted: #b8a488;
  --muted-2: #a99878;
  --muted-3: #8a7554;
  --heading: #f0e0bd;
  --copyright: #5a4a30;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Spectral', serif;
  width: 100%;
  overflow-x: hidden;
}

h1, h2 {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

input {
  outline: none;
}

/* Shared */

.kicker {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section {
  padding: 120px 48px;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-inner-narrow {
  max-width: 1080px;
}

.section-inner-mid {
  max-width: 1180px;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 44px;
  color: var(--heading);
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  margin: 18px auto 0;
}

.mono-label {
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted-3);
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.btn-outline {
  padding: 10px 22px;
  border: 1px solid var(--input-border);
  color: var(--gold);
  font-size: 13px;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(219, 180, 92, 0.08);
}

.btn-solid {
  padding: 24px 48px;
  background: var(--accent);
  color: var(--input-bg);
  box-shadow: 0 8px 24px rgba(201, 138, 62, 0.25);
}

.btn-solid:hover {
  opacity: 0.9;
}

.signup-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.signup-row input {
  width: 280px;
  padding: 16px 20px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text);
  font-family: 'Spectral', serif;
  font-size: 15px;
}

.signup-row input::placeholder {
  color: var(--muted-2);
  opacity: 0.7;
}

.placeholder-diag-a {
  background: repeating-linear-gradient(115deg, #241a10, #241a10 10px, #2b2013 10px, #2b2013 20px);
}

.placeholder-diag-b {
  background: repeating-linear-gradient(45deg, #201709, #201709 12px, #271c0e 12px, #271c0e 24px);
}

.placeholder-diag-c {
  background: repeating-linear-gradient(70deg, #241a10, #241a10 9px, #2b2013 9px, #2b2013 18px);
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: linear-gradient(var(--bg) 60%, rgba(23, 16, 9, 0.85));
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--gold);
}

/* Hero */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 100px;
  background: radial-gradient(ellipse at 50% 20%, #2b1c0f 0%, var(--bg) 65%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(201, 138, 62, 0.05) 0px, rgba(201, 138, 62, 0.05) 2px, transparent 2px, transparent 42px);
  pointer-events: none;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: clamp(64px, 10vw, 128px);
  line-height: 0.95;
  letter-spacing: 2px;
  color: var(--heading);
  text-shadow: 0 2px 0 #6b4620, 0 18px 60px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 22px;
  font-style: italic;
  color: #c9b696;
  max-width: 620px;
  margin: 28px auto 0;
  line-height: 1.5;
}

.hero .signup-row {
  margin-top: 44px;
}

.hero-cta {
  margin-top: 44px;
}

.alt-cta-label {
  margin-top: 32px;
  margin-bottom: 20px;
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
}

.alt-cta-label + .signup-row {
  margin-top: 0;
}

.fine-print {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted-3);
  text-transform: uppercase;
}

/* Trailer / screenshots */

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--input-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.play-button {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-triangle {
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 26px solid var(--gold);
  margin-left: 6px;
}

.video-caption {
  position: absolute;
  bottom: 18px;
  right: 22px;
  font-family: monospace;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted-3);
  text-transform: uppercase;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.screenshot {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

/* Pantheon */

.pantheon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pantheon-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
}

.pantheon-art {
  aspect-ratio: 3 / 4;
  position: relative;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.pantheon-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pantheon-type {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}

.pantheon-body {
  padding: 24px;
}

.pantheon-name {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--heading);
}

.pantheon-desc {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.6;
}

/* Civilizations */

.faction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.faction-card {
  border: 1px solid var(--border-light);
  background: var(--bg-alt);
}

.faction-art {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.faction-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faction-body {
  padding: 18px 16px 22px;
}

.faction-name {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--heading);
  letter-spacing: 0.5px;
}

.faction-tagline {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 8px;
  line-height: 1.5;
}

/* How it works */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
}

.step-num {
  font-family: 'Cinzel', serif;
  font-size: 40px;
  color: #8a5a2b;
  margin-bottom: 16px;
}

.step-title {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--heading);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Reviews */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review {
  border-left: 2px solid #8a5a2b;
  padding-left: 22px;
  margin: 0;
}

.review-quote {
  font-size: 16px;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
}

.review-source {
  margin-top: 16px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--gold-dim);
  text-transform: uppercase;
}

/* Footer / CTA */

.footer {
  padding: 110px 48px 60px;
  background: radial-gradient(ellipse at 50% 0%, #2b1c0f 0%, var(--bg) 60%);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-heading {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--heading);
  margin-bottom: 44px;
}

.footer .signup-row {
  margin-bottom: 32px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--muted-3);
  text-transform: uppercase;
  margin-bottom: 48px;
}

.social-row a:hover {
  color: var(--gold);
}

.copyright {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--copyright);
}

.copyright a:hover {
  color: var(--gold-dim);
}

/* Responsive */

@media (max-width: 900px) {
  .nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: 90px 24px;
  }

  .pantheon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faction-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .section-head h2 {
    font-size: 32px;
  }

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

  .signup-row input {
    width: 100%;
    max-width: 320px;
  }

  .hero-title {
    font-size: clamp(32px, 12vw, 48px);
    letter-spacing: 0;
  }
}
