/* ===================================================
   AZEROTH CHRONICLES — Main Stylesheet
   =================================================== */

/* --- Custom Properties --- */
:root {
  --bg-deep: #0d0d1a;
  --bg-primary: #1a1a2e;
  --bg-section: #111124;
  --bg-card: #1e1e35;
  --bg-card-hover: #252545;

  --alliance: #c9a84c;
  --alliance-dim: rgba(201,168,76,0.15);
  --alliance-glow: rgba(201,168,76,0.35);
  --alliance-text: #e0c87a;

  --horde: #8b2500;
  --horde-bright: #c03000;
  --horde-dim: rgba(139,37,0,0.15);
  --horde-glow: rgba(139,37,0,0.4);
  --horde-text: #d94f1e;

  --text: #e8e6e3;
  --text-muted: #9e9c99;
  --text-dim: #6b6966;

  --border: rgba(232,230,227,0.08);
  --border-alliance: rgba(201,168,76,0.2);
  --border-horde: rgba(139,37,0,0.25);

  --font-heading: 'Cinzel', Georgia, serif;
  --font-decorative: 'Cinzel Decorative', 'Cinzel', serif;
  --font-body: 'Rajdhani', 'Segoe UI', sans-serif;

  --radius: 4px;
  --radius-lg: 8px;

  --nav-h: 64px;
  --section-pad: 100px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

img, svg {
  display: block;
}

/* --- Typography Utilities --- */
.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--alliance);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-style: italic;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===================================================
   NAV
   =================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13,13,26,0.92);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.nav-logo {
  text-align: center;
}
.nav-logo-text {
  font-family: var(--font-decorative);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--text);
  background: linear-gradient(135deg, var(--alliance) 0%, var(--text) 50%, var(--horde-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-crest {
  opacity: 0.7;
  transition: opacity 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}
.nav-crest--alliance:hover {
  opacity: 1;
  filter: drop-shadow(0 0 8px var(--alliance));
}
.nav-crest--horde:hover {
  opacity: 1;
  filter: drop-shadow(0 0 8px var(--horde-bright));
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(201,168,76,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(139,37,0,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(13,13,26,0.9) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-crests {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: 100%;
}

.hero-title-block {
  text-align: center;
  flex: 1;
  max-width: 600px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-decorative);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  background: linear-gradient(180deg, #fff 0%, var(--text) 60%, rgba(232,230,227,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-sub {
  display: block;
  font-size: 0.6em;
  letter-spacing: 0.35em;
  background: linear-gradient(135deg, var(--alliance) 0%, #e0c87a 50%, var(--horde-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0.05em;
  margin: 1rem 0 2rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn--alliance {
  background: rgba(201,168,76,0.1);
  border-color: var(--alliance);
  color: var(--alliance);
}
.btn--alliance:hover {
  background: var(--alliance);
  color: var(--bg-deep);
  box-shadow: 0 0 28px var(--alliance-glow), 0 0 60px rgba(201,168,76,0.15);
  transform: translateY(-2px);
}

.btn--horde {
  background: rgba(139,37,0,0.1);
  border-color: var(--horde);
  color: var(--horde-text);
}
.btn--horde:hover {
  background: var(--horde-bright);
  color: var(--text);
  box-shadow: 0 0 28px var(--horde-glow), 0 0 60px rgba(139,37,0,0.15);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.hero-crest {
  flex-shrink: 0;
}
.hero-crest--alliance:hover {
  filter: drop-shadow(0 0 16px var(--alliance));
}
.hero-crest--horde:hover {
  filter: drop-shadow(0 0 16px var(--horde-bright));
}

.hero-scroll-indicator {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-arrow {
  animation: scrollBounce 2s ease-in-out infinite;
  color: var(--text-dim);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ===================================================
   FACTIONS
   =================================================== */
.factions {
  background: var(--bg-primary);
  padding: var(--section-pad) 0;
  position: relative;
}

.factions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--alliance), transparent 50%, var(--horde), transparent);
}

.factions-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: start;
}

/* Faction Panels */
.faction {
  padding: 48px 32px;
}

.faction--alliance {
  background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
  border-right: 1px solid var(--border-alliance);
}

.faction--horde {
  background: linear-gradient(225deg, rgba(139,37,0,0.06) 0%, transparent 60%);
  border-left: 1px solid var(--border-horde);
}

.faction-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.faction-crest {
  flex-shrink: 0;
}

.faction-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.faction-name--alliance { color: var(--alliance-text); }
.faction-name--horde { color: var(--horde-text); }

.faction-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
}

.faction-subtitle {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.faction-subsection {
  margin-bottom: 36px;
}

/* Faction Cards (Race) */
.faction-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faction-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: default;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.faction-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  transition: opacity 0.3s ease;
}

.faction-card--alliance::before { background: var(--alliance); opacity: 0; }
.faction-card--horde::before { background: var(--horde-bright); opacity: 0; }

.faction-card:hover {
  transform: translateX(4px);
  background: var(--bg-card-hover);
}

.faction-card--alliance:hover {
  border-color: var(--border-alliance);
  box-shadow: 0 2px 20px rgba(201,168,76,0.08);
}
.faction-card--alliance:hover::before { opacity: 1; }

.faction-card--horde:hover {
  border-color: var(--border-horde);
  box-shadow: 0 2px 20px rgba(139,37,0,0.1);
}
.faction-card--horde:hover::before { opacity: 1; }

.faction-card-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.faction-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 4px;
}

.faction-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.faction-card:hover p {
  max-height: 80px;
  opacity: 1;
}

/* City List */
.city-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.city-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius);
  transition: background 0.3s ease;
}

.city-item:hover {
  background: rgba(201,168,76,0.04);
}
.city-item--horde:hover {
  background: rgba(139,37,0,0.05);
}

.city-icon {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.city-item:hover .city-icon {
  opacity: 1;
}

.city-item h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}
.city-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Champion Card */
.champion-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.3s ease;
  cursor: default;
}

.champion-card--alliance:hover {
  border-color: var(--border-alliance);
  box-shadow: 0 4px 30px rgba(201,168,76,0.1);
}
.champion-card--horde:hover {
  border-color: var(--border-horde);
  box-shadow: 0 4px 30px rgba(139,37,0,0.12);
}

.champion-icon {
  flex-shrink: 0;
}

.champion-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.champion-title {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 3px 0 8px;
}

.champion-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}
.champion-card:hover p {
  max-height: 100px;
  opacity: 1;
}

/* Center Divider */
.faction-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  position: relative;
}

.divider-line {
  flex: 1;
  width: 1px;
  min-height: 40px;
}
.divider-line--top {
  background: linear-gradient(180deg, var(--alliance) 0%, rgba(232,230,227,0.1) 100%);
}
.divider-line--bottom {
  background: linear-gradient(180deg, rgba(232,230,227,0.1) 0%, var(--horde) 100%);
}
.divider-emblem {
  flex-shrink: 0;
  padding: 8px 0;
}

/* ===================================================
   WORLD OF AZEROTH
   =================================================== */
.world {
  background: var(--bg-section);
  padding: var(--section-pad) 24px;
  position: relative;
  overflow: hidden;
}

.world::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 10% 50%, rgba(201,168,76,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 50%, rgba(139,37,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.world-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.world-column {
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s ease;
}
.world-column:hover {
  border-color: rgba(232,230,227,0.14);
}
.world-column:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.world-column:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

.world-column-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.world-column-header h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.world-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.world-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.world-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.world-item-dot--alliance { background: var(--alliance); }
.world-item-dot--horde { background: var(--horde-bright); }

.world-item h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}
.world-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===================================================
   TIMELINE / CHRONICLES
   =================================================== */
.chronicles {
  background: var(--bg-primary);
  padding: var(--section-pad) 24px;
  position: relative;
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--alliance) 10%,
    rgba(232,230,227,0.15) 40%,
    rgba(232,230,227,0.15) 60%,
    var(--horde) 90%,
    transparent 100%
  );
  transform: translateX(-50%);
}

.timeline-event {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 64px;
  position: relative;
}

.timeline-event--left {
  flex-direction: row;
  padding-right: calc(50% + 32px);
  padding-left: 0;
}
.timeline-event--right {
  flex-direction: row;
  padding-left: calc(50% + 32px);
  padding-right: 0;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--alliance);
  transform: translateX(-50%);
  flex-shrink: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.timeline-event--right .timeline-dot {
  border-color: var(--horde);
}
.timeline-event:hover .timeline-dot {
  box-shadow: 0 0 12px currentColor;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
}

.timeline-event--left .timeline-content {
  border-right: 2px solid var(--alliance);
}
.timeline-event--right .timeline-content {
  border-left: 2px solid var(--horde);
}

.timeline-event--left .timeline-content:hover {
  box-shadow: 4px 0 24px rgba(201,168,76,0.08);
}
.timeline-event--right .timeline-content:hover {
  box-shadow: -4px 0 24px rgba(139,37,0,0.1);
}

.timeline-icon {
  margin-bottom: 12px;
}

.timeline-era {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================
   CTA
   =================================================== */
.cta {
  position: relative;
  background: var(--bg-section);
  padding: var(--section-pad) 24px;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(139,37,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(13,13,26,0.8) 0%, transparent 50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-family: var(--font-decorative);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 64px;
}

.cta-banners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.cta-banner {
  flex: 1;
  max-width: 380px;
  padding: 48px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.4s ease;
  cursor: default;
}

.cta-banner--alliance {
  background: linear-gradient(160deg, rgba(201,168,76,0.06) 0%, rgba(201,168,76,0.01) 100%);
  border-color: var(--border-alliance);
}
.cta-banner--alliance:hover {
  background: linear-gradient(160deg, rgba(201,168,76,0.12) 0%, rgba(201,168,76,0.04) 100%);
  box-shadow: 0 0 60px rgba(201,168,76,0.1), inset 0 0 40px rgba(201,168,76,0.03);
  transform: translateY(-4px);
}

.cta-banner--horde {
  background: linear-gradient(200deg, rgba(139,37,0,0.08) 0%, rgba(139,37,0,0.02) 100%);
  border-color: var(--border-horde);
}
.cta-banner--horde:hover {
  background: linear-gradient(200deg, rgba(139,37,0,0.15) 0%, rgba(139,37,0,0.05) 100%);
  box-shadow: 0 0 60px rgba(139,37,0,0.12), inset 0 0 40px rgba(139,37,0,0.04);
  transform: translateY(-4px);
}

.cta-banner-crest {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.cta-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cta-banner--alliance h3 { color: var(--alliance-text); }
.cta-banner--horde h3 { color: var(--horde-text); }

.cta-banner-quote {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.5;
}

.cta-btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn--alliance {
  background: rgba(201,168,76,0.12);
  border-color: var(--alliance);
  color: var(--alliance);
}
.cta-btn--alliance:hover {
  background: var(--alliance);
  color: var(--bg-deep);
  box-shadow: 0 0 30px var(--alliance-glow);
}

.cta-btn--horde {
  background: rgba(139,37,0,0.12);
  border-color: var(--horde);
  color: var(--horde-text);
}
.cta-btn--horde:hover {
  background: var(--horde-bright);
  color: var(--text);
  box-shadow: 0 0 30px var(--horde-glow);
}

.cta-vs {
  padding: 0 32px;
  font-family: var(--font-decorative);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--bg-deep);
  padding: 60px 24px 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.footer-crests {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-decorative);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s ease;
}
.footer-link:hover { color: var(--alliance); }

.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.3s ease;
}
.social-link:hover {
  border-color: var(--alliance);
  color: var(--alliance);
  box-shadow: 0 0 12px rgba(201,168,76,0.2);
}

.footer-legal {
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.7;
  max-width: 500px;
}

.footer-copy {
  margin-top: 8px;
  color: var(--text-dim);
  opacity: 0.5;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1100px) {
  .factions-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .faction-divider {
    display: none;
  }
  .faction--alliance {
    border-right: none;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, var(--alliance), var(--horde)) 1;
  }
  .faction--horde {
    border-left: none;
  }
  .faction {
    padding: 40px 24px;
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad: 72px;
  }

  .hero-crests {
    gap: 20px;
  }
  .hero-crest svg {
    width: 80px;
    height: 80px;
  }

  .world-grid {
    grid-template-columns: 1fr;
  }
  .world-column:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .world-column:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

  .timeline-track { display: none; }
  .timeline-event--left,
  .timeline-event--right {
    padding: 0;
    flex-direction: column;
  }
  .timeline-dot { display: none; }
  .timeline-event--left .timeline-content,
  .timeline-event--right .timeline-content {
    border-left: 2px solid var(--alliance);
    border-right: none;
    width: 100%;
  }
  .timeline-event--right .timeline-content {
    border-left-color: var(--horde);
  }

  .cta-banners {
    flex-direction: column;
    gap: 24px;
  }
  .cta-vs {
    padding: 0;
  }
  .cta-banner {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad: 56px;
  }

  .hero-crests {
    flex-direction: column;
    gap: 0;
  }
  .hero-crest {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }

  .faction-header {
    flex-direction: column;
    text-align: center;
  }

  .world-column:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .world-column:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

  .footer-links {
    gap: 20px;
  }
}
