body {
    margin: 0;
    font-family: 'Baloo 2', cursive;
    background-color: #b3e5fc;
    color: #fff;
    text-align: center;
}

.background-clouds {
    display: block;
    position: fixed;
    top: -5vh;
    left: -5vw;
    width: 110vw;
    height: 110vh;
    z-index: -1;
    background: url('../Sky.png') center center / cover no-repeat;
    pointer-events: none;
}

/* Override main style.css for countdown page */
.countdown .main-content,
.countdown .container .main-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
}

h1 {
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #000;
}

#countdown-timer {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 2px solid #d4d4d4;
    box-shadow:
        0 6px 12px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.9),
        inset 0 -1px 0 rgba(0,0,0,0.08);
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.timer-unit {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #ececec);
    border: 2px solid #d4d4d4;
    border-radius: 16px;
    min-width: 120px;
    padding: 18px 20px;
    color: #333;
    box-shadow:
        0 4px 8px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.9),
        inset 0 -1px 0 rgba(0,0,0,0.08);
}

.timer-unit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.timer-unit span {
    font-size: 3rem;
    display: block;
    font-weight: 700;
    color: #2d3436;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8), 0 2px 4px rgba(0,0,0,0.08);
}

.timer-unit div {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
}

.timer-unit:hover {
    transform: translateY(1px);
    transition: transform 0.15s ease;
}

/* Mini Beta Countdown Styles */
.mini-beta-countdown {
    background: none;
    border-radius: 10px;
    padding: 20px;
    margin-top: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
}

.mini-beta-countdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    z-index: 1;
}

.mini-beta-countdown h3 {
    color: #000000;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Baloo 2', cursive;
    font-weight: bold;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.mini-timer {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.mini-timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('../GreyButton.png') center center / 100% 100% no-repeat;
    padding: 10px;
    border-radius: 6px;
    min-width: 50px;
    border: 2px solid #000;
    position: relative;
}

.mini-timer-unit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 1px,
        rgba(0, 0, 0, 0.05) 1px,
        rgba(0, 0, 0, 0.05) 2px
    );
    pointer-events: none;
    border-radius: 4px;
}

.mini-timer-unit span {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    font-family: 'Baloo 2', cursive;
    position: relative;
    z-index: 1;
}

.mini-timer-unit div {
    font-size: 0.7rem;
    color: #000;
    margin-top: 3px;
    font-family: 'Baloo 2', cursive;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.beta-date {
    color: #000;
    font-size: 0.9rem;
    margin: 10px 0 0 0;
    font-family: 'Baloo 2', cursive;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Responsive design for mini countdown */
@media (max-width: 768px) {
    #countdown-timer {
        gap: 12px;
        padding: 16px;
    }
    .timer-unit {
        min-width: 100px;
        padding: 14px 16px;
        border-radius: 14px;
    }
    .timer-unit span {
        font-size: 2.4rem;
    }
    .timer-unit div {
        font-size: 0.8rem;
    }
    .mini-timer {
        gap: 8px;
    }
    
    .mini-timer-unit {
        min-width: 45px;
        padding: 8px;
    }
    
    .mini-timer-unit span {
        font-size: 1.1rem;
    }
    
    .mini-timer-unit div {
        font-size: 0.6rem;
    }
    
    .mini-beta-countdown h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    #countdown-timer {
        gap: 10px;
        padding: 12px;
    }
    .timer-unit {
        min-width: 92px;
        padding: 12px 14px;
        border-radius: 12px;
    }
    .timer-unit span {
        font-size: 2rem;
    }
    .timer-unit div {
        font-size: 0.7rem;
    }
    .mini-timer {
        gap: 6px;
    }
    
    .mini-timer-unit {
        min-width: 40px;
        padding: 6px;
    }
    
    .mini-timer-unit span {
        font-size: 1rem;
    }
    
    .mini-timer-unit div {
        font-size: 0.5rem;
    }
}
