:root {
    --bg-a: #6a11cb;
    --bg-b: #2575fc;
    --accent: rgba(255, 255, 255, 0.95);
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: linear-gradient(135deg, var(--bg-a), var(--bg-b));
    color: var(--accent);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.countdown-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 2rem;
}

.panel {
    background: transparent;
    border-radius: 0;
    padding: 0;
    width: 100%;
}

.title {
    font-weight: 900;
    font-size: clamp(2.6rem, 9vw, 6.5rem);
    margin-bottom: 0.6rem;
    letter-spacing: -0.6px;
    line-height: 1.02;
}

.subtitle {
    opacity: 0.95;
    margin-bottom: 1rem;
    font-size: clamp(1.05rem, 2.4vw, 1.6rem);
    font-weight: 600;
}

.funny {
    font-size: clamp(1rem, 2.1vw, 1.35rem);
    opacity: 0.98;
    margin-bottom: 1rem;
    font-weight: 700;
}

.timer {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    align-items: center;
}

.timebox {
    background: rgba(255, 255, 255, 0.045);
    padding: 1.8rem 2.4rem;
    border-radius: 18px;
    min-width: 200px;
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
}

.number {
    font-size: clamp(4rem, 18vw, 10.5rem);
    font-weight: 900;
    line-height: 0.9;
}

.label {
    font-size: clamp(0.95rem, 1.6vw, 1.25rem);
    opacity: 0.95;
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

@media (max-width:900px) {
    .timebox {
        min-width: 110px;
        padding: 1rem 1.1rem;
    }

    .number {
        font-size: clamp(2.2rem, 12vw, 5rem);
    }

    .title {
        font-size: clamp(1.6rem, 8vw, 2.6rem);
    }

    .funny {
        font-size: 0.98rem;
    }
}

@media (max-width:420px) {
    .timebox {
        min-width: 64px;
        padding: 0.45rem;
    }

    .number {
        font-size: 2rem;
    }

    .title {
        font-size: 1.2rem;
    }

    .funny {
        font-size: 0.9rem;
    }
}

@media (min-width:1400px) {
    .timebox {
        min-width: 230px;
        padding: 2rem 2.6rem;
    }

    .number {
        font-size: 9.6rem;
    }

    .title {
        font-size: 6rem;
    }
}

.small-note {
    margin-top: 1rem;
    opacity: 0.9;
    font-size: 0.9rem
}
