/* ==========================================================================
   AETHRA CITY RUSH — Modern Cyberpunk Game Identity & Scrollytelling CSS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Syne:wght@600;700;800&family=Space+Grotesk:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #03070b;
  --bg-surface: #07101a;
  --bg-card: rgba(10, 22, 36, 0.65);
  --bg-card-hover: rgba(15, 34, 54, 0.85);

  --cyan: #22d8ff;
  --cyan-glow: rgba(34, 216, 255, 0.4);
  --blue: #0b78ff;
  --blue-glow: rgba(11, 120, 255, 0.35);
  --red: #ff304f;
  --red-glow: rgba(255, 48, 79, 0.45);
  --gold: #ffb800;
  --gold-glow: rgba(255, 184, 0, 0.4);

  --text-main: #edf7ff;
  --text-muted: #8ca3b5;
  --text-dim: #546a7b;

  --border-line: rgba(34, 216, 255, 0.15);
  --border-active: rgba(34, 216, 255, 0.5);

  --font-display: 'Orbitron', sans-serif;
  --font-heading: 'Syne', sans-serif;
  --font-tech: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Background Canvas & HUD Overlay FX */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

.cyber-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 216, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 216, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.7;
}

.scanlines-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%,
      rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  opacity: 0.15;
  transition: opacity 0.3s ease;
}

.scanlines-overlay.off {
  opacity: 0;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
.title-font {
  font-family: var(--font-display);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-tech);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--cyan);
  display: inline-block;
  box-shadow: 0 0 10px var(--cyan);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.eyebrow.red {
  color: var(--red);
}

.eyebrow.red::before {
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #b8dcff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 720px;
  line-height: 1.7;
}

/* Glassmorphism Cards */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: all 0.4s var(--ease-out);
}

.glass-panel:hover {
  border-color: var(--border-active);
  box-shadow: 0 20px 50px rgba(34, 216, 255, 0.15);
}

/* Cyber Cut Corners */
.cyber-corner {
  clip-path: polygon(0 0,
      calc(100% - 16px) 0,
      100% 16px,
      100% 100%,
      16px 100%,
      0 calc(100% - 16px));
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(3, 7, 11, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(34, 216, 255, 0.12);
  transition: all 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.nav-brand img {
  height: 44px;
  width: 44px;
  border-radius: 8px;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 15px var(--cyan-glow);
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}

.nav-brand-text span {
  color: var(--cyan);
  display: block;
  font-size: 0.65rem;
  letter-spacing: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Audio & HUD Control Buttons */
.hud-btn {
  background: rgba(15, 34, 54, 0.6);
  border: 1px solid var(--border-line);
  color: var(--text-main);
  padding: 8px 16px;
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hud-btn:hover,
.hud-btn.active {
  background: rgba(34, 216, 255, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 15px var(--cyan-glow);
}

.audio-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4757;
}

.audio-indicator.playing {
  background: #2ed573;
  box-shadow: 0 0 10px #2ed573;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Primary CTA Button */
.btn-cyber {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, rgba(34, 216, 255, 0.2) 0%, rgba(11, 120, 255, 0.4) 100%);
  border: 1px solid var(--cyan);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: all 0.3s var(--ease-out);
}

.btn-cyber::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.btn-cyber:hover {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  box-shadow: 0 0 25px var(--cyan-glow);
  transform: translateY(-2px);
  color: #000;
}

.btn-cyber:hover::before {
  left: 100%;
}

.btn-cyber.red-btn {
  background: linear-gradient(135deg, rgba(255, 48, 79, 0.2) 0%, rgba(180, 20, 40, 0.4) 100%);
  border-color: var(--red);
}

.btn-cyber.red-btn:hover {
  background: linear-gradient(135deg, var(--red) 0%, #b41428 100%);
  box-shadow: 0 0 25px var(--red-glow);
  color: #fff;
}

/* Mobile Store Badges */
.mobile-store-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(7, 16, 26, 0.85);
  border: 1px solid var(--border-line);
  backdrop-filter: blur(12px);
  border-radius: 8px;
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.store-badge:hover {
  border-color: var(--cyan);
  background: rgba(34, 216, 255, 0.12);
  color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: translateY(-2px);
}

.store-badge svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   OFFICIAL PREQUEL GRAPHIC NOVEL MOCKUP SPOTLIGHT DESIGN
   ========================================================================== */
.comic-mockup-card {
  margin-top: 50px;
  /* padding: 40px; */
  display: grid;
  grid-template-columns: 440px 1fr;
  background-image:
    linear-gradient(to right, rgba(3, 7, 11, 0.75) 0%, rgba(3, 7, 11, 0.88) 45%, rgba(3, 7, 11, 0.96) 100%),
    url('assets/comic-section/aethra-city.png');
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 216, 255, 0.25);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(34, 216, 255, 0.05);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.comic-mockup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 10% 40%, rgba(255, 184, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 60%, rgba(34, 216, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Left Column - Character & 3D Hardcover Book Composition */
.comic-left-showcase {
  position: relative;
  min-height: 500px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.kael-voss-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: bottom left;
  z-index: 1;
  filter: drop-shadow(0 0 25px rgba(0, 0, 0, 0.85));
  pointer-events: none;
}

.prequel-saga-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(3, 7, 11, 0.9);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  border-radius: 4px;
  box-shadow: 0 0 18px rgba(255, 184, 0, 0.45);
}

.aethra-book-container {
  position: absolute;
  bottom: 10%;
  /* Floating 15% above bottom edge */
  left: 15px;
  z-index: 3;
  width: 260px;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out);
}

.comic-right-content {
  margin: 40px;
}

.aethra-book-container:hover {
  transform: translateY(-6px) scale(1.03);
}

.aethra-book-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(-12px 18px 25px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 30px rgba(34, 216, 255, 0.4));
}

.cyber-sign-panel {
  position: absolute;
  bottom: 18%;
  right: 15px;
  z-index: 4;
  padding: 10px 14px;
  background: rgba(3, 7, 11, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(34, 216, 255, 0.3);
  font-family: var(--font-tech);
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 2px;
  line-height: 1.4;
  border-radius: 6px;
  text-transform: uppercase;
}

/* Right Column Content */
.comic-right-header {
  font-family: var(--font-tech);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.comic-main-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-family: var(--font-display);
  font-weight: 900;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.comic-crest-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.comic-crest-divider::before,
.comic-crest-divider::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 216, 255, 0.4), transparent);
}

.comic-crest-symbol {
  color: var(--cyan);
  font-size: 1.1rem;
  text-shadow: 0 0 10px var(--cyan);
}

.comic-tags-row {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.comic-pill {
  padding: 6px 16px;
  border: 1px solid rgba(255, 184, 0, 0.4);
  background: rgba(255, 184, 0, 0.06);
  color: var(--gold);
  font-family: var(--font-tech);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 4px;
}

.comic-synopsis {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Two Compact Interactive Action Tiles */
.comic-tiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.comic-tile {
  padding: 18px 16px;
  /* Compact height padding */
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: all 0.4s var(--ease-out);
}

/* Gold Tile (Read Comic) */
.comic-tile.gold-tile {
  background: linear-gradient(145deg, rgba(255, 184, 0, 0.08) 0%, rgba(10, 18, 28, 0.8) 100%);
  border: 1.5px solid rgba(255, 184, 0, 0.6);
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.15);
}

.comic-tile.gold-tile:hover {
  background: linear-gradient(145deg, rgba(255, 184, 0, 0.2) 0%, rgba(20, 32, 48, 0.9) 100%);
  border-color: var(--gold);
  box-shadow: 0 0 35px rgba(255, 184, 0, 0.4);
  transform: translateY(-4px);
}

/* Cyan Tile (Download PDF) */
.comic-tile.cyan-tile {
  background: linear-gradient(145deg, rgba(34, 216, 255, 0.08) 0%, rgba(10, 18, 28, 0.8) 100%);
  border: 1.5px solid rgba(34, 216, 255, 0.6);
  box-shadow: 0 0 20px rgba(34, 216, 255, 0.15);
}

.comic-tile.cyan-tile:hover {
  background: linear-gradient(145deg, rgba(34, 216, 255, 0.2) 0%, rgba(20, 32, 48, 0.9) 100%);
  border-color: var(--cyan);
  box-shadow: 0 0 35px rgba(34, 216, 255, 0.4);
  transform: translateY(-4px);
}

.tile-icon-circle {
  width: 58px;
  /* Unshrunk 58px icon circle */
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.gold-tile .tile-icon-circle {
  border: 2px solid var(--gold);
  background: rgba(255, 184, 0, 0.15);
  color: var(--gold);
  box-shadow: 0 0 15px rgba(255, 184, 0, 0.3);
}

.cyan-tile .tile-icon-circle {
  border: 2px solid var(--cyan);
  background: rgba(34, 216, 255, 0.15);
  color: var(--cyan);
  box-shadow: 0 0 15px rgba(34, 216, 255, 0.3);
}

.comic-tile:hover .tile-icon-circle {
  transform: scale(1.1);
}

.tile-icon-circle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.tile-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tile-sub {
  font-family: var(--font-tech);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.tile-arrow {
  margin-top: 8px;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 3px;
  transition: transform 0.3s ease;
}

.gold-tile .tile-arrow {
  color: var(--gold);
}

.cyan-tile .tile-arrow {
  color: var(--cyan);
}

.comic-tile:hover .tile-arrow {
  transform: translateX(4px);
}

/* Bottom Saga Pill Bar */
.comic-saga-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(7, 16, 26, 0.85);
  border: 1px solid rgba(34, 216, 255, 0.25);
  border-radius: 10px;
}

.saga-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.saga-shard-icon {
  width: 32px;
  height: 32px;
  background: rgba(34, 216, 255, 0.15);
  border: 1px solid var(--cyan);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.saga-shard-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.saga-bar-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.saga-bar-sub {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.saga-dots-track {
  display: flex;
  gap: 6px;
  align-items: center;
}

.saga-dot {
  width: 6px;
  height: 6px;
  background: var(--text-dim);
  border-radius: 3px;
}

.saga-dot.active {
  width: 18px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 5% 60px;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  inset: 0;
  filter: brightness(0.55) contrast(1.15) saturate(1.2);
}

.hero-video.active {
  opacity: 0.65;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 40%, rgba(3, 7, 11, 0.1) 0%, var(--bg-dark) 85%),
    linear-gradient(to bottom, rgba(3, 7, 11, 0.6) 0%, transparent 30%, transparent 70%, var(--bg-dark) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.title-logo-img {
  max-width: 580px;
  width: 90%;
  height: auto;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 30px rgba(34, 216, 255, 0.5));
  animation: logo-float 4s ease-in-out infinite;
}

@keyframes logo-float {

  0%,
  100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 30px rgba(34, 216, 255, 0.4));
  }

  50% {
    transform: translateY(-8px);
    filter: drop-shadow(0 0 45px rgba(34, 216, 255, 0.7));
  }
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 20px;
  color: var(--text-main);
  text-transform: uppercase;
}

.hero-tagline span {
  color: var(--cyan);
  text-shadow: 0 0 15px var(--cyan);
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 35px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Video Mode Selector Widget */
.video-switcher-hud {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(7, 16, 26, 0.85);
  border: 1px solid var(--border-line);
  backdrop-filter: blur(12px);
  border-radius: 30px;
}

.switcher-label {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.switcher-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-tech);
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.switcher-btn.active {
  background: var(--cyan);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* Scroll Down Prompt */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-family: var(--font-tech);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.scroll-indicator:hover {
  color: var(--cyan);
}

.mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  position: relative;
}

.mouse-icon::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scroll-wheel 1.8s infinite;
}

@keyframes scroll-wheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  80% {
    transform: translate(-50%, 14px);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
}

/* ==========================================================================
   CONTAINER & SECTION LAYOUTS
   ========================================================================== */
.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.section-padding {
  padding: 120px 0;
  position: relative;
}

/* Scrollytelling Section Divider */
.cyber-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.25;
  margin: 0 auto;
}

/* ==========================================================================
   SECTION 1: THE BACKSTORY (SCROLLYTELLING)
   ========================================================================== */
.backstory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 60px;
}

.lore-card {
  padding: 40px;
  border-left: 3px solid var(--cyan);
}

.lore-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 25px 0;
  position: relative;
}

.lore-quote::before {
  content: '“';
  font-size: 4rem;
  color: var(--cyan);
  opacity: 0.3;
  position: absolute;
  top: -30px;
  left: -20px;
  font-family: serif;
}

.lore-visual-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-line);
}

.lore-visual-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) contrast(1.1);
  transition: transform 0.6s var(--ease-out);
}

.lore-visual-wrapper:hover .lore-visual-img {
  transform: scale(1.04);
}

/* Interactive Shard Matrix Cards */
.shard-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.shard-card {
  padding: 30px;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
}

.shard-card .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cyan);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shard-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.shard-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   SECTION 2: CONFLICT — KAEL VS THE HUNTER
   ========================================================================== */
.character-dossier-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-top: 60px;
}

.char-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
}

.char-card.kael {
  border-color: rgba(34, 216, 255, 0.3);
}

.char-card.hunter {
  border-color: rgba(255, 48, 79, 0.3);
}

.char-img-box {
  width: 100%;
  height: 420px;
  position: relative;
  overflow: hidden;
}

.char-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-out);
}

.char-card:hover .char-img-box img {
  transform: scale(1.05);
}

.char-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 14px;
  background: rgba(3, 7, 11, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--cyan);
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.char-card.hunter .char-tag {
  border-color: var(--red);
  color: var(--red);
}

.char-body {
  padding: 35px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.char-name {
  font-size: 2rem;
  margin-bottom: 8px;
}

.char-role {
  font-family: var(--font-tech);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.char-card.hunter .char-role {
  color: var(--red);
}

.char-bio {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 25px;
}

/* Stat Radars / Bars */
.stat-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-tech);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.stat-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  border-radius: 3px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.char-card.hunter .stat-bar-fill {
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

/* ==========================================================================
   SECTION 3: 7-SCENE PROLOGUE STORYBOARD
   ========================================================================== */
.storyboard-container {
  margin-top: 50px;
}

.storyboard-viewer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 35px;
  align-items: center;
  padding: 40px;
  border-radius: 12px;
}

.storyboard-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-line);
  height: 380px;
}

.storyboard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.scene-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(3, 7, 11, 0.9);
  border: 1px solid var(--cyan);
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--cyan);
}

.storyboard-info h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #fff;
}

.storyboard-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.scene-stepper-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 15px;
  margin-top: 30px;
  scrollbar-width: thin;
}

.scene-tab {
  flex: 0 0 auto;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  color: var(--text-muted);
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.scene-tab:hover,
.scene-tab.active {
  background: rgba(34, 216, 255, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 15px var(--cyan-glow);
}

/* ==========================================================================
   SECTION 4: CORE DIRECTIVES (MISSION LOOP)
   ========================================================================== */
.directives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.directive-card {
  padding: 35px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.directive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--cyan);
}

.directive-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--cyan);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.directive-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: #fff;
}

.directive-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Token Feature Box Styling */
.token-feature-box {
  margin-top: 45px;
  padding: 35px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: center;
  border-color: rgba(34, 216, 255, 0.4);
}

.token-img-wrapper {
  text-align: center;
  display: flex;
  justify-content: center;
}

.token-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(34, 216, 255, 0.5));
  border-radius: 12px;
}

.token-title {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 10px;
}

.token-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 18px;
  line-height: 1.6;
}

.token-btn {
  padding: 10px 22px;
  font-size: 0.78rem;
}

/* ==========================================================================
   SECTION 5: ASSET VAULT & LIGHTBOX
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  color: var(--text-muted);
  font-family: var(--font-tech);
  font-size: 0.8rem;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--cyan);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 15px var(--cyan-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 320px;
  border: 1px solid var(--border-line);
  transition: all 0.4s var(--ease-out);
}

.gallery-item.tall {
  grid-row: span 2;
  height: 664px;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.08);
}

/* Video Play Button Overlay */
.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(3, 7, 11, 0.8);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  box-shadow: 0 0 25px var(--cyan-glow);
  cursor: pointer;
  z-index: 5;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.video-play-overlay::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent var(--cyan);
  margin-left: 3px;
  transition: all 0.3s ease;
}

.gallery-item:hover .video-play-overlay {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--cyan);
  border-color: #fff;
  box-shadow: 0 0 40px var(--cyan);
}

.gallery-item:hover .video-play-overlay::after {
  border-color: transparent transparent transparent #000;
}

.video-play-overlay.red-play {
  border-color: var(--red);
  box-shadow: 0 0 25px var(--red-glow);
  pointer-events: auto;
}

.video-play-overlay.red-play::after {
  border-color: transparent transparent transparent var(--red);
}

#trailer-play-overlay:hover {
  transform: translate(-50%, -50%) scale(1.15);
}

.video-play-overlay.red-play:hover {
  background: var(--red);
  border-color: #fff;
  box-shadow: 0 0 40px var(--red);
}

.video-play-overlay.red-play:hover::after {
  border-color: transparent transparent transparent #fff;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 7, 11, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
}

.gallery-category {
  font-family: var(--font-tech);
  color: var(--cyan);
  font-size: 0.75rem;
  letter-spacing: 2px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(3, 7, 11, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 40px;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-media {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 30px rgba(34, 216, 255, 0.3);
}

.lightbox-caption {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-tech);
  color: var(--text-main);
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--cyan);
}

/* ==========================================================================
   SECTION 6: GAME SPECS & TRANSMISSION FOOTER
   ========================================================================== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.spec-box {
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}

.spec-label {
  font-family: var(--font-tech);
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.spec-val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cyan);
  font-weight: 700;
}

.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-line);
  text-align: center;
  background: #020407;
}

.footer-logo {
  height: 50px;
  margin-bottom: 20px;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-family: var(--font-tech);
}

/* ==========================================================================
   HAMBURGER BUTTON & MOBILE MENU OVERLAY STYLING
   ========================================================================== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(15, 34, 54, 0.85);
  border: 1px solid var(--cyan);
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 10001;
  box-shadow: 0 0 12px var(--cyan-glow);
  transition: all 0.3s ease;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-btn.active {
  background: rgba(34, 216, 255, 0.2);
  border-color: #fff;
  box-shadow: 0 0 20px var(--cyan);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.menu-open {
  overflow: hidden !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .hamburger-btn {
    display: flex;
  }

  #scanlines-toggle-btn {
    display: none;
  }

  .nav-restore-btn {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 80px);
    background: rgba(3, 7, 11, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 20px;
    gap: 20px;
    z-index: 9999;
    display: flex !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: translateY(-15px);
    border-bottom: 1px solid var(--border-active);
    overflow-y: auto;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    max-width: 340px;
    text-align: center;
  }

  .nav-links a {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #fff;
    padding: 12px 20px;
    display: block;
    width: 100%;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(34, 216, 255, 0.15);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 18px var(--cyan-glow);
  }

  /* Comic Spotlight Card Responsive */
  .comic-mockup-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 24px;
  }

  .comic-left-showcase {
    min-height: 420px;
  }

  .aethra-book-container {
    width: 210px;
    bottom: 12%;
    left: 10px;
  }

  .cyber-sign-panel {
    right: 10px;
    bottom: 14%;
    padding: 8px 10px;
    font-size: 0.62rem;
  }

  .backstory-grid,
  .character-dossier-wrapper,
  .storyboard-viewer {
    grid-template-columns: 1fr;
  }

  .shard-cards-grid,
  .directives-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 4%;
    height: 70px;
  }

  .nav-links {
    top: 70px;
  }

  .hud-btn span:not(.audio-indicator) {
    display: none;
  }

  .hud-btn {
    padding: 8px 12px;
  }

  .hero-section {
    padding: 90px 4% 40px;
    min-height: auto;
  }

  .title-logo-img {
    max-width: 320px;
    width: 85%;
  }

  .hero-tagline {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .btn-cyber {
    width: 100%;
    max-width: 320px;
  }

  /* Token Feature Box Mobile */
  .token-feature-box {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 24px;
    text-align: center;
  }

  .token-img-wrapper {
    margin: 0 auto;
  }

  .token-img {
    max-width: 160px;
  }

  .token-title {
    font-size: 1.4rem;
  }

  .token-btn {
    width: 100%;
    max-width: 280px;
  }

  .mobile-store-group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .store-badge {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .video-switcher-hud {
    width: 100%;
    max-width: 320px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 12px;
  }

  /* Comic Spotlight Mobile Grid */
  .comic-tiles-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .comic-tile {
    padding: 16px;
  }

  .comic-saga-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px;
  }

  .saga-bar-left {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .shard-cards-grid,
  .directives-grid,
  .specs-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.tall {
    grid-row: span 1;
    height: 300px;
  }

  .gallery-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    flex: 0 0 auto;
    font-size: 0.75rem;
    padding: 6px 14px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .comic-main-title {
    font-size: 2rem;
  }

  .comic-left-showcase {
    min-height: 380px;
  }

  .aethra-book-container {
    width: 170px;
    bottom: 10%;
  }

  .cyber-sign-panel {
    font-size: 0.58rem;
    padding: 6px 8px;
  }

  .lightbox-modal {
    padding: 16px;
  }
}