/* Custom scrollbar for marquees and horizontal lists */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Lenis Smooth Scroll Recommended CSS */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-scroll-container] {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}
.lenis.lenis-smooth iframe.video-embed,
.lenis.lenis-smooth #lightbox-iframe {
  pointer-events: auto;
}

/* Custom Cursor */
body {
    cursor: none; /* Hide default cursor */
}
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), height 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s;
    will-change: transform;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
.custom-cursor.hover-link {
    width: 56px;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
}
.custom-cursor.hover-video {
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.6);
    mix-blend-mode: normal;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 60px rgba(182, 196, 255, 0.3);
}
.custom-cursor.hover-video::after {
    content: none;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background-color: #0a0b0f;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.45s ease, visibility 0.45s ease;
    will-change: transform, opacity;
}
#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-100%);
}
.preloader-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: white;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); /* Initial hidden state for GSAP */
    background: linear-gradient(135deg, #b6c4ff 0%, #ffffff 50%, #b6c4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Film Grain Overlay - Enhanced */
.film-grain {
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200%;
    background: transparent url('https://upload.wikimedia.org/wikipedia/commons/7/76/1k_Dissolve_Noise_Texture.png') repeat 0 0;
    background-size: 200px 200px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 9998;
    animation: grain-animation 0.5s steps(10) infinite;
}
@keyframes grain-animation {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
    100% { transform: translate(5%, 0); }
}

/* Enhanced Glass Panel Effect */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.glass-panel:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(182, 196, 255, 0.3);
    box-shadow: 0 12px 48px rgba(182, 196, 255, 0.15);
}

/* Enhanced Video Container Styles */
.custom-player-container {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease;
}
.custom-player-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(182, 196, 255, 0.2), 0 2px 20px rgba(182, 196, 255, 0.1);
}
.custom-player-container iframe {
    transition: filter 0.4s ease;
}
.custom-player-container:hover iframe {
    filter: brightness(1.1) saturate(1.1);
}
.custom-player-container {
    touch-action: pan-y pinch-zoom;
}

/* Responsive video gallery helpers */
.video-gallery {
    align-items: start;
}
.video-card {
    position: relative;
    width: 100%;
}
.video-card--landscape {
    aspect-ratio: 16 / 9;
}
.video-card--short {
    aspect-ratio: 9 / 16;
    max-width: min(100%, 26rem);
    margin-inline: auto;
}
.video-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Smooth Image Zoom on Hover */
.parallax-image, .tilt-card-inner img {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.parallax-image:hover, .tilt-card-inner:hover img {
    transform: scale(1.08);
}

/* Enhanced Text Outline Effect */
.text-outline {
    -webkit-text-stroke: 1px rgba(255,255,255,0.15);
    color: transparent;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.text-outline:hover {
    color: white;
    -webkit-text-stroke: 0px;
    text-shadow: 0 0 30px rgba(255,255,255,0.5);
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #b6c4ff 0%, #ffffff 50%, #c6c6c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Button Styles */
.magnetic, .hamburger-btn {
    position: relative;
    overflow: hidden;
}
.magnetic::before, .hamburger-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(182, 196, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.magnetic:hover::before, .hamburger-btn:hover::before {
    opacity: 1;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #b6c4ff, #0057ff);
    z-index: 10001;
    transform-origin: left;
    transform: scaleX(0);
    box-shadow: 0 0 10px rgba(182, 196, 255, 0.5);
}

/* Back to Top Button Enhancement */
.back-to-top {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.6;
}
.back-to-top:hover {
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(182, 196, 255, 0.3);
}

/* Mobile Menu Enhancement */
.mobile-menu-overlay {
    background: linear-gradient(180deg, rgba(10, 11, 15, 0.98) 0%, rgba(10, 11, 15, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.mobile-menu-overlay a {
    position: relative;
    transition: all 0.3s ease;
}
.mobile-menu-overlay a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #b6c4ff;
    transition: width 0.3s ease;
}
.mobile-menu-overlay a:hover::after {
    width: 100%;
}

/* Typography Animations */
.char {
    display: inline-block;
    will-change: transform, opacity;
}
.line {
    overflow: hidden;
}

/* Magnetic Items */
.magnetic {
    display: inline-block;
}

/* Marquee Animation */
.marquee-container {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.marquee-content {
    display: flex;
    animation: scroll 20s linear infinite;
}
.marquee-content.reverse {
    animation: scroll-reverse 20s linear infinite;
}
.marquee-item {
    padding: 0 4rem;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scroll-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Outline Text Effect */
.text-outline {
    -webkit-text-stroke: 1px rgba(255,255,255,0.2);
    color: transparent;
}
.text-outline:hover {
    color: white;
    -webkit-text-stroke: 0px;
    transition: all 0.3s ease;
}

/* Image Parallax Container */
.parallax-container {
    overflow: hidden;
    position: relative;
}
.parallax-image {
    height: 120%;
    width: 100%;
    object-fit: cover;
}

/* GSAP Basic Reveal classes */
.gsap-reveal {
    opacity: 0;
    visibility: hidden;
}

/* Cinematic Film Grain Overlay */
.film-grain {
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200%;
    background: transparent url('https://upload.wikimedia.org/wikipedia/commons/7/76/1k_Dissolve_Noise_Texture.png') repeat 0 0;
    background-size: 200px 200px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 9998; /* Just below cursor */
    animation: grain-animation 0.5s steps(10) infinite;
}

@keyframes grain-animation {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
    100% { transform: translate(5%, 0); }
}

/* Page Transition Blackout */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background-color: #000;
    z-index: 10001; /* Above preloader */
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

/* Video Hover Distortions */
.hover-distort {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.hover-distort:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) scale3d(1.02, 1.02, 1.02);
}

/* Cinematic Glowing Orb */
.cinematic-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 87, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-glow-orb 8s ease-in-out infinite alternate;
}
@keyframes pulse-glow-orb {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* Canvas Design Grid */
.canvas-grid {
    background-size: 100px 100px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-position: center center;
}

/* Blinking REC Indicator */
.blink {
    animation: blink-animation 2s infinite;
}
@keyframes blink-animation {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* Rotating SVG Animation */
.animate-spin-slow {
    animation: spin 15s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Aurora Fluid Backgrounds */
.aurora-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background-color: #050505;
}
.aurora-blob {
    position: absolute;
    filter: blur(120px);
    opacity: 0.6;
    animation: float-aurora 20s infinite alternate ease-in-out;
    mix-blend-mode: screen;
    will-change: transform, filter;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}
.aurora-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(120,0,255,0.8) 0%, transparent 70%);
    animation-delay: 0s;
}
.aurora-2 {
    bottom: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(255,0,100,0.6) 0%, transparent 70%);
    animation-delay: -5s;
}
.aurora-3 {
    top: 40%;
    left: 20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0,200,255,0.5) 0%, transparent 70%);
    animation-delay: -10s;
}
@keyframes float-aurora {
    0% { transform: translate(0, 0) scale(1) translateZ(0); }
    33% { transform: translate(10vw, -10vh) scale(1.1) translateZ(0); }
    66% { transform: translate(-5vw, 15vh) scale(0.9) translateZ(0); }
    100% { transform: translate(-15vw, -5vh) scale(1.2) translateZ(0); }
}

/* Extreme Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    will-change: transform, backdrop-filter;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* ===== MOBILE HAMBURGER MENU ===== */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    pointer-events: auto;
    z-index: 60;
    position: relative;
}
.hamburger-btn .bar {
    display: block;
    width: 28px;
    height: 2px;
    background: white;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    transform-origin: center;
}
.hamburger-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Fullscreen Mobile Menu Overlay */
nav {
    z-index: 120 !important;
}
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 105 !important;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.mobile-menu-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(120, 0, 255, 0.18), transparent 40%),
        radial-gradient(circle at bottom right, rgba(255, 0, 100, 0.16), transparent 38%);
    pointer-events: none;
}
.mobile-menu-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.mobile-menu-overlay a {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.2;
}
.mobile-menu-overlay a:hover,
.mobile-menu-overlay a.active-link {
    color: white;
}
.mobile-menu-overlay .menu-footer {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.mobile-menu-overlay .menu-footer span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.3);
}
body.menu-open {
    overflow: hidden;
}
body.menu-open nav {
    mix-blend-mode: normal;
}
body.menu-open .scroll-progress,
body.menu-open .back-to-top,
body.menu-open .custom-cursor {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hide hamburger on desktop */
@media (min-width: 768px) {
    .hamburger-btn { display: none; }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background 0.3s ease;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== MOBILE PERFORMANCE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    /* Reduce Aurora blur on mobile for performance */
    .aurora-blob {
        filter: blur(48px);
    }
    .film-grain {
        display: none;
    }
    /* Disable custom cursor on mobile */
    body { cursor: auto; }
    .custom-cursor { display: none !important; }
    .video-gallery {
        gap: 1.5rem;
    }
    .video-card {
        border-radius: 1.5rem;
    }
    .video-card--short {
        max-width: min(100%, 22rem);
    }
    .lenis.lenis-smooth iframe {
        pointer-events: auto;
    }
}

/* Disable cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    body { cursor: auto; }
    .custom-cursor { display: none !important; }
    .lenis.lenis-smooth iframe {
        pointer-events: auto;
    }
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff0064, #7800ff, #00c8ff);
    z-index: 9999;
    transform-origin: left;
    transform: scaleX(0);
    transition: none;
    will-change: transform;
}

/* ---------- CINEMATIC FEATURES ---------- */

/* Custom Play Cursor */
.custom-cursor {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-cursor.active {
    opacity: 1;
}

.custom-cursor span {
    display: none;
}

/* Roll-up Text Links */
.roll-link {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    text-decoration: none;
    line-height: 1;
}

.roll-link span {
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.roll-link::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 100%;
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.roll-link:hover span {
    transform: translateY(-100%);
}

.roll-link:hover::after {
    transform: translateY(-100%);
}

/* Service Cards */
.tilt-card,
.tilt-card-inner {
    transform: none;
}

/* Hero Cinema Block */
.hero-cinema-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.4rem, 3vw, 2.6rem);
    align-items: center;
    padding-top: clamp(4.8rem, 7vw, 6.25rem);
}
.hero-cinema-copy {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.8rem);
    border-radius: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at top left, rgba(255, 171, 71, 0.18), transparent 45%),
        linear-gradient(145deg, rgba(20, 20, 24, 0.96), rgba(9, 9, 12, 0.82));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}
.hero-cinema-footer {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1rem;
    align-items: stretch;
}
.hero-cinema-kicker,
.hero-cinema-proof span,
.hero-cinema-frame-label,
.hero-cinema-notes span,
.hero-cinema-details span,
.hero-cinema-tags span,
.hero-cinema-stats span {
    font-family: var(--font-label, "Space Grotesk", sans-serif);
    text-transform: uppercase;
    letter-spacing: 0.22em;
}
.hero-cinema-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.68);
}
.hero-cinema-kicker::before {
    content: "";
    width: 2.4rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 171, 71, 0.9), transparent);
}
.hero-cinema-title {
    margin: 1rem 0 0;
    max-width: 11ch;
    font-size: clamp(2.6rem, 4.6vw, 4.6rem);
    line-height: 0.93;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    font-weight: 900;
    color: #fff;
    text-wrap: balance;
}
.hero-cinema-description {
    margin: 1.2rem 0 0;
    max-width: 36rem;
    font-size: clamp(1rem, 1.65vw, 1.16rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
}
.hero-cinema-tags,
.hero-cinema-contact,
.hero-cinema-details,
.hero-cinema-stats,
.hero-cinema-notes {
    display: flex;
    flex-wrap: wrap;
}
.hero-cinema-tags {
    gap: 0.7rem;
    margin-top: 1.8rem;
}
.hero-cinema-tags span {
    padding: 0.82rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.88);
}
.hero-cinema-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.4rem;
}
.hero-cinema-details div {
    min-width: 0;
    padding: 0.9rem 0.95rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-cinema-details span,
.hero-cinema-proof span,
.hero-cinema-notes span {
    display: block;
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.52);
}
.hero-cinema-details strong,
.hero-cinema-proof p,
.hero-cinema-frame-label {
    display: block;
    margin-top: 0.45rem;
    color: #fff;
}
.hero-cinema-details strong {
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}
.hero-cinema-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.hero-cinema-stats div {
    min-width: 0;
    padding: 1.15rem 1.1rem;
    border-radius: 1.45rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-cinema-stats strong,
.hero-cinema-stats span {
    display: block;
}
.hero-cinema-stats strong {
    font-size: 1.45rem;
    color: #fff;
    letter-spacing: -0.03em;
}
.hero-cinema-stats span {
    margin-top: 0.28rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.64rem;
}
.hero-cinema-proof,
.hero-cinema-contact {
    padding: 1.3rem 1.35rem;
    border-radius: 1.65rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}
.hero-cinema-proof p {
    margin: 0.6rem 0 0;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}
.hero-cinema-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.9rem;
}
.hero-cinema-cta,
.hero-cinema-mail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    padding: 0.95rem 1.3rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
}
.hero-cinema-cta {
    background: #ffffff;
    color: #0a0b0f;
    text-transform: uppercase;
}
.hero-cinema-mail {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    text-transform: none;
    letter-spacing: 0.04em;
}
.hero-cinema-player {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.hero-cinema-frame {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 2.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.4);
    background: rgba(6, 7, 10, 0.8);
}
.hero-cinema-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.hero-cinema-frame-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    padding: 0.75rem 0.95rem;
    border-radius: 999px;
    background: rgba(10, 10, 14, 0.55);
    backdrop-filter: blur(12px);
    font-size: 0.66rem;
}
.hero-cinema-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050608;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.hero-cinema-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
}
.hero-cinema-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.55));
}
.hero-cinema-cover-play {
    position: absolute;
    z-index: 3;
    width: 5.25rem;
    height: 5.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-cinema-cover-play .material-symbols-outlined {
    font-size: 2.4rem;
    color: #fff;
}
.video-card-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #050608;
}
.video-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
}
.video-card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.42));
}
.video-card-cover-play {
    position: absolute;
    z-index: 3;
    width: 4.5rem;
    height: 4.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.26);
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.video-card-cover-play .material-symbols-outlined {
    font-size: 2rem;
    color: #fff;
}
.hero-cinema-notes {
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    padding: 0 0.3rem;
}
.hero-cinema-notes span:last-child {
    color: rgba(255, 255, 255, 0.78);
}
.hero-cinema-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.5;
    pointer-events: none;
}
.hero-cinema-orb--amber {
    top: 7rem;
    left: -4rem;
    width: 16rem;
    height: 16rem;
    background: rgba(255, 168, 76, 0.24);
}
.hero-cinema-orb--violet {
    right: -5rem;
    bottom: 6rem;
    width: 20rem;
    height: 20rem;
    background: rgba(85, 70, 255, 0.15);
}

/* ---------- OPTIMIZATIONS ---------- */
.parallax-image,
.parallax-container,
.tilt-card,
.tilt-card-inner,
.gs-intro,
.gs-reveal {
    will-change: transform, opacity;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 100, 100, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 100, 100, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 100, 100, 0); }
}

/* Lightbox Styling */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    will-change: opacity;
}

.lightbox-bg {
    position: absolute;
    inset: 0;
    background-color: rgba(6, 7, 10, 0.98);
    backdrop-filter: blur(20px);
}

.lightbox-content-container {
    position: relative;
    width: 90%;
    max-width: 72rem;
    aspect-ratio: 16/9;
    z-index: 10;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.video-lightbox.open .lightbox-content-container {
    transform: scale(1);
}
.lightbox-content-container--short {
    max-width: min(90vw, 28rem);
    aspect-ratio: 9/16;
}
.lightbox-content-container--landscape {
    max-width: min(92vw, 72rem);
    aspect-ratio: 16/9;
}

.lightbox-iframe-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
    background-color: #000;
}

.lightbox-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.lightbox-close span {
    font-size: 24px !important;
}

/* Adjustments for desktop */
@media (min-width: 768px) {
    .lightbox-close {
        top: 0;
        right: -60px;
    }
    .lightbox-content-container--short {
        max-width: 25rem;
    }
}

@media (max-width: 767px) {
    .hero-cinema-shell {
        grid-template-columns: 1fr;
        gap: 1.1rem;
        padding-top: 7.4rem;
    }
    .hero-cinema-copy {
        padding: 1.15rem;
        border-radius: 1.75rem;
    }
    .hero-cinema-footer {
        grid-template-columns: 1fr;
    }
    .hero-cinema-title {
        font-size: clamp(2.35rem, 10vw, 3.4rem);
        line-height: 1.02;
    }
    .hero-cinema-description {
        margin-top: 0.9rem;
        line-height: 1.55;
        font-size: 0.92rem;
    }
    .hero-cinema-kicker {
        font-size: 0.62rem;
        letter-spacing: 0.18em;
    }
    .hero-cinema-tags {
        gap: 0.55rem;
        margin-top: 1.25rem;
    }
    .hero-cinema-tags span {
        padding: 0.66rem 0.84rem;
        font-size: 0.64rem;
    }
    .hero-cinema-details {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
    .hero-cinema-details div:last-child {
        grid-column: 1 / -1;
    }
    .hero-cinema-details div {
        min-width: 0;
        padding: 0.9rem;
    }
    .hero-cinema-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
    }
    .hero-cinema-stats div {
        min-width: 0;
        padding: 0.9rem;
    }
    .hero-cinema-proof,
    .hero-cinema-contact {
        padding: 1rem;
    }
    .hero-cinema-cta,
    .hero-cinema-mail {
        width: 100%;
        padding-inline: 1rem;
    }
    .hero-cinema-mail {
        font-size: 0.68rem;
    }
    .hero-cinema-frame {
        border-radius: 1.6rem;
        aspect-ratio: 16 / 10;
    }
    .hero-cinema-frame-label {
        top: 0.8rem;
        left: 0.8rem;
        font-size: 0.58rem;
        padding: 0.65rem 0.8rem;
    }
    .hero-cinema-cover-play {
        width: 4.35rem;
        height: 4.35rem;
    }
    .hero-cinema-cover-play .material-symbols-outlined {
        font-size: 2rem;
    }
    .video-card-cover-play {
        width: 3.9rem;
        height: 3.9rem;
    }
    .video-card-cover-play .material-symbols-outlined {
        font-size: 1.8rem;
    }
    .hero-cinema-notes {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        padding: 0;
    }
    .hero-cinema-notes span {
        font-size: 0.62rem;
    }
    .hero-cinema-orb--amber {
        width: 10rem;
        height: 10rem;
        left: -3rem;
        top: 8rem;
    }
    .hero-cinema-orb--violet {
        width: 13rem;
        height: 13rem;
        right: -5rem;
        bottom: 10rem;
    }
}
