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

body {
    font-family: 'Outfit', sans-serif;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background-color: #0b020b; /* Darker fallback color */
}

/* Background image with gentle animation */
.background-container {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('bg-18.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: panBackground 40s infinite alternate ease-in-out;
    filter: contrast(1.1) brightness(0.9);
}

@keyframes panBackground {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.05) translate(-2%, -2%); }
}

/* Darker, red/purple tinted overlay */
.overlay {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: linear-gradient(
        135deg,
        rgba(15, 5, 20, 0.7) 0%,
        rgba(40, 0, 20, 0.5) 100%
    );
    z-index: -1;
}

/* Main content glassmorphism container */
.main-content {
    background: rgba(10, 0, 5, 0.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 0, 85, 0.2);
    border-radius: 24px;
    padding: 4rem 5rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 0, 85, 0.15);
    animation: fadeIn 1.5s ease-out;
    max-width: 90%;
    position: relative;
    overflow: hidden;
}

/* Edgy neon inner glow */
.main-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    box-shadow: inset 0 0 40px rgba(255, 0, 85, 0.2);
    pointer-events: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.title {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    /* Neon red/purple gradient */
    background: linear-gradient(to right, #ff0055, #ff00ff, #aa00ff, #ff00ff, #ff0055);
    background-size: 200% auto;
    background-clip: text; /* standard property */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 0, 85, 0.4);
    animation: shine 5s linear infinite;
}

.badge-18 {
    position: absolute;
    top: -10px;
    right: -55px;
    background-color: #ff0055;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    border: 2px solid #fff;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    transform: rotate(10deg);
}

@keyframes shine {
    to { background-position: 200% center; }
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 3.5rem;
    letter-spacing: 2px;
    color: #ffb3d9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9), 0 0 10px rgba(255, 0, 85, 0.5);
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(20, 0, 10, 0.5);
    border: 1px solid rgba(255, 0, 85, 0.3);
    border-radius: 16px;
    padding: 1.5rem 0;
    width: 150px;
    box-shadow: inset 0 0 20px rgba(255, 0, 85, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.time-box::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 85, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: scale(0.5);
}

.time-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 0, 85, 0.3);
    border-color: rgba(255, 0, 85, 0.8);
}

.time-box:hover::after {
    opacity: 1;
    transform: scale(1);
}

.number {
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 0, 85, 0.8), 2px 2px 5px rgba(0, 0, 0, 0.8);
    font-variant-numeric: tabular-nums;
    z-index: 1;
    transition: transform 0.1s ease-out;
    display: inline-block;
}

.label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ff80bf;
    opacity: 0.9;
    z-index: 1;
}

.separator {
    font-size: 3rem;
    font-weight: 300;
    margin-top: -30px;
    color: #ff0055;
    opacity: 0.7;
    text-shadow: 0 0 15px #ff0055;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from { opacity: 0.2; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1.1); text-shadow: 0 0 25px #ff00ff; }
}

.target-date {
    margin-top: 3.5rem;
    font-size: 1rem;
    opacity: 0.8;
    color: #ffb3d9;
    font-weight: 300;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 0.6rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 85, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.2);
}

@media (max-width: 850px) {
    .countdown-container {
        gap: 1rem;
    }
    .main-content {
        padding: 3rem 2rem;
    }
    .title {
        font-size: 2.8rem;
    }
    .time-box {
        width: 120px;
        padding: 1.2rem 0;
    }
    .number {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .countdown-container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .separator {
        display: none;
    }
    .time-box {
        width: 45%;
    }
}
