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

:root {
  --black: #060404;
  --void: #0c0808;
  --deep: #110b0b;
  --surface: #160e0e;
  --muted: #1e1414;
  --border: #2a1a1a;
  --border-glow: #3d1c1c;
  --text-dim: #5a3e3e;
  --text-mid: #9a7070;
  --text: #d4b0b0;
  --text-bright: #f0e0e0;
  --white: #fff;
  --red: #cc1133;
  --red-bright: #ff1a3a;
  --red-dim: #881122;
  --red-glow: rgba(204, 17, 51, 0.15);
  --crimson: #8b0000;
  --amber: #cc8833;
  --amber-dim: #8a5a22;
  --rose: #cc3366;
  --font-display: 'Bebas Neue', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--red-dim) var(--void);
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-mono);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--red);
  color: var(--white);
}

/* ═══════════ ATMOSPHERE OVERLAY ═══════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(139, 0, 0, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(204, 17, 51, 0.04) 0%, transparent 50%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.015) 3px,
    rgba(0, 0, 0, 0.015) 6px
  );
}

/* ═══════════ NAV ═══════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(24px, 4vw, 64px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 4, 4, 0.5);
  backdrop-filter: blur(30px) saturate(1.4);
  -webkit-backdrop-filter: blur(30px) saturate(1.4);
  border-bottom: 1px solid rgba(204, 17, 51, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.scrolled {
  background: rgba(6, 4, 4, 0.94);
  border-bottom-color: rgba(204, 17, 51, 0.15);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 6px;
  color: var(--text-bright);
  text-decoration: none;
  position: relative;
  line-height: 1;
}

.nav-logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover { color: var(--text-bright); }
.nav-links a:hover::after { width: 100%; }

.nav-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-social a {
  display: flex;
  align-items: center;
  color: var(--text-dim);
  transition: color 0.3s;
}

.nav-social a:hover { color: var(--red); }

.nav-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-bright);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(32px, 6vw, 120px) clamp(80px, 10vw, 140px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 4, 4, 0.3) 0%, rgba(6, 4, 4, 0.15) 40%, rgba(6, 4, 4, 0.6) 70%, var(--black) 100%),
    linear-gradient(90deg, rgba(6, 4, 4, 0.5) 0%, transparent 40%, transparent 60%, rgba(6, 4, 4, 0.3) 100%);
  z-index: 1;
}

.hero-video-mute {
  position: relative;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(6, 4, 4, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 10px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.hero-video-mute:hover {
  border-color: var(--red-dim);
  color: var(--text);
}

.hero-video-mute svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #1a0000 0%,
    #2d0a0a 15%,
    #4a1111 30%,
    #6b1a1a 42%,
    #8b2020 50%,
    #6b1a1a 58%,
    #3a0e0e 72%,
    #160606 88%,
    var(--black) 100%
  );
  transition: opacity 0.8s;
}

.hero.video-playing .hero-sky,
.hero.video-playing .hero-city {
  opacity: 0;
}

.hero-city {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(6, 4, 4, 0.6) 40%, var(--black) 100%);
  transition: opacity 0.8s;
}

.hero-city::before {
  content: '';
  position: absolute;
  bottom: 30%;
  left: 5%;
  right: 5%;
  height: 50%;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(204, 17, 51, 0.02) 10%,
      transparent 20%,
      rgba(204, 136, 51, 0.015) 30%,
      transparent 40%,
      rgba(204, 17, 51, 0.02) 55%,
      transparent 65%,
      rgba(204, 136, 51, 0.01) 80%,
      transparent 100%
    );
  filter: blur(40px);
}

/* ═══════════ TRAILER SECTION ═══════════ */
/* ═══════════ TRAILER SECTION ═══════════ */
.trailer-section {
  padding: clamp(60px, 8vw, 100px) 0 0 0;
  text-align: center;
}

.trailer-section .section-label { justify-content: center; padding: 0 clamp(32px, 6vw, 120px); }
.trailer-section .section-label::before { display: none; }
.trailer-section .section-title { padding: 0 clamp(32px, 6vw, 120px); }

.trailer-tabs {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 32px;
  padding: 0 clamp(32px, 6vw, 120px);
}

.trailer-tab {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 32px;
  cursor: pointer;
  transition: all 0.3s;
}

.trailer-tab:hover {
  color: var(--text);
  border-color: var(--border-glow);
}

.trailer-tab.active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.trailer-player { display: none; }
.trailer-player.active { display: block; }

.trailer-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--black);
  overflow: hidden;
  cursor: pointer;
}

.trailer-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trailer-frame-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 4, 4, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
  z-index: 2;
}

.trailer-frame.playing .trailer-frame-overlay {
  opacity: 0;
  pointer-events: none;
}

.trailer-tap-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  z-index: 5;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(6, 4, 4, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.trailer-tap-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--text-bright);
}

.trailer-tap-icon.show {
  animation: tapFlash 0.6s ease-out forwards;
}

@keyframes tapFlash {
  0% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); }
}

.trailer-play-btn {
  width: 88px;
  height: 88px;
  border: 2px solid rgba(240, 224, 224, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
  background: rgba(204, 17, 51, 0.15);
  backdrop-filter: blur(8px);
}

.trailer-play-btn svg {
  width: 32px;
  height: 32px;
  fill: var(--text-bright);
  margin-left: 4px;
}

.trailer-frame:hover .trailer-play-btn {
  border-color: var(--red);
  background: rgba(204, 17, 51, 0.3);
  transform: scale(1.08);
  box-shadow: 0 0 60px rgba(204, 17, 51, 0.25);
}

.trailer-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: linear-gradient(0deg, rgba(6, 4, 4, 0.85) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s;
}

.trailer-frame:hover .trailer-controls,
.trailer-frame.paused .trailer-controls {
  opacity: 1;
  transform: translateY(0);
}

.trailer-ctrl-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  color: var(--text-bright);
  transition: color 0.2s;
}

.trailer-ctrl-btn:hover { color: var(--red); }

.trailer-ctrl-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.trailer-progress {
  flex: 1;
  height: 3px;
  background: rgba(240, 224, 224, 0.15);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.trailer-progress-bar {
  height: 100%;
  background: var(--red);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.trailer-progress:hover { height: 5px; }

.trailer-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1px;
  min-width: 80px;
  text-align: right;
}

.trailer-label {
  position: absolute;
  top: 20px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.trailer-frame:hover .trailer-label { opacity: 1; }
.trailer-frame.playing:not(:hover) .trailer-label { opacity: 0; }

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 1px;
  height: 1px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(1); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-20vh) scale(0.5); }
}

.hero-particle-text {
  width: auto !important;
  height: auto !important;
  background: none !important;
  border-radius: 0 !important;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--red-dim);
  white-space: nowrap;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.3;
  background-image: 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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  mix-blend-mode: overlay;
}

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

@keyframes scanlineDrift {
  0% { background-position: 0 0; }
  100% { background-position: 0 100px; }
}

.hero-flicker {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: rgba(204, 17, 51, 0.03);
  animation: heroFlicker 6s infinite;
}

@keyframes heroFlicker {
  0%, 95%, 100% { opacity: 0; }
  96% { opacity: 1; }
  97% { opacity: 0; }
  98% { opacity: 0.5; }
  99% { opacity: 0; }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 20%, var(--black) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--border-glow);
  background: rgba(204, 17, 51, 0.04);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 0.6s forwards;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(204, 17, 51, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 12px 4px rgba(204, 17, 51, 0.15); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 260px);
  line-height: 0.85;
  letter-spacing: 8px;
  color: var(--text-bright);
  margin-bottom: 20px;
  position: relative;
  opacity: 0;
  animation: titleReveal 1s 0.2s forwards;
  text-shadow: 0 0 40px rgba(204, 17, 51, 0.15), 0 0 80px rgba(204, 17, 51, 0.05);
}

.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-title::before {
  color: var(--red-bright);
  z-index: -1;
  animation: glitchTop 4s infinite linear alternate-reverse;
  clip-path: inset(0 0 65% 0);
  opacity: 0.7;
}

.hero-title::after {
  color: #0ff;
  z-index: -1;
  animation: glitchBottom 3.5s infinite linear alternate-reverse;
  clip-path: inset(65% 0 0 0);
  opacity: 0.4;
}

@keyframes glitchTop {
  0%, 90% { transform: translate(0); }
  91% { transform: translate(-3px, -1px); }
  92% { transform: translate(3px, 1px); }
  93% { transform: translate(-1px, 0); }
  94%, 100% { transform: translate(0); }
}

@keyframes glitchBottom {
  0%, 88% { transform: translate(0); }
  89% { transform: translate(4px, 1px); }
  90% { transform: translate(-2px, -1px); }
  91% { transform: translate(1px, 0); }
  92%, 100% { transform: translate(0); }
}

.hero-title span {
  display: inline-block;
  position: relative;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow 0.6s 1s forwards;
  box-shadow: 0 0 12px rgba(204, 17, 51, 0.4);
}

@keyframes titleReveal {
  0% { opacity: 0; transform: translateY(40px); filter: blur(6px); }
  60% { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes lineGrow {
  to { transform: scaleX(1); }
}

/* ═══════════ JAPANESE SIDE TEXT ═══════════ */
.hero-jp-side {
  position: absolute;
  right: clamp(32px, 6vw, 120px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  writing-mode: vertical-rl;
  font-family: var(--font-jp);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 6px;
  color: var(--text-dim);
  opacity: 0;
  animation: fadeUp 0.7s 1.8s forwards;
}

.hero-jp-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--red-dim), transparent);
}

.hero-tagline {
  font-family: var(--font-jp);
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-mid);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 0.8s forwards;
}

.hero-meta {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 1s forwards;
}

.hero-meta-item {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-meta-item strong {
  color: var(--text);
  font-weight: 500;
}

.hero-meta-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 1.2s forwards;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  border: none;
  padding: 15px 36px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-primary:hover::before { transform: translateX(100%); }

.btn-primary:hover {
  background: var(--red-bright);
  box-shadow: 0 0 40px rgba(204, 17, 51, 0.3);
  transform: translateY(-2px);
  animation: btnGlitch 0.3s steps(2) 1;
}

@keyframes btnGlitch {
  0% { transform: translateY(-2px) translateX(0); }
  20% { transform: translateY(-2px) translateX(-2px); box-shadow: 3px 0 0 rgba(0, 255, 255, 0.3), -3px 0 0 rgba(255, 0, 50, 0.3), 0 0 40px rgba(204, 17, 51, 0.3); }
  40% { transform: translateY(-2px) translateX(2px); }
  60% { transform: translateY(-2px) translateX(-1px); }
  80% { transform: translateY(-2px) translateX(1px); box-shadow: 2px 0 0 rgba(0, 255, 255, 0.2), -2px 0 0 rgba(255, 0, 50, 0.2), 0 0 40px rgba(204, 17, 51, 0.3); }
  100% { transform: translateY(-2px) translateX(0); }
}

.btn-ghost {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-mid);
  background: transparent;
  border: 1px solid var(--border);
  padding: 15px 36px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--red-dim);
  color: var(--text-bright);
  transform: translateY(-2px);
  box-shadow: inset 0 0 20px rgba(204, 17, 51, 0.06), 0 0 20px rgba(204, 17, 51, 0.08);
  animation: btnGlitch 0.3s steps(2) 1;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: clamp(32px, 6vw, 120px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.7s 1.6s forwards;
}

.hero-scroll-text {
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--red-dim), transparent);
  animation: scrollPulse 2.5s infinite;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

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

/* ═══════════ SECTION SHARED ═══════════ */
section { position: relative; z-index: 1; scroll-margin-top: 72px; }

.section-pad {
  padding: clamp(80px, 12vw, 160px) clamp(32px, 6vw, 120px);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--red-dim);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  color: var(--text-bright);
  line-height: 1;
  letter-spacing: 3px;
  margin-bottom: 28px;
}

.section-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--text-mid);
  max-width: 560px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border-glow), var(--border), transparent);
  margin: 0 clamp(32px, 6vw, 120px);
}

/* ═══════════ STORY ═══════════ */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}

.story-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--deep);
  border: 1px solid var(--border);
  overflow: hidden;
}

.story-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-visual-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(139, 0, 0, 0.15) 0%, transparent 40%),
    linear-gradient(340deg, rgba(204, 136, 51, 0.06) 0%, transparent 40%),
    linear-gradient(180deg, transparent 60%, rgba(6, 4, 4, 0.8) 100%);
}

.story-visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(var(--red) 1px, transparent 1px),
    linear-gradient(90deg, var(--red) 1px, transparent 1px);
  background-size: 40px 40px;
}

.story-visual-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--text-dim);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

.story-visual-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--red-dim);
  border-style: solid;
  border-width: 0;
}

.story-visual-corner.tl { top: 16px; left: 16px; border-top-width: 1px; border-left-width: 1px; }
.story-visual-corner.br { bottom: 16px; right: 16px; border-bottom-width: 1px; border-right-width: 1px; }

.story-quote {
  font-family: var(--font-jp);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  color: var(--text);
  margin-top: 36px;
  padding-left: 20px;
  border-left: 2px solid var(--red);
}

.story-quote-attr {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-dim);
  margin-top: 12px;
  padding-left: 20px;
  text-transform: uppercase;
}

/* ═══════════ MARQUEE ═══════════ */
.marquee-wrap {
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--void);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: 4px;
  white-space: nowrap;
  padding: 0 clamp(20px, 3vw, 48px);
  -webkit-text-stroke: 1px var(--border-glow);
  -webkit-text-fill-color: transparent;
  transition: all 0.3s;
}

.marquee-item:hover {
  -webkit-text-fill-color: var(--red-dim);
}

.marquee-sep {
  color: var(--red-dim);
  font-size: 0.5em;
  vertical-align: middle;
  padding: 0 8px;
  -webkit-text-stroke: 0;
  -webkit-text-fill-color: var(--red-dim);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ═══════════ VAULT ═══════════ */
.vault-section {
  text-align: center;
  overflow: hidden;
}

.vault-section .section-label { justify-content: center; }
.vault-section .section-label::before { display: none; }
.vault-section .section-text { margin: 0 auto 56px; text-align: center; }

.vault-ring {
  position: relative;
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  margin: 0 auto;
}

.vault-ring-circle {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: vaultRotate 60s linear infinite;
}

.vault-ring-circle::before {
  content: '';
  position: absolute;
  inset: 15%;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: vaultRotate 45s linear infinite reverse;
}

.vault-ring-circle::after {
  content: '';
  position: absolute;
  inset: 35%;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  animation: vaultCorePulse 3s ease-in-out infinite;
}

@keyframes vaultRotate {
  to { transform: rotate(360deg); }
}

@keyframes vaultCorePulse {
  0%, 100% { box-shadow: 0 0 30px rgba(204, 17, 51, 0.08) inset; }
  50% { box-shadow: 0 0 60px rgba(204, 17, 51, 0.25) inset, 0 0 80px rgba(204, 17, 51, 0.1); }
}

/* Connection lines SVG */
.vault-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.vault-line {
  stroke: var(--red);
  stroke-width: 1;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(204, 17, 51, 0.5));
  transition: opacity 0.6s ease;
}

.vault-line.visible {
  opacity: 0.4;
  animation: vaultLinePulse 2s ease-in-out infinite;
}

@keyframes vaultLinePulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.6; }
}

.vault-ring-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 4;
}

.vault-ring-center-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 80px);
  color: var(--red);
  letter-spacing: 4px;
  line-height: 1;
  animation: vaultCenterGlow 3s ease-in-out infinite;
}

@keyframes vaultCenterGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(204, 17, 51, 0.2); }
  50% { text-shadow: 0 0 40px rgba(204, 17, 51, 0.5), 0 0 80px rgba(204, 17, 51, 0.15); }
}

.vault-ring-center-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Vault ambient particles */
.vault-particles {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  z-index: 1;
}

.vault-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  animation: vaultParticleOrbit linear infinite;
}

.vault-particle-text {
  background: none !important;
  border-radius: 0 !important;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--red-dim);
  white-space: nowrap;
  width: auto !important;
  height: auto !important;
}

@keyframes vaultParticleOrbit {
  0% { opacity: 0; transform: rotate(0deg) translateX(var(--orbit-r)) rotate(0deg); }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { opacity: 0; transform: rotate(360deg) translateX(var(--orbit-r)) rotate(-360deg); }
}

.vault-node {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  color: var(--text-dim);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  z-index: 5;
  user-select: none;
}

.vault-node:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 24px var(--red-glow);
}

.vault-node.active {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 20px var(--red-glow);
}

.vault-node.flash {
  animation: vaultNodeFlash 0.4s ease-out;
}

@keyframes vaultNodeFlash {
  0% { transform: translate(-50%, -50%) scale(1.6); box-shadow: 0 0 40px rgba(204, 17, 51, 0.8); }
  50% { transform: translate(-50%, -50%) scale(0.9); }
  100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 20px var(--red-glow); }
}

.vault-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 48px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: vaultStatusGlitch 8s infinite;
}

@keyframes vaultStatusGlitch {
  0%, 92%, 100% { opacity: 1; transform: translate(0); }
  93% { opacity: 0.8; transform: translate(-2px, 0); text-shadow: 2px 0 var(--red), -2px 0 #0ff; }
  94% { opacity: 1; transform: translate(2px, 0); text-shadow: -1px 0 var(--red), 1px 0 #0ff; }
  95% { opacity: 0.6; transform: translate(0, 1px); text-shadow: none; }
  96% { opacity: 1; transform: translate(-1px, 0); text-shadow: 1px 0 var(--red); }
  97% { opacity: 1; transform: translate(0); text-shadow: none; }
}

.vault-status span { color: var(--red); font-weight: 600; }

.vault-status .breached { color: var(--amber); }

/* ═══════════ CHARACTERS ═══════════ */
.char-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.char-card {
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.char-card:hover { z-index: 2; }

.char-card-bg {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  background: #0a0606;
}

.char-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.char-card-img--contain {
  object-fit: contain;
  object-position: center center;
}

.char-card--cipher .char-card-bg {
  background: linear-gradient(180deg, #2a0a1a 0%, #0a0006 30%, #050005 70%, #1a0812 100%);
}

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

.char-card-bg-inner {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.char-card:hover .char-card-bg-inner { transform: scale(1.06); }

.char-card:nth-child(1) .char-card-bg-inner {
  background: linear-gradient(150deg, #1a0808 0%, #2a0e0e 40%, #110505 100%);
}
.char-card:nth-child(2) .char-card-bg-inner {
  background: linear-gradient(150deg, #0e0e1a 0%, #1a0a1e 40%, #080512 100%);
}
.char-card:nth-child(3) .char-card-bg-inner {
  background: linear-gradient(150deg, #0a1208 0%, #141e0e 40%, #060d04 100%);
}
.char-card:nth-child(4) .char-card-bg-inner {
  background: linear-gradient(150deg, #12100a 0%, #1e1a0e 40%, #0d0b05 100%);
}

.char-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 4, 4, 0.95) 100%);
  z-index: 1;
}

.char-card-icon {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  opacity: 0.08;
  z-index: 2;
}

/* Option A: Corner emblem (top-left) */
.char-card-emblem {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 18px;
  z-index: 2;
  opacity: 0.8;
  color: var(--white);
  transition: opacity 0.3s;
}

.char-card:hover .char-card-emblem {
  opacity: 1;
}

/* Option B removed — keeping corner emblem only */
.char-card-inline-icon {
  display: none;
}

.char-card-num {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-dim);
  z-index: 2;
  opacity: 0.5;
}

.char-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.char-card-class {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
  opacity: 0.8;
}

.char-card-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: 2px;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.char-card-desc {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 220px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s 0.1s;
}

.char-card:hover .char-card-desc {
  opacity: 1;
  transform: translateY(0);
}

.char-card-classified .char-card-bg-inner {
  background: linear-gradient(150deg, #0a0a0a 0%, #141414 40%, #080808 100%) !important;
}

.char-card-classified-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.char-card-q {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  color: var(--red);
  line-height: 1;
  display: block;
  text-shadow: 0 0 30px rgba(204, 17, 51, 0.3);
  animation: classifiedPulse 3s infinite;
}

.char-card-classified-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 12px;
}

@keyframes classifiedPulse {
  0%, 100% { opacity: 0.6; text-shadow: 0 0 30px rgba(204, 17, 51, 0.3); }
  50% { opacity: 1; text-shadow: 0 0 50px rgba(204, 17, 51, 0.5); }
}

.char-card-classified:hover .char-card-q {
  animation: classifiedGlitch 0.4s steps(3) infinite;
}

@keyframes classifiedGlitch {
  0% { transform: translate(0); }
  25% { transform: translate(-2px, 1px); }
  50% { transform: translate(2px, -1px); }
  75% { transform: translate(-1px, -1px); }
  100% { transform: translate(0); }
}

/* ═══════════ DATA STRIP ═══════════ */
.data-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--void);
}

.data-cell {
  padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--border);
  text-align: center;
  transition: background 0.3s;
}

.data-cell:last-child { border-right: none; }
.data-cell:hover { background: rgba(204, 17, 51, 0.02); }

.data-val {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  color: var(--text-bright);
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.data-val span { color: var(--red); }

.data-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ═══════════ COMMUNITY ═══════════ */
.community {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.community-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 17, 51, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.community .section-label { justify-content: center; }
.community .section-label::before { display: none; }
.community .section-text { margin: 0 auto 48px; text-align: center; }

.social-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-mid);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-link:hover {
  border-color: var(--red-dim);
  color: var(--text-bright);
  background: rgba(204, 17, 51, 0.04);
  transform: translateY(-2px);
}

.cta-box {
  max-width: 580px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.cta-box-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 3px;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.cta-box-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 400px;
  margin: 0 auto 28px;
}

.email-row {
  display: flex;
  gap: 0;
  max-width: 400px;
  margin: 0 auto;
}

.email-input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 13px 18px;
  background: var(--deep);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
}

.email-input::placeholder { color: var(--text-dim); }
.email-input:focus { border-color: var(--red-dim); }

.email-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
  padding: 13px 22px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.email-btn:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
}

/* ═══════════ FOOTER ═══════════ */
footer {
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vw, 72px) clamp(32px, 6vw, 120px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 4px;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.footer-brand-text {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 280px;
}

.footer-col-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--red); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 10px;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.footer-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.footer-controls span { color: var(--red); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .char-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-social, .hero-jp-side { display: none; }
  .nav-mobile-toggle { display: block; }

  nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(6, 4, 4, 0.97);
    backdrop-filter: blur(24px);
    padding: 28px clamp(32px, 6vw, 64px);
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .story-grid { grid-template-columns: 1fr; }
  .story-visual { max-height: 360px; }

  .char-grid { grid-template-columns: 1fr 1fr; gap: 2px; }

  .data-strip { grid-template-columns: repeat(2, 1fr); }
  .data-cell:nth-child(2) { border-right: none; }
  .data-cell:nth-child(3), .data-cell:nth-child(4) { border-top: 1px solid var(--border); }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .char-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost { width: 100%; text-align: center; }
  .email-row { flex-direction: column; }
  .email-input { border-right: 1px solid var(--border); border-bottom: none; }
  .social-row { flex-direction: column; align-items: center; }
}
