:root {
  --bg-deep: #0a0a0c;
  --bg-surface: #111115;
  --bg-card: #17171d;
  --fg: #e8e6e1;
  --fg-dim: #8a8880;
  --fg-muted: #5a5850;
  --accent: #c23c3c;
  --accent-glow: #e04040;
  --accent-warm: #d4603a;
  --highlight: #f0c040;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  overflow: hidden;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(194,60,60,0.15) 0%, rgba(194,60,60,0.05) 40%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--accent);
  border: 1px solid rgba(194,60,60,0.3);
  padding: 0.5rem 1.2rem;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.hero-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lede {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--fg-dim);
  max-width: 580px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* ═══ MANIFESTO ═══ */
.manifesto {
  padding: 8rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
}

.manifesto-label,
.section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 2rem;
}

.manifesto-text .highlight,
.closing-text .highlight {
  color: var(--highlight);
}

.manifesto-sub {
  font-size: 1.05rem;
  color: var(--fg-dim);
  line-height: 1.8;
  max-width: 700px;
}

/* ═══ UNIVERSES ═══ */
.universes {
  padding: 6rem 2rem 8rem;
}

.universes-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.universes-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 3.5rem;
  letter-spacing: -0.02em;
}

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

.universe-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.universe-card:hover {
  border-color: rgba(194,60,60,0.25);
}

.card-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  line-height: 1;
}

.universe-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.universe-card p {
  font-size: 0.9rem;
  color: var(--fg-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(194,60,60,0.3);
  color: var(--accent);
}

.card-crime { border-top: 2px solid var(--accent); }
.card-horror { border-top: 2px solid #6b3fa0; }
.card-occult { border-top: 2px solid var(--highlight); }
.card-romance { border-top: 2px solid var(--accent-warm); }

/* ═══ ENGINE ═══ */
.engine {
  padding: 6rem 2rem 8rem;
  background: var(--bg-surface);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.engine-inner {
  max-width: 900px;
  margin: 0 auto;
}

.engine-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 3.5rem;
  letter-spacing: -0.02em;
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.engine-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.engine-icon {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(194,60,60,0.08);
  border-radius: 4px;
}

.engine-text h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.engine-text p {
  font-size: 0.85rem;
  color: var(--fg-dim);
  line-height: 1.7;
}

.engine-comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--bg-deep);
  border: 1px solid rgba(255,255,255,0.05);
}

.comparison-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.comp-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  width: 120px;
  flex-shrink: 0;
  text-align: right;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comp-bar {
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.comp-bar span {
  white-space: nowrap;
}

.bar-slow {
  width: 15%;
  min-width: 90px;
  background: rgba(255,255,255,0.05);
  color: var(--fg-muted);
}

.bar-fast {
  width: 85%;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  color: var(--fg);
}

/* ═══ CLOSING ═══ */
.closing {
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
}

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

.closing-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(194,60,60,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.closing-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 2rem;
  color: var(--fg);
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ═══ FOOTER ═══ */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--fg-dim);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}

.footer-platforms {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-dot {
  color: rgba(255,255,255,0.15);
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--fg-muted);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .universe-grid {
    grid-template-columns: 1fr;
  }
  
  .engine-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    gap: 1.2rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .comp-label {
    width: 80px;
    font-size: 0.65rem;
  }
  
  .manifesto,
  .closing {
    padding: 5rem 1.5rem;
  }

  .universes,
  .engine {
    padding: 4rem 1.5rem 5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1.5rem;
    min-height: 90vh;
  }
  
  .hero-badge {
    font-size: 0.6rem;
    padding: 0.4rem 0.8rem;
  }
  
  .universe-card {
    padding: 1.8rem;
  }
  
  .engine-comparison {
    padding: 1.5rem;
  }
  
  .comparison-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .comp-label {
    text-align: left;
    width: auto;
  }
  
  .bar-slow,
  .bar-fast {
    width: 100%;
  }
}
