/* ============================================================================
   ZODIAC KNIGHTS: COSMIC RPG — OFFICIAL AAA SANCTUARY PORTAL STYLESHEET (v5.0)
   Single Glassmorphic Navbar · 100vh Video Portal · Bento News Grid ·
   Interactive 3-Tab System Previewer · Unified Pantheon Showroom · 10x Shrine
   ============================================================================ */

:root {
  --bg-deep: #070b18;
  --bg-darker: #040711;
  --bg-navy: #0d152c;
  --bg-card: rgba(12, 18, 38, 0.88);
  --bg-glass: rgba(8, 13, 28, 0.82);
  --gold-bright: #ffe680;
  --gold-main: #ffd343;
  --gold-rich: #e5a922;
  --gold-dark: #9c6b12;
  --orange-cta: #f59e0b;
  --emerald-divine: #10e898;
  --cyan-astral: #38bdf8;
  --crimson-eclipse: #f43f5e;
  --violet-void: #a855f7;
  --text-white: #ffffff;
  --text-silver: #c2cce5;
  --text-muted: #7e8ba8;
  --border-gold: rgba(255, 211, 67, 0.36);
  --border-gold-strong: #ffd343;
  --font-display: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-darker);
  color: var(--text-white);
  font-family: var(--font-sans);
}

body {
  background: var(--bg-darker);
  color: var(--text-white);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

/* Rising Golden Stardust Canvas */
#cosmos-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
}

/* ============================================================================
   1. SINGLE FLOATING GLASSMORPHIC NAVIGATION BAR (#znav)
   ============================================================================ */
#znav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  background: rgba(7, 11, 24, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 211, 67, 0.38);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.78);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
}

#znav::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd343, #10e898, #ffd343, transparent);
}

.znav-inner {
  max-width: 1440px;
  width: 100%;
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.znav-left,
.znav-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex: 1;
}

.znav-right {
  justify-content: flex-end;
}

.znav-brand-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-right: 0.8rem;
  border-right: 1px solid rgba(255, 211, 67, 0.22);
}

.znav-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1.5px solid var(--gold-main);
  object-fit: cover;
  box-shadow: 0 0 12px rgba(255, 211, 67, 0.35);
}

.znav-brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.znav-brand-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
}

.znav-server-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--emerald-divine);
  letter-spacing: 0.04em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-divine);
  box-shadow: 0 0 8px var(--emerald-divine);
  display: inline-block;
}

.znav-links-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.znav-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-silver);
  letter-spacing: 0.07em;
  padding: 0 0.95rem;
  height: 74px;
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: color 0.2s, text-shadow 0.2s;
  text-transform: uppercase;
}

.znav-link:hover,
.znav-link.active {
  color: var(--gold-bright);
  text-shadow: 0 0 14px rgba(255, 211, 67, 0.85);
}

.znav-link:hover::after,
.znav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16%;
  right: 16%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-main), var(--emerald-divine));
  box-shadow: 0 0 12px var(--gold-main);
  border-radius: 3px 3px 0 0;
}

.znav-logo-wrap {
  position: relative;
  top: 9px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.znav-logo-wrap:hover {
  transform: scale(1.05);
}

.znav-logo-wrap img {
  height: 78px;
  width: auto;
  border-radius: 8px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 16px rgba(255, 211, 67, 0.35));
}

.znav-utilities {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

/* Integrated BGM Equalizer Pill */
.bgm-player {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 211, 67, 0.08);
  border: 1px solid rgba(255, 211, 67, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.45rem 0.2rem 0.25rem;
}

.bgm-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--gold-main);
  background: linear-gradient(135deg, #ffd343, #c48813);
  color: #080b16;
  font-size: 0.65rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s;
}

.bgm-btn:hover {
  transform: scale(1.1);
}

.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.eq-bars span {
  width: 2.5px;
  height: 4px;
  background: var(--emerald-divine);
  border-radius: 2px;
}

.bgm-player.playing .eq-bars span:nth-child(1) { animation: eqBounce 0.55s infinite alternate; }
.bgm-player.playing .eq-bars span:nth-child(2) { animation: eqBounce 0.4s 0.12s infinite alternate; }
.bgm-player.playing .eq-bars span:nth-child(3) { animation: eqBounce 0.65s 0.22s infinite alternate; }
.bgm-player.playing .eq-bars span:nth-child(4) { animation: eqBounce 0.48s 0.08s infinite alternate; }

@keyframes eqBounce {
  0% { height: 3px; background: var(--gold-main); }
  100% { height: 12px; background: var(--emerald-divine); }
}

.bgm-track-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-bright);
  max-width: 112px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.znav-gift-btn {
  height: 36px;
  padding: 0 0.75rem;
  border-radius: 6px;
  background: rgba(16, 232, 152, 0.12);
  border: 1px solid rgba(16, 232, 152, 0.45);
  color: var(--emerald-divine);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.znav-gift-btn:hover {
  background: var(--emerald-divine);
  color: #04120c;
  box-shadow: 0 0 14px rgba(16, 232, 152, 0.5);
}

.znav-cta-btn {
  height: 38px;
  padding: 0 1.1rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffe270 0%, #e59b14 100%);
  border: 1px solid #fff3b0;
  color: #080b16;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 211, 67, 0.35);
  transition: all 0.2s;
}

.znav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 211, 67, 0.65);
}

.topbar-btn {
  padding: 0.38rem 0.9rem;
  border-radius: 6px;
  background: rgba(255, 211, 67, 0.14);
  border: 1px solid var(--gold-main);
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.topbar-btn:hover {
  background: var(--gold-main);
  color: #070b18;
}

/* ============================================================================
   2. COMPACT BOTTOM-RIGHT FLOATING WIDGET (#snav)
   ============================================================================ */
#snav {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 204px;
  background: linear-gradient(180deg, rgba(13, 20, 44, 0.94) 0%, rgba(6, 10, 24, 0.97) 100%);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 211, 67, 0.52);
  border-radius: 14px;
  padding: 13px;
  z-index: 110;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.88), 0 0 24px rgba(255, 211, 67, 0.14);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

#snav.collapsed {
  transform: translateX(210px);
}

.snav-toggle {
  position: absolute;
  left: -32px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 68px;
  background: linear-gradient(180deg, #1b2752, #0d142c);
  border: 1.5px solid rgba(255, 211, 67, 0.65);
  border-right: none;
  border-radius: 10px 0 0 10px;
  color: var(--gold-main);
  font-weight: 900;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.snav-app-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 9px;
  margin-bottom: 9px;
  border-bottom: 1px solid rgba(255, 211, 67, 0.22);
}

.snav-app-header img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--gold-main);
  object-fit: cover;
}

.snav-app-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.snav-app-sub {
  font-size: 0.64rem;
  color: var(--emerald-divine);
  font-weight: 700;
}

.snav-qr-box {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 7px 8px;
  margin-bottom: 9px;
  background: rgba(5, 8, 18, 0.85);
  border: 1px solid rgba(255, 211, 67, 0.28);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.snav-qr-box:hover {
  border-color: var(--gold-main);
}

.snav-qr-svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.snav-qr-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.snav-qr-text strong {
  font-size: 0.66rem;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
}

.snav-qr-text span {
  font-size: 0.6rem;
  color: var(--text-silver);
}

.snav-dl-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-badge-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 40px;
  padding: 0 11px;
  background: #060914;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.store-badge-btn:hover {
  border-color: var(--gold-main);
  background: #10172f;
  transform: translateY(-1px);
}

.store-badge-btn.gold-cta {
  background: linear-gradient(135deg, #ffd343 0%, #d89614 100%);
  border-color: #fff2a6;
  color: #080b16;
}

.store-badge-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.store-badge-text small {
  display: block;
  font-size: 0.54rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.store-badge-text strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.1;
}

.snav-socials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 211, 67, 0.2);
}

.social-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 211, 67, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gold-bright);
  cursor: pointer;
  transition: all 0.2s;
}

.social-circle:hover {
  background: var(--gold-main);
  color: #080b16;
  transform: scale(1.1);
}

/* ============================================================================
   3. SECTION 1 (#part1) — FULL-BLEED 100VH CINEMATIC VIDEO PORTAL
   ============================================================================ */
.part-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 5;
}

#part1 {
  min-height: 100vh;
  height: 940px;
  padding-top: 96px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #050814;
  border-bottom: 2px solid rgba(255, 211, 67, 0.38);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.1) contrast(1.05);
  transition: opacity 0.5s ease;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-bg-video.active {
  opacity: 1;
}

/* Subtle Radial + Bottom Vignette so Video & Art Shine While UI Pops */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(6, 9, 20, 0.12) 15%, rgba(5, 8, 20, 0.82) 90%),
    linear-gradient(180deg, rgba(5, 8, 20, 0.72) 0%, rgba(5, 8, 20, 0.12) 28%, rgba(5, 8, 20, 0.25) 58%, rgba(5, 8, 20, 0.95) 92%, #060916 100%);
  z-index: 2;
}

.hero-scene-switcher {
  position: absolute;
  top: 92px;
  right: 2rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  background: rgba(7, 11, 24, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 211, 67, 0.42);
  padding: 0.35rem;
  border-radius: 999px;
  z-index: 10;
}

.scene-pill {
  padding: 0.36rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-silver);
  font-size: 0.73rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.scene-pill.active,
.scene-pill:hover {
  background: linear-gradient(135deg, #ffd343, #d89614);
  color: #080b16;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(255, 211, 67, 0.45);
}

.hero-center-container {
  position: relative;
  z-index: 5;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.hero-play-medallion-wrap {
  margin: auto 0 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  background: rgba(7, 11, 24, 0.78);
  border: 1px solid rgba(255, 211, 67, 0.45);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(8px);
}

.pulse-star {
  color: var(--emerald-divine);
}

.hero-center-logo {
  width: min(500px, 84vw);
  height: auto;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 211, 67, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.9), 0 0 36px rgba(255, 211, 67, 0.25);
  margin-bottom: 1rem;
  animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-sub-headline {
  font-size: 1.08rem;
  color: #e2e8f8;
  font-weight: 500;
  max-width: 720px;
  line-height: 1.5;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95);
  margin-bottom: 1.35rem;
}

.hero-trailer-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.45rem 1.4rem 0.45rem 0.55rem;
  border-radius: 999px;
  background: rgba(8, 13, 28, 0.85);
  border: 1.5px solid var(--gold-main);
  box-shadow: 0 0 32px rgba(255, 211, 67, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-trailer-trigger:hover {
  transform: scale(1.05);
  border-color: var(--emerald-divine);
  box-shadow: 0 0 42px rgba(16, 232, 152, 0.55);
}

.hero-play-medallion {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe270 0%, #d9820e 75%);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 6px rgba(255, 211, 67, 0.22);
  color: #080b16;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
}

.hero-trailer-label {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
}

/* Glassmorphic Download & Instant-Play Bar */
.hero-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.1rem 1.5rem;
  background: rgba(8, 13, 28, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 211, 67, 0.36);
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.8);
}

.hero-store-group,
.hero-action-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 16px;
  background: rgba(4, 7, 15, 0.94);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.hero-store-btn:hover {
  border-color: var(--gold-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 67, 0.28);
}

.sskotz-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 50px;
  padding: 0 1.25rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  background: rgba(12, 18, 38, 0.85);
  border: 1.5px solid var(--gold-main);
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.22s;
  text-transform: uppercase;
}

.sskotz-outline-btn:hover {
  background: var(--gold-main);
  color: #060914;
  box-shadow: 0 0 22px rgba(255, 211, 67, 0.55);
  transform: translateY(-2px);
}

.sskotz-outline-btn.emerald {
  color: #04130d;
  background: linear-gradient(135deg, #10e898 0%, #059669 100%);
  border-color: #6ee7b7;
  box-shadow: 0 0 20px rgba(16, 232, 152, 0.35);
}

.sskotz-outline-btn.emerald:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 28px rgba(16, 232, 152, 0.7);
}

.copyright-stamp {
  position: absolute;
  right: 2rem;
  bottom: 0.65rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  z-index: 6;
}

/* ============================================================================
   SHARED SECTION HEADERS & CONTAINERS
   ============================================================================ */
.section-container {
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.sskotz-sec-header {
  text-align: center;
  margin-bottom: 2.8rem;
}

.sskotz-sec-header .eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--emerald-divine);
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.sskotz-sec-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #ffffff 0%, #ffe270 60%, #d89614 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sskotz-sec-header .divider {
  width: 180px;
  height: 3px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-main), var(--emerald-divine), var(--gold-main), transparent);
}

.sskotz-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 42px;
  padding: 0 1.25rem;
  border-radius: 8px;
  background: rgba(255, 211, 67, 0.14);
  border: 1.5px solid var(--gold-main);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
}

.sskotz-view-btn:hover {
  background: var(--gold-main);
  color: #060914;
  box-shadow: 0 0 18px rgba(255, 211, 67, 0.45);
}

.sskotz-view-btn.emerald-btn {
  background: rgba(16, 232, 152, 0.15);
  border-color: var(--emerald-divine);
  color: var(--emerald-divine);
}

.sskotz-view-btn.emerald-btn:hover {
  background: var(--emerald-divine);
  color: #04130d;
}

/* ============================================================================
   4. SECTION 2 (#part2) — ASYMMETRIC 2-COLUMN BENTO NEWS & EVENTS GRID
   ============================================================================ */
#part2 {
  background: radial-gradient(circle at 50% 0%, #101938 0%, #060a17 75%);
  border-bottom: 1px solid rgba(255, 211, 67, 0.22);
}

.news-bento-grid {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 1.6rem;
  align-items: stretch;
}

.news-featured-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 211, 67, 0.45);
  background: #070b18;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
}

.news-featured-img-wrap {
  position: relative;
  flex: 1;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

.news-featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease, opacity 0.35s ease;
}

.news-featured-carousel:hover .news-featured-img {
  transform: scale(1.03);
}

.news-featured-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 20, 0.55) 0%, rgba(5, 8, 20, 0.1) 35%, rgba(5, 8, 20, 0.92) 78%, #050814 100%);
}

.news-featured-top-badges {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.news-live-badge {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #10e898, #059669);
  color: #04130d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 0 18px rgba(16, 232, 152, 0.5);
}

.news-countdown-pill {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(6, 10, 24, 0.88);
  border: 1px solid var(--gold-main);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
}

.news-featured-content {
  position: relative;
  z-index: 3;
  margin-top: auto;
}

.news-featured-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-main);
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.news-featured-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.news-featured-desc {
  font-size: 0.9rem;
  color: var(--text-silver);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  max-width: 660px;
}

.news-featured-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.news-carousel-dots {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #050814;
  border-top: 1px solid rgba(255, 211, 67, 0.2);
}

.news-dot {
  width: 34px;
  height: 6px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: all 0.25s;
}

.news-dot.active {
  width: 54px;
  background: var(--gold-main);
  box-shadow: 0 0 10px var(--gold-main);
}

/* Right Stack of Interactive News Rows */
.news-stack-panel {
  display: flex;
  flex-direction: column;
  background: rgba(10, 15, 34, 0.85);
  border: 1px solid rgba(255, 211, 67, 0.3);
  border-radius: 16px;
  padding: 1.25rem;
}

.news-stack-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 211, 67, 0.2);
}

.news-filter-tabs {
  display: flex;
  gap: 0.35rem;
}

.news-tab-btn {
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-silver);
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.news-tab-btn.active,
.news-tab-btn:hover {
  background: rgba(255, 211, 67, 0.16);
  border-color: var(--gold-main);
  color: var(--gold-bright);
}

.news-gift-link {
  background: none;
  border: none;
  color: var(--emerald-divine);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.news-rows-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.news-bento-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem;
  border-radius: 11px;
  background: rgba(6, 10, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
  transition: all 0.22s ease;
}

.news-bento-row:hover,
.news-bento-row.active {
  border-color: var(--gold-main);
  background: rgba(20, 30, 62, 0.92);
  transform: translateX(4px);
}

.news-row-thumb {
  width: 86px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 211, 67, 0.35);
  flex-shrink: 0;
}

.news-row-body {
  flex: 1;
  min-width: 0;
}

.news-row-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.news-cat-pill {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.news-cat-pill.emerald { color: var(--emerald-divine); }
.news-cat-pill.crimson { color: var(--crimson-eclipse); }
.news-cat-pill.gold { color: var(--gold-main); }
.news-cat-pill.cyan { color: var(--cyan-astral); }

.news-row-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.news-row-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-row-excerpt {
  font-size: 0.75rem;
  color: var(--text-silver);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.15rem;
}

.news-row-arrow {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold-main);
  transition: transform 0.2s;
}

.news-bento-row:hover .news-row-arrow {
  transform: translateX(5px);
}

/* ============================================================================
   5. SECTION 3 (#part3) — INTERACTIVE 3-TAB SYSTEM PREVIEWER
   ============================================================================ */
#part3 {
  background: linear-gradient(180deg, #060a17 0%, #0b1228 50%, #060a17 100%);
  border-bottom: 1px solid rgba(255, 211, 67, 0.24);
}

.features-interactive-shell {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.75rem;
  align-items: start;
}

.features-tab-rail {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-rail-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 13px;
  background: rgba(10, 16, 36, 0.85);
  border: 1.5px solid rgba(255, 211, 67, 0.22);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: all 0.24s ease;
}

.feature-rail-btn:hover,
.feature-rail-btn.active {
  background: linear-gradient(135deg, rgba(26, 38, 78, 0.96) 0%, rgba(12, 20, 44, 0.96) 100%);
  border-color: var(--gold-main);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 211, 67, 0.2);
  transform: translateX(4px);
}

.frail-num {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 211, 67, 0.14);
  border: 1px solid var(--gold-main);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-rail-btn.active .frail-num {
  background: var(--gold-main);
  color: #070b18;
}

.frail-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  color: var(--gold-bright);
  margin-bottom: 0.2rem;
}

.frail-text span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-silver);
  line-height: 1.35;
}

.element-affinity-card {
  margin-top: 0.4rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(6, 10, 22, 0.9);
  border: 1px solid rgba(255, 211, 67, 0.25);
}

.affinity-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-main);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  text-align: center;
}

.affinity-cycle,
.affinity-duality {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.affinity-duality {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.el-chip {
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.07);
}

.el-chip.fire { color: #f87171; border: 1px solid rgba(248, 113, 113, 0.4); }
.el-chip.air { color: #67e8f9; border: 1px solid rgba(103, 232, 249, 0.4); }
.el-chip.earth { color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.4); }
.el-chip.water { color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.4); }
.el-chip.light { color: #fef08a; border: 1px solid rgba(254, 240, 138, 0.4); }
.el-chip.dark { color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.4); }

.el-arrow, .el-vs {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Right Stage Viewport */
.features-stage-viewport {
  background: rgba(10, 15, 34, 0.9);
  border: 1.5px solid rgba(255, 211, 67, 0.38);
  border-radius: 16px;
  padding: 1.6rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.75);
}

.feature-widget {
  display: none;
}

.feature-widget.active {
  display: block;
}

.fwidget-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 211, 67, 0.2);
}

.fwidget-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--emerald-divine);
  letter-spacing: 0.1em;
}

.fwidget-header h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  color: #fff;
  margin-top: 0.2rem;
}

.lineup-preset-pills,
.mandala-quadrant-pills,
.relik-selector-pills {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.preset-pill,
.mquad-pill,
.relik-pill {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 211, 67, 0.35);
  background: rgba(6, 10, 22, 0.85);
  color: var(--text-silver);
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.preset-pill.active, .preset-pill:hover,
.mquad-pill.active, .mquad-pill:hover,
.relik-pill.active, .relik-pill:hover {
  background: var(--gold-main);
  color: #070b18;
  border-color: #fff;
}

/* Shared 8-Energy Pip Bar */
.shared-energy-bar-box {
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  background: rgba(5, 8, 18, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 1.2rem;
}

.energy-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--cyan-astral);
  margin-bottom: 0.5rem;
}

.energy-pips-track {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.45rem;
}

.epip {
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--cyan-astral);
}

.epip.filled {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  color: #04101c;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
}

.epip.bonus {
  background: linear-gradient(90deg, #059669, #10e898);
  border-color: #6ee7b7;
  color: #04130d;
}

/* 2x3 Formation Board + Slot Inspector */
.formation-interactive-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
}

.formation-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.formation-slot-card {
  position: relative;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(6, 10, 24, 0.92);
  border: 1.5px solid rgba(255, 211, 67, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s;
}

.formation-slot-card:hover,
.formation-slot-card.active {
  border-color: var(--emerald-divine);
  background: rgba(14, 26, 52, 0.95);
  box-shadow: 0 0 18px rgba(16, 232, 152, 0.3);
  transform: translateY(-2px);
}

.fslot-row-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gold-main);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.fslot-avatar {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.35rem;
}

.fslot-name {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  color: #fff;
}

.fslot-meta {
  font-size: 0.68rem;
  color: var(--emerald-divine);
  font-weight: 700;
}

.formation-slot-inspector {
  padding: 1.2rem;
  border-radius: 12px;
  background: rgba(6, 10, 24, 0.92);
  border: 1px solid rgba(255, 211, 67, 0.32);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Tab 2: Mandala Interactive Layout */
.mandala-interactive-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

.mandala-wheel-stage {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--gold-main);
  aspect-ratio: 16 / 10;
}

.mandala-bg-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.mandala-svg-overlay {
  position: absolute;
  inset: 0;
}

.mandala-orb-node {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mandala-orb-node.solar { background: radial-gradient(circle, #fbbf24, #b45309); }
.mandala-orb-node.lunar { background: radial-gradient(circle, #38bdf8, #1d4ed8); }
.mandala-orb-node.star { background: radial-gradient(circle, #c084fc, #6b21a8); }
.mandala-orb-node.core {
  width: 58px;
  height: 58px;
  left: 50%;
  top: 50%;
  font-size: 1.35rem;
  background: radial-gradient(circle, #10e898, #047857);
  box-shadow: 0 0 24px #10e898;
}

.mandala-orb-node.n1 { left: 26%; top: 24%; }
.mandala-orb-node.n2 { left: 18%; top: 50%; }
.mandala-orb-node.n3 { left: 26%; top: 76%; }
.mandala-orb-node.n4 { left: 74%; top: 24%; }
.mandala-orb-node.n5 { left: 82%; top: 50%; }
.mandala-orb-node.n6 { left: 74%; top: 76%; }
.mandala-orb-node.n7 { left: 50%; top: 16%; }
.mandala-orb-node.n8 { left: 40%; top: 84%; }
.mandala-orb-node.n9 { left: 60%; top: 84%; }

.mandala-orb-node:hover,
.mandala-orb-node.active {
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 0 22px #ffd343;
}

.mandala-inspector-box {
  padding: 1.35rem;
  border-radius: 12px;
  background: rgba(6, 10, 24, 0.92);
  border: 1px solid rgba(255, 211, 67, 0.35);
}

/* Tab 3: Sacred Reliquary Showcase */
.relik-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.4rem;
  align-items: center;
}

/* ============================================================================
   6. SECTION 4 (#part4) — UNIFIED PANTHEON & ZODIAC WHEEL SHOWROOM
   ============================================================================ */
#part4 {
  background:
    radial-gradient(circle at 65% 38%, rgba(255, 211, 67, 0.12) 0%, rgba(16, 232, 152, 0.05) 35%, rgba(6, 9, 20, 0.98) 75%),
    #060914;
  border-bottom: 2px solid rgba(255, 211, 67, 0.32);
}

.showroom-astrolabe-bg {
  position: absolute;
  right: -80px;
  top: 60px;
  width: 780px;
  height: 780px;
  pointer-events: none;
  opacity: 0.65;
  z-index: 1;
}

.astrolabe-svg {
  width: 100%;
  height: 100%;
  animation: slowSpin 90s linear infinite;
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.pantheon-showroom-stage {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

/* Left Dossier Overlay */
.showroom-dossier-panel {
  background: rgba(9, 14, 32, 0.88);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 211, 67, 0.42);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.82);
}

.dossier-badges-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.dossier-rarity-badge {
  padding: 0.28rem 0.75rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffd343, #c48813);
  color: #060914;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.dossier-elem-badge,
.dossier-role-badge {
  padding: 0.28rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 211, 67, 0.35);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.dossier-knight-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  background: linear-gradient(180deg, #ffffff 0%, #ffe270 65%, #d89614 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dossier-knight-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--emerald-divine);
  margin-top: 0.2rem;
  margin-bottom: 0.65rem;
}

.dossier-archetype-pill {
  display: inline-block;
  padding: 0.32rem 0.8rem;
  border-radius: 8px;
  background: rgba(16, 232, 152, 0.12);
  border: 1px solid rgba(16, 232, 152, 0.38);
  color: var(--emerald-divine);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.dossier-lore-text {
  font-size: 0.86rem;
  color: var(--text-silver);
  line-height: 1.58;
  margin-bottom: 1rem;
}

.dossier-stats-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.dstat-cell {
  padding: 0.45rem 0.35rem;
  border-radius: 8px;
  background: rgba(5, 8, 18, 0.9);
  border: 1px solid rgba(255, 211, 67, 0.25);
  text-align: center;
}

.dstat-cell span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}

.dstat-cell strong {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--gold-bright);
}

/* 4 Clickable Skill Icons (S1-S4) */
.dossier-skills-showcase {
  margin-bottom: 1.1rem;
}

.skill-icons-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.skill-tab-btn {
  padding: 0.5rem 0.6rem;
  border-radius: 9px;
  background: rgba(5, 8, 18, 0.9);
  border: 1.5px solid rgba(255, 211, 67, 0.28);
  color: var(--text-silver);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.skill-tab-btn.active,
.skill-tab-btn:hover {
  background: rgba(255, 211, 67, 0.16);
  border-color: var(--gold-main);
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 211, 67, 0.25);
}

.skill-tab-slot {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gold-main);
  font-weight: 700;
}

.skill-tab-name {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.skill-detail-card {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(5, 8, 18, 0.92);
  border: 1px solid rgba(16, 232, 152, 0.35);
}

.skill-detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.skill-detail-top strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--gold-bright);
}

.skill-detail-cost {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--emerald-divine);
  background: rgba(16, 232, 152, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.skill-detail-desc {
  font-size: 0.82rem;
  color: var(--text-silver);
  line-height: 1.48;
}

/* Inline JP Voice Soundboard */
.dossier-voice-deck {
  padding: 0.85rem 1rem;
  border-radius: 11px;
  background: rgba(5, 8, 18, 0.92);
  border: 1px solid rgba(255, 211, 67, 0.28);
}

.voice-deck-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.voice-va-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold-main);
}

.voice-clip-pills {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.vclip-pill {
  padding: 0.26rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 211, 67, 0.35);
  background: rgba(255, 211, 67, 0.08);
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s;
}

.vclip-pill:hover,
.vclip-pill.playing {
  background: var(--emerald-divine);
  border-color: #fff;
  color: #04130d;
}

.vquote-jp {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.vquote-en {
  font-size: 0.76rem;
  color: var(--text-silver);
  font-style: italic;
}

/* Right Column: Astrolabe Wheel + Animated Character Cutout */
.showroom-visual-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showroom-pose-bar {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}

.spose-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(9, 14, 32, 0.88);
  border: 1px solid rgba(255, 211, 67, 0.38);
  color: var(--text-silver);
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.spose-btn.active,
.spose-btn:hover {
  background: linear-gradient(135deg, #ffd343, #d89614);
  color: #060914;
  border-color: #fff;
}

.astrolabe-stage-wrap {
  position: relative;
  width: 520px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-ring-decor {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 211, 67, 0.42);
  box-shadow: inset 0 0 50px rgba(255, 211, 67, 0.12);
  animation: slowSpin 60s linear infinite;
}

.wheel-ring-inner {
  position: absolute;
  inset: 88px;
  border-radius: 50%;
  border: 1.5px solid rgba(16, 232, 152, 0.32);
  background: radial-gradient(circle, rgba(16, 232, 152, 0.12) 0%, rgba(7, 11, 24, 0.65) 75%);
}

#wheel-nodes-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
}

.wheel-node {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #080d1e;
  border: 2px solid rgba(255, 211, 67, 0.55);
  padding: 2px;
  cursor: pointer;
  transition: all 0.22s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85);
}

.wheel-node img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.wheel-node:hover,
.wheel-node.active {
  transform: translate(-50%, -50%) scale(1.22);
  border-color: var(--emerald-divine);
  box-shadow: 0 0 20px var(--emerald-divine);
  z-index: 10;
}

.wheel-node .node-label {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5, 8, 18, 0.92);
  border: 1px solid var(--gold-main);
  color: var(--gold-bright);
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
}

.showroom-cutout-frame {
  position: relative;
  z-index: 4;
  width: 330px;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cutout-aura-glow {
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 232, 152, 0.32) 0%, transparent 70%);
  filter: blur(16px);
  pointer-events: none;
}

.showroom-character-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.92)) drop-shadow(0 0 22px rgba(255, 211, 67, 0.28));
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.showroom-character-img.spotlight-mode {
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-main);
}

.sr-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(8, 13, 28, 0.9);
  border: 1.5px solid var(--gold-main);
  color: var(--gold-bright);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sr-nav-arrow.prev { left: -14px; }
.sr-nav-arrow.next { right: -14px; }

.sr-nav-arrow:hover {
  background: var(--gold-main);
  color: #060914;
}

.astrolabe-ring-footer {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

.astrolabe-ring-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.astrolabe-page-btn {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 211, 67, 0.14);
  border: 1px solid var(--gold-main);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

/* Bottom Pantheon Roster Dock */
.pantheon-roster-dock {
  position: relative;
  z-index: 3;
  background: rgba(9, 14, 32, 0.9);
  border: 1.5px solid rgba(255, 211, 67, 0.35);
  border-radius: 18px;
  padding: 1.5rem;
}

.roster-filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding-bottom: 1.15rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 211, 67, 0.2);
}

.filter-pill-group {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  flex-wrap: wrap;
}

.fpill,
.epill {
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: rgba(5, 8, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-silver);
  font-size: 0.73rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.fpill span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  opacity: 0.75;
}

.fpill.active, .fpill:hover,
.epill.active, .epill:hover {
  background: linear-gradient(135deg, #ffd343, #d89614);
  color: #060914;
  border-color: #fff;
  box-shadow: 0 0 14px rgba(255, 211, 67, 0.4);
}

.roster-search-wrap {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
}

.saints-search-input {
  width: 100%;
  height: 38px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(5, 8, 18, 0.92);
  border: 1px solid rgba(255, 211, 67, 0.35);
  color: #fff;
  font-size: 0.78rem;
}

.saints-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 0.75rem;
  max-height: 440px;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.saint-card {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(16, 24, 52, 0.92) 0%, rgba(7, 11, 24, 0.96) 100%);
  border: 1.5px solid rgba(255, 211, 67, 0.25);
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.saint-card:hover,
.saint-card.active {
  border-color: var(--emerald-divine);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8), 0 0 16px rgba(16, 232, 152, 0.35);
}

.saint-card.tier-Divine { border-color: rgba(16, 232, 152, 0.65); }
.saint-card.tier-Gold { border-color: rgba(255, 211, 67, 0.55); }

.saint-card-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.saint-card-img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  margin-bottom: 0.3rem;
}

.saint-card-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.saint-card-const {
  font-size: 0.64rem;
  color: var(--text-silver);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ============================================================================
   7. SECTION 5 (#part5) — ALTAR OF THE STARS 10× SUMMON SIMULATOR
   ============================================================================ */
#part5 {
  background: radial-gradient(circle at 50% 25%, #131d42 0%, #050814 80%);
  border-bottom: 2px solid rgba(255, 211, 67, 0.32);
}

.summon-shrine-shell {
  background: rgba(9, 14, 32, 0.92);
  border: 1.5px solid rgba(255, 211, 67, 0.45);
  border-radius: 18px;
  padding: 1.65rem;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.85);
}

.shrine-hud-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 211, 67, 0.22);
}

.shrine-banner-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sbanner-tab {
  padding: 0.48rem 1rem;
  border-radius: 9px;
  background: rgba(5, 8, 18, 0.88);
  border: 1px solid rgba(255, 211, 67, 0.35);
  color: var(--text-silver);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.sbanner-tab.active,
.sbanner-tab:hover {
  background: linear-gradient(135deg, #ffd343, #c48813);
  color: #060914;
  border-color: #fff;
}

.shrine-currencies {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.currency-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(5, 8, 18, 0.95);
  border: 1.5px solid rgba(255, 211, 67, 0.45);
  font-size: 0.78rem;
}

.currency-pill strong {
  font-family: var(--font-mono);
  color: var(--gold-bright);
  font-size: 0.88rem;
}

.currency-add-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--emerald-divine);
  color: #04130d;
  font-weight: 900;
  cursor: pointer;
}

.shrine-main-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.shrine-banner-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--gold-main);
  min-height: 290px;
  display: flex;
  align-items: flex-end;
}

.shrine-banner-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.shrine-banner-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.4rem;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 18, 0.88) 40%, #050814 100%);
}

.shrine-rate-pill {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 232, 152, 0.18);
  border: 1px solid var(--emerald-divine);
  color: var(--emerald-divine);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.shrine-banner-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.shrine-banner-overlay p {
  font-size: 0.82rem;
  color: var(--text-silver);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.shrine-odds-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.odds-chip {
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}

.odds-chip.demigod { color: var(--emerald-divine); border: 1px solid rgba(16, 232, 152, 0.45); }
.odds-chip.gold { color: var(--gold-bright); border: 1px solid rgba(255, 211, 67, 0.45); }
.odds-chip.silver { color: #e2e8f0; }
.odds-chip.bronze { color: #f6ad55; }

/* Right Controls & Pity Meters */
.shrine-controls-card {
  background: rgba(5, 8, 18, 0.92);
  border: 1px solid rgba(255, 211, 67, 0.32);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.pity-meters-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pity-label-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-silver);
  margin-bottom: 0.3rem;
}

.pity-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.pity-progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.pity-progress-fill.gold { background: linear-gradient(90deg, #f59e0b, #fde047); }
.pity-progress-fill.divine { background: linear-gradient(90deg, #059669, #10e898); }

.shrine-session-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.sstat-box {
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(12, 18, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.sstat-box span {
  display: block;
  font-size: 0.64rem;
  color: var(--text-muted);
}

.sstat-box strong {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: #fff;
}

.sstat-box.divine strong { color: var(--emerald-divine); }
.sstat-box.gold strong { color: var(--gold-bright); }

.shrine-pull10-btn {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 11px;
  background: linear-gradient(135deg, #ffe270 0%, #d89614 100%);
  border: 2px solid #fff6b3;
  color: #060914;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 26px rgba(255, 211, 67, 0.4);
  transition: all 0.2s;
}

.shrine-pull10-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(255, 211, 67, 0.65);
}

.pull-main-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.pull-cost-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.88;
}

.shrine-sub-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.55rem;
  flex-wrap: wrap;
}

.shrine-sec-btn {
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  background: rgba(16, 232, 152, 0.14);
  border: 1px solid var(--emerald-divine);
  color: var(--emerald-divine);
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.shrine-sec-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.shrine-skip-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--text-silver);
  cursor: pointer;
}

/* Gacha Cutscene Stage & 10-Card Grid */
.gacha-video-stage {
  display: none;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--gold-main);
  margin-bottom: 1.25rem;
  max-height: 440px;
  background: #000;
}

.gacha-video-stage.active {
  display: block;
}

.gacha-video-stage video {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.gacha-skip-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(5, 8, 18, 0.88);
  border: 1.5px solid var(--gold-main);
  color: var(--gold-bright);
  font-weight: 800;
  font-size: 0.75rem;
  cursor: pointer;
}

.gacha-results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.shrine-empty-prompt {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--text-silver);
  font-size: 0.9rem;
  background: rgba(5, 8, 18, 0.65);
  border: 1px dashed rgba(255, 211, 67, 0.3);
  border-radius: 12px;
}

/* Ornate 9-Sliced Rarity Card Frames */
.gacha-pull-card {
  position: relative;
  border-radius: 14px;
  padding: 0.75rem 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.gacha-pull-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.gacha-pull-card.rarity-Divine {
  background: radial-gradient(circle at 50% 35%, rgba(16, 232, 152, 0.35), rgba(6, 12, 26, 0.96));
  border: 2px solid var(--emerald-divine);
  box-shadow: 0 0 26px rgba(16, 232, 152, 0.55), inset 0 0 18px rgba(255, 211, 67, 0.35);
}

.gacha-pull-card.rarity-Gold {
  background: radial-gradient(circle at 50% 35%, rgba(255, 211, 67, 0.32), rgba(10, 14, 30, 0.96));
  border: 2px solid var(--gold-main);
  box-shadow: 0 0 20px rgba(255, 211, 67, 0.4);
}

.gacha-pull-card.rarity-Silver {
  background: radial-gradient(circle at 50% 35%, rgba(148, 163, 184, 0.25), rgba(8, 12, 26, 0.96));
  border: 1.5px solid #94a3b8;
}

.gacha-pull-card.rarity-Bronze {
  background: radial-gradient(circle at 50% 35%, rgba(217, 119, 6, 0.2), rgba(8, 11, 22, 0.96));
  border: 1.5px solid #b45309;
}

.gacha-pull-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0.25rem 0;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.85));
}

.gpull-rarity-pill {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
}

.gpull-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.gpull-const {
  font-size: 0.68rem;
  color: var(--text-silver);
}

/* ============================================================================
   8. SECTION 6 (#part6) — COSMIC SAGAS TIMELINE & CUTSCENE THEATER
   ============================================================================ */
#part6 {
  background: linear-gradient(180deg, #050814 0%, #0b1126 100%);
  border-bottom: 2px solid rgba(255, 211, 67, 0.32);
}

.vault-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.vault-tab {
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: rgba(9, 14, 32, 0.9);
  border: 1.5px solid rgba(255, 211, 67, 0.35);
  color: var(--text-silver);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.vault-tab.active,
.vault-tab:hover {
  background: linear-gradient(135deg, #ffd343, #c48813);
  color: #060914;
  border-color: #fff;
}

.vault-panel {
  display: none;
}

.vault-panel.active {
  display: block;
}

.saga-timeline-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.saga-nav-pill {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(9, 14, 32, 0.88);
  border: 1.5px solid rgba(255, 211, 67, 0.28);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.saga-nav-pill.active,
.saga-nav-pill:hover {
  border-color: var(--gold-main);
  background: rgba(22, 34, 72, 0.95);
  box-shadow: 0 0 18px rgba(255, 211, 67, 0.25);
}

.snav-roman {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--emerald-divine);
  font-weight: 800;
}

.saga-nav-pill strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--gold-bright);
}

.sagas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.saga-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(9, 14, 32, 0.92);
  border: 1.5px solid rgba(255, 211, 67, 0.35);
  transition: all 0.25s;
}

.saga-card.highlighted {
  border-color: var(--emerald-divine);
  box-shadow: 0 0 28px rgba(16, 232, 152, 0.28);
}

.saga-banner-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.saga-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.saga-banner-overlay {
  position: absolute;
  inset: 0;
  padding: 1.1rem;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 8, 18, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.saga-act-pill {
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 232, 152, 0.16);
  border: 1px solid var(--emerald-divine);
  color: var(--emerald-divine);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

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

.saga-body {
  padding: 1.2rem;
}

.chapter-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin-top: 0.9rem;
  max-height: 230px;
  overflow-y: auto;
}

.chapter-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: rgba(5, 8, 18, 0.85);
  border: 1px solid rgba(255, 211, 67, 0.22);
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s;
}

.chapter-item:hover {
  border-color: var(--gold-main);
  background: rgba(20, 30, 62, 0.9);
}

.chapter-boss-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-main);
}

.chapter-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gold-main);
}

/* Cutscene Video Theater */
.theater-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 1.4rem;
}

.theater-screen-box {
  background: rgba(9, 14, 32, 0.95);
  border: 1.5px solid var(--gold-main);
  border-radius: 16px;
  overflow: hidden;
}

.theater-screen-box video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}

.theater-meta-bar {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.theater-active-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--emerald-divine);
  font-weight: 800;
}

.theater-active-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.theater-playlist {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 520px;
  overflow-y: auto;
}

.theater-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(9, 14, 32, 0.88);
  border: 1px solid rgba(255, 211, 67, 0.25);
  cursor: pointer;
  transition: all 0.2s;
}

.theater-item.active,
.theater-item:hover {
  border-color: var(--gold-main);
  background: rgba(24, 36, 76, 0.95);
}

.theater-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 211, 67, 0.16);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.theater-item-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--emerald-divine);
}

.theater-item-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

/* ============================================================================
   9. FOOTER & UNIVERSAL MODAL
   ============================================================================ */
.site-footer {
  background: #03060f;
  border-top: 1px solid rgba(255, 211, 67, 0.25);
  padding: 3.5rem 2rem 2rem;
  position: relative;
  z-index: 5;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.footer-brand-row img:first-child {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  border: 1.5px solid var(--gold-main);
}

.footer-logo-img {
  height: 54px;
  width: auto;
  border-radius: 6px;
}

.footer-desc {
  font-size: 0.84rem;
  color: var(--text-silver);
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.footer-badges-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.fbadge {
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(255, 211, 67, 0.1);
  border: 1px solid rgba(255, 211, 67, 0.3);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--gold-bright);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.86rem;
  color: var(--gold-main);
  margin-bottom: 0.85rem;
  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.82rem;
  color: var(--text-silver);
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1320px;
  margin: 1.4rem auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Modal Backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 15, 0.86);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.knight-modal-card {
  position: relative;
  max-width: 680px;
  width: 100%;
  background: linear-gradient(180deg, #101936 0%, #070b18 100%);
  border: 2px solid var(--gold-main);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.95);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold-main);
  background: rgba(5, 8, 18, 0.9);
  color: var(--gold-bright);
  font-size: 1rem;
  cursor: pointer;
}

/* ============================================================================
   10. RESPONSIVE BREAKPOINTS
   ============================================================================ */
@media (max-width: 1120px) {
  .znav-logo-wrap img { height: 60px; }
  .bgm-track-name { display: none; }
  .news-bento-grid,
  .features-interactive-shell,
  .pantheon-showroom-stage,
  .shrine-main-grid,
  .theater-layout {
    grid-template-columns: 1fr;
  }
  .gacha-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sagas-grid,
  .saga-timeline-nav {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .znav-brand-meta,
  .znav-logo-wrap { display: none; }
  .astrolabe-stage-wrap {
    width: 340px;
    height: 340px;
  }
  .formation-interactive-grid,
  .mandala-interactive-layout,
  .relik-showcase-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .dossier-stats-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .skill-icons-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}
