:root {
    --bg-color: #f0f4f8;
    --text-color: #334155;
    --accent-color: #0ea5e9;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.5);
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --font-main: 'Outfit', sans-serif;
    --font-jp: 'Zen Kaku Gothic New', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-jp);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #f8fafc 0%, #e2e8f0 100%);
    z-index: -1;
    overflow: hidden;
}

.background-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.1), transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.container {
    text-align: center;
    width: 90%;
    max-width: 800px;
    padding: 4rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(90deg, #0284c7, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-main);
}

.approx-label {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.number {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: #0f172a;
}

.label {
    font-size: 1rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    font-weight: 500;
}

.completion-view {
    padding: 2.5rem 1rem;
}

.congrats-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
}

@media (max-width: 650px) {
    .container {
        padding: 3rem 1.5rem;
    }

    header h1 {
        font-size: 1.6rem;
    }

    .countdown-section {
        margin-top: 1rem;
    }

    .number {
        font-size: 3.5rem;
    }

    .congrats-text {
        font-size: 1.4rem;
    }
}