/* Reset margins and fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

/* Fullscreen Background Video */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999; 
    pointer-events: none; 
}

#bg-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0.6;
}

/* Center Content Overlay */
.overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); 
}

.content {
    width: 100%;
    max-width: 900px;
}

/* High-Intensity Patriotic Strobing Text */
.flashy-text {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 40px;
    animation: patriot-strobe 1.5s infinite linear;
}

@keyframes patriot-strobe {
    0%, 32% {
        text-shadow: 0 0 15px #FF0000, 0 0 30px #FF0000, 0 0 45px #FF0000;
    }
    33%, 65% {
        text-shadow: 0 0 15px #ffffff, 0 0 30px #ffffff, 0 0 45px #cccccc;
    }
    66%, 100% {
        text-shadow: 0 0 15px #0055ff, 0 0 30px #0055ff, 0 0 45px #0055ff;
    }
}

/* Under Construction Box */
.construction-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    padding: 20px 40px;
    border-radius: 10px;
    display: inline-block;
    max-width: 100%;
}

.construction-box h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 2px;
    background: linear-gradient(to right, #ff2222 0%, #ffffff 50%, #0055ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.construction-box p {
    font-size: 1.2rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Custom Floating Audio Button in Bottom Right */
.audio-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000; 
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.audio-btn:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Mobile Responsiveness (For upright/portrait phone screens)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .flashy-text {
        font-size: 1.8rem; 
        margin-bottom: 30px;
        padding: 0 5px;
        line-height: 1.3;
    }

    .construction-box {
        padding: 15px 15px;
        width: 95%; 
        margin: 0 auto;
    }

    .construction-box h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .construction-box p {
        font-size: 0.9rem;
    }

    .audio-btn {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
        width: 80%;
        max-width: 260px;
        text-align: center;
        font-size: 0.85rem;
        padding: 10px 0;
    }
}