/* ==========================================================
   Project S.H.A.E. & Avenrae&Shae — Official Cinema Hub
   Obsidian Violet Cinema + Warm Lantern Gold Aesthetic
   ========================================================== */

:root {
  --bg-deep: #06040d;
  --bg-surface: #0e0a1b;
  --bg-card: rgba(20, 14, 38, 0.78);
  --bg-card-hover: rgba(29, 20, 54, 0.94);
  --border-subtle: rgba(192, 132, 252, 0.16);
  --border-strong: rgba(217, 70, 239, 0.42);
  --border-gold: rgba(245, 197, 107, 0.36);

  --text-primary: #f7f4ff;
  --text-secondary: #c5bddb;
  --text-muted: #8f85ad;

  --violet: #a855f7;
  --magenta: #d946ef;
  --violet-glow: rgba(168, 85, 247, 0.35);
  --gold: #f5c56b;
  --gold-soft: #fde6b1;
  --rumble-green: #85c742;
  --yt-red: #ff4e45;

  --font-display: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 44px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 36px rgba(168, 85, 247, 0.25);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 15% 10%, rgba(126, 34, 206, 0.18), transparent 65%),
    radial-gradient(ellipse 70% 45% at 88% 22%, rgba(217, 70, 239, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 45% at 50% 85%, rgba(245, 197, 107, 0.08), transparent 65%),
    var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 92px;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.container {
  position: relative;
  z-index: 1;
  width: min(1240px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Sticky Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 5, 15, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.brand-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--magenta);
  box-shadow: 0 0 18px rgba(217, 70, 239, 0.45);
}

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--gold-soft);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.platform-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
}

.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.platform-btn.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(217, 70, 239, 0.32));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(240, 171, 252, 0.35);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.rumble-dot { background: var(--rumble-green); box-shadow: 0 0 8px var(--rumble-green); }
.yt-dot { background: var(--yt-red); box-shadow: 0 0 8px var(--yt-red); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
}

.mobile-drawer {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.5rem 1.4rem;
  background: rgba(11, 7, 24, 0.98);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer[hidden] { display: none; }

.mobile-drawer a {
  padding: 0.55rem 0;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-drawer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.mobile-drawer-links a {
  border-bottom: none;
  font-size: 0.82rem;
  color: var(--gold-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.82rem 1.5rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.82rem;
  padding: 0.58rem 1.15rem;
}

.btn-primary {
  background: linear-gradient(135deg, #9333ea 0%, #d946ef 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(192, 38, 211, 0.38);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(217, 70, 239, 0.54);
}

.btn-gold {
  background: linear-gradient(135deg, #d99b38 0%, #f5c56b 100%);
  color: #160c02;
  box-shadow: 0 10px 26px rgba(245, 197, 107, 0.28);
}

.btn-gold:hover {
  box-shadow: 0 14px 34px rgba(245, 197, 107, 0.44);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(240, 171, 252, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: #f0abfc;
}

.btn-outline:hover {
  background: rgba(217, 70, 239, 0.14);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 22%;
  opacity: 0.56;
  filter: saturate(1.12) contrast(1.06);
  transform: scale(1.02);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 4, 13, 0.96) 0%, rgba(6, 4, 13, 0.85) 45%, rgba(6, 4, 13, 0.35) 100%),
    linear-gradient(180deg, rgba(6, 4, 13, 0.45) 0%, transparent 25%, rgba(6, 4, 13, 0.98) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 4rem;
  max-width: 720px;
  margin-left: max(1.25rem, calc((100% - 1240px) / 2));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(245, 197, 107, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.35rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.8vw, 3.85rem);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 1.2rem;
  letter-spacing: 0.015em;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.65);
}

.text-gradient {
  background: linear-gradient(120deg, #f5d0fe 0%, #c084fc 45%, #f5c56b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.04rem;
  color: var(--text-secondary);
  margin: 0 0 1.9rem;
  max-width: 620px;
}

.hero-lead strong {
  color: var(--text-primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.stat-pill {
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 11, 32, 0.78);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.stat-pill strong {
  color: var(--gold-soft);
  margin-right: 0.25rem;
}

.hero-channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.channels-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.channel-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}

.channel-chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.channel-chip.rumble { border-color: rgba(133, 199, 66, 0.4); color: #b7e887; }
.channel-chip.youtube { border-color: rgba(255, 78, 69, 0.4); color: #ff9c96; }
.channel-chip.suno { border-color: rgba(245, 197, 107, 0.4); color: var(--gold-soft); }
.channel-chip.x { border-color: rgba(192, 132, 252, 0.35); color: #e9d5ff; }

/* ---------- Sections ---------- */
.section {
  padding: 4.5rem 0;
}

.section-tinted {
  background: linear-gradient(180deg, rgba(16, 10, 32, 0.55) 0%, rgba(10, 6, 22, 0.75) 100%);
  border-top: 1px solid rgba(192, 132, 252, 0.09);
  border-bottom: 1px solid rgba(192, 132, 252, 0.09);
}

.section-head {
  margin-bottom: 2.25rem;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
  margin: 0 0 0.55rem;
  color: var(--text-primary);
}

.section-desc {
  margin: 0;
  color: var(--text-secondary);
  max-width: 680px;
  font-size: 0.97rem;
}

/* ---------- Start Here Paths ---------- */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.path-card:hover {
  transform: translateY(-5px);
}

.path-violet:hover { border-color: rgba(168, 85, 247, 0.65); box-shadow: 0 20px 50px rgba(168, 85, 247, 0.18); }
.path-gold:hover { border-color: rgba(245, 197, 107, 0.65); box-shadow: 0 20px 50px rgba(245, 197, 107, 0.14); }
.path-magenta:hover { border-color: rgba(217, 70, 239, 0.65); box-shadow: 0 20px 50px rgba(217, 70, 239, 0.18); }

.path-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.path-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #f0abfc;
}

.path-gold .path-tag { color: var(--gold-soft); }

.path-time {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.path-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  margin: 0 0 0.65rem;
}

.path-card p {
  margin: 0 0 1.15rem;
  color: var(--text-secondary);
  font-size: 0.91rem;
  flex: 1;
}

.path-route {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-soft);
  padding: 0.52rem 0.78rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.2rem;
}

.path-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- Movie Cards ---------- */
.movie-grid {
  display: grid;
  gap: 1.5rem;
}

.movie-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.movie-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.65), var(--shadow-glow);
}

.movie-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0714;
  cursor: pointer;
}

.movie-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .movie-thumb {
  transform: scale(1.045);
}

.movie-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  background: rgba(8, 5, 18, 0.82);
  border: 1px solid rgba(240, 171, 252, 0.35);
  color: #f5d0fe;
  backdrop-filter: blur(8px);
}

.movie-duration {
  position: absolute;
  bottom: 0.7rem;
  right: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(5, 3, 12, 0.86);
  color: #fff;
}

.movie-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.35) 0%, rgba(6, 4, 13, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .movie-play-overlay {
  opacity: 1;
}

.play-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #9333ea, #d946ef);
  color: #fff;
  font-size: 1.25rem;
  padding-left: 3px;
  box-shadow: 0 0 30px rgba(217, 70, 239, 0.7);
}

.movie-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.35rem 1.35rem;
}

.movie-order {
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.movie-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0 0 0.55rem;
  color: var(--text-primary);
}

.movie-hook {
  font-size: 0.87rem;
  color: var(--text-secondary);
  margin: 0 0 1.1rem;
  flex: 1;
}

.movie-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.platform-links {
  display: flex;
  gap: 0.45rem;
}

.mini-link {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}

.mini-link.rumble { color: #b7e887; border-color: rgba(133, 199, 66, 0.32); }
.mini-link.rumble:hover { background: rgba(133, 199, 66, 0.16); }
.mini-link.youtube { color: #ff9c96; border-color: rgba(255, 78, 69, 0.32); }
.mini-link.youtube:hover { background: rgba(255, 78, 69, 0.16); }

/* ---------- Featured Card (An Eternity for an Evening) ---------- */
.featured-card {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(28, 16, 48, 0.92), rgba(18, 12, 34, 0.95));
  border: 1px solid var(--border-gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 42px rgba(245, 197, 107, 0.12);
  margin-bottom: 2.5rem;
}

.featured-media {
  position: relative;
  min-height: 300px;
  cursor: pointer;
  overflow: hidden;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-card:hover .featured-media img {
  transform: scale(1.04);
}

.featured-body {
  padding: 2rem 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  margin: 0.35rem 0 0.8rem;
  line-height: 1.18;
}

.featured-body p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin: 0 0 1.4rem;
}

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

.sub-shelf-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
}

.sub-shelf-label .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 197, 107, 0.35), transparent);
}

/* ---------- Act IV Strip ---------- */
.act4-box {
  margin-top: 2.2rem;
  padding: 1.6rem 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(14, 9, 28, 0.78);
  border: 1px solid var(--border-subtle);
}

.act4-head h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0.2rem 0 0.35rem;
}

.act4-head p {
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.act4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.act4-item {
  display: flex;
  flex-direction: column;
  padding: 1.05rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(192, 132, 252, 0.14);
  transition: all 0.22s ease;
}

.act4-item:hover {
  border-color: var(--border-strong);
  background: rgba(168, 85, 247, 0.1);
  transform: translateY(-3px);
}

.act4-ep {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.act4-title {
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.act4-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  flex: 1;
}

.act4-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* ---------- Portraits Gallery ---------- */
.portraits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.portrait-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.portrait-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
}

.portrait-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #090612;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portrait-card:hover .portrait-frame img {
  transform: scale(1.05);
}

.portrait-body {
  padding: 1.2rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portrait-role {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.portrait-body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0 0 0.45rem;
}

.portrait-body p {
  margin: 0 0 0.9rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  flex: 1;
}

.text-link {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  color: #f0abfc;
  font-weight: 700;
  font-size: 0.84rem;
}

.text-link:hover {
  color: var(--gold-soft);
}

/* ---------- Soundtrack Section ---------- */
.soundtrack-shell {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.2rem;
  align-items: center;
}

.soundtrack-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tracklist {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.track-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.22s ease;
}

.track-row:hover,
.track-row.playing {
  border-color: var(--border-strong);
  background: rgba(168, 85, 247, 0.14);
}

.track-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #9333ea, #d946ef);
  color: #fff;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(192, 38, 211, 0.35);
}

.track-meta {
  flex: 1;
  min-width: 0;
}

.track-name {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text-primary);
}

.track-film {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.track-watch {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-soft);
  background: rgba(245, 197, 107, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.track-watch:hover {
  background: rgba(245, 197, 107, 0.22);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 3, 12, 0.9);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--violet);
}

.footer-brand h3 {
  font-family: var(--font-display);
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
}

.footer-brand p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-credits {
  padding-top: 1.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-credits strong {
  color: var(--text-secondary);
}

/* ---------- Cinema Theater Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 2, 10, 0.88);
  backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  overflow-y: auto;
}

.modal-backdrop[hidden] {
  display: none;
}

.theater-shell {
  width: min(1060px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: #0d081a;
  border: 1px solid var(--border-strong);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85), 0 0 60px rgba(168, 85, 247, 0.22);
}

.theater-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.3rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.theater-meta-pill {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
}

.theater-top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theater-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1rem;
}

.theater-close:hover {
  background: rgba(217, 70, 239, 0.25);
}

.theater-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
}

.theater-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.theater-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

.theater-fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: blur(2px);
}

.theater-fallback-inner {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.theater-fallback-inner p {
  color: var(--text-secondary);
  margin: 0.5rem 0 1.2rem;
}

.theater-body {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.75rem;
  padding: 1.5rem 1.65rem 1.85rem;
}

.theater-main h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.7rem;
  line-height: 1.22;
}

.theater-synopsis {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin: 0 0 1.15rem;
}

.theater-external-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.theater-details {
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.theater-details summary {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--gold-soft);
  cursor: pointer;
}

.chapter-list {
  list-style: none;
  padding: 0.75rem 0 0.2rem;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.35rem 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.theater-credits {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.upnext-box {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  padding: 1.15rem;
}

.upnext-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.upnext-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.upnext-title {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.upnext-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0 0 0.9rem;
}

/* ---------- Floating Audio Dock ---------- */
.audio-dock {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: min(350px, calc(100vw - 2rem));
  padding: 0.68rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 10, 30, 0.9);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(168, 85, 247, 0.25);
}

.dock-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #9333ea, #d946ef);
  color: #fff;
  font-size: 0.92rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dock-info {
  flex: 1;
  min-width: 0;
}

.dock-title {
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-bar {
  margin-top: 0.35rem;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  cursor: pointer;
}

.dock-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #c084fc, #f5c56b);
}

.dock-next {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.dock-next:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .paths-grid,
  .movie-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .portraits-grid,
  .act4-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-card,
  .soundtrack-shell,
  .theater-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
}

@media (max-width: 780px) {
  .hero-content {
    margin-left: 0;
    padding: 3.2rem 0 3rem;
  }
  .paths-grid,
  .movie-grid-3,
  .portraits-grid,
  .act4-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 3.2rem 0;
  }
  .platform-btn {
    padding: 0.34rem 0.62rem;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-dot { animation: none; }
  #particle-canvas { display: none; }
}
