/* ==========================================================================
 * 1. FULLSCREEN CINEMATIC HERO
 * ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-height);
  padding-bottom: clamp(56px, 9vh, 112px);
  overflow: hidden;
  background: var(--bg-abyss);
}

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

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.03);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 15, 20, 0.52) 0%, rgba(11, 15, 20, 0.16) 42%, rgba(11, 15, 20, 0.88) 88%, #0b0f14 100%),
    linear-gradient(90deg, rgba(11, 15, 20, 0.78) 0%, rgba(11, 15, 20, 0.28) 52%, transparent 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.7;
}

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

.hero-studio {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-brass);
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(2.8rem, 6.4vw, 5.2rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.04;
  color: var(--ink-parchment);
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
}

.hero-rule {
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-brass), var(--accent-aether));
  margin: 22px 0;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  max-width: 54ch;
  color: var(--ink-parchment);
  margin-bottom: 28px;
}

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

.hero-status-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

.scroll-cue {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: 32px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.scroll-cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--accent-brass), transparent);
  animation: scrollPulse 2.4s var(--ease-out) infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0.3); opacity: 0.35; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
  100% { transform: scaleY(0.3); opacity: 0.35; transform-origin: bottom; }
}

/* Auth flash banner */
.auth-banner {
  background: var(--bg-basalt);
  border-bottom: 1px solid var(--line-brass);
  padding: 14px 0;
  margin-top: var(--nav-height);
  font-size: 0.92rem;
  color: var(--ink-parchment);
}

/* ==========================================================================
 * 2. WORLD OF AETHERBOUND — FULL-BLEED ENVIRONMENTAL JOURNEY (NO FEATURE CARDS)
 * ========================================================================== */
.world-section {
  position: relative;
  border-top: 1px solid var(--line-hairline);
}

.world-chapter {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-hairline);
}

.world-chapter-media {
  position: absolute;
  inset: -6% 0;
  z-index: 0;
}

.world-chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.world-chapter-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11, 15, 20, 0.88) 0%, rgba(11, 15, 20, 0.56) 48%, rgba(11, 15, 20, 0.18) 100%);
}

.world-chapter:nth-child(even) .world-chapter-scrim {
  background: linear-gradient(270deg, rgba(11, 15, 20, 0.88) 0%, rgba(11, 15, 20, 0.56) 48%, rgba(11, 15, 20, 0.18) 100%);
}

.world-chapter-inner {
  position: relative;
  z-index: 2;
  padding-block: var(--space-12);
  display: flex;
}

.world-chapter:nth-child(even) .world-chapter-inner {
  justify-content: flex-end;
}

.world-copy {
  max-width: 520px;
  padding: 32px;
  border-left: 1px solid var(--line-brass);
  background: rgba(11, 15, 20, 0.55);
}

.world-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  margin: 10px 0 18px;
}

/* ==========================================================================
 * 3. THE ANCHORS — INTERACTIVE MONOLITH & OPTIONAL 3D VIEWER
 * ========================================================================== */
.anchors-section {
  padding: var(--space-16) 0;
  background: radial-gradient(circle at 75% 30%, rgba(92, 200, 215, 0.08), transparent 55%), var(--bg-abyss);
  border-bottom: 1px solid var(--line-hairline);
}

.anchors-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.anchor-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-brass);
  background: var(--bg-basalt);
  overflow: hidden;
  clip-path: var(--chamfer-md);
}

.anchor-stage img,
.anchor-stage canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anchor-stage-hud {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(11, 15, 20, 0.82);
  border: 1px solid var(--line-hairline);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-secondary);
}

.anchor-signal-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-aether);
  margin-right: 8px;
  transform: rotate(45deg);
}

.anchors-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin: 10px 0 16px;
}

.anchor-nodes {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anchor-node-btn {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: var(--bg-basalt);
  border: 1px solid var(--line-hairline);
  color: var(--ink-parchment);
  cursor: pointer;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}

.anchor-node-btn:hover {
  border-color: var(--line-brass);
}

.anchor-node-btn[aria-selected="true"] {
  border-color: var(--accent-aether);
  background: rgba(92, 200, 215, 0.08);
}

.anchor-node-btn .node-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-aether);
  margin-bottom: 4px;
}

.anchor-node-btn .node-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.anchor-node-detail {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line-hairline);
  background: rgba(18, 24, 33, 0.72);
  min-height: 112px;
}

/* ==========================================================================
 * 4. CHARACTER SHOWCASE — FULL-HEIGHT STAGE + SELECTOR RAIL
 * ========================================================================== */
.characters-section {
  padding: var(--space-16) 0;
  background: var(--bg-basalt);
  border-bottom: 1px solid var(--line-hairline);
}

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: var(--space-6);
}

.section-header-row h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
}

.character-stage {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}

.character-portrait-frame {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line-brass);
  background: var(--bg-abyss);
  overflow: hidden;
  clip-path: var(--chamfer-md);
}

.character-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

.character-portrait-frame.is-switching img {
  opacity: 0.25;
  transform: scale(1.03);
}

.character-placeholder-note {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  background: rgba(11, 15, 20, 0.84);
  border: 1px solid var(--line-brass);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-brass-bright);
}

.character-dossier {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.character-dossier h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin: 10px 0 8px;
}

.character-role {
  font-size: 0.95rem;
  color: var(--accent-aether);
  margin-bottom: 18px;
}

.character-abilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.ability-slot {
  padding: 16px;
  border: 1px solid var(--line-hairline);
  background: rgba(11, 15, 20, 0.55);
}

.ability-slot strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--ink-parchment);
  margin-bottom: 6px;
}

.ability-slot span {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.voice-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line-hairline);
  background: rgba(11, 15, 20, 0.65);
  margin-top: 18px;
}

.character-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-hairline);
}

.character-selector-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-abyss);
  border: 1px solid var(--line-hairline);
  color: var(--ink-secondary);
  cursor: pointer;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}

.character-selector-btn[aria-selected="true"] {
  border-color: var(--accent-brass);
  color: var(--ink-parchment);
  background: rgba(200, 164, 107, 0.12);
}

.character-selector-btn img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

/* ==========================================================================
 * 5. GAMEPLAY SHOWCASE
 * ========================================================================== */
.gameplay-section {
  padding: var(--space-16) 0;
  background: var(--bg-abyss);
  border-bottom: 1px solid var(--line-hairline);
}

.gameplay-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.gameplay-tab {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--line-hairline);
  color: var(--ink-secondary);
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.gameplay-tab[aria-selected="true"] {
  border-color: var(--accent-brass);
  background: rgba(200, 164, 107, 0.14);
  color: var(--ink-parchment);
}

.gameplay-viewer {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-brass);
  overflow: hidden;
  background: var(--bg-basalt);
}

.gameplay-viewer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gameplay-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(20px, 3vw, 36px);
  background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 20, 0.92) 55%);
}

.gameplay-caption h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 8px;
}

.gameplay-caption p {
  max-width: 62ch;
  margin: 0;
}

/* ==========================================================================
 * 6. NEWS & ANNOUNCEMENTS
 * ========================================================================== */
.news-section {
  padding: var(--space-16) 0;
  background: var(--bg-basalt);
  border-bottom: 1px solid var(--line-hairline);
}

.news-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-hairline);
}

.news-row {
  display: grid;
  grid-template-columns: 150px 160px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 12px;
  border-bottom: 1px solid var(--line-hairline);
  color: var(--ink-parchment);
  transition: background-color var(--dur-fast);
}

.news-row:hover {
  background: rgba(200, 164, 107, 0.06);
}

.news-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.news-cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-brass);
}

.news-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--ink-parchment);
}

.news-summary {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* ==========================================================================
 * 7. PREREGISTRATION & CLOSED BETA SECTION
 * ========================================================================== */
.prereg-section {
  padding: var(--space-16) 0;
  background: linear-gradient(180deg, var(--bg-abyss) 0%, #0e141c 100%);
}

.prereg-panel {
  border: 1px solid var(--line-brass);
  background: var(--bg-basalt);
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  clip-path: var(--chamfer-md);
}

.prereg-panel h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin: 10px 0 16px;
}

.prereg-state-box {
  padding: 24px;
  border: 1px solid var(--line-hairline);
  background: rgba(11, 15, 20, 0.65);
}

@media (max-width: 960px) {
  .anchors-layout,
  .character-stage,
  .prereg-panel {
    grid-template-columns: 1fr;
  }
  .character-portrait-frame {
    min-height: 380px;
  }
  .character-abilities {
    grid-template-columns: 1fr;
  }
  .news-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 8px;
  }
  .scroll-cue {
    display: none;
  }
}
