:root {
  --bg-deep: #0a0a0f;
  --bg-surface: #12121a;
  --bg-elevated: #1a1a28;
  --gold: #c9a84c;
  --gold-bright: #e8c95a;
  --gold-dim: #8a6f2e;
  --silver: #a8a8b8;
  --crimson: #8b1a1a;
  --crimson-bright: #c42b2b;
  --text-primary: #e8e8f0;
  --text-secondary: #9898a8;
  --text-dim: #5a5a6a;
  --accent-glow: rgba(201, 168, 76, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(139, 26, 26, 0.06) 0%, transparent 50%),
              var(--bg-deep);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 100px,
    rgba(201, 168, 76, 0.03) 100px,
    rgba(201, 168, 76, 0.03) 101px
  );
  pointer-events: none;
}

.hero-crown {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 2rem;
  text-shadow: 0 0 40px rgba(201, 168, 76, 0.4);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-content {
  text-align: center;
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.hero-content h1 .accent {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

.tagline {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--gold-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto;
}

.hero-grid {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  position: relative;
  z-index: 1;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-value {
  font-size: 2rem;
  color: var(--gold);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}

/* === SECTION TITLES === */
.section-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* === PILLARS === */
.pillars {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}

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

.pillar {
  background: var(--bg-elevated);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 2px;
  padding: 2.5rem 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.pillar:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.pillar h3 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--gold-bright);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === MECHANICS === */
.mechanics {
  padding: 6rem 2rem;
  background: var(--bg-deep);
  position: relative;
}

.mechanics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim));
}

.mechanics-content {
  max-width: 1000px;
  margin: 0 auto;
}

.mechanics-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.mechanics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.mechanic {
  background: var(--bg-surface);
  border-left: 3px solid var(--crimson);
  padding: 2rem;
  border-radius: 0 2px 2px 0;
  transition: border-color 0.3s;
}

.mechanic:hover {
  border-left-color: var(--crimson-bright);
}

.mechanic-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.mechanic-icon {
  font-size: 1.5rem;
  color: var(--crimson-bright);
}

.mechanic h3 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.mechanic p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === HIERARCHY === */
.hierarchy {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}

.hierarchy-intro {
  text-align: center;
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 3rem;
}

.hierarchy-ladder {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rank {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 2px;
  transition: transform 0.3s;
}

.rank:hover {
  transform: translateX(8px);
}

.rank-top {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.04));
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.rank-mid {
  background: linear-gradient(135deg, rgba(168, 168, 184, 0.08), rgba(168, 168, 184, 0.02));
  border: 1px solid rgba(168, 168, 184, 0.15);
}

.rank-base {
  background: linear-gradient(135deg, rgba(139, 26, 26, 0.1), rgba(139, 26, 26, 0.03));
  border: 1px solid rgba(139, 26, 26, 0.2);
}

.rank-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.rank-top .rank-icon { color: var(--gold); }
.rank-mid .rank-icon { color: var(--silver); }
.rank-base .rank-icon { color: var(--crimson-bright); }

.rank-info h4 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.rank-top .rank-info h4 { color: var(--gold-bright); }
.rank-mid .rank-info h4 { color: var(--silver); }
.rank-base .rank-info h4 { color: var(--crimson-bright); }

.rank-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === CLOSING === */
.closing {
  padding: 6rem 2rem;
  background: radial-gradient(ellipse at 50% 100%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
              var(--bg-deep);
  text-align: center;
}

.closing-content {
  max-width: 600px;
  margin: 0 auto;
}

.closing h2 {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.closing-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.closing-highlight {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 2rem;
}

.closing-cta {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.85rem 2.2rem;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-bright);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 2px;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.15s;
}

.closing-cta:hover {
  background: rgba(201, 168, 76, 0.22);
  border-color: rgba(201, 168, 76, 0.6);
  transform: translateY(-2px);
}

.closing-whisper {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--gold-dim);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* === FOOTER === */
.site-footer {
  padding: 2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  background: var(--bg-deep);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
}

.footer-divider {
  color: var(--text-dim);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .mechanics-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-icon {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1.5rem;
  }

  .pillars,
  .mechanics,
  .hierarchy,
  .closing {
    padding: 4rem 1.5rem;
  }
}