/* ============================================
   EXODUS — Horror Game Website
   Dark Atmospheric Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600&family=Nosifer&display=swap');

/* ── CSS Variables ── */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #0f0808;
  --bg-card: rgba(20, 5, 5, 0.6);
  --bg-card-hover: rgba(40, 10, 10, 0.8);
  --text-primary: #c8c0b8;
  --text-secondary: #8a7e76;
  --text-bright: #e8e0d8;
  --accent: #8b0000;
  --accent-bright: #dc143c;
  --accent-glow: #ff1a1a;
  --accent-dark: #3a0000;
  --blood: #660000;
  --shadow-red: 0 0 30px rgba(139, 0, 0, 0.3);
  --shadow-glow: 0 0 60px rgba(220, 20, 60, 0.2);
  --font-display: 'Nosifer', cursive;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --border-subtle: 1px solid rgba(139, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-primary);
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
  min-height: 100vh;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--accent-glow);
  text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

img {
  max-width: 100%;
  display: block;
}

/* ── Scanline Overlay ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 10000;
}

/* ── VHS Noise Overlay ── */
body::after {
  content: '';
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  animation: noiseMove 0.5s steps(10) infinite;
}

@keyframes noiseMove {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -2%); }
  20% { transform: translate(2%, 1%); }
  30% { transform: translate(-1%, 2%); }
  40% { transform: translate(1%, -1%); }
  50% { transform: translate(-2%, 2%); }
  60% { transform: translate(2%, -2%); }
  70% { transform: translate(-1%, -1%); }
  80% { transform: translate(1%, 2%); }
  90% { transform: translate(-2%, 1%); }
  100% { transform: translate(0, 0); }
}

/* ── Loading Screen ── */
.loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--accent);
  animation: glitchText 2s infinite;
  text-shadow: 0 0 20px rgba(139, 0, 0, 0.8);
}
.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(139, 0, 0, 0.2);
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}
.loader-bar::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--accent-bright);
  animation: loadProgress 2s ease-in-out forwards;
  box-shadow: 0 0 15px var(--accent-bright);
}

@keyframes loadProgress {
  to { left: 0; }
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 9000;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 2, 2, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 0, 0, 0.15);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(5, 2, 2, 0.95);
  box-shadow: 0 2px 30px rgba(139, 0, 0, 0.15);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
  letter-spacing: 3px;
  text-shadow: 0 0 15px rgba(139, 0, 0, 0.6);
  transition: var(--transition);
}
.nav-logo:hover {
  text-shadow: 0 0 25px rgba(220, 20, 60, 0.8);
  color: var(--accent-bright);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: var(--accent-bright);
  transition: var(--transition);
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent-bright);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-bright);
  text-shadow: 0 0 10px rgba(220, 20, 60, 0.3);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 80%;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 9001;
}
.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 20px 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at center bottom, rgba(139, 0, 0, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 50%, rgba(60, 0, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8rem);
  color: var(--accent);
  text-shadow: 0 0 40px rgba(139, 0, 0, 0.6),
               0 0 80px rgba(139, 0, 0, 0.3),
               0 0 120px rgba(139, 0, 0, 0.1);
  animation: glitchText 3s infinite;
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  letter-spacing: 8px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}
.hero-description {
  max-width: 600px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  position: relative;
  z-index: 2;
  margin-bottom: 50px;
}

/* ── Glitch Effect ── */
@keyframes glitchText {
  0%, 95%, 100% {
    text-shadow: 0 0 40px rgba(139, 0, 0, 0.6),
                 0 0 80px rgba(139, 0, 0, 0.3);
    transform: translate(0);
  }
  96% {
    text-shadow: -3px 0 #ff0000, 3px 0 #0000ff,
                 0 0 40px rgba(139, 0, 0, 0.8);
    transform: translate(-2px, 1px);
  }
  97% {
    text-shadow: 3px 0 #ff0000, -3px 0 #0000ff,
                 0 0 40px rgba(139, 0, 0, 0.8);
    transform: translate(2px, -1px);
  }
  98% {
    text-shadow: -2px 0 #ff0000, 2px 0 #0000ff,
                 0 0 40px rgba(139, 0, 0, 0.8);
    transform: translate(1px, 1px);
  }
}

.glitch {
  position: relative;
  animation: glitchText 3s infinite;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
}
.glitch:hover::before {
  opacity: 0.8;
  color: #ff0000;
  animation: glitchLayer1 0.3s infinite;
  clip-path: inset(20% 0 30% 0);
}
.glitch:hover::after {
  opacity: 0.8;
  color: #0000ff;
  animation: glitchLayer2 0.3s infinite;
  clip-path: inset(60% 0 10% 0);
}

@keyframes glitchLayer1 {
  0% { transform: translate(0); }
  20% { transform: translate(-3px, 2px); }
  40% { transform: translate(3px, -2px); }
  60% { transform: translate(-2px, -1px); }
  80% { transform: translate(2px, 1px); }
  100% { transform: translate(0); }
}
@keyframes glitchLayer2 {
  0% { transform: translate(0); }
  20% { transform: translate(3px, -2px); }
  40% { transform: translate(-3px, 2px); }
  60% { transform: translate(2px, 1px); }
  80% { transform: translate(-2px, -1px); }
  100% { transform: translate(0); }
}

/* ── Flicker Effect ── */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  41% { opacity: 1; }
  42% { opacity: 0.8; }
  43% { opacity: 1; }
  45% { opacity: 0.3; }
  46% { opacity: 1; }
  49% { opacity: 1; }
  50% { opacity: 0.5; }
  51% { opacity: 1; }
  96% { opacity: 1; }
  97% { opacity: 0.6; }
  98% { opacity: 1; }
}

.flicker {
  animation: flicker 4s infinite;
}

/* ── Float Animation ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ── Pulse Glow ── */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(139, 0, 0, 0.3); }
  50% { box-shadow: 0 0 40px rgba(220, 20, 60, 0.5); }
}

/* ── Blood Drip ── */
.blood-drip {
  position: relative;
}
.blood-drip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 20%;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
  border-radius: 0 0 50% 50%;
  animation: drip 4s ease-in infinite;
  animation-delay: var(--drip-delay, 0s);
}

@keyframes drip {
  0%, 60% { height: 0; opacity: 1; }
  80% { height: 40px; opacity: 1; }
  100% { height: 40px; opacity: 0; }
}

/* ── Sections ── */
.section {
  padding: 100px 40px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(139, 0, 0, 0.03), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--text-bright);
  margin-bottom: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.section-header .accent-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 20px;
  box-shadow: 0 0 15px var(--accent);
}
.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #fff;
  box-shadow: 0 0 30px rgba(139, 0, 0, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 0 50px rgba(220, 20, 60, 0.6);
  transform: translateY(-2px);
  color: #fff;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: 0.5s;
}
.btn-primary:hover::before {
  left: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--accent-bright);
  border: 1px solid var(--accent);
  box-shadow: inset 0 0 20px rgba(139, 0, 0, 0.1);
}
.btn-outline:hover {
  background: rgba(139, 0, 0, 0.15);
  box-shadow: inset 0 0 30px rgba(139, 0, 0, 0.2), 0 0 20px rgba(139, 0, 0, 0.2);
  color: var(--accent-bright);
  transform: translateY(-2px);
}

.btn-download {
  background: linear-gradient(135deg, #8b0000, #b91c1c, #dc143c);
  color: #fff;
  padding: 18px 50px;
  font-size: 1rem;
  box-shadow: 0 0 40px rgba(139, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: pulseGlow 2s infinite;
}
.btn-download:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 60px rgba(220, 20, 60, 0.7);
  color: #fff;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: var(--border-subtle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 35px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition);
}
.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-red);
}
.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
}

/* ── Grid Layouts ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* ── Feature Cards ── */
.feature-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 0;
  background: linear-gradient(0deg, rgba(139, 0, 0, 0.1), transparent);
  transition: 0.5s;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 0, 0, 0.4);
}
.feature-card:hover::after {
  height: 100%;
}
.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
  filter: grayscale(0.5);
  transition: var(--transition);
}
.feature-card:hover .icon {
  filter: grayscale(0);
  transform: scale(1.1);
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ── Character Cards ── */
.character-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.character-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-red);
}
.character-img {
  height: 280px;
  background: linear-gradient(135deg, #1a0505, #0a0a0a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.character-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 50%;
  background: linear-gradient(0deg, var(--bg-card), transparent);
}
.character-info {
  padding: 25px;
}
.character-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-bottom: 5px;
}
.character-info .role {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}
.character-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ── Gallery Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
}
.gallery-item {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1a0505, #0a0a0a);
  border: var(--border-subtle);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-red);
  border-color: rgba(139, 0, 0, 0.5);
}
.gallery-item .overlay {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; padding: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,0.9), transparent);
  transform: translateY(100%);
  transition: var(--transition);
}
.gallery-item:hover .overlay {
  transform: translateY(0);
}
.gallery-item .overlay span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-bright);
  letter-spacing: 1px;
}

/* ── Timeline / News ── */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding: 25px 30px;
  background: var(--bg-card);
  border: var(--border-subtle);
  transition: var(--transition);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -47px; top: 30px;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent);
}
.timeline-item:hover {
  border-color: rgba(139, 0, 0, 0.4);
  box-shadow: var(--shadow-red);
}
.timeline-date {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.timeline-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-bottom: 10px;
}
.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ── FAQ Accordion ── */
.faq-item {
  border: var(--border-subtle);
  margin-bottom: 10px;
  background: var(--bg-card);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: rgba(139, 0, 0, 0.4);
}
.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: none;
  border: none;
  color: var(--text-bright);
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.faq-question:hover {
  color: var(--accent-bright);
}
.faq-question .icon-toggle {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question .icon-toggle {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 25px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 25px 20px;
}
.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ── Download Section ── */
.download-box {
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.1), rgba(10, 5, 5, 0.9));
  border: 1px solid rgba(139, 0, 0, 0.3);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(139, 0, 0, 0.05), transparent, rgba(139, 0, 0, 0.05));
  animation: rotateBg 20s linear infinite;
}
@keyframes rotateBg {
  to { transform: rotate(360deg); }
}
.download-box > * {
  position: relative;
  z-index: 2;
}
.download-box h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-bright);
  margin-bottom: 15px;
}
.download-box .version {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 25px;
  display: block;
}

/* ── System Requirements ── */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table th,
.specs-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(139, 0, 0, 0.1);
  font-size: 0.9rem;
}
.specs-table th {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  width: 200px;
}
.specs-table td {
  color: var(--text-primary);
}
.specs-table tr:hover td {
  background: rgba(139, 0, 0, 0.05);
}

/* ── Stats Counter ── */
.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 0;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent-bright);
  text-shadow: 0 0 20px rgba(220, 20, 60, 0.3);
  display: block;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 5px;
}

/* ── Location Cards ── */
.location-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  overflow: hidden;
  transition: var(--transition);
}
.location-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-red);
}
.location-preview {
  height: 200px;
  background: linear-gradient(135deg, #1a0505, #0a0a0a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.location-preview .danger-level {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(139, 0, 0, 0.8);
  color: #fff;
  font-size: 0.65rem;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.location-info {
  padding: 25px;
}
.location-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-bottom: 10px;
}
.location-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ── Tags ── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(139, 0, 0, 0.3);
  color: var(--accent);
  margin: 3px;
  transition: var(--transition);
}
.tag:hover {
  background: rgba(139, 0, 0, 0.2);
}

/* ── Social Links ── */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.social-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  text-decoration: none;
}
.social-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-red);
  border-color: rgba(139, 0, 0, 0.4);
}
.social-card .social-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 0, 0, 0.1);
  border: 1px solid rgba(139, 0, 0, 0.2);
}
.social-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-bright);
  letter-spacing: 1px;
}
.social-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* ── Footer ── */
.footer {
  padding: 60px 40px 30px;
  border-top: 1px solid rgba(139, 0, 0, 0.15);
  background: rgba(5, 2, 2, 0.5);
}
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
  text-shadow: 0 0 15px rgba(139, 0, 0, 0.5);
  margin-bottom: 15px;
  display: block;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  max-width: 300px;
}
.footer h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.footer ul {
  list-style: none;
}
.footer ul li {
  margin-bottom: 10px;
}
.footer ul a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer ul a:hover {
  color: var(--accent-bright);
  padding-left: 5px;
}
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid rgba(139, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ── Page Header (inner pages) ── */
.page-header {
  padding: 140px 40px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.08) 0%, transparent 70%);
}
.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-bright);
  letter-spacing: 5px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  margin-bottom: 15px;
}
.page-header p {
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Fog Particle Canvas ── */
#fog-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Separator ── */
.separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.3), transparent);
  margin: 20px 0;
}

/* ── Typewriter Effect ── */
.typewriter {
  overflow: hidden;
  border-right: 2px solid var(--accent);
  white-space: nowrap;
  animation: typing 3s steps(40) 1s forwards, blinkCaret 0.75s step-end infinite;
  width: 0;
  display: inline-block;
}
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blinkCaret {
  50% { border-color: transparent; }
}

/* ── Warning Box ── */
.warning-box {
  background: rgba(139, 0, 0, 0.1);
  border-left: 3px solid var(--accent);
  padding: 20px 25px;
  margin: 20px 0;
}
.warning-box p {
  color: var(--text-primary);
  font-size: 0.9rem;
}

/* ── Quote ── */
.horror-quote {
  text-align: center;
  padding: 50px 20px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-secondary);
  font-style: italic;
  position: relative;
}
.horror-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: rgba(5, 2, 2, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 30px;
    gap: 5px;
    transition: 0.4s ease;
    border-left: 1px solid rgba(139, 0, 0, 0.2);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: 0.85rem;
    padding: 12px 0;
  }
  .burger { display: flex; }

  .section { padding: 60px 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { gap: 30px; }
  .footer-content { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .download-box { padding: 40px 20px; }
  .hero { padding: 100px 20px 60px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}
