*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: #0a0a0a;
    color: #f0f0f0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate3d(-100px, -100px, 0);
    transition: opacity 0.5s ease;
    will-change: transform, opacity;
    mix-blend-mode: difference;
}

.cursor-dot.visible {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    html,
    body,
    button {
        cursor: none;
    }
}

@media (hover: none) {
    .cursor-dot {
        display: none;
    }
}

.page {
    width: 100%;
    height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4vh 4vw 5vh;
}

.hero {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pressure-container {
    width: 100%;
}

.text-pressure-title {
    text-transform: uppercase;
    font-weight: 100;
    user-select: none;
    white-space: nowrap;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    line-height: 0.88;
    letter-spacing: 0.08em;
    font-size: clamp(44px, 12vw, 170px);
}

.text-pressure-title span {
    display: inline-block;
}

.countdown-wrap {
    align-self: center;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
}

.timer {
    display: flex;
    align-items: center;
    gap: 0.6em;
    font-weight: 300;
    font-size: clamp(1.6rem, 5vw, 3rem);
    letter-spacing: -0.03em;
    color: #fff;
    filter: blur(14px);
    transition: filter 0.6s ease;
}

.timer.revealed {
    filter: none;
}

.unit {
    width: 2ch;
    height: 1.2em;
    position: relative;
    text-align: center;
}

.slot {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
}

.slot span {
    flex-shrink: 0;
    height: 1.2em;
    line-height: 1.2em;
    display: block;
    text-align: center;
}

.unit-label {
    position: absolute;
    bottom: calc(100% + 0.5em);
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.32em;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0);
    white-space: nowrap;
    transition: color 0.25s ease;
    pointer-events: none;
}

.timer.labels-ready .unit:hover .unit-label {
    color: rgba(255, 255, 255, 0.7);
}

body.panel-open .timer.labels-ready .unit:hover .unit-label {
    color: rgba(255, 255, 255, 0);
}

.info-btn {
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0);
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.6em;
    margin: -0.6em;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

.info-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.info-btn.active {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.6s ease;
}

.info-panel {
    position: absolute;
    bottom: calc(100% + 1.2rem);
    left: 0;
    max-width: 360px;
    font-size: 0.75rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    display: none;
    animation: panel-up 0.18s ease;
}

.info-panel.visible {
    display: block;
}

@keyframes panel-up {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 700px) {
    .countdown-wrap {
        gap: 2rem;
        width: 90vw;
    }

    .info-panel {
        width: 90vw;
        max-width: 90vw;
    }
}

@media (max-width: 480px) {
    .timer {
        font-size: clamp(1.4rem, 7vw, 3rem);
        gap: 0.4em;
    }

    .page {
        padding: 4vh 5vw 5vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .timer {
        transition: none;
    }

    .info-panel {
        animation: none;
    }
}
