:root {
    --overlay-color: rgba(0,0,0,0.45);
}

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: white;
}

/* Background container */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('milo2.png');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    z-index: -2;
}

/* Overlay for readability */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: -1;
}

/* Main content */
.main-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.title {
    font-weight: 600;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 10px;
}

.subtitle {
    font-weight: 300;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 40px;
}

@media (max-width: 576px) {
    .subtitle {
        margin-bottom: 20px;
    }
}

/* Countdown */
.countdown {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap; /* BELANGRIJK: voorkomt onder elkaar gaan */
}

/* Maak boxen flexibel kleiner */
.time-box {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 18px;
    min-width: 60px; /* kleiner zodat alles past */
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Responsive tekst die kleiner kan worden */
.time-number {
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    font-weight: 600;
}

.time-label {
    font-size: clamp(0.6rem, 1.8vw, 0.8rem);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Extra klein op mobiel */
@media (max-width: 576px) {
    .countdown {
        gap: 6px;
    }

    .time-box {
        padding: 10px 12px;
        min-width: 50px;
    }

    .time-number {
        font-size: 1.1rem;
    }

    .time-label {
        font-size: 0.55rem;
    }
}