/* =========================================
   1. DESIGN SYSTEM & CONFIGURATION (:ROOT)
   ========================================= */
:root {
    /* --- COLOR PALETTE (Base Colors) --- */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-dark-deep: #010101;
    --color-dark-base: #050505;
    --color-dark-surface: #080808;
    
    /* --- GRAYS (For Borders/Text) --- */
    --gray-100: #111111;
    --gray-200: #1a1a1a;
    --gray-300: #222222;
    --gray-400: #333333;
    --gray-500: #444444;
    --gray-600: #555555;
    --gray-700: #666666;
    --gray-800: #777777;
    --gray-900: #888888;
    --gray-dim: #999999;
    --gray-muted: #aaaaaa;
    --gray-soft: #bbbbbb;
    --gray-light: #cccccc;

    /* --- THEME COLORS (Semantic Naming) --- */
    --theme-bg: var(--color-dark-base);       /* Main Background */
    --theme-bg-alt: var(--color-dark-surface); /* Timeline Background */
    --theme-text-main: var(--color-white);
    --theme-text-muted: var(--gray-muted);
    --theme-text-dim: var(--gray-light);
    --theme-text-dark: var(--gray-300);
    
    /* --- ACCENT COLORS --- */
    --accent-primary: #2962ff;
    --accent-rgb: 41, 98, 255; /* For RGBA calculations */
    
    /* --- GLASSMORPHISM & OVERLAYS --- */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.2);
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(255, 255, 255, 0.05);
    --overlay-dark: rgba(0, 0, 0, 0.8);

    /* --- TYPOGRAPHY --- */
    --font-primary: 'Roboto', sans-serif;   /* Body */
    --font-display: 'Anton', sans-serif;    /* Huge Headings */
    --font-accent: 'Oswald', sans-serif;    /* Labels/Subtitles */

    /* --- ANIMATION & TRANSITIONS --- */
    --trans-fast: 0.3s ease;
    --trans-medium: 0.4s ease;
    --trans-slow: 0.5s ease;
    --ease-elastic: cubic-bezier(0.19, 1, 0.22, 1);

    /* --- Z-INDEX LAYERS (Stacking Context) --- */
    --z-negative: -1;
    --z-base: 1;
    --z-content: 5;
    --z-overlay: 10;
    --z-sticky: 15;
    --z-header: 100;
    --z-modal: 999;
    --z-cursor: 9999;
    --z-loader: 99999;
}

/* =========================================
   2. RESET & GLOBAL STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--theme-bg);
    color: var(--theme-text-main);
    font-family: var(--font-primary);
    overflow-x: hidden;
}

/* Global Cursor Reset - Sirf tab apply hoga jab JS chalegi */
body.use-custom-cursor, 
body.use-custom-cursor a, 
body.use-custom-cursor button, 
body.use-custom-cursor .icon-circle, 
body.use-custom-cursor .panel-image, 
body.use-custom-cursor .card {
    cursor: none !important;
}

/* =========================================
   3. COMPONENTS: PRELOADER
   ========================================= */
.loader-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: var(--z-loader);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none;
}

.loader-panel-top,
.loader-panel-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--color-dark-deep);
    z-index: var(--z-negative);
}

.loader-panel-top {
    top: 0;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.1);
}

.loader-panel-bottom {
    bottom: 0;
}

.loader-content {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    z-index: 2;
}

.loader-subtitle {
    font-family: var(--font-accent);
    font-size: 16px;
    letter-spacing: 8px;
    color: var(--gray-900);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.loader-divider {
    height: 3px;
    width: 0%;
    background-color: var(--accent-primary);
    margin: 0 auto 20px auto;
    box-shadow: 0 0 15px var(--accent-primary);
}

.loader-title {
    font-family: var(--font-display);
    font-size: 3vw;
    color: var(--theme-text-main);
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(to right, #ffffff, #a0c4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   4. COMPONENTS: CUSTOM CURSOR
   ========================================= */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    background-color: var(--theme-text-main);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: width 0.4s var(--ease-elastic),
                height 0.4s var(--ease-elastic),
                background 0.4s ease,
                border 0.4s ease;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.cursor-text {
    font-family: var(--font-accent);
    font-size: 12px;
    color: var(--theme-text-main);
    opacity: 0;
    font-weight: 500;
    letter-spacing: 1.5px;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.custom-cursor.active {
    width: 100px;
    height: 100px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.custom-cursor.active .cursor-text {
    opacity: 1;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* =========================================
   5. HEADER & NAVIGATION
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    z-index: var(--z-header);
    position: absolute;
    width: 100%;
    top: 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5);
}

.nav-links {
    display: flex;
    gap: 40px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--theme-text-muted);
}

.nav-links a {
    text-decoration: none;
    color: inherit;
    transition: color var(--trans-fast);
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.nav-links .active {
    color: var(--theme-text-main);
    position: relative;
}

.nav-links .active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--accent-primary);
    bottom: -5px;
    left: 0;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans-fast);
}

.icon-circle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}
/* --- SOUND BUTTON STYLES --- */
.sound-toggle-btn.playing {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5);
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}
/* =========================================
   6. HERO SECTION
   ========================================= */
.hero-container {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.tags {
    position: absolute;
    top: 120px;
    left: 50px;
    display: flex;
    gap: 10px;
    z-index: var(--z-content);
}

.tag {
    border: 1px solid var(--gray-600);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--theme-text-dim);
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
}

.roman-numeral {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 60px;
    font-family: var(--font-display);
    letter-spacing: 5px;
    z-index: var(--z-base);
    color: var(--theme-text-dark);
}

.big-text {
    font-family: var(--font-display);
    font-size: 17vw;
    line-height: 0.8;
    text-transform: uppercase;
    color: var(--theme-text-main);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: var(--z-base);
    white-space: nowrap;
    text-shadow: 0px 10px 30px var(--overlay-dark);
}

.big-text span {
    display: inline-block;
    will-change: transform, opacity, filter; 
}
.release-year {
    position: absolute;
    right: -35px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-family: var(--font-accent);
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--theme-text-main);
    z-index: var(--z-content);
}

.character-img {
    position: absolute;
    bottom: 0;
    height: 90vh;
    z-index: 2;
    filter: drop-shadow(0px 0px 15px var(--overlay-dark));
    pointer-events: none;
}

.cast-name {
    position: absolute;
    font-family: var(--font-accent);
    font-size: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    color: var(--theme-text-dim);
}

.name-left-1 { top: 28%; left: 9%; }
.name-left-2 { top: 28%; left: 28%; }
.name-right-1 { top: 28%; right: 29%; }
.name-right-2 { top: 28%; right: 8%; }

.bottom-bar {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: var(--z-overlay);
}

.story-title {
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-text {
    font-size: 12px;
    color: var(--gray-soft);
    max-width: 350px;
    line-height: 1.6;
    text-align: justify;
}

.book-btn {
    padding: 12px 35px;
    border: 1px solid var(--theme-text-main);
    border-radius: 30px;
    background: transparent;
    color: var(--theme-text-main);
    cursor: pointer;
    transition: var(--trans-medium);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--theme-text-main);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.6);
}

/* =========================================
   7. SCROLLING TAPE
   ========================================= */
.tape-container {
    position: relative;
    width: 100%;
    height: 150px;
    background-color: transparent;
    z-index: var(--z-sticky);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -40px;
    margin-bottom: -60px;
    pointer-events: none;
}

.scrolling-tape {
    background-color: var(--accent-primary);
    width: 120%;
    padding: 15px 0;
    display: flex;
    box-shadow: 0 5px 30px var(--overlay-dark);
    border-top: 2px solid var(--theme-text-main);
    border-bottom: 2px solid var(--theme-text-main);
}

.tape-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scroll-left 20s linear infinite;
}

.tape-content span {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--theme-text-main);
    margin: 0 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.star-icon {
    color: var(--theme-bg);
    font-size: 18px;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* =========================================
   8. DIRECTOR SECTION
   ========================================= */
.director-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: var(--theme-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-top: 80px;
    overflow: hidden;
    z-index: 2;
}

.stats-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    z-index: var(--z-content);
}

.stat-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gray-100);
    border: 1px solid var(--gray-400);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--theme-text-main);
}

.active-circle {
    background-color: var(--accent-primary);
    border: none;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(183, 28, 28, 0.4);
}

.stat-label {
    font-size: 8px;
    font-family: var(--font-accent);
    letter-spacing: 1px;
    opacity: 0.8;
}

.stat-val {
    font-size: 24px;
    font-family: var(--font-display);
    line-height: 1;
}

.center-layout {
    display: flex;
    width: 100%;
    max-width: 1200px;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-grow: 1;
    padding: 0 50px;
}

.side-info {
    width: 200px;
    z-index: var(--z-content);
}

.emblem-logo {
    width: 80px;
    filter: invert(1);
    margin-bottom: 20px;
}

.quote-text {
    font-family: var(--font-accent);
    font-size: 14px;
    color: var(--theme-text-dim);
    text-align: right;
    line-height: 1.5;
    border-right: 2px solid var(--accent-primary);
    padding-right: 15px;
}

.slider-dots {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 50%;
}

.dot.active { background: var(--theme-text-main); }

.card-stack-wrapper {
    position: relative;
    width: 300px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.card {
    position: absolute;
    width: 260px;
    height: 360px;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-1 {
    transform: rotate(-10deg) translate(-20px, 10px);
    z-index: 1;
    filter: brightness(0.5);
}

.card-2 {
    transform: rotate(5deg) translate(20px, 5px);
    z-index: 2;
    filter: brightness(0.7);
}

.card-3 {
    transform: rotate(-2deg) translate(0, 0);
    z-index: 3;
    filter: brightness(1);
}

.card-stack-wrapper:hover .card-1 { transform: rotate(-15deg) translate(-40px, 20px); }
.card-stack-wrapper:hover .card-2 { transform: rotate(10deg) translate(40px, 10px); }
.card-stack-wrapper:hover .card-3 { transform: scale(1.05); }

.nav-btn {
    position: absolute;
    top: 69%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-primary);
    border: none;
    color: var(--theme-text-main);
    font-size: 34px;
    cursor: pointer;
    z-index: var(--z-overlay);
    transition: var(--trans-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn { left: 5%; }
.next-btn { right: 5%; }

.nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px var(--accent-primary);
}

.bottom-typography {
    width: 100%;
    text-align: center;
    margin-top: -40px;
    z-index: 6;
    background: linear-gradient(to top, var(--theme-bg) 20%, transparent);
    padding-bottom: 30px;
}

.small-text-row {
    font-family: var(--font-display);
    font-size: 40px;
    color: var(--theme-text-main);
    padding-bottom: 15px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.huge-name {
    font-family: var(--font-display);
    font-size: 13vw;
    line-height: 0.8;
    color: var(--theme-text-main);
    text-transform: uppercase;
    margin: 0;
}

/* =========================================
   9. TIMELINE SECTION
   ========================================= */
.timeline-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--theme-bg-alt);
    overflow: hidden;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
}

.fixed-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 20vw;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 0;
    letter-spacing: 10px;
}

.timeline-track {
    display: flex;
    width: 400%;
    height: 100%;
    will-change: transform;
}

.time-panel {
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-right: 1px solid var(--border-dark);
}

.panel-content {
    position: relative;
    text-align: center;
    width: 80%;
    max-width: 900px;
    z-index: 2;
}

.year-outline {
    font-family: var(--font-display);
    font-size: 15rem;
    color: transparent;
    -webkit-text-stroke: 2px var(--glass-border);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -80%);
    z-index: var(--z-negative);
    transition: 0.5s;
}

.text-blue {
    -webkit-text-stroke: 2px var(--accent-primary);
    opacity: 0.5;
}

.panel-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px var(--overlay-dark);
}

.panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.panel-content:hover .panel-image img { transform: scale(1.1); }
.panel-content:hover .year-outline { opacity: 0.8; transform: translate(-40%, -80%); }

.panel-info {
    margin-top: 30px;
    text-align: left;
    padding-left: 20px;
    border-left: 3px solid var(--accent-primary);
}

.panel-info h3 {
    font-family: var(--font-display);
    font-size: 40px;
    color: var(--theme-text-main);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.panel-info p {
    font-family: var(--font-primary);
    color: var(--theme-text-muted);
    max-width: 500px;
    line-height: 1.6;
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--border-subtle);
    z-index: var(--z-overlay);
}

.progress-bar {
    height: 100%;
    background: var(--accent-primary);
    width: 0%;
}

/* =========================================
   10. CONTENT SECTIONS (Bio, Preamble, etc)
   ========================================= */
.split-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.bio-image-wrapper {
    position: relative;
    width: 400px;
    height: 500px;
}

.bio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.img-frame {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-primary);
    border-radius:10px ;
    z-index: 1;
    transition: 0.3s;
}

.bio-image-wrapper:hover .img-frame { transform: translate(-10px, 10px); }
.bio-image-wrapper { margin-left: 20px; }

.bio-content { flex: 1; min-width: 300px; }

.content-section {
    position: relative;
    width: 100%;
    padding: 100px 50px;
    background-color: var(--theme-bg);
    z-index: var(--z-content);
    overflow: hidden;
}

.content-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.huge-title {
    font-family: var(--font-display);
    font-size: 5vw;
    color: var(--theme-text-main);
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
}

.subtitle-text {
    font-family: var(--font-accent);
    color: var(--accent-primary);
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
    display: block;
}

.blue-text { color: var(--accent-primary); }

.section-desc {
    font-family: var(--font-primary);
    color: var(--theme-text-dim);
    line-height: 1.8;
    margin: 20px 0;
    font-size: 16px;
    border-left: 4px solid var(--accent-primary);
    padding-left: 20px;
}

.bio-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 1px solid var(--gray-400);
    padding-top: 20px;
}

.b-stat { display: flex; flex-direction: column; }
.b-num { font-family: var(--font-display); font-size: 40px; color: var(--theme-text-main); }
.b-label { font-family: var(--font-accent); font-size: 10px; color: var(--accent-primary); letter-spacing: 1px; }

/* =========================================
   11. PREAMBLE & HISTORY
   ========================================= */
#preamble { position: relative; overflow: hidden; }

.bg-watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.preamble-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.preamble-text-block { text-align: left; max-width: 600px; }

.p-lead {
    font-family: var(--font-accent);
    font-size: 20px;
    color: var(--accent-primary);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.p-keywords {
    font-family: var(--font-display);
    font-size: 40px;
    line-height: 1.2;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.p-keywords span { display: inline-block; margin-right: 10px; }

.p-body {
    font-family: var(--font-primary);
    color: var(--theme-text-muted);
    line-height: 1.8;
    font-size: 16px;
}

.white-high { color: var(--theme-text-main); font-weight: bold; }

.preamble-visual img {
    width: 500px;
    filter: drop-shadow(0 0 30px var(--overlay-dark));
    transform: rotate(5deg);
}

/* Visual Timeline */
.visual-timeline { max-width: 1000px; margin: 0 auto; position: relative; }

.visual-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--gray-400);
    transform: translateX(-50%);
}

.timeline-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
    position: relative;
}

.t-image {
    width: 45%;
    position: relative;
    border: 1px solid var(--gray-400);
}

.t-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: 0.5s;
}

.t-image:hover img { filter: grayscale(0%); }

.t-content { width: 45%; padding: 0 40px; }

.year-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--accent-primary);
    color: var(--theme-text-main);
    font-family: var(--font-display);
    padding: 10px 15px;
    font-size: 20px;
    box-shadow: 5px 5px 0px var(--color-black);
}

.t-content h3 { font-family: var(--font-display); font-size: 30px; margin-bottom: 10px; color: var(--theme-text-main); }
.t-content p { color: var(--gray-dim); font-size: 14px; line-height: 1.6; }

.reverse-row { flex-direction: row-reverse; }
.reverse-row .t-content { text-align: right; }
.reverse-row .year-badge { right: auto; left: -15px; }

/* =========================================
   12. RIGHTS CARDS & FOOTER
   ========================================= */
.rights-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.right-card {
    background: var(--gray-100);
    position: relative;
    height: 350px;
    overflow: hidden;
    border: 1px solid var(--gray-300);
    transition: var(--trans-medium);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
    transition: 0.5s;
}

.card-overlay img { width: 100%; height: 100%; object-fit: cover; }
.right-card:hover .card-overlay { opacity: 0.4; transform: scale(1.1); }
.right-card:hover { border-color: var(--accent-primary); transform: translateY(-10px); }

.rc-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, #000 20%, transparent);
}

.rc-icon { font-size: 40px; color: var(--accent-primary); margin-bottom: 20px; }
.right-card h2 { font-family: var(--font-display); font-size: 30px; margin-bottom: 5px; color: var(--theme-text-main); }
.art-num { font-family: var(--font-accent); font-size: 12px; color: var(--gray-800); margin-bottom: 15px; letter-spacing: 2px; }
.right-card p { font-size: 14px; color: var(--gray-soft); line-height: 1.5; }

/* Legacy Footer */
.legacy-footer {
    position: relative;
    background-color: var(--theme-bg);
    color: var(--theme-text-main);
    padding: 80px 50px 30px 50px;
    overflow: hidden;
    font-family: var(--font-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer-bg-text {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 25vw;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    letter-spacing: 20px;
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo { font-family: var(--font-display); font-size: 40px; letter-spacing: 2px; margin-bottom: 10px; }
.footer-logo span { color: var(--accent-primary); }
.brand-desc { color: var(--gray-900); line-height: 1.6; font-size: 14px; }

.newsletter-box { width: 300px; }
.box-label { font-family: var(--font-accent); font-size: 10px; color: var(--accent-primary); letter-spacing: 2px; margin-bottom: 8px; display: block; }

.input-wrapper {
    display: flex;
    border-bottom: 2px solid var(--gray-400);
    transition: 0.3s;
}

.input-wrapper:focus-within { border-color: var(--accent-primary); }

.input-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--theme-text-main);
    padding: 10px 0;
    outline: none;
    font-family: var(--font-accent);
    letter-spacing: 1px;
}

.input-wrapper button {
    background: transparent;
    border: none;
    color: var(--gray-600);
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.input-wrapper button:hover { color: var(--accent-primary); transform: translateX(3px) rotate(-45deg); }

.separator-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--gray-400), var(--accent-primary), var(--gray-400));
    margin-bottom: 50px;
    opacity: 0.5;
}

.footer-middle {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.link-group h4 { font-family: var(--font-accent); color: var(--theme-text-main); font-size: 16px; margin-bottom: 25px; letter-spacing: 2px; }

.link-group a {
    display: block;
    color: var(--gray-dim);
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 14px;
    transition: 0.3s;
    position: relative;
    width: fit-content;
}

.link-group a::before {
    content: '>';
    color: var(--accent-primary);
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: 0.3s;
}

.link-group a:hover { color: var(--theme-text-main); transform: translateX(10px); }
.link-group a:hover::before { opacity: 1; left: -15px; }

.signature-card {
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    position: relative;
    backdrop-filter: blur(5px);
    transition: var(--trans-medium);
}

.signature-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.15);
    transform: translateY(-5px);
}

.card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.mini-emblem { width: 20px; filter: invert(1); }
.card-header span { font-family: var(--font-accent); font-size: 10px; color: var(--accent-primary); letter-spacing: 2px; }
.real-signature { width: 220px; filter: invert(1); margin-bottom: 10px; opacity: 0.9; }
.sign-name-print { font-family: 'Times New Roman', serif; font-size: 12px; color: var(--gray-700); letter-spacing: 1px; border-top: 1px solid var(--gray-500); padding-top: 5px; display: inline-block; }

.sign-date {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-family: var(--font-accent);
    color: var(--gray-400);
    font-size: 20px;
    transform: rotate(-10deg);
    border: 2px solid var(--gray-400);
    padding: 5px;
    opacity: 0.5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
    font-size: 12px;
    color: var(--gray-600);
    font-family: var(--font-accent);
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
.social-icons a { color: var(--gray-600); text-decoration: none; margin-left: 20px; font-size: larger; font-weight:bold; transition: 0.3s; }
.social-icons a:hover { color: var(--accent-primary); }

/* =========================================
   13. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
    .tape-container { height: 100px; margin-top: -30px; margin-bottom: -30px; }
    .tape-content span { font-size: 16px; }
    .year-outline { font-size: 8rem; }
    .panel-image { height: 250px; }
    .panel-info h3 { font-size: 24px; }
    .content-section { padding: 60px 20px; }
    .huge-title { font-size: 40px; }
    .bio-image-wrapper { margin-left: 0; margin-bottom: 40px; width: 100%; height: 400px; }
    .split-container { flex-direction: column; }
    .preamble-box { flex-direction: column-reverse; }
    .visual-timeline::before { left: 0; }
    .timeline-row, .reverse-row { flex-direction: column; align-items: flex-start; margin-left: 20px; }
    .t-image, .t-content { width: 100%; }
    .t-image { margin-bottom: 20px; }
    .t-content { padding: 0; text-align: left !important; }
    .footer-top { flex-direction: column; align-items: flex-start; }
    .footer-middle { grid-template-columns: 1fr; gap: 40px; }
    .footer-bg-text { font-size: 40vw; bottom: 10%; }
    .signature-card { width: 100%; text-align: center; }
    .card-header { justify-content: center; }
}

/* =========================================
   MOBILE RESPONSIVE UPDATES
   ========================================= */
/* 1. Touch Devices: Restore Default Cursor */
@media (hover: none) and (pointer: coarse) {
    body, a, button, .icon-circle, .panel-image, .card { cursor: auto !important; }
    .custom-cursor { display: none !important; }
}

/* 2. Main Mobile Styles (Max-width: 768px) */
@media (max-width: 768px) {
    header { padding: 20px; }
    .nav-links { display: none; }
    .header-icons { gap: 10px; }
    .hero-container { height: 100vh; min-height: 600px; }
    .big-text { font-size: 15vw; width: 100%; text-align: center; }
    .character-img { height: 60vh; bottom: 10%; }
    .cast-name, .roman-numeral, .release-year, .tags { display: none; }
    .bottom-bar { padding: 0 20px 30px 20px; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
    .story-text { text-align: center; }
    .tape-container { height: 80px; margin-top: 0; }
    .tape-content span { font-size: 16px; }
    .director-section { height: auto; padding: 60px 20px; display: flex; flex-direction: column; justify-content: flex-start; }
    .center-layout { flex-direction: column; padding: 0; gap: 40px; }
    .side-info { width: 100%; text-align: center; }
    .quote-text { text-align: center; border-right: none; border-bottom: 2px solid var(--accent-primary); padding-right: 0; padding-bottom: 15px; }
    .card-stack-wrapper { transform: scale(0.8); margin: 20px 0; }
    .nav-btn { display: none; }
    .huge-name { font-size: 18vw; margin-top: 20px; }
    .timeline-section { height: auto; display: block; overflow: visible; padding: 50px 0; }
    .fixed-bg-text { display: none; }
    .progress-bar-container { display: none; }
    .timeline-track { display: flex; flex-direction: column; width: 100%; height: auto; }
    .time-panel { width: 100%; height: auto; padding: 40px 20px; border-right: none; border-bottom: 1px solid var(--border-subtle); }
    .panel-content { width: 100%; }
    .year-outline { font-size: 6rem; top: 10%; transform: translate(-50%, 0) !important; }
    .content-section { padding: 60px 20px; }
    .huge-title { font-size: 12vw; }
    .split-container { flex-direction: column-reverse; gap: 40px; }
    .bio-image-wrapper { width: 100%; height: 400px; margin: 0; }
    .bio-stats { flex-wrap: wrap; gap: 20px; justify-content: center; text-align: center; }
    .preamble-box { flex-direction: column-reverse; }
    .p-keywords { font-size: 24px; }
    .visual-timeline::before { left: 0; }
    .timeline-row, .reverse-row { flex-direction: column; align-items: flex-start; padding-left: 30px; }
    .t-image, .t-content { width: 100%; text-align: left; }
    .reverse-row .t-content { text-align: left; }
    .year-badge { left: 0; right: auto; }
    .footer-bg-text { display: none; }
    .footer-middle { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; align-items: center; text-align: center; }
}