/* MBITS Cinematic Project Page Styles */

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

/* Performance-optimized base */
body {
    font-family: 'Poppins', sans-serif;
    background: #29292b;
    color: #FFFFFF;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 90px; /* Header height for desktop */
}

body.loaded {
    opacity: 1;
}

/* ========== IMPROVED THEATER HEADER ========== */
.theater-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(180deg, #000000 0%, #0A0A0A 40%, #000000 100%);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(200, 83, 0, 0.3), 
                0 8px 40px rgba(200, 83, 0, 0.15);
    will-change: transform, opacity;
}

.theater-header.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Brighter curtain effect */
.curtain-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: linear-gradient(90deg, 
        #2A2A2A 0%, 
        #3D3D3F 15%, 
        #5A5A5C 25%, 
        #7B7B7D 35%, 
        #9B9B9D 45%, 
        #EEEEEE 50%, 
        #9B9B9D 55%, 
        #7B7B7D 65%, 
        #5A5A5C 75%, 
        #3D3D3F 85%, 
        #2A2A2A 100%);
    background-image: 
        repeating-linear-gradient(90deg, 
            rgba(0,0,0,0.2) 0px, 
            rgba(0,0,0,0.2) 3px, 
            transparent 3px, 
            transparent 6px),
        linear-gradient(90deg,
            transparent 0%,
            transparent 25%,
            rgba(200,83,0,0.15) 45%,
            rgba(200,83,0,0.2) 50%,
            rgba(200,83,0,0.15) 55%,
            transparent 75%,
            transparent 100%);
    background-size: 12px 100%, 100% 100%;
    animation: curtainScroll 2.5s linear infinite;
    box-shadow: inset 0 -1px 2px rgba(0,0,0,0.15);
    will-change: background-position;
}

@keyframes curtainScroll {
    0% { background-position: 0 0; }
    100% { background-position: 18px 0; }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    height: calc(100% - 12px);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.logo-text:hover {
    color: #D46E25;
    text-shadow: 0 0 8px rgba(212, 110, 37, 0.5);
}

.atmospheric-nav {
    position: relative;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(61, 61, 63, 0.3);
    border-radius: 25px;
    padding: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 83, 0, 0.2);
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: #CCCCCC;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Active state */
.nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(200, 83, 0, 0.8), 
        rgba(212, 110, 37, 0.8));
    border-radius: 20px;
    z-index: -1;
}

.nav-link.active {
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* Fixed hover effect - text moves up more */
.nav-link:not(.active) span {
    display: block;
    transition: transform 0.3s ease;
    will-change: transform;
}

.nav-link:not(.active)::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D46E25;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    will-change: transform;
}

/* Increased movement to -150% so original text completely disappears */
.nav-link:not(.active):hover span {
    transform: translateY(-150%);
}

.nav-link:not(.active):hover::after {
    transform: translateY(0);
}

/* Smaller rectangular mobile trigger */
.mobile-trigger {
    display: none;
    width: 38px;
    height: 30px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(20, 20, 20, 0.7));
    border: 1.5px solid rgba(200, 83, 0, 0.4);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(200, 83, 0, 0.2);
}

.mobile-trigger:hover {
    border-color: #C85300;
    background: linear-gradient(135deg, rgba(200, 83, 0, 0.15), rgba(212, 110, 37, 0.15));
    box-shadow: 0 4px 16px rgba(200, 83, 0, 0.4);
    transform: translateY(-1px);
}

.trigger-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.trigger-line {
    width: 16px;
    height: 2px;
    background: #FFFFFF;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
    will-change: transform, opacity;
}

.mobile-trigger:hover .trigger-line {
    background: #D46E25;
}

.mobile-trigger.active .trigger-line {
    background: #D46E25;
}

.mobile-trigger.active .trigger-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.mobile-trigger.active .trigger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-trigger.active .trigger-line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

.cinema-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #000000 0%, #0A0A0A 50%, #000000 100%);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    will-change: transform;
}

.cinema-mobile-nav.active {
    transform: translateY(0);
}

.cinema-mobile-nav::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background-image: none;
    opacity: 0;
}

.mobile-nav-content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 50px 0 0 0;
    margin: 0;
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease 0.1s;
    padding: 0;
    margin: 0;
}

.cinema-mobile-nav.active .mobile-nav-list {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-item {
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.cinema-mobile-nav.active .mobile-nav-item {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-item:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-item:nth-child(4) { transition-delay: 0.4s; }

.mobile-nav-link {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 18px 40px;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

/* New mobile hover effect - different from active state */
.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(200, 83, 0, 0.1), 
        rgba(212, 110, 37, 0.15));
    transition: width 0.4s ease;
    border-radius: 12px;
    z-index: -1;
}

.mobile-nav-link:hover::before {
    width: 100%;
}

/* Active state for mobile - maintains the bottom line */
.mobile-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #C85300, #D46E25);
    transform: translateX(-50%);
    border-radius: 2px;
}

.mobile-nav-link.active {
    color: #D46E25;
    border-color: rgba(200, 83, 0, 0.5);
    background: linear-gradient(135deg, rgba(200, 83, 0, 0.08), rgba(212, 110, 37, 0.08));
}

/* Hover effect - only changes text color and adds subtle background */
.mobile-nav-link:not(.active):hover {
    color: #D46E25;
    transform: translateY(-2px);
}

/* Film Loading Animation */
.film-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

.film-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.film-reel-loader {
    width: 120px;
    height: 120px;
    border: 8px solid #333;
    border-radius: 50%;
    position: relative;
    animation: reelSpin 2s linear infinite;
}

.film-reel-loader::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #8B4513;
    border-radius: 50%;
}

.film-reel-loader::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #D2691E;
    border-radius: 50%;
    animation: filmHole 2s linear infinite;
}

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

@keyframes filmHole {
    0%, 12.5% { opacity: 1; }
    12.51%, 24.99% { opacity: 0.3; }
    25%, 37.5% { opacity: 1; }
    37.51%, 49.99% { opacity: 0.3; }
    50%, 62.5% { opacity: 1; }
    62.51%, 74.99% { opacity: 0.3; }
    75%, 87.5% { opacity: 1; }
    87.51%, 100% { opacity: 0.3; }
}

.loading-text {
    margin-top: 30px;
    font-size: 1rem;
    color: #8B4513;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Project Opening Credits Section */
.project-opening {
    min-height: 80vh;
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(40, 24, 13, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 3px solid #333;
}

.opening-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
    position: relative;
    z-index: 3;
    opacity: 0;
    animation: creditsRollUp 2s ease-out 1s forwards;
}

@keyframes creditsRollUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-to-projects {
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInSlide 1s ease-out 2s forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.back-to-projects a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #CCCCCC;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 20px;
    border: 1px solid rgba(200, 83, 0, 0.3);
    border-radius: 25px;
    background: rgba(200, 83, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.back-to-projects a:hover {
    color: #FFFFFF;
    border-color: #C85300;
    background: rgba(200, 83, 0, 0.2);
    transform: translateX(-5px);
}

.main-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.project-subtitle {
    font-size: 1.3rem;
    color: #D46E25;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.production-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: #CCCCCC;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 40px;
}

.separator {
    color: #C85300;
    font-size: 1.2rem;
}

.opening-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.film-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.035) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    animation: filmGrainMove 6s infinite;
    opacity: 0.45;
}

.project-opening::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(200, 83, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
}

.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
}

/* New background shapes */
.project-opening .hero-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.project-opening .hero-background-shapes .shape {
    position: absolute;
    opacity: 0.12;
    z-index: 1;
    filter: brightness(1.3);
}

.project-opening .shape-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: #C85300;
    top: -150px;
    right: -150px;
}

.project-opening .shape-2 {
    width: 300px;
    height: 300px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background-color: #D46E25;
    bottom: -100px;
    left: -100px;
    animation: morphShape 15s infinite alternate;
}

.project-opening .shape-3 {
    width: 200px;
    height: 200px;
    background-color: #8B4513;
    transform: rotate(45deg);
    top: 50%;
    right: 10%;
}

@keyframes morphShape {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Director's Brief Section */
.directors-brief {
    padding: 100px 0;
    background: #1F1F1F;
    position: relative;
}

.directors-brief::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(90deg,
            transparent 0px,
            transparent 50px,
            rgba(200, 83, 0, 0.03) 50px,
            rgba(200, 83, 0, 0.03) 52px);
    pointer-events: none;
}

.brief-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    color: #FFFFFF;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #C85300, #D46E25);
}

.brief-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: stretch;
}

.story-card {
    background: #323233;
    border: 4px solid #3f3f3f;
    border-radius: 15px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border-left: 6px solid #C85300;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.story-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: #D46E25;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.story-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #CCCCCC;
    margin-bottom: 20px;
}

.story-card strong {
    color: #FFFFFF;
    font-weight: 600;
}

.details-monitor {
    background: #323233;
    border: 4px solid #3f3f3f;
    border-radius: 15px;
    padding: 35px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.details-monitor::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 20px;
    background: #C85300;
    color: #FFFFFF;
    padding: 6px 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 15px;
    content: 'PRODUCTION DETAILS';
}

.monitor-screen {
    background: #1A1A1A;
    border: 2px solid #3f3f3f;
    border-radius: 10px;
    padding: 25px;
    flex: 1;
}

.detail-section {
    margin-bottom: 25px;
}

.detail-section h4 {
    font-size: 0.9rem;
    color: #C85300;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.detail-section p {
    color: #CCCCCC;
    font-size: 0.95rem;
}

.focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.tag {
    background: rgba(200, 83, 0, 0.1);
    border: 1px solid rgba(200, 83, 0, 0.3);
    border-radius: 15px;
    padding: 4px 10px;
    font-size: 0.75rem;
    color: #CCCCCC;
    font-weight: 500;
}

.criteria-list {
    margin-top: 10px;
}

.criteria-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #CCCCCC;
}

.criteria-item i {
    color: #C85300;
    width: 16px;
}

/* New Evaluation Criteria Grid */
.evaluation-criteria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.criteria-card {
    background: #323233;
    border: 3px solid #3f3f3f;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    border-top: 4px solid #C85300;
    
    /* Add these lines for equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 200px;
}

.criteria-card:hover {
    transform: translateY(-5px);
    border-color: #C85300;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(200, 83, 0, 0.3);
}

.criteria-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #C85300, #D46E25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FFFFFF;
    margin: 0 auto 20px auto;
    transition: all 0.3s ease;
}

.criteria-card:hover .criteria-icon {
    transform: scale(1.1);
}

.criteria-card h4 {
    font-size: 1.1rem;
    color: #FFFFFF;
    margin-bottom: 12px;
    font-weight: 600;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.criteria-card p {
    color: #CCCCCC;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Screening Room Section */
.screening-room {
    padding: 100px 0;
    background: #29292b;
    position: relative;
}

.screening-room::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(255,255,255,0.015) 1px, transparent 1px),
        radial-gradient(circle at 70% 30%, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 70px 70px, 120px 120px;
    animation: screeningGrain 12s infinite linear;
    pointer-events: none;
    opacity: 0.4;
}

@keyframes screeningGrain {
    0% { background-position: 0 0, 40px 60px; }
    100% { background-position: 70px 70px, 160px 180px; }
}

.screening-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    text-align: center;
    color: #CCCCCC;
    margin-bottom: 60px;
    font-size: 1rem;
}

.dual-projectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.projector-setup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.projector {
    width: 80px;
    height: 50px;
    background: linear-gradient(145deg, #3f3f3f, #2A2A2A);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.projector-lens {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, #1A1A1A 30%, #333 100%);
    border: 3px solid #555;
    border-radius: 50%;
}

.projector-light {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    animation: projectorBlink 3s infinite;
}

.projector-light.active {
    background: #00ff00;
    animation: projectorActive 1s infinite;
}

@keyframes projectorBlink {
    0%, 70% { opacity: 1; }
    71%, 100% { opacity: 0.3; }
}

@keyframes projectorActive {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.6; }
}

.screen-frame {
    background: #323233;
    border: 6px solid #3f3f3f;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
    transition: all 0.4s ease;
}

.screen-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
}

.screen-frame.redesigned {
    border-color: #C85300;
    box-shadow: 0 20px 40px rgba(0,0,0,0.7), 0 0 30px rgba(200, 83, 0, 0.3);
}

.screen-header {
    background: #2A2A2A;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #3f3f3f;
}

.screen-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.recording-dots {
    display: flex;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #555;
    border-radius: 50%;
    animation: dotBlink 2s infinite;
}

.dot.active {
    background: #C85300;
    animation: dotActive 1s infinite;
}

.dot:nth-child(2) { animation-delay: 0.3s; }
.dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes dotBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

@keyframes dotActive {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

.screen-content {
    padding: 25px;
    background: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.screen-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    opacity: 0;
    transition: all 0.8s ease-in-out;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.screen-content img.loaded {
    opacity: 1;
    animation: darkroomDevelop 1.5s ease-out;
}

@keyframes darkroomDevelop {
    0% { 
        opacity: 0;
        filter: contrast(0) brightness(2);
        transform: scale(1.1);
    }
    30% { 
        opacity: 0.3;
        filter: contrast(0.5) brightness(1.5);
        transform: scale(1.05);
    }
    70% { 
        opacity: 0.7;
        filter: contrast(1.2) brightness(1.1);
        transform: scale(1.02);
    }
    100% { 
        opacity: 1;
        filter: contrast(1) brightness(1);
        transform: scale(1);
    }
}

.screening-controls {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.control-btn {
    background: linear-gradient(135deg, #C85300, #D46E25);
    color: #FFFFFF;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.control-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(200, 83, 0, 0.4);
}

/* Post-Production Analysis */
.post-production {
    padding: 100px 0;
    background: #1F1F1F;
    position: relative;
}

.post-production::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg,
            transparent 0px,
            transparent 100px,
            rgba(200, 83, 0, 0.02) 100px,
            rgba(200, 83, 0, 0.02) 102px);
    pointer-events: none;
}

.production-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.analysis-studio {
    margin-top: 60px;
}

.editing-bay {
    background: #323233;
    border: 4px solid #3f3f3f;
    border-radius: 15px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.editing-bay::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 20px;
    background: #C85300;
    color: #FFFFFF;
    padding: 6px 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 15px;
    content: 'EDITING STATION';
}

.edit-station {
    background: #2A2A2A;
    border: 2px solid #3f3f3f;
    border-radius: 10px;
    padding: 30px;
}

.station-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3f3f3f;
}

.station-header h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #00ff00;
    border-radius: 50%;
    animation: statusBlink 2s infinite;
}

@keyframes statusBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

.improvements-list {
    display: grid;
    gap: 25px;
}

.improvement-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(200, 83, 0, 0.05);
    border: 1px solid rgba(200, 83, 0, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.improvement-item:hover {
    background: rgba(200, 83, 0, 0.1);
    border-color: rgba(200, 83, 0, 0.4);
    transform: translateX(10px);
}

.improvement-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #C85300, #D46E25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #FFFFFF;
    flex-shrink: 0;
}

.improvement-content h4 {
    font-size: 1.1rem;
    color: #FFFFFF;
    margin-bottom: 8px;
    font-weight: 600;
}

.improvement-content p {
    color: #CCCCCC;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* End Credits Section */
.end-credits {
    padding: 100px 0;
    background: #29292b;
    position: relative;
}

.end-credits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.02) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 60px 60px, 100px 100px;
    animation: creditsGrain 10s infinite linear;
    pointer-events: none;
    opacity: 0.3;
}

@keyframes creditsGrain {
    0% { background-position: 0 0, 30px 50px; }
    100% { background-position: 60px 60px, 130px 150px; }
}

.credits-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.credits-roll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.credit-card {
    background: #323233;
    border: 3px solid #3f3f3f;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.credit-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: #C85300;
    box-shadow: 0 25px 50px rgba(0,0,0,0.7), 0 0 30px rgba(200, 83, 0, 0.4);
}

.credit-poster {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #1A1A1A;
}

.credit-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.4s ease;
}

.credit-poster img.loaded {
    opacity: 1;
    animation: posterReveal 1.2s ease-out;
}

@keyframes posterReveal {
    0% { 
        opacity: 0;
        transform: scale(1.1);
        filter: blur(5px);
    }
    100% { 
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
}

.credit-card:hover .credit-poster img {
    transform: scale(1.05);
}

.credit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(200, 83, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.credit-card:hover .credit-overlay {
    opacity: 1;
}

.view-credit {
    padding: 10px 20px;
    background: #FFFFFF;
    color: #C85300;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-credit:hover {
    background: #D46E25;
    color: #FFFFFF;
    transform: scale(1.05);
}

.credit-info {
    padding: 25px;
}

.credit-info h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: #FFFFFF;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.credit-type {
    font-size: 0.8rem;
    color: #C85300;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.credit-description {
    font-size: 0.9rem;
    color: #CCCCCC;
    line-height: 1.6;
}

/* ========== ENHANCED FOOTER WITH SUBTLE ENTRY ========== */
.footer {
    background: linear-gradient(180deg, #070707 0%, #000000 100%);
    padding: 80px 0 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(200, 83, 0, 0.3);
    box-shadow: 0 -4px 20px rgba(200, 83, 0, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.02) 1px, transparent 1px), 
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    animation: filmGrain 6s infinite;
    pointer-events: none;
    opacity: 0.3;
    will-change: background-position;
}

/* Subtle top glow effect */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(200, 83, 0, 0.4) 25%,
        rgba(212, 110, 37, 0.6) 50%, 
        rgba(200, 83, 0, 0.4) 75%,
        transparent 100%);
    animation: subtleGlow 8s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.footer-content {
    position: relative;
    z-index: 2;
}

.cta-section {
    margin-bottom: 60px;
}

.cta-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.cta-section p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #CCCCCC;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    transition: transform 0.3s ease;
    will-change: transform;
}

.cta-button:hover {
    transform: translateY(-3px);
}

.cta-button img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-divider {
    width: calc(100% - 40px);
    max-width: 1160px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #333, transparent);
    margin: 0 auto 40px auto;
}

.copyright {
    text-align: center;
}

.copyright-frame {
    display: inline-block;
    position: relative;
    padding: 12px 30px;
    background: #29292b;
    border: 1px solid #3f3f3f;
    border-radius: 6px;
}

.film-edge {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10px;
    background-image: repeating-linear-gradient(0deg, 
        #3f3f3f 0px, #3f3f3f 6px, 
        #1D1D1F 6px, #1D1D1F 8px);
}

.film-edge.left {
    left: 0;
    border-radius: 6px 0 0 6px;
}

.film-edge.right {
    right: 0;
    border-radius: 0 6px 6px 0;
}

.copyright-text {
    font-size: 0.9rem;
    color: #C85300;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .brief-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dual-projectors {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .credits-roll {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .evaluation-criteria {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: 40px;
    }

}

@media (max-width: 768px) {
    /* Header adjustments */
    .atmospheric-nav {
        display: none;
    }

    .mobile-trigger {
        display: block;
    }

    .header-content {
        padding: 0 25px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .theater-header {
        height: 75px;
        box-shadow: 0 3px 15px rgba(200, 83, 0, 0.25), 
                    0 6px 30px rgba(200, 83, 0, 0.12);
    }

    body {
        padding-top: 75px;
    }

    .cinema-mobile-nav {
        top: 0;
    }

    .mobile-nav-link {
        font-size: 1.6rem;
        letter-spacing: 2px;
        padding: 16px 35px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
    .project-opening {
        min-height: 70vh;
        padding-top: 40px;
    }

    .opening-content {
        padding: 0 25px;
    }

    .main-title {
        font-size: 3rem;
    }

    .production-details {
        flex-direction: column;
        gap: 10px;
    }

    .brief-content,
    .screening-content,
    .production-content,
    .credits-content {
        padding: 0 25px;
    }

    .projector-setup {
        gap: 20px;
    }

    .screen-content {
        min-height: 300px;
        padding: 20px;
    }

    .screening-controls {
        gap: 15px;
    }

    .control-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .improvements-list {
        gap: 20px;
    }

    .improvement-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .credits-roll {
        grid-template-columns: 1fr;
    }

    .mobile-nav-link {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .evaluation-criteria {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .criteria-card {
        padding: 20px;
        min-height: 200px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        justify-content: flex-start;
    }
    
    .criteria-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 15px;
        flex-shrink: 0;
    }
    
    .criteria-card h4 {
        margin-bottom: 10px;
        flex-shrink: 0;
    }
    
    .criteria-card p {
        flex-grow: 1;
        display: flex;
        align-items: center;
    }

    .project-opening .shape-1 {
        width: 250px;
        height: 250px;
        top: -100px;
        right: -100px;
    }

    .project-opening .shape-2 {
        width: 200px;
        height: 200px;
        bottom: -75px;
        left: -75px;
    }

    .project-opening .shape-3 {
        width: 120px;
        height: 120px;
        top: 45%;
        right: 5%;
    }
}

@media (max-width: 480px) {
    .theater-header {
        height: 65px;
        box-shadow: 0 2px 12px rgba(200, 83, 0, 0.2), 
                    0 4px 25px rgba(200, 83, 0, 0.1);
    }

    body {
        padding-top: 65px;
    }

    .cinema-mobile-nav {
        top: 0;
    }

    .header-content {
        padding: 0 20px;
    }

    .mobile-trigger {
        width: 34px;
        height: 26px;
    }

    .trigger-line {
        width: 12px;
        margin: 2.5px 0;
    }

    .mobile-nav-link {
        font-size: 1.4rem;
        letter-spacing: 2px;
        padding: 14px 30px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
    .main-title {
        font-size: 2.5rem;
    }

    .opening-content,
    .brief-content,
    .screening-content,
    .production-content,
    .credits-content {
        padding: 0 20px;
    }

    .story-card,
    .details-monitor,
    .editing-bay {
        padding: 25px;
    }

    .screen-content {
        padding: 15px;
        min-height: 250px;
    }

    .improvement-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .project-opening .shape-1 {
        width: 180px;
        height: 180px;
        top: -75px;
        right: -75px;
    }

    .project-opening .shape-2 {
        width: 150px;
        height: 150px;
        bottom: -50px;
        left: -50px;
    }

    .project-opening .shape-3 {
        width: 100px;
        height: 100px;
        top: 40%;
        right: 3%;
    }

    .criteria-card {
        min-height: 180px;
        padding: 18px;
    }
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0A0A0A;
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #C85300 0%, #D46E25 50%, #FF8C00 100%);
    border-radius: 10px;
    border: 2px solid #0A0A0A;
    box-shadow: 0 0 10px rgba(200, 83, 0, 0.5);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #D46E25 0%, #FF8C00 50%, #FFA500 100%);
    box-shadow: 0 0 15px rgba(200, 83, 0, 0.8);
    transform: scale(1.1);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, #B8460F 0%, #C85300 50%, #D46E25 100%);
}

::-webkit-scrollbar-corner {
    background: #0A0A0A;
}

/* Firefox scrollbar support */
html {
    scrollbar-width: thin;
    scrollbar-color: #C85300 #0A0A0A;
    scroll-behavior: smooth;
}