/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center content vertically */
    padding: clamp(1rem, 2vh, 2rem);
    /* Adaptive vertical padding */
    min-height: 100vh;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* Header Section */
header {
    text-align: center;
    margin-bottom: clamp(1rem, 3vh, 2rem);
    /* Reduced & height-adaptive */
    max-width: 800px;
    width: 100%;
}

.warning-title {
    color: #fff;
    /* Reverted to white */
    font-weight: 900;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    /* Responsive typography */
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Video Section */
.video-container {
    width: 100%;
    /* Limit width based on viewport height to prevent vertical overflow/scrolling */
    max-width: min(800px, 95vw, 100vh);
    /* Stricter limit 110vh -> 100vh */
    aspect-ratio: 16 / 9;
    background: #000;
    margin-bottom: clamp(1rem, 2vh, 2rem);
    /* Even tighter margin */
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    /* Prevent native controls interaction */
}

/* Mute Overlay */
.mute-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
    /* Slight blur for premium feel */
}

.mute-icon-wrapper {
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    animation: pulse-icon 2s infinite;
}

.mute-overlay p {
    color: #fff;
    margin-top: 15px;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 12px;
    border-radius: 4px;
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* CTA Section */
.cta-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 0;
    /* Removed padding to save space */
    min-height: auto;
    /* Allow it to collapse if needed */
    margin-top: 0;
}

.cta-button {
    background: linear-gradient(135deg, #7F00FF 0%, #6a00d6 100%);
    /* Gradient for depth */
    color: white;
    /* Reduced padding and font size for better fit */
    padding: clamp(12px, 2vw, 18px) clamp(25px, 4vw, 50px);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    /* Use mild rounding instead of 0 for better mobile feel */
    cursor: pointer;
    display: none;
    animation: pulse 1.5s infinite;
    box-shadow: 0 5px 15px rgba(127, 0, 255, 0.4);
    text-align: center;
    width: 100%;
    max-width: 500px;
    /* Slightly tighter max width */
    transition: transform 0.2s;
}

.cta-button:active {
    transform: scale(0.98);
}

.cta-button:hover {
    background: linear-gradient(135deg, #6a00d6 0%, #5900b3 100%);
}

/* Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(127, 0, 255, 0.7);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 15px rgba(127, 0, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(127, 0, 255, 0);
    }
}