:root {
  --bg-deep: #08080f;
  --bg-surface: #0e0e1a;
  --bg-card: #141425;
  --bg-card-hover: #1a1a30;
  --amber: #e8a838;
  --amber-dim: rgba(232, 168, 56, 0.15);
  --amber-glow: rgba(232, 168, 56, 0.4);
  --crt-green: #39ff14;
  --crt-green-dim: rgba(57, 255, 20, 0.08);
  --text-primary: #f0e6d3;
  --text-secondary: #8a8397;
  --text-muted: #5a546b;
  --font-pixel: 'Press Start 2P', monospace;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --radius: 8px;
  --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-pixel);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

h2 {
  font-family: var(--font-body);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

h2 .accent {
  color: var(--amber);
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
  font-size: 16px;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 40px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(232,168,56,0.06) 0%, transparent 70%),
    var(--bg-deep);
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 28px;
}

.hero h1 .glow {
  color: var(--amber);
  text-shadow: 0 0 40px var(--amber-glow), 0 0 80px rgba(232,168,56,0.15);
}

.hero-sub {
  color: var(--text-secondary);
  font-size: clamp(15px, 2.5vw, 18px);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hero-tags span {
  font-family: var(--font-pixel);
  font-size: 8px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid rgba(232,168,56,0.15);
  border-radius: 4px;
  color: var(--amber);
  letter-spacing: 1px;
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  animation: pulse 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.8; transform: translateX(-50%) translateY(6px); }
}

/* ─── CONSOLES ─── */
.consoles {
  padding: 100px 0;
  background: var(--bg-surface);
}

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

.console-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.3s, background 0.3s;
}

.console-card:hover {
  border-color: rgba(232,168,56,0.25);
  background: var(--bg-card-hover);
}

.console-era {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--crt-green);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.console-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.console-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ─── MEMORY LANE ─── */
.memorylane {
  padding: 100px 0;
  background: var(--bg-deep);
}

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

.memory-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.3s;
}

.memory-item:hover {
  border-color: rgba(232,168,56,0.2);
}

.memory-item.wide {
  grid-column: span 2;
}

.memory-icon {
  font-size: 18px;
  color: var(--amber);
  margin-bottom: 14px;
}

.memory-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.memory-item p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ─── SPLIT-SCREEN ─── */
.splitscreen {
  padding: 100px 0;
  background: var(--bg-surface);
}

.moments-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
}

.moment {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.moment:last-child {
  border-bottom: none;
}

.moment-num {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--amber);
  flex-shrink: 0;
  padding-top: 4px;
}

.moment h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 6px;
}

.moment p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* ─── CLOSING ─── */
.closing {
  padding: 120px 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(232,168,56,0.05) 0%, transparent 70%),
    var(--bg-deep);
  text-align: center;
}

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

.closing h2 {
  margin-bottom: 28px;
}

.closing h2 .glow {
  color: var(--amber);
  text-shadow: 0 0 30px var(--amber-glow);
}

.closing p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.closing-tagline {
  font-weight: 600;
  color: var(--text-primary) !important;
  font-size: 18px !important;
  margin-top: 32px !important;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  background: var(--bg-deep);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 2px;
}

.footer-detail {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .console-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .memory-grid {
    grid-template-columns: 1fr;
  }
  .memory-item.wide {
    grid-column: span 1;
  }
  .moment {
    gap: 16px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .console-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 20px 40px;
  }
  .hero-tags span {
    font-size: 7px;
    padding: 6px 10px;
  }
}