/* Video Loading Overlay */
.video-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    /* Stack spinner and text */
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

.video-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Premium Spinner Animation */
.spinner {
    width: 180px;
    height: 180px;
    position: relative;
    border: 9px solid rgba(51, 193, 207, 0.1);
    /* Thicker border for larger size */
    border-radius: 50%;
    border-top-color: #33c1cf;
    /* "Usage Blue" #33c1cf */
    animation: spin 1s ease-in-out infinite;
    box-shadow: 0 0 60px rgba(51, 193, 207, 0.2);
    /* Larger shadow spread */
}

/* Inner pulsing circle */
.spinner::after {
    content: '';
    position: absolute;
    top: 30px;
    /* Scaled spacing */
    left: 30px;
    right: 30px;
    bottom: 30px;
    border-radius: 50%;
    background-color: #33c1cf;
    /* "Usage Blue" */
    opacity: 0.2;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

/* Loading Text */
.loading-text {
    margin-top: 50px;
    /* Increased separation */
    color: #000000;
    /* Black text */
    font-family: 'Reggae One', sans-serif;
    /* Site font */
    font-size: 3.6rem;
    /* 3x size */
    text-transform: uppercase;
    /* Uppercase */
    letter-spacing: 5px;
    /* Slightly wider tracking */
    font-weight: 400;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    from {
        transform: scale(0.8);
        opacity: 0.2;
    }

    to {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

#home .container {
    position: relative;
}