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

/* ── Page ── */
body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    font-family: 'Roboto', sans-serif;
    color: #fff;
}

.page {
    width: 100%;
    max-width: 600px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* ── Card ── */
.card {
    width: 100%;
    border: 1px solid #222;
    padding: 2.5rem 2rem;
    text-align: center;
}

/* ── Redirect flow ── */
.redirect-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.domain-badge {
    padding: 0.35rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid #444;
    color: #fff;
}

.domain-badge.current {
    color: #666;
    border-color: #333;
    text-decoration: line-through;
    text-decoration-color: #555;
}

.domain-badge.target {
    color: #fff;
    border-color: #fff;
}

/* Arrow */
.arrow-anim {
    color: #666;
    font-size: 1.2rem;
}

.arrow-line {
    display: none;
}

/* ── Heading ── */
h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.highlight {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ── Sub text ── */
.sub {
    font-size: 0.95rem;
    font-weight: 400;
    color: #999;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ── Progress bar ── */
.progress-wrap {
    width: 100%;
    height: 2px;
    background: #222;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.progress-bar {
    height: 100%;
    width: 100%;
    background: #fff;
    transform-origin: left;
    transition: transform 1s linear;
}

.countdown-text {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 1.75rem;
}

#countdown {
    font-weight: 700;
    color: #fff;
}

/* ── Button ── */
.btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.03em;
    transition: background 0.15s, color 0.15s;
}

.btn:hover {
    background: #ddd;
}

/* ── Legal footer ── */
.legal {
    width: 100%;
    font-size: 0.8rem;
    color: #444;
    text-align: center;
}

.legal details {
    margin-bottom: 0.5rem;
}

.legal summary {
    cursor: pointer;
    user-select: none;
    color: #555;
    font-size: 0.8rem;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.15s;
}

.legal summary:hover {
    color: #aaa;
}

.legal summary::before {
    content: '§';
    opacity: 0.6;
}

.legal-content {
    margin-top: 1rem;
    border: 1px solid #222;
    padding: 1.5rem;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2rem;
}

.legal-block h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.legal-block p {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.65;
}

.legal-block a {
    color: #aaa;
    text-decoration: underline;
}

.legal-block a:hover {
    color: #fff;
}

.legal-copy {
    color: #333;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 500px) {
    .card {
        padding: 1.75rem 1.25rem;
    }

    h1 {
        font-size: 1.2rem;
    }

    .legal-content {
        grid-template-columns: 1fr;
    }
}