:root {
  --bg: #0f141b;
  --bg2: #16202b;
  --panel: rgba(22, 30, 40, 0.92);
  --gold: #d8b46b;
  --text: #eef2f6;
  --muted: #c1c9d2;
  --line: rgba(216, 180, 107, 0.22);
  --shadow: 0 18px 40px rgba(0,0,0,.28);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, #2a3849 0%, #18212c 30%, var(--bg) 60%),
    linear-gradient(180deg, var(--bg) 0%, #0b1016 100%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero,
.section {
  padding: 72px 0;
}

.alt {
  background: rgba(255,255,255,.03);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  margin: 0 0 12px;
  line-height: 1.15;
  font-family: Cinzel, serif;
}

h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1rem; color: var(--gold); margin-top: 14px; }

p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.72;
}

.lead,
.intro {
  font-size: 1.05rem;
}

.hero-card,
.character-card,
.map-card,
.moment-card,
.next-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.next-card {
  padding: 28px;
}

.facts {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button.primary,
.button-primary {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}
.button.secondary,
.button-secondary {
  background: rgba(255,255,255,.05);
}

.section-head {
  margin-bottom: 28px;
}

.characters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.character-card {
  padding: 18px;
}

.character-photo-wrap {
  height: 220px;
  max-width: 180px;
  margin: 0 auto 18px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(216,180,107,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(216,180,107,.25);
}

.character-photo-wrap.fullbody {
  height: 250px;
  max-width: 170px;
}

.character-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 12px;
}

.fullbody-photo,
.new-elathiel-photo {
  max-height: 230px;
}

.role {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}

.hook {
  color: var(--text);
}

.featured-character {
  border-color: rgba(216, 180, 107, 0.32);
}

.sacred-frame {
  background:
    radial-gradient(circle at top, rgba(255,245,200,.10), transparent 42%),
    linear-gradient(180deg, rgba(216,180,107,.12), rgba(255,255,255,.03));
}

.map-card {
  padding: 16px;
}

.map-image {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.moment-card {
  overflow: hidden;
}

.moment-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.moment-body {
  padding: 18px;
}

.moment-number {
  color: var(--gold);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.next-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 980px) {
  .hero-grid,
  .characters,
  .moments-grid {
    grid-template-columns: 1fr;
  }

  .character-photo-wrap,
  .character-photo-wrap.fullbody {
    max-width: 150px;
    height: 190px;
  }

  .fullbody-photo,
  .new-elathiel-photo {
    max-height: 170px;
  }
}

@media (max-width: 680px) {
  .hero,
  .section {
    padding: 56px 0;
  }

  .container {
    width: min(100% - 24px, 1160px);
  }

  .next-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .moment-image {
    height: 200px;
  }
}
