/* Progress Bar */
        .day-light-progress-bar {
            position: fixed;
            top: 0;
            left: 0;
            width: 0%;
            height: 4px;
            background: transparent;
            z-index: 10000;
            pointer-events: none;
            opacity: 0.9;
            transition: width 0.1s linear;
        }

        /* Main Container */
        .day-light-pin-spacer {
            position: relative;
            width: 100%;
            height: 500vh; /* 100vh per second for 5-second video */
            background: #000;
        }

        /* Sticky Section */
        .day-light-sticky-section {
            position: sticky;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            will-change: transform;
            pointer-events: none;
        }

        /* Video Container */
        .day-light-video-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            overflow: hidden;
        }

        .day-light-video {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            opacity: 0;
            transition: opacity 0.8s ease;
            will-change: transform, opacity;
            pointer-events: none;
        }

        .day-light-video.visible {
            opacity: 1;
        }

        /* Loading State */
        .video-loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.2rem;
            font-weight: 300;
            z-index: 2;
            text-align: center;
            transition: opacity 0.5s ease;
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 20px;
            background: rgba(0, 0, 0, 0.5);
        }

        .video-loading-spinner {
            border: 3px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            border-top: 3px solid #f6d365;
            width: 50px;
            height: 50px;
            animation: spin 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
            margin: 0 auto 20px;
        }

        /* Icons Container */
        .day-light-icons-container {
            position: absolute;
            top: 30px;
            right: 30px;
            z-index: 1000;
            display: flex;
            gap: 15px;
            background: rgba(0, 0, 0, 0.6);
            padding: 10px 25px;
            border-radius: 30px;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
            pointer-events: auto;
        }

        .day-light-icon {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.7);
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            cursor: pointer;
            padding: 8px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            position: relative;
        }

        .day-light-icon:hover {
            color: #fff;
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.1);
        }

        .day-light-icon.active {
            color: #f6d365;
            transform: scale(1.15);
            background: rgba(246, 211, 101, 0.15);
            box-shadow: 0 0 25px rgba(246, 211, 101, 0.5);
        }

        .day-light-icon.active::after {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            border-radius: 50%;
            /*border: 2px solid #f6d365;*/
            animation: pulse 2s infinite;
        }

        /* Overlay */
        .day-light-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
            pointer-events: none;
            background: linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.4) 0%,
                transparent 15%,
                transparent 85%,
                rgba(0, 0, 0, 0.4) 100%
            );
        }

        /* Content */
        .day-light-content {
            position: relative;
            z-index: 3;
            max-width: 1200px;
            margin: 0 auto;
            padding: 165px 30px;
            text-align: center;
            will-change: transform, opacity;
            pointer-events: none;
        }

        .day-light-title {
            font-size: 50px;
            font-weight: 700;
            margin-bottom: 30px;
            opacity: 0;
            transform: translateY(50px) scale(0.95);
            transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
            letter-spacing: -0.5px;
            text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
            background: #fff;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .day-light-title.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .day-light-subtitle {
            font-size: 20px;
            font-weight: 300;
            max-width: 900px;
            margin: 0 auto 60px;
            opacity: 0;
            transform: translateY(50px);
            transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.9);
            text-shadow: 0 0 8px #f8f8f8;
        }

        .day-light-subtitle.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Scroll Indicator */
        .day-light-scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            z-index: 100;
            opacity: 1;
            transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
            will-change: opacity, transform;
            pointer-events: none;
        }

        .day-light-scroll-indicator.hidden {
            opacity: 0;
            transform: translateX(-50%) translateY(30px);
            pointer-events: none;
        }

        .day-light-scroll-text {
            font-size: 0.9rem;
            letter-spacing: 4px;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 300;
            margin-bottom: 8px;
            text-transform: uppercase;
        }

        .day-light-scroll-mouse {
            width: 30px;
            height: 50px;
            border: 2px solid rgba(255, 255, 255, 0.8);
            border-radius: 20px;
            position: relative;
            opacity: 0.9;
        }

        .day-light-scroll-mouse::before {
            content: '';
            position: absolute;
            top: 12px;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 12px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 2px;
            animation: scroll-animation 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
        }

        /* Scroll Progress */
        .scroll-progress {
            position: absolute;
            bottom: 40px;
            right: 40px;
            z-index: 1000;
            font-size: 1rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.9);
            background: rgba(0, 0, 0, 0.6);
            padding: 12px 20px;
            border-radius: 25px;
            backdrop-filter: blur(15px);
            pointer-events: none;
            min-width: 70px;
            text-align: center;
        }

        /* Video Time Display */
        .video-time-display {
            position: absolute;
            bottom: 40px;
            left: 40px;
            z-index: 1000;
            font-size: 1rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.9);
            background: rgba(0, 0, 0, 0.6);
            padding: 12px 20px;
            border-radius: 25px;
            backdrop-filter: blur(15px);
            pointer-events: none;
            min-width: 120px;
            text-align: center;
        }

        /* Animations */
        @keyframes scroll-animation {
            0% {
                transform: translateX(-50%) translateY(0);
                opacity: 1;
            }
            70% {
                opacity: 1;
            }
            100% {
                transform: translateX(-50%) translateY(25px);
                opacity: 0;
            }
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }
            50% {
                transform: scale(1.05);
                opacity: 0.7;
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* Responsive Styles */
        @media (max-width: 1024px) {
            .day-light-pin-spacer {
                height: 500vh;
            }
            
            .day-light-icons-container {
                top: 20px;
                right: 20px;
                padding: 15px 20px;
                gap: 12px;
            }
            
            .day-light-icon {
                width: 45px;
                height: 45px;
                font-size: 20px;
                padding: 10px;
            }
            
            .video-time-display {
                left: 20px;
                bottom: 20px;
            }
            
            .scroll-progress {
                right: 20px;
                bottom: 20px;
            }
        }

        @media (max-width: 768px) {
            .day-light-pin-spacer {
                height: 500vh;
            }

            .day-light-icons-container {
                top: 15px;
                right: 15px;
                padding: 12px 16px;
                gap: 10px;
                border-radius: 25px;
            }

            .day-light-icon {
                width: 40px;
                height: 40px;
                font-size: 18px;
                padding: 8px;
            }

            .day-light-content {
                padding: 40px 20px;
            }

            .day-light-title {
                font-size: 3rem;
                margin-bottom: 25px;
            }

            .day-light-subtitle {
                font-size: 1.3rem;
                margin-bottom: 50px;
                line-height: 1.6;
            }
            
            .scroll-progress,
            .video-time-display {
                bottom: 25px;
                font-size: 0.9rem;
                padding: 10px 16px;
            }
            
            .scroll-progress {
                right: 20px;
            }
            
            .video-time-display {
                left: 20px;
            }
            
            .day-light-scroll-indicator {
                bottom: 30px;
            }
        }

        @media (max-width: 480px) {
            .day-light-pin-spacer {
                height: 500vh;
            }

            .day-light-icons-container {
                top: 10px;
                right: 10px;
                padding: 10px 14px;
                gap: 8px;
                border-radius: 20px;
            }

            .day-light-icon {
                width: 36px;
                height: 36px;
                font-size: 16px;
                padding: 7px;
            }

            .day-light-title {
                font-size: 2.5rem;
            }

            .day-light-subtitle {
                font-size: 1.2rem;
                line-height: 1.5;
            }
            
            .scroll-progress,
            .video-time-display {
                bottom: 20px;
                font-size: 0.85rem;
                padding: 8px 14px;
            }
            
            .scroll-progress {
                right: 15px;
            }
            
            .video-time-display {
                left: 15px;
                min-width: 110px;
            }
            
            .video-loading {
                font-size: 1rem;
                padding: 1.5rem;
            }
        }
        
        
        
        /* Optimize performance for mobile */
@media (max-width: 768px) {
    .day-light-video {
        transform: translate(-50%, -50%); /* Fallback for mobile */
    }
    
    .day-light-title,
    .day-light-subtitle {
        transform: translateY(50px) scale(0.95); /* Fallback for mobile */
    }
    
    /* Reduce animation complexity on mobile */
    .day-light-icon.active::after {
        display: none;
    }
}

/* Force GPU acceleration where needed */
.gpu-accelerate {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Prevent flash of unstyled content */
.day-light-video:not(.visible) {
    opacity: 0 !important;
}

/* Improve touch scrolling on mobile */
body {
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y;
}

/* Smooth resize handling */
.day-light-video-container {
    transition: transform 0.3s ease-out;
}

/* Optimize video rendering */
video {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}










/* Fixed content version */
.day-light-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 100%;
    max-width: 1200px;
    padding: 0 30px;
    text-align: center;
    pointer-events: none;
    will-change: transform, opacity;
    margin: 0;
}

/* Adjust title and subtitle to be visible by default */
.day-light-title {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    text-shadow: 0 0 8px #f8f8f8;
}

.day-light-subtitle {
    opacity: 1 !important;
    transform: translateY(0) !important;
}