* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "JetBrains Mono", "Segoe UI", Roboto, monospace;
}

body,
html {
    height: 100%;
    width: 100%;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Adaptive Video Container */
.video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Ambient Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
}

/* Main Content UI */
.content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 90%;
    max-width: 1000px;
    padding: 20px;
}

/* Responsive Countdown Grid */
.countdown {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(10px, 2vw, 25px);
    margin-bottom: 40px;
}

.count-item {
    background: rgba(0, 255, 65, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 12px;
    padding: clamp(10px, 2vw, 20px);
    min-width: clamp(70px, 15vw, 110px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.count-item span {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: bold;
    color: #00ff41;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.count-item label {
    font-size: clamp(0.6rem, 1vw, 0.8rem);
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Adaptive Typography */
h1 {
    font-size: clamp(2rem, 8vw, 4.5rem);
    letter-spacing: clamp(5px, 2vw, 12px);
    margin: 15px 0;
    background: linear-gradient(to bottom, #fff 30%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: clamp(0.9rem, 2vw, 1.4rem);
    color: #00ff41;
    margin-bottom: clamp(20px, 5vh, 40px);
    letter-spacing: 2px;
}

/* Subscription Form Layout */
.subscribe-box {
    margin: 0 auto;
    display: flex;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.subscribe-box:focus-within {
    border-color: rgba(0, 255, 65, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.subscribe-box input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: #fff;
    outline: none;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    min-width: 0;
}

.subscribe-box button {
    background: #00ff41;
    color: #000;
    border: none;
    padding: 10px clamp(15px, 3vw, 30px);
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

/* Footer & Status Indicators */
.footer {
    margin-top: clamp(30px, 8vh, 60px);
}

.status-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    color: #666;
}

.dot {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #00ff41;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff41;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Adjustments */
@media (max-width: 400px) {
    .countdown {
        gap: 8px;
    }

    .count-item {
        min-width: 65px;
        padding: 8px;
    }

    .subscribe-box {
        border-radius: 15px;
        flex-direction: column;
        background: transparent;
        border: none;
    }

    .subscribe-box input {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        margin-bottom: 10px;
        text-align: center;
        width: 100%;
    }

    .subscribe-box button {
        border-radius: 10px;
        width: 100%;
        padding: 12px;
    }
}