/* ========================================
   REBEL OF THE FORSAKEN - CINEMATIC EXPERIENCE
   Premium franchise site with film-production aesthetics
   ======================================== */

/* ========================================
   CUSTOM FONTS
   ======================================== */
@font-face {
    font-family: 'Zimu';
    src: url('../assets/Zimu.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
    /* Dark Fantasy Color Palette */
    --void: #050508;              /* Deepest black with blue undertone */
    --abyss: #0a0a12;             /* Dark background */
    --shadow: #12121a;            /* Elevated surfaces */
    --mist: #1a1a25;              /* Cards, lighter surfaces */
    
    /* Mystical Accents */
    --ember: #ff6b4a;             /* Fire/spark - primary accent */
    --ember-glow: #ff8a6b;        /* Ember highlight */
    --arcane: #f36a20;            /* Orange - matches book cover */
    --arcane-dim: #d85a15;        /* Deeper orange */
    --ethereal: #4fc3f7;          /* Cyan glow */
    --spectral: #ff9955;          /* Light orange */
    
    /* Text */
    --text-bright: #f0f0f5;       /* Bright text */
    --text-soft: #b8b8c8;         /* Muted text */
    --text-dim: #6a6a7a;          /* Very muted */
    
    /* Legacy mappings */
    --primary-color: var(--ember);
    --primary-light: var(--ember-glow);
    --secondary-color: var(--abyss);
    --text-light: var(--text-bright);
    --gold: var(--ember);
    --cream: var(--text-bright);
    
    --title-font: 'Zimu', 'Cinzel', serif;
    --heading-font: 'Cinzel', serif;
    --body-font: 'Lato', sans-serif;
    
    /* Cinematic spacing */
    --section-padding: clamp(80px, 12vh, 150px);
    --cinematic-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   CINEMATIC SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10001;
    background: rgba(123, 104, 238, 0.1);
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--ember), var(--arcane), var(--ethereal));
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 20px var(--arcane), 0 0 40px rgba(123, 104, 238, 0.5);
}

/* ========================================
   CINEMATIC LOADING SCREEN
   ======================================== */
.cinematic-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--void);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.8s var(--cinematic-ease), visibility 0.8s;
}

.cinematic-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    font-family: var(--title-font);
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--arcane);
    text-shadow: 0 0 60px rgba(123, 104, 238, 0.8);
    animation: loaderPulse 2s ease-in-out infinite;
    margin-bottom: 2rem;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(123, 104, 238, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ember), var(--arcane));
    animation: loaderFill 2s var(--cinematic-ease) forwards;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes loaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ========================================
   BASE STYLES - CINEMATIC FOUNDATION
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Cinematic smooth scroll */
    scroll-snap-type: y proximity;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-soft);
    background: var(--void);
    overflow-x: hidden;
}

/* Cinematic film grain overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 10000;
    animation: grainShift 0.5s steps(10) infinite;
}

@keyframes grainShift {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-1%, -1%); }
    30% { transform: translate(1%, 2%); }
    50% { transform: translate(-2%, 1%); }
    70% { transform: translate(2%, -1%); }
    90% { transform: translate(-1%, 2%); }
}

/* Letterbox bars for cinematic feel */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9998;
    box-shadow: 
        inset 0 40px 80px -40px rgba(0, 0, 0, 0.8),
        inset 0 -40px 80px -40px rgba(0, 0, 0, 0.8);
}

.rebel-page {
    background: var(--void);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
}

/* Wide container for cinematic sections */
.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 3rem);
}

/* Full-bleed container */
.container-full {
    width: 100%;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-bright);
}

/* Cinematic oversized headlines */
h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   SCROLL-TRIGGERED REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s var(--cinematic-ease), transform 1s var(--cinematic-ease);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1s var(--cinematic-ease), transform 1s var(--cinematic-ease);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s var(--cinematic-ease), transform 1s var(--cinematic-ease);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1.2s var(--cinematic-ease), transform 1.2s var(--cinematic-ease);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Staggered reveals for lists */
.stagger-reveal > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--cinematic-ease), transform 0.8s var(--cinematic-ease);
}

.stagger-reveal.revealed > *:nth-child(1) { transition-delay: 0s; }
.stagger-reveal.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-reveal.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-reveal.revealed > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-reveal.revealed > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-reveal.revealed > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-reveal.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   NAVIGATION - Cinematic Minimal
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.5s var(--cinematic-ease);
}

/* Transparent state at top */
.navbar:not(.scrolled) {
    background: transparent;
    border-bottom: none;
}

/* Solid state when scrolled */
.navbar.scrolled {
    background: rgba(5, 5, 8, 0.95);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(123, 104, 238, 0.1);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Animated logo */
.logo-text {
    font-family: var(--title-font);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--arcane);
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.4s ease;
}

.logo-text::before {
    content: '🔥';
    position: absolute;
    left: -24px;
    top: 50%;
    width: auto;
    height: auto;
    font-size: 14px;
    background: none;
    border-radius: 0;
    transform: translateY(-50%);
    filter: drop-shadow(0 0 8px var(--ember)) drop-shadow(0 0 15px rgba(255, 107, 74, 0.6));
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 0.8; transform: translateY(-50%) scale(0.9); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.1); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1.5rem, 3vw, 3rem);
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    padding: 0.5rem 0;
}

/* Animated underline */
.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--arcane), var(--ember), transparent);
    transition: all 0.4s var(--cinematic-ease);
    transform: translateX(-50%);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--ember);
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--ember);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-bright);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: translateX(-50%) scale(1);
}
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 10px;
}

/* Nav right container for audio player + hamburger */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--arcane);
    transition: all 0.4s var(--cinematic-ease);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   HERO SECTION - CINEMATIC FULLSCREEN
   ======================================== */
.hero-section,
.movies-hero,
.books-hero {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--void);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

/* Deep space starfield with parallax layers */
.hero-section::before,
.movies-hero::before,
.books-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background-image: 
        /* Far stars - small and dim */
        radial-gradient(1px 1px at 5% 10%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 15% 35%, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(1px 1px at 25% 80%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 35% 55%, rgba(179, 136, 255, 0.3), transparent),
        radial-gradient(1px 1px at 45% 25%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1px 1px at 55% 90%, rgba(123, 104, 238, 0.3), transparent),
        radial-gradient(1px 1px at 65% 45%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 75% 70%, rgba(79, 195, 247, 0.25), transparent),
        radial-gradient(1px 1px at 85% 20%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 95% 60%, rgba(179, 136, 255, 0.25), transparent),
        /* Medium stars */
        radial-gradient(1.5px 1.5px at 8% 45%, rgba(123, 104, 238, 0.5), transparent),
        radial-gradient(1.5px 1.5px at 28% 15%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1.5px 1.5px at 48% 75%, rgba(255, 107, 74, 0.4), transparent),
        radial-gradient(1.5px 1.5px at 68% 35%, rgba(179, 136, 255, 0.45), transparent),
        radial-gradient(1.5px 1.5px at 88% 85%, rgba(79, 195, 247, 0.4), transparent),
        /* Close bright stars */
        radial-gradient(2px 2px at 20% 50%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 50% 30%, rgba(123, 104, 238, 0.6), transparent),
        radial-gradient(2.5px 2.5px at 80% 60%, rgba(255, 107, 74, 0.5), transparent);
    background-size: 550px 550px;
    animation: starfieldParallax 120s linear infinite;
}

@keyframes starfieldParallax {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-200px, -200px) rotate(5deg); }
}

/* Animated floating particles - mystical orbs */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(3px 3px at 10% 20%, rgba(179, 136, 255, 0.6), transparent),
        radial-gradient(2px 2px at 30% 70%, rgba(255, 107, 74, 0.5), transparent),
        radial-gradient(4px 4px at 50% 10%, rgba(79, 195, 247, 0.4), transparent),
        radial-gradient(2px 2px at 70% 50%, rgba(123, 104, 238, 0.5), transparent),
        radial-gradient(3px 3px at 90% 80%, rgba(255, 255, 255, 0.4), transparent);
    background-size: 400px 400px;
    animation: particleFloat 40s linear infinite;
    opacity: 0.7;
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-100px) translateX(50px); }
    100% { transform: translateY(-200px) translateX(0); }
}

/* Animated aurora overlay */
.hero-overlay,
.movies-hero-overlay,
.books-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(123, 104, 238, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(255, 107, 74, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(79, 195, 247, 0.1) 0%, transparent 50%);
    animation: auroraShift 25s ease-in-out infinite;
}

@keyframes auroraShift {
    0%, 100% { 
        opacity: 0.8; 
        transform: scale(1);
    }
    33% { 
        opacity: 1; 
        transform: scale(1.05);
    }
    66% { 
        opacity: 0.9; 
        transform: scale(0.98);
    }
}

/* Cinematic vignette */
.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 70% 70% at center, transparent 20%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

/* Bottom mist/fog effect */
.hero-section::after,
.movies-hero::after,
.books-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, 
        var(--void) 0%, 
        rgba(5, 5, 8, 0.8) 20%,
        rgba(5, 5, 8, 0.4) 50%,
        transparent 100%);
    pointer-events: none;
}

/* Ember glow from bottom */
.hero-ember-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: 
        radial-gradient(ellipse 80% 40% at 30% 100%, rgba(255, 107, 74, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 30% at 70% 100%, rgba(123, 104, 238, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: emberPulse 8s ease-in-out infinite;
}

@keyframes emberPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ========================================
   HERO CONTENT - CINEMATIC TYPOGRAPHY
   ======================================== */
.hero-content,
.movies-hero-content,
.books-hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    max-width: 1000px;
    padding: 0 2rem;
    text-align: center;
}

.hero-franchise-label {
    display: inline-block;
    font-size: clamp(0.65rem, 1vw, 0.8rem);
    font-weight: 500;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #ffce00;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeSlideDown 1s var(--cinematic-ease) 0.5s forwards;
}

/* Main title - massive cinematic typography */
.hero-title {
    font-family: var(--title-font);
    font-size: clamp(3rem, 10vw, 8rem);
    color: var(--arcane);
    margin-bottom: 0.5rem;
    font-weight: normal;
    line-height: 0.95;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: titleReveal 1.5s var(--cinematic-ease) 0.8s forwards;
}

@keyframes titleReveal {
    0% { 
        opacity: 0; 
        transform: translateY(40px) scale(0.95);
        filter: blur(10px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-subtitle {
    font-family: var(--title-font);
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: normal;
    letter-spacing: 3px;
    opacity: 0;
    animation: fadeSlideUp 1s var(--cinematic-ease) 1.2s forwards;
}

.hero-title-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--arcane), var(--ember), var(--arcane), transparent);
    margin: 0 auto 2rem;
    opacity: 0;
    animation: lineExpand 1.2s var(--cinematic-ease) 1.4s forwards;
}

@keyframes lineExpand {
    0% { 
        opacity: 0;
        width: 0;
    }
    100% { 
        opacity: 1;
        width: 200px;
    }
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    color: #f0f0f5;
    font-style: italic;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeSlideUp 1s var(--cinematic-ease) 1.6s forwards;
}

@keyframes fadeSlideUp {
    0% { 
        opacity: 0; 
        transform: translateY(30px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

@keyframes fadeSlideDown {
    0% { 
        opacity: 0; 
        transform: translateY(-20px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #ffce00;
    margin-bottom: 1.5rem;
    animation: fadeSlideDown 1s var(--cinematic-ease) 0.5s forwards;
    opacity: 0;
}

.movies-hero-content h1,
.books-hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--arcane);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    animation: titleReveal 1.2s ease-out 0.2s both;
}

/* ========================================
   CINEMATIC BUTTONS
   ======================================== */
.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeSlideUp 1s var(--cinematic-ease) 1.8s forwards;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 3rem;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s var(--cinematic-ease);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Primary button - bordered with gradient fill on hover */
.btn-primary {
    background: transparent;
    color: var(--text-bright);
    border: 1px solid rgba(255, 107, 74, 0.5);
    position: relative;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--cinematic-ease);
    z-index: -1;
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary:hover {
    border-color: var(--ember);
    box-shadow: 
        0 0 30px rgba(255, 107, 74, 0.3),
        0 0 60px rgba(123, 104, 238, 0.2);
}

/* Animated corner accents */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--ember), transparent, transparent, var(--arcane));
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}

/* Secondary button - ghost style */
.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(123, 104, 238, 0.3);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(123, 104, 238, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s var(--cinematic-ease);
}

.btn-secondary:hover::before {
    width: 300%;
    height: 300%;
}

.btn-secondary:hover {
    color: var(--text-bright);
    border-color: var(--arcane);
}

/* ========================================
   SCROLL INDICATOR - CINEMATIC
   ======================================== */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    text-align: center;
    opacity: 0;
    animation: fadeSlideUp 1s var(--cinematic-ease) 2.2s forwards;
}

.scroll-indicator span {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 1px solid rgba(123, 104, 238, 0.3);
    border-radius: 12px;
    margin: 0 auto;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 10px;
    background: linear-gradient(to bottom, var(--arcane), transparent);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { 
        top: 8px; 
        opacity: 1; 
        height: 10px;
    }
    50% { 
        top: 18px; 
        opacity: 0.3;
        height: 6px;
    }
}

/* ========================================
   SECTION TRANSITIONS - DIAGONAL DIVIDERS
   ======================================== */
.section-divider {
    position: relative;
    height: 150px;
    background: var(--void);
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    right: -10%;
    height: 100%;
    background: var(--abyss);
    transform: skewY(-3deg);
    transform-origin: top left;
}

/* ========================================
   FLOATING THEME AUDIO PLAYER - Ethereal
   ======================================== */
.theme-audio-player {
    position: fixed;
    top: 100px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(10, 10, 18, 0.95);
    border: 1px solid rgba(123, 104, 238, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(123, 104, 238, 0.1);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.theme-audio-player:hover {
    border-color: rgba(123, 104, 238, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(123, 104, 238, 0.2);
}

.audio-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(123, 104, 238, 0.15);
    border: 1px solid rgba(123, 104, 238, 0.4);
    border-radius: 50px;
    color: var(--arcane);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap;
}

.audio-play-btn:hover {
    background: rgba(123, 104, 238, 0.25);
    border-color: var(--arcane);
    transform: scale(1.02);
}

.audio-play-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 104, 238, 0.3);
}

.audio-play-btn.playing {
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    color: #fff;
    border-color: var(--arcane);
}

.play-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.audio-btn-text {
    letter-spacing: 0.3px;
}

/* Audio Controls */
.audio-controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.audio-controls.visible {
    opacity: 1;
    width: auto;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 0.25rem;
}

.audio-mute-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.audio-mute-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--arcane);
    border-color: rgba(123, 104, 238, 0.3);
}

.audio-mute-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(123, 104, 238, 0.3);
}

.audio-mute-btn.muted {
    color: rgba(255, 255, 255, 0.35);
}

/* Volume toggle button - only visible on mobile */
.audio-volume-toggle {
    display: none;
}

/* Volume Slider */
.audio-volume-wrapper {
    position: relative;
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.volume-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--arcane), var(--ember));
    border-radius: 2px;
    pointer-events: none;
    transition: width 0.1s ease;
}

.audio-volume {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 16px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

.audio-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--arcane);
    border-radius: 50%;
    cursor: pointer;
}

.audio-volume-wrapper:hover .audio-volume {
    opacity: 1;
}

/* Track Info */
.audio-track-info {
    display: none;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 0.25rem;
}

.audio-controls.visible + .audio-track-info {
    display: block;
}

.track-title {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Playing Animation */
.audio-play-btn.playing .play-icon-wrapper {
    animation: audioPulse 1.5s ease-in-out infinite;
}

@keyframes audioPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Glow effect when playing */
.theme-audio-player.is-playing {
    border-color: rgba(123, 104, 238, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(123, 104, 238, 0.3);
}

/* ========================================
   SECTION COMMON STYLES
   ======================================== */
.section-film-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.015;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ethereal);
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.section-title {
    font-family: var(--title-font);
    font-size: 2.5rem;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    font-weight: normal;
}

.section-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--arcane), var(--ember), var(--arcane), transparent);
    margin: 0 auto 1.5rem;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Dark section variants */
.characters-section .section-title,
.credits-section .section-title,
.trailer-section .section-title,
.creators-section .section-title,
.authors-section .section-title {
    color: var(--text-bright);
}

.characters-section .section-intro,
.credits-section .section-intro {
    color: var(--text-soft);
}

/* ========================================
   STORY INTRO SECTION - Cinematic Split
   ======================================== */
.story-intro-section {
    padding: var(--section-padding) 0;
    background: var(--void);
    position: relative;
    overflow: hidden;
}

/* Ethereal ambient glow */
.story-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 10% 50%, rgba(123, 104, 238, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 90% 60%, rgba(255, 107, 74, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Diagonal transition at top */
.story-intro-section::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -5%;
    right: -5%;
    height: 100px;
    background: var(--void);
    transform: skewY(-2deg);
}

.story-intro-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(3rem, 8vw, 6rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--arcane);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 40px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 25px;
    height: 1px;
    background: linear-gradient(90deg, var(--ember), var(--arcane));
}

.intro-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-bright);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.section-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--ember), var(--arcane), transparent);
    margin-bottom: 2rem;
}

.intro-text .lead-text {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: var(--text-soft);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.intro-text p {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.intro-text .closing-line {
    color: var(--ethereal);
    font-size: 1.15rem;
    font-style: italic;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.1), rgba(79, 195, 247, 0.05));
    border-radius: 0;
    border-left: 2px solid var(--arcane);
    position: relative;
}

.closing-line::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 4rem;
    color: var(--arcane);
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* Book visual with premium glow */
.visual-card {
    position: relative;
    perspective: 1000px;
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: 
        radial-gradient(ellipse at center, rgba(123, 104, 238, 0.3), transparent 60%),
        radial-gradient(ellipse at 30% 70%, rgba(255, 107, 74, 0.2), transparent 50%);
    filter: blur(60px);
    z-index: 0;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.visual-card img {
    position: relative;
    z-index: 1;
    border-radius: 4px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(123, 104, 238, 0.2);
    transition: transform 0.6s var(--cinematic-ease);
}

.visual-card:hover img {
    transform: rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.visual-badge {
    position: absolute;
    top: 20px;
    right: -10px;
    background: linear-gradient(135deg, var(--arcane), var(--spectral));
    color: white;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(123, 104, 238, 0.4);
}

/* ========================================
   DUAL SHOWCASE SECTION - Premium Cards
   ======================================== */
.dual-showcase-section {
    padding: var(--section-padding) 0;
    background: var(--abyss);
    position: relative;
}

.dual-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.showcase-card {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(123, 104, 238, 0.1);
    transition: all 0.6s var(--cinematic-ease);
}

.showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--arcane), var(--ember), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.showcase-card:hover::before {
    opacity: 1;
}

.showcase-card:hover {
    border-color: rgba(123, 104, 238, 0.3);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(123, 104, 238, 0.1);
}

.card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center top;
    transition: transform 0.8s var(--cinematic-ease), filter 0.8s ease;
    filter: brightness(0.7) saturate(0.9);
}

.showcase-card:hover .card-bg-image {
    transform: scale(1.08);
    filter: brightness(0.8) saturate(1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top, 
        rgba(5, 5, 8, 1) 0%, 
        rgba(5, 5, 8, 0.95) 40%,
        rgba(5, 5, 8, 0.85) 70%, 
        rgba(5, 5, 8, 0.7) 100%
    );
}

.card-content {
    position: relative;
    z-index: 1;
    padding: 3rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: transparent;
    color: var(--arcane);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1px solid var(--arcane);
    margin-bottom: 1.5rem;
}

.card-content h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1.25rem;
    color: var(--text-bright);
    font-weight: 600;
}

.card-content p {
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.btn-card-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid rgba(255, 107, 74, 0.5);
    color: var(--text-bright);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.4s var(--cinematic-ease);
    position: relative;
    overflow: hidden;
}

.btn-card-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--cinematic-ease);
    z-index: -1;
}

.btn-card-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-card-primary:hover {
    border-color: var(--ember);
}
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 107, 74, 0.3);
}

.btn-card-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(255, 107, 74, 0.4),
        0 0 40px rgba(123, 104, 238, 0.3);
}

.btn-card-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(123, 104, 238, 0.4);
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-card-secondary:hover {
    border-color: var(--arcane);
    color: var(--ethereal);
    box-shadow: 0 0 20px rgba(123, 104, 238, 0.2);
}

.kindle-note {
    font-size: 0.85rem;
    color: var(--ethereal);
    text-align: center;
}

/* ========================================
   CHARACTERS SECTION - Premium Gallery
   ======================================== */
.characters-section {
    padding: var(--section-padding) 0;
    background: var(--void);
    position: relative;
    overflow: hidden;
}

.characters-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse 40% 30% at 20% 30%, rgba(123, 104, 238, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 30% 30% at 80% 70%, rgba(255, 107, 74, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(79, 195, 247, 0.05) 0%, transparent 50%);
    animation: ambientMove 30s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ambientMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-2%, 3%); }
}

.spotlight-effect {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 400px;
    background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(123, 104, 238, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Section header styling */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-header .section-label {
    padding-left: 0;
}

.section-header .section-label::before {
    display: none;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-bright);
    margin-bottom: 1.5rem;
}

.section-header .section-line {
    margin: 0 auto 1.5rem;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Character grid - horizontal scroll on mobile, grid on desktop */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Lead character takes 2 columns */
.character-lead {
    grid-column: span 2;
    grid-row: span 2;
}

.character-card {
    background: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(123, 104, 238, 0.1);
    transition: all 0.6s var(--cinematic-ease);
    position: relative;
}

/* Glowing top border on hover */
.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--arcane), var(--ember), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 5;
}

.character-card:hover::before {
    opacity: 1;
}

.character-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4), 
        0 0 60px rgba(123, 104, 238, 0.1);
    border-color: rgba(123, 104, 238, 0.3);
}

.character-lead {
    border-color: rgba(255, 107, 74, 0.3);
}

.character-lead:hover {
    border-color: rgba(255, 107, 74, 0.5);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5), 
        0 0 80px rgba(255, 107, 74, 0.15);
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    z-index: 10;
    pointer-events: none;
}

.character-card:hover .card-shine,
.cast-card:hover .card-shine {
    animation: cardShine 0.6s ease-out;
}

@keyframes cardShine {
    0% { left: -100%; }
    100% { left: 150%; }
}

.character-image {
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--cinematic-ease), filter 0.8s ease;
    filter: brightness(0.9) saturate(0.95);
}

.character-card:hover .character-image img {
    transform: scale(1.05);
    filter: brightness(1) saturate(1);
}

.character-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(5, 5, 8, 0.95) 0%, rgba(5, 5, 8, 0.7) 50%, transparent 100%);
}

.character-type {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--arcane);
    border: 1px solid rgba(123, 104, 238, 0.3);
}

.character-lead .character-type {
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    color: #fff;
    border: none;
}

.character-tba {
    background: linear-gradient(180deg, var(--shadow) 0%, var(--abyss) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tba-silhouette {
    position: relative;
    width: 50%;
    color: rgba(123, 104, 238, 0.15);
    animation: silhouettePulse 4s ease-in-out infinite;
}

@keyframes silhouettePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.tba-silhouette svg {
    width: 100%;
    height: auto;
}

.tba-silhouette .tba-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 300;
    color: var(--arcane);
    opacity: 0.4;
}

.character-content {
    padding: 1.5rem;
}

.character-content h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.character-card:hover .character-content h3 {
    color: var(--ethereal);
}

.character-title {
    color: var(--arcane);
    font-weight: 600;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.character-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   TRAILER SECTION - Dark Fantasy
   ======================================== */
.trailer-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--shadow) 0%, var(--abyss) 100%);
    position: relative;
}

.trailer-ambient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(243, 106, 32, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.trailer-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.trailer-wrapper {
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5), 
        0 0 0 1px rgba(243, 106, 32, 0.2),
        0 0 60px rgba(243, 106, 32, 0.1);
    background: #000;
}

.trailer-wrapper video,
.trailer-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* Trailer Coming Soon Placeholder */
.trailer-wrapper .trailer-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(135deg, var(--void) 0%, var(--shadow) 50%, var(--void) 100%);
}

.trailer-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--void) 0%, var(--shadow) 50%, var(--void) 100%);
}

.trailer-coming-soon {
    text-align: center;
    color: #fff;
    padding: 3rem;
}

.trailer-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.2), rgba(255, 107, 74, 0.1));
    border: 2px solid rgba(123, 104, 238, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--arcane);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(123, 104, 238, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 50px rgba(123, 104, 238, 0.5);
        transform: scale(1.05);
    }
}

.trailer-coming-soon h3 {
    font-family: var(--heading-font);
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 30px rgba(123, 104, 238, 0.3);
}

.trailer-coming-soon p {
    color: var(--text-soft);
    font-size: 1rem;
}

/* ========================================
   REVIEWS SECTION - Dark Fantasy
   ======================================== */
.reviews-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--mist) 0%, var(--abyss) 50%, var(--mist) 100%);
    position: relative;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.reviews-rating-summary {
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-rating-summary .rating-stars {
    font-size: 2.5rem;
    color: #f5c518;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(245, 197, 24, 0.4);
    margin-bottom: 0.5rem;
}

.reviews-rating-summary .rating-text {
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Review Cards Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-card {
    background: linear-gradient(145deg, rgba(26, 26, 37, 0.9), rgba(18, 18, 26, 0.95));
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(243, 106, 32, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 8rem;
    color: rgba(243, 106, 32, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(243, 106, 32, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(243, 106, 32, 0.15);
}

.review-quote {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ember);
    line-height: 1.5;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.review-stars {
    color: #f5c518;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(245, 197, 24, 0.3);
}

.review-excerpt {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.review-attribution {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(243, 106, 32, 0.1);
}

.review-author {
    color: var(--arcane-light);
    font-weight: 600;
    font-size: 0.9rem;
}

.review-date {
    color: var(--text-dim);
    font-size: 0.8rem;
}

.reviews-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.btn-reviews {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(243, 106, 32, 0.15), rgba(179, 136, 255, 0.1));
    color: var(--ember);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(243, 106, 32, 0.4);
    transition: all 0.3s ease;
}

.btn-reviews:hover {
    background: linear-gradient(135deg, rgba(243, 106, 32, 0.25), rgba(179, 136, 255, 0.2));
    box-shadow: 0 0 25px rgba(243, 106, 32, 0.3);
    transform: translateY(-2px);
}

.btn-reviews.secondary {
    background: transparent;
    color: var(--text-soft);
    border-color: rgba(240, 240, 245, 0.2);
}

.btn-reviews.secondary:hover {
    color: var(--ember);
    border-color: rgba(243, 106, 32, 0.4);
    background: rgba(243, 106, 32, 0.08);
}

@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-reviews {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .goodreads-widget-wrapper iframe {
        height: 400px;
    }
}

/* ========================================
   TRILOGY SECTION - Dark Fantasy
   ======================================== */
.trilogy-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--abyss) 0%, var(--mist) 100%);
    position: relative;
}

.trilogy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.trilogy-card {
    background: rgba(26, 26, 37, 0.8);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(123, 104, 238, 0.1);
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.trilogy-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(123, 104, 238, 0.15);
}

.trilogy-card.active {
    background: linear-gradient(145deg, rgba(40, 35, 50, 0.9), rgba(26, 26, 37, 0.95));
    border: 2px solid var(--arcane);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(123, 104, 238, 0.25);
}

.trilogy-number {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(123, 104, 238, 0.15);
    margin-bottom: 0.5rem;
}

.trilogy-card.active .trilogy-number {
    color: var(--arcane);
    text-shadow: 0 0 30px rgba(123, 104, 238, 0.4);
}

.trilogy-card h3 {
    font-size: 1.5rem;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}

.trilogy-release {
    color: var(--ethereal);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.trilogy-desc {
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.trilogy-status {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trilogy-status.available {
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 107, 74, 0.3);
}

.trilogy-status.coming {
    background: rgba(123, 104, 238, 0.15);
    color: var(--text-dim);
    border: 1px solid rgba(123, 104, 238, 0.2);
}

.trilogy-status.writing {
    background: linear-gradient(135deg, rgba(179, 136, 255, 0.3), rgba(123, 104, 238, 0.3));
    color: #b388ff;
    border: 1px solid rgba(179, 136, 255, 0.4);
    box-shadow: 0 0 15px rgba(179, 136, 255, 0.2);
}

/* ========================================
   TIMELINE SECTION - Dark Fantasy
   ======================================== */
.timeline-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--mist) 0%, var(--shadow) 100%);
    position: relative;
    overflow: hidden;
}

.timeline-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(123, 104, 238, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 74, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.timeline-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.timeline-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ethereal);
    margin-bottom: 0.75rem;
}

.timeline-title {
    font-size: 2.5rem;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 30px rgba(123, 104, 238, 0.3);
}

.timeline-title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--arcane), var(--ember), transparent);
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 15px rgba(123, 104, 238, 0.4);
}

.current-phase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, var(--shadow), var(--abyss));
    border: 1px solid rgba(123, 104, 238, 0.3);
    border-radius: 50px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.phase-indicator {
    width: 8px;
    height: 8px;
    background: var(--ethereal);
    border-radius: 50%;
    animation: phaseGlow 1.5s ease-in-out infinite;
}

@keyframes phaseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(79, 195, 247, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(79, 195, 247, 0); }
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, var(--arcane), rgba(123, 104, 238, 0.2) 25%, rgba(123, 104, 238, 0.1));
    z-index: 0;
}

.timeline-item {
    position: relative;
    text-align: center;
    padding: 0 0.75rem;
}

.timeline-marker {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: var(--shadow);
    border: 3px solid rgba(123, 104, 238, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.marker-icon {
    font-size: 1.75rem;
    color: var(--text-soft);
}

.timeline-item.active .timeline-marker {
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    border-color: var(--arcane);
    box-shadow: 
        0 0 0 6px rgba(123, 104, 238, 0.2), 
        0 8px 30px rgba(123, 104, 238, 0.4),
        0 0 40px rgba(255, 107, 74, 0.2);
    transform: scale(1.1);
}

.timeline-item.active .marker-icon {
    color: #fff;
}

.timeline-content {
    background: rgba(26, 26, 37, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.4s ease;
    border: 1px solid rgba(123, 104, 238, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.timeline-item.active .timeline-content {
    background: linear-gradient(145deg, rgba(40, 35, 50, 0.9), rgba(26, 26, 37, 0.95));
    box-shadow: 0 8px 35px rgba(123, 104, 238, 0.25);
    border: 1px solid rgba(123, 104, 238, 0.3);
}

.timeline-content h3 {
    font-size: 1rem;
    color: var(--text-bright);
    margin-bottom: 0.4rem;
}

.timeline-item.active .timeline-content h3 {
    color: var(--ethereal);
}

.timeline-date {
    display: inline-block;
    color: var(--text-dim);
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    padding: 0.2rem 0.6rem;
    background: rgba(123, 104, 238, 0.1);
    border-radius: 4px;
}

.timeline-item.active .timeline-date {
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.25), rgba(255, 107, 74, 0.15));
    color: var(--ethereal);
}

.timeline-content p:last-child {
    color: var(--text-soft);
    line-height: 1.5;
    margin: 0;
    font-size: 0.8rem;
}

/* ========================================
   CREATORS / AUTHORS SECTION - Dark Fantasy
   ======================================== */
.creators-section,
.authors-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--abyss) 0%, var(--shadow) 100%);
    position: relative;
}

.creators-grid,
.authors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.creator-card,
.author-card {
    background: rgba(26, 26, 37, 0.7);
    border: 1px solid rgba(123, 104, 238, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.creator-card:hover,
.author-card:hover {
    background: rgba(123, 104, 238, 0.08);
    border-color: rgba(123, 104, 238, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(123, 104, 238, 0.1);
}

.creator-avatar,
.author-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--arcane), var(--spectral));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(123, 104, 238, 0.3);
}

.creator-info,
.author-info {
    flex: 1;
}

.creator-info h3,
.author-info h3 {
    font-size: 1.5rem;
    color: var(--text-bright);
    margin-bottom: 0.25rem;
}

.creator-role,
.author-role {
    color: var(--ethereal);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.creator-bio,
.author-bio {
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.company-banner {
    margin-top: 3rem;
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.1), rgba(255, 107, 74, 0.05));
    border: 1px solid rgba(123, 104, 238, 0.2);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.company-content h4 {
    font-size: 1.5rem;
    color: var(--arcane);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(123, 104, 238, 0.3);
}

.company-content p {
    color: var(--text-soft);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.btn-company {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--ethereal);
    border: 2px solid rgba(123, 104, 238, 0.5);
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-company:hover {
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 30px rgba(123, 104, 238, 0.4);
}

/* ========================================
   FEATURED FILM / BOOK SECTIONS - Dark Fantasy
   ======================================== */
.featured-film-section,
.featured-book-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--shadow) 0%, var(--abyss) 50%, var(--void) 100%);
    position: relative;
    overflow: hidden;
}

.featured-header {
    text-align: center;
    margin-bottom: 3rem;
}

.production-badge-wrapper {
    margin-bottom: 1.5rem;
}

.production-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--ember), #a52a2a);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 20px rgba(255, 107, 74, 0.4);
    position: relative;
    overflow: hidden;
}

.production-badge.book-badge {
    background: linear-gradient(135deg, var(--arcane), var(--spectral));
    color: #fff;
    box-shadow: 0 4px 20px rgba(123, 104, 238, 0.4);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: badgePulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.featured-title {
    font-family: var(--title-font);
    font-size: 3rem;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    font-weight: normal;
    text-shadow: 0 0 40px rgba(123, 104, 238, 0.3);
}

.featured-title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--arcane), var(--ember), transparent);
    margin: 0 auto 1rem;
    box-shadow: 0 0 15px rgba(123, 104, 238, 0.4);
}

.section-subtitle {
    color: var(--text-soft);
    font-size: 1.1rem;
    font-style: italic;
}

/* Film/Book Showcase */
.film-showcase,
.book-showcase {
    margin-top: 3rem;
    display: grid;
    gap: 4rem;
}

.film-showcase {
    grid-template-columns: 1fr;
}

.film-showcase .trailer-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.book-showcase {
    grid-template-columns: 1fr 1.8fr;
    align-items: start;
}

/* Book Cover */
.book-cover-container {
    position: sticky;
    top: 120px;
}

.book-cover-wrapper {
    position: relative;
}

.book-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(ellipse at center, rgba(123, 104, 238, 0.3), transparent);
    filter: blur(40px);
    z-index: 0;
}

.book-cover-wrapper img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 12px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(123, 104, 238, 0.2);
}

.book-badge-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 2;
    box-shadow: 0 0 20px rgba(255, 107, 74, 0.4);
}

/* Trailer Placeholder - used inside trailer-wrapper on movies page */
.trailer-wrapper .trailer-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--void);
    color: var(--text-soft);
    position: relative;
}

.trailer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 30%, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

.trailer-content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.play-icon {
    position: relative;
    opacity: 0.8;
    transition: all 0.4s ease;
    cursor: pointer;
}

.play-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid rgba(123, 104, 238, 0.4);
    border-radius: 50%;
    animation: playRingPulse 2s ease-out infinite;
}

@keyframes playRingPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.play-icon svg {
    filter: drop-shadow(0 0 20px rgba(123, 104, 238, 0.5));
    color: var(--arcane);
}

.trailer-placeholder:hover .play-icon {
    opacity: 1;
    transform: scale(1.15);
}

.trailer-text {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ethereal);
    text-transform: uppercase;
    letter-spacing: 3px;
    z-index: 2;
}

/* Film/Book Content */
.film-content,
.book-content {
    padding: 1rem 0;
}

.film-meta,
.book-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.1) 0%, transparent 100%);
    border-radius: 12px;
    border-left: 3px solid var(--arcane);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-soft);
    font-weight: 500;
}

.meta-item svg {
    color: var(--arcane);
}

/* Synopsis */
.film-synopsis,
.book-synopsis {
    margin: 2rem 0;
}

.film-synopsis h3,
.book-synopsis h3 {
    font-size: 1.2rem;
    color: var(--text-bright);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.film-synopsis h3::before,
.book-synopsis h3::before {
    content: '';
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--arcane), var(--ember));
}

.film-synopsis p,
.book-synopsis p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-soft);
    margin-bottom: 1.5rem;
}

.closing-line {
    color: var(--ember) !important;
    font-style: italic;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.08), rgba(139, 0, 0, 0.02));
    border-radius: 8px;
    border-left: 3px solid var(--rebel-primary);
}

.genre-line {
    font-size: 1rem !important;
    color: #777 !important;
    font-style: italic;
}

.genre-line em {
    color: var(--ethereal);
    font-style: normal;
    font-weight: 500;
}

/* Book Details Grid */
.book-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 12px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ethereal);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    color: var(--text-soft);
    font-size: 0.95rem;
}

/* Film Credits (Dark) */
.film-credits {
    background: linear-gradient(145deg, #1a1a1f 0%, #0d0d10 100%);
    padding: 2.5rem;
    border-radius: 16px;
    margin: 2rem 0;
    position: relative;
}

.film-credits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--arcane), var(--ember), transparent);
}

.credits-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.credits-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--arcane), var(--spectral));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(123, 104, 238, 0.3);
}

.film-credits h3 {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.credit-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.credit-item:hover {
    background: rgba(123, 104, 238, 0.12);
    border-color: rgba(123, 104, 238, 0.3);
}

.credit-role {
    font-size: 0.7rem;
    color: var(--ethereal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.credit-name {
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
}

/* Credits Section (Dark) */
.credits-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--shadow) 0%, var(--void) 100%);
}

.credits-grid-dark {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.credits-grid-dark .credit-item {
    background: rgba(123, 104, 238, 0.05);
    border: 1px solid rgba(123, 104, 238, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.credits-grid-dark .credit-item:hover {
    background: rgba(123, 104, 238, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(123, 104, 238, 0.1);
}

.credits-grid-dark .credit-item h4 {
    color: var(--ethereal);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.credits-grid-dark .credit-name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.credits-grid-dark .credit-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.credits-grid-dark .credit-location {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.credits-grid-dark .credit-publisher {
    text-align: center;
    background: rgba(123, 104, 238, 0.08);
}

/* Actions */
.film-actions,
.book-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-casting-primary,
.btn-order-primary,
.btn-read-book {
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    border: none;
}

.btn-casting-primary,
.btn-order-primary {
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(123, 104, 238, 0.3);
}

.btn-casting-primary:hover,
.btn-order-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(123, 104, 238, 0.5);
}

.btn-read-book {
    background: transparent;
    color: var(--arcane);
    border: 2px solid var(--arcane);
}

.btn-read-book:hover {
    background: var(--arcane);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(243, 106, 32, 0.4);
}

.kindle-note {
    color: var(--arcane);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-kindle-unlimited {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #ff9900 0%, #cc7a00 100%);
    color: #0f1318;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-kindle-unlimited:hover {
    background: linear-gradient(135deg, #ffaa33 0%, #ff9900 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
}

.btn-sample,
.btn-download-sample {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #ff9900 0%, #cc7a00 100%);
    color: #0f1318;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-sample:hover,
.btn-download-sample:hover {
    background: linear-gradient(135deg, #ffaa33 0%, #ff9900 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
    color: #0f1318;
}

/* ========================================
   CAST SECTION (MOVIES)
   ======================================== */
.cast-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #05050a 0%, #0a0a14 30%, #0f0a14 70%, #05050a 100%);
    position: relative;
    overflow: hidden;
}

.cast-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(123, 104, 238, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(139, 50, 50, 0.08) 0%, transparent 40%);
    animation: ambientMove 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ambientMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-1%, 3%) rotate(-1deg); }
}

.cast-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--arcane);
    margin-bottom: 0.75rem;
}

.cast-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--arcane), var(--ember), transparent);
    margin: 0 auto 2rem;
}

.cast-announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.75rem;
    background: rgba(123, 104, 238, 0.08);
    border: 1px solid rgba(123, 104, 238, 0.25);
    border-radius: 50px;
    color: var(--arcane);
    font-size: 0.85rem;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--arcane);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cast-card {
    background: linear-gradient(160deg, rgba(25, 25, 35, 0.9) 0%, rgba(15, 15, 20, 0.95) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
}

.cast-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(123, 104, 238, 0.3);
}

.cast-card-lead {
    border: 1px solid rgba(123, 104, 238, 0.3);
    background: linear-gradient(160deg, rgba(40, 30, 20, 0.9) 0%, rgba(15, 12, 10, 0.95) 100%);
}

.cast-card-lead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--arcane), var(--ember), transparent);
    z-index: 5;
}

.cast-card-image {
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
}

.cast-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cast-card:hover .cast-card-image img {
    transform: scale(1.08);
}

.cast-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.cast-card-tba {
    background: linear-gradient(160deg, #15151f 0%, #0a0a10 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cast-card-content {
    padding: 1.25rem;
}

.character-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.cast-card:hover .character-name {
    color: var(--arcane);
}

.character-desc {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.actor-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.actor-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.35);
}

.actor-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.actor-value.tba {
    color: var(--arcane);
    font-style: italic;
}

.cast-cta {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.btn-audition {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background: transparent;
    color: var(--arcane);
    border: 2px solid rgba(123, 104, 238, 0.5);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
}

.btn-audition:hover {
    background: var(--arcane);
    color: var(--secondary-color);
    border-color: var(--arcane);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(123, 104, 238, 0.3);
}

/* ========================================
   VISION SECTION
   ======================================== */
.vision-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0a0f 0%, #12121a 50%, #0a0a0f 100%);
    position: relative;
}

.vision-ambient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(123, 104, 238, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(139, 69, 69, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.vision-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.vision-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--arcane);
    margin-bottom: 0.75rem;
}

.vision-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.vision-title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--arcane), var(--ember), transparent);
    margin: 0 auto;
}

.vision-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.vision-text h3 {
    font-size: 1.75rem;
    color: var(--arcane);
    margin-bottom: 1.5rem;
}

.vision-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.vision-text em {
    font-style: italic;
    color: var(--arcane);
}

.vision-quote {
    background: linear-gradient(145deg, rgba(123, 104, 238, 0.12), rgba(123, 104, 238, 0.05));
    padding: 2.5rem 2rem;
    border-radius: 16px;
    position: sticky;
    top: 120px;
    border: 1px solid rgba(123, 104, 238, 0.2);
}

.vision-quote::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--arcane);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.vision-quote blockquote {
    margin: 0;
    padding-left: 1rem;
}

.vision-quote p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.vision-quote footer {
    color: var(--arcane);
    font-weight: 600;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fefefe 0%, #f8f5f0 100%);
    position: relative;
}

.cta-spotlight {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(123, 104, 238, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.cta-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--arcane);
    margin-bottom: 0.75rem;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.cta-title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--arcane), var(--ember), transparent);
    margin: 0 auto;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.cta-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--arcane), var(--ember), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-card:hover::before {
    opacity: 1;
}

.cta-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.cta-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.1), rgba(123, 104, 238, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--arcane);
    transition: all 0.4s ease;
}

.cta-card:hover .cta-icon {
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    color: var(--secondary-color);
    transform: scale(1.1);
}

.cta-card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cta-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(123, 104, 238, 0.4);
}

/* Film CTA Section */
.film-cta-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8f5f0 0%, #f0ebe0 100%);
    position: relative;
}

.film-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.film-cta-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.film-cta-content p {
    color: #666;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.film-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-film-primary {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-film-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(123, 104, 238, 0.4);
}

.btn-casting-secondary {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-casting-secondary:hover {
    background: var(--secondary-color);
    color: white;
}

/* ========================================
   EXCERPT SECTION
   ======================================== */
.excerpt-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fefefe 0%, #f8f5f0 100%);
    position: relative;
}

.excerpt-section .section-title {
    color: var(--arcane);
}

.excerpt-section .section-label {
    color: #666;
}

.excerpt-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.excerpt-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.excerpt-header h3 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.excerpt-meta {
    font-family: var(--title-font);
    color: var(--arcane);
    font-style: normal;
    font-weight: normal;
}

.excerpt-text p {
    font-size: 1.1rem;
    line-height: 2;
    color: #444;
    margin-bottom: 1.5rem;
    text-indent: 2rem;
}

.excerpt-text p:first-of-type {
    text-indent: 0;
}

.excerpt-text p em {
    color: var(--secondary-color);
}

.excerpt-more {
    text-align: center;
    color: var(--arcane);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.excerpt-actions {
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   NEWSLETTER SECTION - Mystical
   ======================================== */
.newsletter-section {
    padding: 5rem 0;
    background: var(--abyss);
    color: var(--text-bright);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Mystical orb effect */
.newsletter-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(123, 104, 238, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 107, 74, 0.1) 0%, transparent 50%);
    border-radius: 50%;
    filter: blur(60px);
    animation: orbPulse 8s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.newsletter-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.newsletter-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(123, 104, 238, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.2), rgba(255, 107, 74, 0.1));
    border: 1px solid rgba(123, 104, 238, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--arcane);
    box-shadow: 0 0 30px rgba(123, 104, 238, 0.2);
}

.newsletter-section h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-bright);
    text-shadow: 0 0 30px rgba(123, 104, 238, 0.3);
}

.newsletter-section p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-soft);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 550px;
    margin: 0 auto;
    gap: 1rem;
}

.input-wrapper {
    flex: 1;
}

.newsletter-form input {
    width: 100%;
    padding: 1.1rem 1.5rem;
    border: 1px solid rgba(123, 104, 238, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(123, 104, 238, 0.05);
    color: var(--text-bright);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: var(--text-dim);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--arcane);
    background: rgba(123, 104, 238, 0.1);
    box-shadow: 0 0 20px rgba(123, 104, 238, 0.2);
}

.newsletter-form button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 2.5rem;
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(255, 107, 74, 0.3);
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(255, 107, 74, 0.4),
        0 0 40px rgba(123, 104, 238, 0.3);
}

/* ========================================
   MODAL STYLES - Dark Fantasy
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 8, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(145deg, var(--shadow), var(--abyss));
    border: 1px solid rgba(123, 104, 238, 0.2);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    padding: 3rem;
    position: relative;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(123, 104, 238, 0.1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--ember);
    text-shadow: 0 0 10px rgba(255, 107, 74, 0.5);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.75rem;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(123, 104, 238, 0.3);
}

.modal-header p {
    color: var(--text-soft);
}

.sample-form .form-group {
    margin-bottom: 1.5rem;
}

.sample-form input[type="email"] {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(123, 104, 238, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(123, 104, 238, 0.05);
    color: var(--text-bright);
    transition: all 0.3s ease;
}

.sample-form input[type="email"]:focus {
    outline: none;
    border-color: var(--arcane);
    box-shadow: 0 0 20px rgba(123, 104, 238, 0.2);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-checkbox input {
    margin-top: 0.25rem;
    accent-color: var(--arcane);
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.5;
}

.btn-submit-sample {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 107, 74, 0.3);
}

.btn-submit-sample:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(255, 107, 74, 0.4),
        0 0 30px rgba(123, 104, 238, 0.3);
}

.modal-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 1.5rem;
}

/* ========================================
   FOOTER - Ethereal Dark Fantasy
   ======================================== */
.footer {
    background: var(--void);
    color: var(--text-soft);
    padding: 3rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(123, 104, 238, 0.5), 
        rgba(255, 107, 74, 0.3),
        rgba(123, 104, 238, 0.5), 
        transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(123, 104, 238, 0.1);
}

.footer-brand h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--arcane);
    margin-bottom: 0.25rem;
    text-shadow: 0 0 20px rgba(123, 104, 238, 0.4);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(123, 104, 238, 0.1);
    border: 1px solid rgba(123, 104, 238, 0.2);
    color: var(--text-soft);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--ember), var(--arcane));
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(123, 104, 238, 0.4);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-soft);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--ethereal);
    text-shadow: 0 0 10px rgba(79, 195, 247, 0.4);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-dim);
}

.footer-bottom em {
    color: var(--arcane);
}

.copyright-notice {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.25) !important;
    max-width: 800px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .story-intro-content {
        grid-template-columns: 1fr;
    }
    
    .intro-visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .dual-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-card {
        min-height: 450px;
    }
    
    .trilogy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::before {
        display: none;
    }
    
    .vision-content {
        grid-template-columns: 1fr;
    }
    
    .vision-quote {
        position: relative;
        top: 0;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
    
    .credits-grid-dark {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cast-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .creators-grid,
    .authors-grid {
        grid-template-columns: 1fr;
    }
    
    .book-showcase {
        grid-template-columns: 1fr;
    }
    
    .book-cover-container {
        position: relative;
        top: 0;
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.4s ease;
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Audio player in navbar on mobile */
    .theme-audio-player {
        position: static;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        margin-right: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
    
    .theme-audio-player:hover {
        box-shadow: none;
    }
    
    .theme-audio-player.is-playing {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .audio-play-btn {
        padding: 0.5rem;
        border-radius: 50%;
        background: rgba(123, 104, 238, 0.15);
        border: 1px solid rgba(123, 104, 238, 0.4);
    }
    
    .audio-btn-text {
        display: none;
    }
    
    /* Speaker button visible next to play button on mobile - opens/closes volume panel */
    .audio-volume-toggle {
        display: flex;
        padding: 0.4rem;
        width: auto;
        height: auto;
        border-radius: 50%;
        background: rgba(123, 104, 238, 0.1);
        border: 1px solid rgba(123, 104, 238, 0.3);
        color: var(--arcane);
        cursor: pointer;
    }
    
    /* Mute button inside the volume panel on mobile */
    .audio-mute-btn {
        display: flex;
        padding: 0.4rem;
        width: auto;
        height: auto;
        border-radius: 50%;
        background: rgba(123, 104, 238, 0.2);
        border: 1px solid rgba(123, 104, 238, 0.4);
        color: var(--arcane);
        cursor: pointer;
    }
    
    .audio-mute-btn.muted {
        background: rgba(255, 100, 100, 0.2);
        border-color: rgba(255, 100, 100, 0.4);
        color: #ff6b6b;
    }
    
    /* Volume slider dropdown panel - hidden by default on mobile */
    .audio-controls {
        position: fixed;
        top: 70px;
        right: 15px;
        padding: 0.75rem 1rem;
        background: rgba(10, 10, 18, 0.95);
        border: 1px solid rgba(123, 104, 238, 0.3);
        border-radius: 12px;
        backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        display: flex;
    }
    
    /* Only show volume panel when volume-open class is added */
    .theme-audio-player.volume-open .audio-controls {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .audio-volume-wrapper {
        display: block;
        width: 100px;
    }
    
    .audio-track-info {
        display: none !important;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .movies-hero-content h1,
    .books-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .featured-title {
        font-size: 2rem;
    }
    
    .section-title,
    .cast-title,
    .timeline-title,
    .vision-title,
    .cta-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .characters-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .cast-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .credits-grid-dark {
        grid-template-columns: 1fr;
    }
    
    .book-details-grid {
        grid-template-columns: 1fr;
    }
    
    .film-actions,
    .book-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-casting-primary,
    .btn-order-primary,
    .btn-read-book {
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
    }
    
    .creator-card,
    .author-card {
        flex-direction: column;
        text-align: center;
    }
    
    .creator-avatar,
    .author-avatar {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .cast-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .excerpt-container {
        padding: 2rem 1.5rem;
    }
    
    .excerpt-text p {
        font-size: 1rem;
        text-indent: 1.5rem;
    }
}

/* ==========================================
   ADVANCED ANIMATION SYSTEM
   ========================================== */

/* Scroll-triggered animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for children */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Floating particles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-particle {
    position: absolute;
    bottom: -10px;
    background: radial-gradient(circle, var(--blood-red), transparent);
    border-radius: 50%;
    animation: floatUp linear infinite;
    filter: blur(1px);
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Cursor trail */
.cursor-trail {
    position: fixed;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(178, 34, 34, 0.8), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* Click ripple effect */
.click-ripple {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--blood-red);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    animation: rippleExpand 1s ease-out forwards;
}

@keyframes rippleExpand {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Word reveal animation for headings */
.word-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) rotateX(-90deg);
    animation: wordReveal 0.6s ease forwards;
}

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Enhanced button hover effects */
.btn-primary,
.btn-secondary,
.cta-button {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease !important;
}

.btn-primary::before,
.btn-secondary::before,
.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover,
.btn-secondary:hover,
.cta-button:hover {
    box-shadow: 0 10px 40px rgba(178, 34, 34, 0.4),
                0 0 60px rgba(178, 34, 34, 0.2);
}

/* 3D Card tilt transitions */
.book-card,
.cast-card,
.film-card {
    transition: transform 0.3s ease !important;
    transform-style: preserve-3d;
}

/* Animated gradient background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(139, 0, 0, 0.1) 0%,
        transparent 50%,
        rgba(139, 0, 0, 0.1) 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Breathing animation for logos/images */
.book-cover-large,
.hero-image img {
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Shimmer effect for images */
.book-cover::after,
.cast-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* Pulsing glow for featured elements */
.featured,
.highlight {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(178, 34, 34, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(178, 34, 34, 0.8),
                    0 0 40px rgba(178, 34, 34, 0.4);
    }
}

/* Enhanced nav link animations */
.nav-menu a {
    position: relative;
    overflow: hidden;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--blood-red);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
    left: 0;
}

/* Slide-in from sides */
.slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left.animate-in,
.slide-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Floating animation for decorative elements */
.decorative,
.floating-element {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    75% {
        transform: translateY(15px) rotate(-2deg);
    }
}

/* Typewriter cursor */
.typewriter::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: var(--blood-red);
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Scale up on scroll */
.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Rotating border effect */
.rotating-border {
    position: relative;
}

.rotating-border::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: conic-gradient(
        from 0deg,
        var(--blood-red),
        var(--dark-blood),
        var(--blood-red)
    );
    border-radius: inherit;
    z-index: -1;
    animation: rotateBorder 3s linear infinite;
}

@keyframes rotateBorder {
    to {
        transform: rotate(360deg);
    }
}

/* Cinematic vignette effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ==========================================
   FEATURE: ANIMATED VIDEO-LIKE BACKGROUND
   ========================================== */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video-bg video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.4;
}

/* Animated gradient fallback if no video */
.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(139, 0, 0, 0.5) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(123, 104, 238, 0.35) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 90%, rgba(139, 0, 0, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(26, 26, 31, 1) 0%, rgba(10, 10, 15, 1) 100%);
    background-size: 200% 200%;
    animation: heroGradientShift 15s ease infinite;
    z-index: 0;
}

.hero-animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 80%, rgba(255, 100, 50, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 70% 20%, rgba(139, 0, 0, 0.2) 0%, transparent 30%);
    animation: emberGlow 8s ease-in-out infinite alternate;
}

.hero-animated-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    animation: noiseShift 0.5s steps(10) infinite;
}

@keyframes heroGradientShift {
    0%, 100% { background-position: 0% 0%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 50% 100%; }
    75% { background-position: 0% 50%; }
}

@keyframes emberGlow {
    0% { 
        opacity: 0.5;
        transform: scale(1);
    }
    100% { 
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes noiseShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-10%, -10%); }
}

/* Rising embers effect */
.hero-section::before,
.books-hero::before,
.movies-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: 
        radial-gradient(2px 2px at 10% 90%, rgba(255, 150, 50, 0.8), transparent),
        radial-gradient(2px 2px at 20% 85%, rgba(255, 100, 50, 0.6), transparent),
        radial-gradient(3px 3px at 30% 95%, rgba(255, 80, 30, 0.7), transparent),
        radial-gradient(2px 2px at 40% 80%, rgba(255, 120, 50, 0.5), transparent),
        radial-gradient(2px 2px at 50% 92%, rgba(255, 100, 50, 0.6), transparent),
        radial-gradient(3px 3px at 60% 88%, rgba(255, 80, 30, 0.7), transparent),
        radial-gradient(2px 2px at 70% 95%, rgba(255, 150, 50, 0.5), transparent),
        radial-gradient(2px 2px at 80% 82%, rgba(255, 100, 50, 0.6), transparent),
        radial-gradient(3px 3px at 90% 90%, rgba(255, 80, 30, 0.7), transparent);
    background-size: 100% 100%;
    animation: risingSparks 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

@keyframes risingSparks {
    0% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

/* Smoke/mist effect at bottom */
.hero-section::after,
.books-hero::after,
.movies-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, 
        rgba(10, 10, 15, 0.9) 0%,
        rgba(10, 10, 15, 0.5) 30%,
        transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* ==========================================
   FEATURE: PARALLAX SCROLLING
   ========================================== */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    will-change: transform;
}

.parallax-layer {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.parallax-layer-1 { transform: translateZ(-1px) scale(2); }
.parallax-layer-2 { transform: translateZ(-2px) scale(3); }
.parallax-layer-3 { transform: translateZ(-3px) scale(4); }

/* ==========================================
   FEATURE: 3D BOOK COVER ANIMATION
   ========================================== */
.book-3d-container {
    perspective: 1000px;
    display: inline-block;
}

.book-3d {
    position: relative;
    width: 280px;
    height: 420px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.book-3d:hover {
    transform: rotateY(-30deg) rotateX(5deg);
}

.book-3d-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 4px;
    box-shadow: 
        5px 5px 20px rgba(0, 0, 0, 0.5),
        inset 0 0 5px rgba(255, 255, 255, 0.1);
}

.book-3d-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.book-3d-spine {
    position: absolute;
    left: -30px;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, #1a1a1a 0%, #333 50%, #1a1a1a 100%);
    transform: rotateY(90deg);
    transform-origin: right;
    border-radius: 4px 0 0 4px;
}

.book-3d-spine::after {
    content: 'REBEL';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    color: var(--arcane);
    font-family: var(--title-font);
    font-size: 0.7rem;
    letter-spacing: 2px;
    white-space: nowrap;
}

.book-3d-pages {
    position: absolute;
    right: -10px;
    width: 10px;
    height: calc(100% - 10px);
    top: 5px;
    background: linear-gradient(90deg, 
        #f5f5f0 0%, 
        #e8e8e3 20%, 
        #f5f5f0 40%, 
        #e8e8e3 60%, 
        #f5f5f0 80%, 
        #e8e8e3 100%);
    transform: rotateY(-90deg);
    transform-origin: left;
    border-radius: 0 2px 2px 0;
}

.book-3d-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    transform: rotateY(180deg) translateZ(30px);
    border-radius: 4px;
}

/* Page turn animation */
.book-3d.page-turn {
    animation: pageFlip 1.5s ease-in-out;
}

@keyframes pageFlip {
    0% { transform: rotateY(0); }
    50% { transform: rotateY(-180deg); }
    100% { transform: rotateY(0); }
}

/* ==========================================
   FEATURE: DARK/LIGHT THEME TOGGLE
   ========================================== */
.theme-toggle {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
    background: rgba(26, 26, 31, 0.9);
    border: 1px solid rgba(123, 104, 238, 0.3);
    border-radius: 30px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle:hover {
    border-color: var(--arcane);
    box-shadow: 0 0 20px rgba(123, 104, 238, 0.3);
}

.theme-toggle-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--arcane);
    transition: transform 0.3s ease;
}

.theme-toggle-icon.active {
    transform: rotate(360deg);
}

/* Light theme styles */
body.light-theme {
    --secondary-color: #f8f5f0;
    --text-dark: #1a1a1f;
}

body.light-theme .rebel-page {
    background: #f8f5f0;
}

body.light-theme .navbar {
    background: rgba(248, 245, 240, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

body.light-theme .logo-text,
body.light-theme .nav-menu a {
    color: #1a1a1f;
}

body.light-theme .nav-menu a:hover {
    color: var(--rebel-primary);
}

body.light-theme section:not(.hero-section):not(.characters-section):not(.credits-section):not(.trailer-section):not(.creators-section):not(.authors-section) {
    background: #f8f5f0;
}

body.light-theme .section-title {
    color: #1a1a1f;
}

body.light-theme .card,
body.light-theme .book-card,
body.light-theme .feature-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .theme-toggle {
    background: rgba(248, 245, 240, 0.95);
    border-color: rgba(139, 0, 0, 0.3);
}

/* ==========================================
   FEATURE: CUSTOM THEMED CURSOR
   ========================================== */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--arcane);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-ring {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--arcane);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease;
    opacity: 0.5;
}

.cursor-ember {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 100, 50, 0.8), transparent);
    border-radius: 50%;
    animation: emberFloat 1s ease-out forwards;
    pointer-events: none;
}

@keyframes emberFloat {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--ember-x, 10px), var(--ember-y, -30px)) scale(0);
    }
}

/* Cursor states */
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: var(--rebel-primary);
}

body:has(a:hover) .cursor-dot,
body:has(button:hover) .cursor-dot {
    transform: translate(-50%, -50%) scale(1.5);
    background: var(--rebel-primary);
}

/* ==========================================
   FEATURE: STICKY ORDER BUTTON
   ========================================== */
.sticky-order-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: linear-gradient(135deg, var(--arcane) 0%, #d85a15 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 
        0 4px 20px rgba(243, 106, 32, 0.4),
        0 0 40px rgba(243, 106, 32, 0.2),
        0 2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.sticky-order-btn.visible {
    transform: translateY(0);
    opacity: 1;
}

.sticky-order-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 8px 30px rgba(243, 106, 32, 0.5),
        0 0 60px rgba(243, 106, 32, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.4);
}

.sticky-order-btn svg {
    width: 20px;
    height: 20px;
}

.sticky-order-btn .pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid var(--rebel-primary);
    border-radius: 50px;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* ==========================================
   FEATURE: REVIEWS CAROUSEL
   ========================================== */
.reviews-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a55a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.reviews-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-card {
    flex: 0 0 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.review-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(123, 104, 238, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
}

.review-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    color: var(--arcane);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.review-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 1.5rem;
}

.review-star {
    color: var(--arcane);
    font-size: 1.5rem;
}

.review-star.empty {
    opacity: 0.3;
}

.review-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.review-author-name {
    color: var(--arcane);
    font-weight: 600;
    font-size: 1.1rem;
}

.review-source {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.review-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(123, 104, 238, 0.1);
    border: 1px solid rgba(123, 104, 238, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--arcane);
}

.review-nav:hover {
    background: rgba(123, 104, 238, 0.2);
    border-color: var(--arcane);
    transform: translateY(-50%) scale(1.1);
}

.review-nav.prev {
    left: 0;
}

.review-nav.next {
    right: 0;
}

.review-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(123, 104, 238, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-dot.active {
    background: var(--arcane);
    transform: scale(1.2);
}

/* Disable heavy animations on mobile for performance */
@media (max-width: 768px) {
    .cursor-trail,
    .click-ripple,
    .particles-container,
    .custom-cursor {
        display: none !important;
    }
    
    .floating-particle {
        animation: none;
    }
    
    .theme-toggle {
        top: auto;
        bottom: 100px;
        right: 15px;
    }
    
    .sticky-order-btn {
        right: 15px;
        bottom: 15px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .reviews-carousel {
        padding: 0 40px;
    }
    
    .review-nav {
        width: 35px;
        height: 35px;
    }
    
    .review-content {
        padding: 2rem;
    }
    
    .review-text {
        font-size: 1.1rem;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .cursor-trail,
    .click-ripple,
    .particles-container,
    .custom-cursor {
        display: none !important;
    }
}
