/* ---------- Reset & podstawy ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    min-height: 100dvh;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* ---------- Layout ---------- */
.container {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    gap: 2.5rem;
}

/* ---------- Hero image ---------- */
.hero {
    display: block;
    max-width: min(90vw, 720px);
    width: 100%;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
    /* delikatne unoszenie */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Wyłącz animację dla osób preferujących ograniczenie ruchu */
@media (prefers-reduced-motion: reduce) {
    .hero img { animation: none; }
}

/* ---------- Countdown ---------- */
.countdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    font-variant-numeric: tabular-nums;
}

.countdown__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 4.5rem;
    padding: 1rem 0.5rem;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.countdown__value {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.countdown__label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
    margin-top: 0.5rem;
}

.countdown__separator {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 300;
    color: #999;
    align-self: flex-start;
    margin-top: 0.85rem;
}

/* ---------- Finale (po odliczeniu) ---------- */
.finale {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #d4612a;
    letter-spacing: -0.02em;
    text-align: center;
    padding: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .container {
        gap: 1.5rem;
        padding: 1rem 0.5rem;
    }

    .countdown {
        gap: 0.25rem;
    }

    .countdown__block {
        min-width: 3.5rem;
        padding: 0.75rem 0.25rem;
    }

    .countdown__separator {
        display: none;
    }
}
