:root {
    /* DHAMANI COLOR SYSTEM (DEEP CHOC/CREAM THEME) */
    --bg-primary: #301b16;
    /* Deep chocolate background */
    --bg-secondary: #241410;
    /* Darker cocoa tone */
    --bg-depth: #1a0d0a;
    /* Deepest shadow */
    --bg-flat: rgba(48, 27, 22, 0.6);

    --text-primary: #f7efe4;
    /* Main cream text */
    --text-muted: #d4bfa5;
    /* Muted gold text */

    --accent-gold: #c27e5d;
    /* Earthy terracotta accent */
    --accent-earth: #f7efe4;
    --accent-peach: #e7cfb4;
    --accent-glow: #f7efe4;
    --border-subtle: rgba(247, 239, 228, 0.1);
    --shadow-tint: rgba(0, 0, 0, 0.5);

    /* Interactive variables */
    --hover-color: #f7efe4;
    --btn-fill: #c27e5d;
    --btn-text: #301b16;
    --scroll-glow: #c27e5d;

    --font-theatrical: 'Cinzel', serif;
    --transition-smooth: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

p,
.about-text,
.press-excerpt,
.exit-description,
.ticket-placeholder {
    line-height: 1.5 !important;
    word-spacing: 0.15em;
    letter-spacing: 0.02em;
}

/* Global Transition refinements (avoiding global * selector for performance) */
.btn-theatrical,
.nav-links a,
.work-card,
.team-card,
.press-card,
.modal-close,
.lang-btn {
    transition: var(--transition-smooth) !important;
}

/* --- PREMIUM ATMOSPHERE (SOFT ARTISTIC REFINEMENT) --- */
.vignette-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, transparent 70%, var(--bg-depth) 100%);
    pointer-events: none;
    z-index: 15;
}

/* Uthsava Cinematic Background Theme */
body.uthsava-page {
    background-color: #0a0a0a !important;
    /* Forces pitch black overriding deep choc */
    color: #F5F5F5 !important;
}

.uthsava-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at top, rgba(212, 163, 115, 0.08) 0%, transparent 70%);
}

.gold-particles {
    position: fixed;
    inset: 0;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Scroll Thread */
.scroll-thread {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--scroll-glow);
    z-index: 20000;
    box-shadow: 0 0 15px var(--scroll-glow);
    transition: width 0.1s ease-out;
}

/* Spotlight Follower (Ambient Aura) */
.cursor-spotlight {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    will-change: left, top, transform;
}

/* GALLERY CALL TO ACTION (Premium Messaging) */
.gallery-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    color: var(--accent-gold);
    text-decoration: none;
    opacity: 0.5;
    transition: var(--transition-smooth);
    padding: 0.8rem 1.6rem;
    border: 1px solid rgba(194, 126, 93, 0.2);
    border-radius: 100px;
    background: rgba(194, 126, 93, 0.03);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.gallery-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(194, 126, 93, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.gallery-cta:hover {
    opacity: 1;
    background: rgba(194, 126, 93, 0.08);
    border-color: var(--accent-gold);
    box-shadow: 0 0 25px rgba(194, 126, 93, 0.15);
    transform: translateY(-3px);
    letter-spacing: 0.35em;
}

.gallery-cta:hover::after {
    transform: translateX(100%);
}

.gallery-cta i {
    font-size: 0.85rem;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-cta:hover i {
    transform: rotate(15deg) scale(1.2);
}

/* THE FIREFLY CORE (Visible & Smooth) */
.cursor-spotlight::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 15px #fff,
        0 0 30px var(--accent-gold),
        0 0 70px var(--accent-gold);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Magically grow the firefly when hovering links or buttons! */
body:has(a:hover, button:hover, .clickable:hover) .cursor-spotlight::after {
    transform: translate(-50%, -50%) scale(2.5);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 40px #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* --- THEATRICAL INTRO OVERLAY --- */
.intro-ritual-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 50000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.intro-ritual-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

#intro-video {
    position: absolute;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.intro-ritual-overlay.playing #intro-video {
    opacity: 1;
}

/* --- PAGE TRANSITION OVERLAY --- */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

.page-transition-overlay.active {
    transform: translateY(0);
    pointer-events: all;
}

.page-transition-overlay.exit {
    transform: translateY(-100%);
}

/* --- LANGUAGE TOGGLE --- */
.lang-toggle {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(247, 239, 228, 0.05);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(247, 239, 228, 0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 2px 6px;
    border-radius: 4px;
}

.lang-btn.active {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(194, 126, 93, 0.3);
}

.lang-divider {
    color: rgba(247, 239, 228, 0.2);
    font-size: 0.8rem;
}

.btn-portal {
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 2rem 4rem;
}

.portal-text {
    font-family: var(--font-theatrical);
    font-size: 1.5rem;
    color: #f7efe4;
    letter-spacing: 0.5em;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    animation: portalPulse 3s infinite ease-in-out;
}

@keyframes portalPulse {

    0%,
    100% {
        letter-spacing: 0.5em;
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        letter-spacing: 0.55em;
        opacity: 1;
        transform: scale(1.02);
    }
}

.portal-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 200px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    animation: ripplePulse 4s infinite linear;
}

@keyframes ripplePulse {
    0% {
        width: 100px;
        height: 100px;
        opacity: 1;
    }

    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}



/* --- CINEMATIC SECTIONS --- */
section {
    min-height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    justify-content: flex-start;
    align-items: center;
    padding: 12rem 2rem 10rem;
    position: relative;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 100vh;
    border-bottom: 2px solid rgba(201, 122, 90, 0.4);
    background-attachment: scroll;
    background-size: cover;

    /* ALIVE EFFECT */
    --deviation: 0;
    --abs-deviation: 0;
    opacity: 0.2;
    /* Rest state */
    transform: scale(calc(1 - var(--abs-deviation) * 0.05)) translateY(calc(var(--deviation) * 30px));
    filter: blur(calc(var(--abs-deviation) * 5px));
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 0.2s linear, filter 0.4s ease;
    transform-origin: center center;
    will-change: transform, opacity, filter;
}

section.active {
    opacity: calc(1 - var(--abs-deviation) * 0.5);
    transform: scale(calc(1 - var(--abs-deviation) * 0.05)) translateY(calc(var(--deviation) * 20px));
    filter: blur(0);
}

#home {
    background: var(--bg-primary);
    padding-top: 20rem;
    /* Pushes content further down */
}

#dates {
    background: var(--bg-secondary);
}

#works {
    background: var(--bg-primary);
}

#gallery {
    background: var(--bg-depth);
}

#about {
    background: var(--bg-secondary);
}

#team {
    background: var(--bg-primary);
}

/* Stage light overlay removed */

.section-title {
    font-family: var(--font-theatrical);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--accent-earth);
    position: relative;
    margin-bottom: 4.5rem;
    text-align: center;
    letter-spacing: 0.2em;
    opacity: 1;
    /* Fully visible */
    text-transform: uppercase;
    z-index: 10;
}



/* --- THEATRICAL VIEW SELECTOR --- */
.view-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 241, 214, 0.08);
    /* Ivory tint */
    border: 1px solid rgba(253, 241, 214, 0.2);
    border-radius: 100px;
    padding: 0.5rem;
    margin: 0 auto 4rem;
    /* Centering */
    width: fit-content;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.view-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.4s;
    border-radius: 100px;
}

.view-btn.active {
    background: var(--accent-gold);
    color: #fff;
    box-shadow: 0 4px 15px var(--shadow-tint);
}

.view-divider {
    width: 1px;
    height: 15px;
    background: rgba(139, 69, 19, 0.2);
}

.dates-display-stage {
    width: 100%;
    display: flex;
    justify-content: center;
}

.view-stage {
    display: none;
    width: 100%;
    max-width: 1100px;
    animation: stageFadeIn 0.8s ease forwards;
}

.view-stage.active {
    display: flex;
}

.calendar-transitioning {
    opacity: 0.3;
    transform: translateX(10px);
    transition: none;
}

@keyframes stageFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-up {
    transform: translateY(50px);
    opacity: 0;
    transition: 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.active.reveal-up {
    transform: translateY(0);
    opacity: 1;
}

.reveal-blur {
    filter: blur(30px);
    opacity: 0;
    transition: 1.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.active.reveal-blur {
    filter: blur(0);
    opacity: 1;
}

.reveal-scale {
    transform: scale(0.92);
    opacity: 0;
    transition: 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.active.reveal-scale {
    transform: scale(1);
    opacity: 1;
}

/* --- THEATRE CALENDAR STYLES --- */
.theatre-calendar-container {
    width: 100%;
    max-width: 920px;
    background: var(--bg-depth);
    /* Muted Sand */
    border: 1px solid rgba(140, 90, 60, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px var(--shadow-tint);
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

.theatre-calendar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.3;
}

.theatre-calendar-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.3;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.calendar-header h3 {
    font-family: var(--font-theatrical);
    font-size: 1.6rem;
    color: var(--accent-earth);
    letter-spacing: 0.3em;
    min-width: 250px;
    text-align: center;
    font-weight: 500;
}

.cal-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(139, 69, 19, 0.2);
    background: transparent;
    color: rgba(212, 175, 55, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s;
    font-size: 0.6rem;
}

.cal-nav-btn:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.calendar-main-content {
    display: flex;
    gap: 2.5rem;
    align-items: stretch;
}

.calendar-grid-side {
    flex: 1;
}

.calendar-weekday-labels {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 0.8rem;
}

.calendar-weekday-labels span {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    /* Visible labels */
    font-weight: 700;
    text-transform: uppercase;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.8rem;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    /* Light Cream Tiles */
    border: 1px solid rgba(140, 90, 60, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.cal-day:hover {
    background: var(--bg-depth);
    border-color: #f7efe4;
    color: var(--accent-earth);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-tint);
}

.cal-day::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: -1;
}

.cal-day:hover::before {
    opacity: 1;
}

.cal-day.selected {
    border: 1px solid var(--accent-gold);
    background: rgba(212, 175, 55, 0.03);
    color: #fff;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.cal-day.has-event span {
    transform: translateY(-2px);
}

.cal-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 8px;
    width: 3px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.cal-day.selected.has-event::after {
    box-shadow: 0 0 10px var(--accent-gold);
}

.cal-day.other-month {
    opacity: 0.2;
    pointer-events: none;
}

@keyframes emPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- THEATRE TICKET PANEL --- */
.calendar-info-panel {
    width: 280px;
    flex-shrink: 0;
}

.info-ticket {
    border: 1px solid rgba(140, 90, 60, 0.25) !important;
    padding: 2.5rem 1.4rem;
    /* Slimmer padding to prevent cutoff */
    background: var(--bg-secondary) !important;
    border-radius: 8px;
    position: relative;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 15px 35px var(--shadow-tint);
    z-index: 5;
    text-align: center;
    overflow: hidden;
}

.info-ticket::before {
    content: '\f3fb';
    /* fa-masks-theater */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10rem;
    color: var(--accent-gold);
    opacity: 0.02;
    pointer-events: none;
    z-index: -1;
}

.ticket-flare {
    position: absolute;
    left: 0;
    top: 15%;
    width: 2px;
    height: 15px;
    background: var(--accent-gold);
}

.ticket-label {
    font-family: var(--font-theatrical);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--accent-earth);
    margin-bottom: 0;
    text-align: center;
    opacity: 0.8;
    text-transform: uppercase;
}

.ticket-icon {
    font-size: 1.5rem;
    color: #f7efe4;
    margin-bottom: 2rem;
}

.event-title {
    font-family: var(--font-theatrical);
    font-size: 2rem;
    color: var(--accent-earth);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
}

.event-detail {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-align: center;
}

.event-detail i {
    color: #f7efe4;
    font-size: 0.8rem;
}

/* RESPONSIVE CALENDAR */
@media (max-width: 900px) {
    .calendar-main-content {
        flex-direction: column;
        justify-content: space-between;
    }

    .calendar-info-panel {
        width: 100%;
        max-width: 400px;
        margin: 2rem auto;
    }

    .calendar-header h3 {
        font-size: 1.5rem;
        min-width: auto;
    }
}

@media (max-width: 600px) {
    .cal-day span {
        font-size: 0.8rem;
    }

    .theatre-calendar-container {
        padding: 1.5rem;
    }
}

/* --- THEATRICAL BILL LIST (OUR DATES) --- */
.dates-list-stage {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 5;
}

.date-bill-item {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    /* Light Cream */
    border: 1px solid rgba(140, 90, 60, 0.05);
    padding: 1.5rem 3rem;
    border-radius: 12px;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 15px 40px var(--shadow-tint);
    color: var(--text-primary);
}

.date-bill-item:hover {
    border-color: var(--accent-peach);
    transform: translateY(-8px);
    box-shadow: 0 25px 60px var(--shadow-tint);
}

.date-bill-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-width: 80px;
}

.bill-month {
    font-size: 0.9rem;
    color: #f7efe4;
    letter-spacing: 0.3em;
    font-weight: 400;
}

.bill-day {
    font-size: 1.6rem;
    font-family: var(--font-theatrical);
    color: var(--text-primary);
    line-height: 1;
}

.date-bill-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--accent-gold), transparent);
    margin: 0 3rem;
    opacity: 0.3;
}

.date-bill-content {
    flex: 1;
}

.date-bill-content h3 {
    font-family: var(--font-theatrical);
    font-size: 1.35rem;
    letter-spacing: 0.05em;
    color: var(--text-on-light);
    /* Obsidian */
    margin-bottom: 0.3rem;
}

.bill-venue {
    font-size: 0.85rem;
    color: #4a3a2a;
    /* Dark Brown for Ivory Contrast */
    font-style: italic;
    margin-bottom: 0.5rem;
}

.bill-meta {
    font-size: 0.9rem;
    color: rgba(5, 7, 10, 0.6);
    /* Muted Obsidian */
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn-theatrical-mini {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--btn-fill);
    background: var(--btn-fill);
    color: var(--btn-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
}

.btn-theatrical-mini:hover {
    border-color: var(--hover-color);
    color: var(--btn-text);
}

.btn-theatrical {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--btn-fill);
    border: 1px solid var(--btn-fill);
    color: var(--btn-text);
    text-decoration: none;
    font-family: var(--font-theatrical);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    font-weight: 500;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 4px;
}

.btn-theatrical:hover {
    border-color: var(--hover-color);
    color: var(--btn-text);
    box-shadow: 0 0 30px rgba(18, 13, 13, 0.4);
}

@media (max-width: 768px) {
    .date-bill-item {
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .date-bill-divider {
        width: 40px;
        height: 1px;
        margin: 0;
    }

    .date-bill-item:hover {
        transform: translateY(-5px);
    }
}

/* --- ICON PILL NAV --- */
.navbar-fixed {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
}

.nav-links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    align-items: flex-end;
    /* right align container elements */
}

/* Base Link Container */
.nav-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 140px;
    /* Fixed width gives runway for sliding */
    height: 30px;
    text-decoration: none;
    color: rgba(201, 183, 156, 0.4);
    /* Faded earthy gold */
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Content wrapper aligns everything to the right */
.nav-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Pin elements to right */
}

/* The Icon */
.nav-symbol {
    font-size: 1.15rem;
    color: rgba(201, 183, 156, 0.5);
    /* Muted earthy gold */
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Text */
.nav-text {
    overflow: hidden;
    max-width: 0;
    /* Hidden width */
    opacity: 0;
    color: #FAF6F0;
    /* Bright white text */
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin: 0;
    /* no margin until active */
    line-height: 1;
}

/* The Tracking Dash */
.nav-dash {
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    font-weight: 300;
    color: #FAF6F0;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- ACTIVE AND HOVER STATES --- */

.nav-links a:hover .nav-symbol,
.nav-links a.active .nav-symbol {
    color: #FAF6F0;
    /* Icon lights up */
}

/* Expanded text forces the icon to slide left! */
.nav-links a:hover .nav-text,
.nav-links a.active .nav-text {
    max-width: 100px;
    opacity: 1;
    margin: 0 10px;
    /* Expands to give space */
}

.nav-links a:hover .nav-dash,
.nav-links a.active .nav-dash {
    max-width: 15px;
    opacity: 1;
}

/* --- CINEMATIC CARD UPGRADE --- */
.work-card {
    border-radius: 8px;
    background: var(--text-primary);
    /* Off-white */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.08);
    position: relative;
}

/* Shine effect removed */

.work-info h3 {
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    font-family: var(--font-theatrical);
    transition: all 0.5s ease;
}

.work-card:hover .work-info h3 {
    letter-spacing: 0.4em;
    color: #f7efe4;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.stage-parallax-element {
    position: absolute;
    color: rgba(212, 175, 55, 0.03);
    font-size: 20rem;
    pointer-events: none;
    z-index: 0;
    filter: blur(10px);
    user-select: none;
}



/* --- REFINED STAGGERED TEAM GRID --- */
.humaan-wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.humaan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    align-items: start;
    padding: 2rem 0;
}

.humaan-col-1 {
    margin-top: 3.5rem;
}

.humaan-col-2 {
    margin-top: 0;
}

.humaan-col-3 {
    margin-top: 3.5rem;
}

.team-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 0.8;
    max-width: 320px;
    margin: 0 auto;
    background: #000;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    justify-content: flex-end;
    padding: 1.2rem;
}

.team-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.team-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: brightness(0.9) contrast(1.1) grayscale(0.1);
    transition: all 1.2s ease;
}

.team-card:hover .team-photo {
    filter: brightness(1.1) contrast(1.2) grayscale(0);
    transform: scale(1.08);
}

.team-badges {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-name {
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.badge-role {
    background: #fff;
    color: #000;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Badge Color Accents */
.name-gold {
    background: #5d4a1e;
}

.name-amber {
    background: #723c14;
}

.name-red {
    background: #44140a;
}

.name-green {
    background: #1a2e1c;
}

@media (max-width: 992px) {
    .humaan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .humaan-col-1,
    .humaan-col-3 {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .humaan-grid {
        grid-template-columns: 1fr;
    }
}

/* --- GRIDS --- */
.works-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3.5rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.work-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: var(--text-primary);
    border: 1px solid rgba(201, 183, 156, 0.2);
    transition: 0.6s ease;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
}

.work-card:hover {
    border-color: #f7efe4;
    transform: translateY(-10px);
}

.work-image-box {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.work-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 1;
    transition: 1.2s ease;
}

.work-card:hover .work-img {
    opacity: 1;
    transform: scale(1.1);
}

.work-info {
    padding: 0.5rem;
    text-align: center;
}

.work-info h3 {
    font-family: var(--font-theatrical);
    color: var(--bg-primary);
}

/* --- ARTIST GRID (BLANK FRAMES) --- */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3.5rem;
    width: 100%;
    max-width: 1200px;
}

.artist-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
}

.artist-frame {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 1px solid rgba(139, 69, 19, 0.2);
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, rgba(13, 9, 7, 0.6) 100%);
    position: relative;
    overflow: hidden;
    transition: 0.5s ease;
}

.artist-frame::after {
    content: '\f2bd';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    font-size: 2.5rem;
    color: rgba(212, 175, 55, 0.05);
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.artist-item:hover .artist-frame {
    border-color: #f7efe4;
    background: rgba(30, 20, 15, 0.5);
    transform: scale(1.08);
}

.artist-name {
    font-family: var(--font-theatrical);
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- HERO REFLECTIONS --- */
.hero-logo {
    max-width: 500px;
    width: 90%;
    margin-bottom: 2rem;
    mix-blend-mode: screen;
    /* Makes black background invisible */
    opacity: 0.95;
    transition: transform 0.8s ease;
}

.reflect-stage {
    filter: drop-shadow(0 0 35px rgba(247, 239, 228, 0.1));
}

.hero-brand {
    font-family: var(--font-theatrical);
    font-size: clamp(3rem, 9vw, 6.5rem);
    /* Refined Title Proportions */
    font-weight: 400;
    color: var(--accent-earth);
    text-shadow: 0 4px 30px rgba(194, 126, 93, 0.3);
    animation: textFlicker 5s infinite;
    letter-spacing: 0.35em;
    margin-top: 5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1;
}

.hero-tagline {
    font-family: var(--font-theatrical);
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.65em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

@keyframes textFlicker {

    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
        opacity: 1;
    }

    20%,
    24%,
    55% {
        opacity: 0.8;
    }
}

.hero-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 650px;
    letter-spacing: 0.05em;
    opacity: 0.9;
    margin-top: 1.5rem;
    text-align: center;
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- REVEALS --- */
/* Standard Theatrical Reveals (Visibility Fix) */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.ember {
    position: fixed;
    background: var(--accent-gold);
    border-radius: 50%;
    filter: blur(1.5px);
    pointer-events: none;
    z-index: 1001;
}

.ash-particle {
    position: fixed;
    width: 3px;
    height: 3px;
    background: rgba(245, 240, 225, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
}

.side-sparkle {
    position: absolute;
    color: #f7efe4;
    pointer-events: none;
    z-index: 10001;
    animation: sparkleBurst 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes sparkleBurst {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translate(var(--dx), var(--dy)) scale(1.5) rotate(var(--dr));
        opacity: 0;
    }
}

/* --- PREMIUM ANNOUNCEMENT MODAL (CENTERED) --- */


.modal-card-unified {
    position: relative;
    background: #f7efe4;
    color: #301b16;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--accent-gold);
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 10000;
}

@keyframes ledgerPulse {
    0% {
        border-color: rgba(212, 136, 92, 0.3);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    }

    100% {
        border-color: #f7efe4;
        box-shadow: 0 15px 50px rgba(212, 136, 92, 0.15);
    }
}

.active .modal-card-unified {
    transform: translateX(0);
}

/* Animated Shimmering Border */
.modal-card-unified::after {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 8px;
    background: linear-gradient(90deg,
            rgba(139, 69, 19, 0.2) 0%,
            rgba(212, 175, 55, 0.8) 50%,
            rgba(139, 69, 19, 0.2) 100%);
    background-size: 200% auto;
    animation: borderShimmer 6s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes borderShimmer {
    to {
        background-position: 200% center;
    }
}

.announcement-h {
    font-family: var(--font-theatrical);
    color: var(--text-on-light);
    /* Obsidian */
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
}

.announcement-p {
    color: rgba(5, 7, 10, 0.7);
    /* Muted Obsidian */
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.btn-premium-modal {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--accent-gold);
    color: #f7efe4;
    background: transparent;
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-premium-modal:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.close-announcement-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    color: rgba(245, 240, 225, 0.4);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.4s;
    z-index: 10;
}

.close-announcement-btn:hover {
    color: #f7efe4;
    transform: rotate(90deg);
    text-shadow: 0 0 10px var(--accent-gold);
}

/* --- DONATION MODAL (Restored) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    z-index: 100000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.active .modal-card-unified {
    transform: scale(1);
}

.exit-header h2 {
    font-family: var(--font-theatrical);
    font-size: 1.4rem;
    color: #301b16;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.exit-subtitle {
    font-size: 0.65rem;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 0.5rem;
}

.exit-description {
    font-size: 0.85rem;
    color: rgba(48, 27, 22, 0.7);
    margin-bottom: 2rem;
}

.exit-qr-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 0 2rem 3rem;
}

.donation-qr-stage {
    background: #fff;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.upi-id {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #301b16;
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    color: #f00;
    transform: rotate(90deg);
}

.close-announcement-btn {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-announcement-btn:hover {
    color: #f7efe4;
}

.scrolled-away {
    opacity: 0 !important;
    pointer-events: none;
    transform: translateX(-10px);
}

.donation-qr-box {
    margin: 2rem auto;
    width: 180px;
    height: 180px;
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(139, 69, 19, 0.2);
}

.donation-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.btn-donate-close {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 1rem 2rem;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 4px;
}

.btn-donate-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

/* --- RICH EARTH SUBPAGE THEME --- */
.subpage-earth {
    background: #e2d5c3 !important;
    /* Muted, less bright beige */
    color: #301b16 !important;
}

.subpage-earth h1,
.subpage-earth h2,
.subpage-earth h3,
.subpage-earth .play-title {
    color: #301b16 !important;
}

.subpage-earth .play-about {
    color: #4a342e !important;
    /* Deep earth brown for readability */
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.8;
}

.subpage-earth .credit-label {
    color: #c27e5d !important;
    /* Darker terracotta */
    opacity: 1 !important;
    font-weight: 700;
}

.subpage-earth .credit-value {
    color: #301b16 !important;
}

.subpage-earth .artist-name {
    color: #301b16 !important;
    font-weight: 700;
}

/* Subtler vignette for light themes */
.subpage-earth .vignette-overlay {
    background: radial-gradient(circle, transparent 80%, rgba(48, 27, 22, 0.2) 100%) !important;
}

.subpage-earth .donation-card h2,
.subpage-earth .donation-card p {
    color: #FAF6F0 !important;
}

.subpage-earth .btn-theatrical {
    color: #FAF6F0 !important;
    border-color: rgba(250, 246, 240, 0.4) !important;
}


.subpage-earth .btn-back {
    background: rgba(250, 246, 240, 0.05);
    border: 1px solid rgba(250, 246, 240, 0.2);
    color: var(--bg-secondary);
}

.subpage-earth .btn-back:hover {
    background: var(--bg-secondary);
    color: var(--accent-earth);
}

/* --- NEWSPAPER CUTTINGS (PRESS) --- */
.press-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    width: 80%;
    max-width: 1200px;
    margin: 4rem auto;
}

.press-card {
    background: var(--text-primary);
    /* Off-white */
    padding: 3rem 2.5rem;
    border: 1px solid rgba(201, 183, 156, 0.2);
    box-shadow: 2px 5px 20px var(--shadow-tint);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
}

.press-card:hover {
    transform: rotate(0deg) translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px var(--shadow-tint);
    border-color: #f7efe4;
}

.press-date {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--bg-secondary);
    border-bottom: 1px solid rgba(90, 46, 20, 0.2);
    display: block;
    padding-bottom: 0.5rem;
    margin-bottom: 0.8rem;
}

.press-headline {
    font-family: var(--font-theatrical);
    font-size: 1.6rem;
    color: var(--bg-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.press-excerpt {
    font-size: 0.85rem;
    color: var(--bg-secondary);
    line-height: 1.8;
    font-style: italic;
}

/* --- DUAL-MODE MODAL CONTRAST --- */
.subpage-earth .modal-card-unified {
    background: rgba(250, 246, 240, 0.15) !important;
    border: 1px solid rgba(250, 246, 240, 0.3) !important;
    color: #FAF6F0 !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5) !important;
}

.subpage-earth .modal-card-unified h2,
.subpage-earth .modal-card-unified h3,
.subpage-earth .modal-card-unified p {
    color: #FAF6F0 !important;
}

.subpage-earth .modal-card-unified .btn-theatrical {
    color: #FAF6F0 !important;
    border-color: rgba(250, 246, 240, 0.4) !important;
}



.typewriter-p {
    font-family: 'Noto Sans Kannada', 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.5;
    letter-spacing: 0.05em;
    word-spacing: 0.15em;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
    display: block;
}

.typewriter-link {
    display: inline-block;
    font-family: var(--font-theatrical);
    color: #f7efe4;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-gold);
    padding-bottom: 2px;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
    transition: all 0.4s ease;
    margin-top: 0.5rem;
    pointer-events: auto;
    /* Ensure it can be clicked */
}

.typewriter-link:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    letter-spacing: 0.2em;
}

/* --- CONNECT SECTION STYLES --- */
#connect {
    background: var(--bg-primary);
    text-align: center;
}

.contact-content-stage {
    max-width: 800px;
    margin: 0 auto;
    padding: 0.5rem;
}

.contact-intro {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-family: var(--font-theatrical);
    letter-spacing: 0.1em;
    line-height: 1.6;
}

/* --- INTEGRATED CONNECT & SUPPORT GRID --- */
.connect-tri-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    align-items: flex-start;
}

.tri-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donation-col .compact-donation {
    margin-top: -8rem;
    max-width: 440px;
}

.contact-col .contact-vertical-list {
    width: 100%;
    max-width: 350px;
}

.collab-col {
    align-items: center;
}

.collab-label {
    font-family: var(--font-theatrical);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.collab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.collab-frame {
    width: 100px;
    height: 100px;
    border: 1px solid rgba(247, 239, 228, 0.1);
    background: rgba(247, 239, 228, 0.03);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.collab-frame:hover {
    border-color: var(--accent-gold);
    background: rgba(194, 126, 93, 0.05);
    transform: translateY(-5px);
}

.frame-inner {
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(247, 239, 228, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .connect-tri-layout {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .collab-col {
        grid-column: span 2;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .connect-tri-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .collab-col {
        grid-column: span 1;
    }
}

.support-side {
    display: none;
    /* Removed as it's merged into connect-side */
}

.contact-vertical-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

@media (max-width: 900px) {
    .contact-vertical-list {
        align-items: center;
    }
}

.contact-btn {
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
    font-family: var(--font-theatrical);
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.contact-btn i {
    font-size: 1.1rem;
}

.compact-donation {
    max-width: 440px;
    width: 100%;
    padding: 5rem 3rem !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 600px;
}

.compact-donation .support-header h3 {
    font-size: 1.8rem !important;
}

.compact-donation .support-qr-image {
    width: 220px !important;
    height: 220px !important;
}

.insta-qr-img {
    width: 220px;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(247, 239, 228, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    padding: 15px;
    background: #fff;
    transition: transform 0.4s ease;
}

.insta-qr-img:hover {
    transform: scale(1.05);
}

.qr-label {
    font-family: var(--font-theatrical);
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    color: #f7efe4;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .insta-qr-img {
        width: 100%;
        height: 150px;
    }
}

/* --- EXIT DONATION CARD (SCREENSHOT MATCH) --- */
.donation-exit-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 380px;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    color: #ffffff;
    text-align: center;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.8),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* FROSTED GRAIN EFFECT */
.donation-exit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

/* DIAGONAL GLOSS SHINE */
.donation-exit-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(255, 255, 255, 0.1) 48%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.1) 52%,
            transparent 55%);
    pointer-events: none;
    z-index: 2;
}

.donation-exit-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 380px;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    color: #ffffff;
    text-align: center;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.8),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* FROSTED GRAIN EFFECT */
.donation-exit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

/* DIAGONAL GLOSS SHINE */
.donation-exit-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(255, 255, 255, 0.1) 48%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.1) 52%,
            transparent 55%);
    pointer-events: none;
    z-index: 2;
}

.exit-subtitle {
    position: relative;
    z-index: 5;
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: #FF8C00;
    /* Deep Orange Accent */
    margin-bottom: 0.2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

.exit-title {
    position: relative;
    z-index: 5;
    font-family: var(--font-theatrical);
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.2rem;
    color: #FFFDD0 !important;
    /* Luminous Cream Beige */
    font-weight: 700;
    text-shadow:
        0 0 2px #fff,
        /* Pure white edge for maximum beige purity */
        0 4px 20px rgba(0, 0, 0, 0.8);
    /* Support shadow for legibility */
}

.exit-description {
    position: relative;
    z-index: 5;
    font-size: 0.85rem;
    line-height: 1.2;
    color: #f7efe4;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

.exit-qr-container {
    background: #fff;
    padding: 0.8rem;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.exit-qr-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-top: 1rem;
    object-fit: contain;
    mix-blend-mode: multiply;
    border: none;
}

.exit-qr-label {
    font-size: 0.75rem;
    letter-spacing: 0.2rem;
    color: #1a0d0a;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.exit-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.exit-btn {
    flex: 1;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    padding: 0.5rem !important;
}

.primary-exit {
    background: var(--accent-gold) !important;
    color: #000 !important;
    border: none !important;
}

.secondary-exit {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.secondary-exit:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

/* --- UTHSAVA SECTION & TIMELINE --- */
.uthsava-section {
    padding: 10rem 40px;
    background: #0B0B0B;
    position: relative;
    overflow: hidden;
}

.uthsava-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -20%, rgba(212, 163, 115, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.uthsava-hero {
    text-align: center;
    margin-bottom: 8rem;
}

.uthsava-title {
    font-family: var(--font-theatrical);
    font-size: clamp(3rem, 10vw, 6rem);
    color: #D4A373;
    letter-spacing: 0.5em;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(212, 163, 115, 0.3);
}

.uthsava-subtitle {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.uthsava-subtitle span {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    color: #F5F5F5;
    opacity: 0.9;
}

.uthsava-desc {
    max-width: 700px;
    margin: 0 auto;
    color: #F5F5F5;
    opacity: 0.5;
    line-height: 1.8;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #D4A373, transparent);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    margin-bottom: 6rem;
    position: relative;
}

.timeline-item.right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-card {
    background: #121212;
    border: 1px solid rgba(212, 163, 115, 0.1);
    padding: 2.5rem;
    border-radius: 12px;
    width: 85%;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline-item.left .timeline-card {
    margin-right: 40px;
    text-align: right;
}

.timeline-item.right .timeline-card {
    margin-left: 40px;
    text-align: left;
}

.timeline-card:hover {
    transform: scale(1.03);
    border-color: #D4A373;
    box-shadow: 0 0 30px rgba(212, 163, 115, 0.15);
}

.card-date {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    color: #D4A373;
    letter-spacing: 0.2em;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #F5F5F5;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.card-text {
    font-size: 0.95rem;
    color: rgba(245, 245, 245, 0.6);
    line-height: 1.6;
}



/* --- COLLABS SUBSECTION (PLAYS & EVENTS) --- */
.collab-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 4rem auto 0;
}

/* Card hover popup system (Custom cursor follow) */
.play-popup-card {
    position: fixed;
    width: 280px;
    background: rgba(18, 18, 18, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 163, 115, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.play-popup-card.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.popup-date {
    font-size: 0.7rem;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.4rem;
}

.popup-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.popup-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(247, 239, 228, 0.7);
    margin-bottom: 1.5rem;
}

.btn-popup-gallery {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--accent-gold);
    color: #1a0d0a;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.7rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: transform 0.3s ease;
}

.btn-popup-gallery:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .collab-cards-grid {
        grid-template-columns: 1fr;
    }


}

/* --- THEATRICAL GALLERY UPGRADE --- */
.gallery-category-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gallery-category-title {
    font-family: var(--font-theatrical);
    font-size: 1.8rem;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    text-align: left;
    border-left: 3px solid var(--accent-gold);
    padding-left: 1rem;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    width: 100%;
}

.gallery-item-card {
    border-radius: 8px;
    background: var(--bg-secondary);
    border: 1px solid rgba(247, 239, 228, 0.08);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(194, 126, 93, 0.2);
}

.gallery-image-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.05) grayscale(0.2);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item-card:hover .gallery-img {
    filter: brightness(1.05) contrast(1.1) grayscale(0);
    transform: scale(1.08);
}

.gallery-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 13, 10, 0.9) 0%, rgba(26, 13, 10, 0.2) 50%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.2rem;
    transition: all 0.4s ease;
}

.gallery-item-card:hover .gallery-img-overlay {
    opacity: 1;
}

.gallery-img-date {
    font-family: var(--font-theatrical);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 5, 4, 0.95);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(15px);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.95);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 6px;
    border: 1px solid rgba(247, 239, 228, 0.15);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: var(--accent-gold);
    transform: rotate(90deg);
}

.lightbox-caption {
    font-family: var(--font-theatrical);
    font-size: 1rem;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    margin-top: 1.5rem;
    text-transform: uppercase;
}

/* View More Button and Collapsing states */
.gallery-item-card.hidden-item {
    display: none;
}

.gallery-item-card.fade-in-item {
    animation: galleryFadeIn 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-actions {
    margin-top: 3.5rem;
    text-align: center;
    width: 100%;
}

.btn-view-more {
    font-size: 0.8rem;
    padding: 0.9rem 2.2rem;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 100px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-theatrical);
    transition: all 0.4s ease;
}

.btn-view-more:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(194, 126, 93, 0.3);
}
/* --- Collaborator Logos Styling --- */
.collab-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}
.collab-frame {
    width: 120px;
    height: 120px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-depth);
    border-radius: 8px;
}
.collab-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
