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

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #0d0d0d;
    color: #f0f0f0;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem;
    text-align: center;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
}

/* --- Countdown --- */
.countdown {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.countdown__value {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 2ch;
    text-align: center;
}

.countdown__label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6b7280;
}

.countdown__sep {
    font-size: 2rem;
    font-weight: 300;
    color: #374151;
    align-self: center;
    padding-bottom: 1.2rem;
}

/* --- Phrases --- */
.tagline {
    font-size: 1.15rem;
    color: #9ca3af;
    max-width: 480px;
    line-height: 1.6;
}

.action-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 440px;
}

.action-block p {
    color: #d1d5db;
    font-size: 0.95rem;
}

.action-block .input-row {
    display: flex;
    width: 100%;
    gap: 0.5rem;
}

.action-block input[type="text"] {
    flex: 1;
    padding: 0.65rem 1rem;
    border: 1px solid #374151;
    border-radius: 8px;
    background: #1a1a1a;
    color: #f0f0f0;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.action-block input[type="text"]:focus {
    border-color: #7c3aed;
}

.btn {
    padding: 0.65rem 1.4rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.btn:active { transform: scale(0.97); }
.btn:hover { opacity: 0.88; }

.btn--primary {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #fff;
}

/* --- Footer --- */
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-top: 1px solid #1f2937;
}

.btn--secondary {
    background: transparent;
    border: 1px solid #374151;
    color: #9ca3af;
}

.credit {
    font-size: 0.8rem;
    color: #4b5563;
    letter-spacing: 0.05em;
}