:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --neon-sea: #12a1ae;
    /* Updated User Color */
    --neon-sea-dark: #0e7a85;
    /* Darker shade of #12a1ae */
    --glass-bg: rgba(18, 161, 174, 0.05);
}

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

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* V18: Prevent scrolling on Samsung A54 */
    touch-action: none;
    /* V18: Disable touch scroll gestures */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    /* V17: Background moved to ::before to prevent jitter */
    color: var(--text-color);
    /* V19: Restore 100dvh for proper mobile sizing */
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
    /* Context for pseudo-elements */
}

/* V17: Fixed Background Layer */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('media__1771352746474.jpg');
    background-size: cover;
    background-position: center;
    /* V18: Ensure centered zoom */
    z-index: -2;
}

.container {
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    /* V18: Match body height */
    /* V19: Ensure container respects dynamic viewport */
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5vh;
}

/* Main Content takes available space, pushing footer down */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    align-items: center;
}

/* Background Animations */
.neon-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neon-sea-dark), transparent 70%);
    opacity: 0.2;
    filter: blur(80px);
    z-index: -1;
    /* animation: float 10s infinite ease-in-out; - V18: REMOVED ANIMATION */
}

.neon-circle:nth-child(1) {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -100px;
}

.neon-circle.small {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    background: radial-gradient(circle, var(--neon-sea), transparent 70%);
    /* animation: float 15s infinite ease-in-out reverse; - V18: REMOVED ANIMATION */
}

/* @keyframes float { REMOVED IN V18 } */

/* Typography & Neon Effects */
.neon-text {
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--neon-sea),
        0 0 40px var(--neon-sea),
        0 0 80px var(--neon-sea);
}

.logo {
    max-width: 400px;
    /* V15: Small Desktop Logo */
    width: 90%;
    height: auto;
    margin-bottom: 3vh;
    filter: drop-shadow(0 0 10px rgba(18, 161, 174, 0.5));
}

.headline {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, var(--neon-sea));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-headline {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 4vh;
    letter-spacing: 1px;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    /* Default gap */
    margin-bottom: 5vh;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 600px;
    /* V16: Much narrower desktop clock */
}

/* Specific desktop override to ensure tight spacing doesn't affect mobile logic if needed, 
   but max-width 600px is fine for desktop. The gap needs to be small. */
@media (min-width: 601px) {
    .countdown-container {
        /* V21: Increased gap per user request (was 0.2rem) */
        gap: 1.5rem;
    }
}

.time-box {
    padding: 0.2rem;
    /* V16: Reduced padding */
    /* V19: Fixed width to prevent "breathing" layout shifts on update */
    width: 85px;
    flex: 0 0 auto;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.time-box:hover {
    transform: translateY(-3px);
    text-shadow: 0 0 25px var(--neon-sea);
}

.time {
    display: inline-block;
    width: 100%;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--neon-sea);
    text-shadow: 0 0 10px rgba(18, 161, 174, 0.5);
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.label {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #aaa;
    letter-spacing: 2px;
}

/* Footer & Socials */
footer {
    width: 100%;
    margin-top: auto;
    /* Sticky Bottom */
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    /* Tight gap */
}

.social-links {
    width: 100%;
}

.social-icon {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    color: var(--neon-sea);
    transform: scale(1.2);
    text-shadow: 0 0 15px var(--neon-sea);
}

.copyright {
    display: block;
    font-size: 0.7rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .headline {
        font-size: 2.5rem;
    }

    .logo {
        max-width: 80%;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0;
        /* height: 100vh; - Handled globally now */
    }

    main {
        padding-top: 1rem;
        /* V20: Reduced from 2rem */
        padding-bottom: 1rem;
        /* V20: Reduced from 2rem */
        justify-content: center;
    }

    .logo {
        max-width: 85%;
        margin-bottom: 1vh;
        /* V20: Reduced from 2vh */
    }

    .headline {
        font-size: 1.5rem;
    }

    .sub-headline {
        margin-bottom: 1rem;
        /* V20: Reduced from 1.5rem */
        font-size: 0.9rem;
    }

    .countdown-container {
        /* V15 Mobile Grid */
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;

        /* V20: Aggressively reduced from 10vh to fit Android */
        margin-top: 4vh;

        flex-wrap: nowrap;
    }

    .time-box {
        flex: unset;
        padding: 0;
        width: 100%;
    }

    .time {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 0;
    }

    .label {
        font-size: 0.7rem;
        color: #bbb;
    }

    footer {
        padding-bottom: 0.5rem;
        /* V20: Reduced from 1.5rem */
        gap: 0.5rem;
        /* V20: Reduced gap */
    }
}