:root {
    --background: #070707;
    --panel: rgba(18, 18, 18, 0.92);
    --text: #f5f5f5;
    --muted: #9b9b9b;
    --border: rgba(255, 255, 255, 0.10);
    --accent: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 255, 255, 0.06),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #0c0c0c 0%,
            var(--background) 100%
        );
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.shell {
    width: min(900px, 100%);
    text-align: center;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
}

h1 {
    margin: 0 0 12px;
    font-size: clamp(2.6rem, 8vw, 6.4rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.subtitle {
    max-width: 650px;
    margin: 0 auto 30px;
    color: var(--muted);
    font-size: clamp(0.98rem, 2vw, 1.12rem);
    line-height: 1.6;
}

.subtitle strong {
    color: var(--text);
}

.timer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0 20px;
}

.unit {
    padding: 24px 12px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
}

.num {
    display: block;
    font-size: clamp(2rem, 7vw, 4.7rem);
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.label {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.17em;
}

.meta {
    margin: 18px 0 28px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.meta strong {
    color: var(--text);
}

.actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    padding: 14px 22px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: var(--accent);
    color: #050505;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.button.secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.status {
    min-height: 1.4em;
    margin-top: 20px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.footer {
    margin-top: 34px;
    color: #666;
    font-size: 0.78rem;
    line-height: 1.5;
}

@media (max-width: 640px) {
    body {
        padding: 16px;
    }

    .subtitle {
        margin-bottom: 22px;
    }

    .timer {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .unit {
        padding: 20px 10px;
    }

    .actions {
        width: 100%;
    }

    .button {
        width: 100%;
        text-align: center;
        font: inherit;
        font-weight: 800;
    }
}
