:root {
    color-scheme: light;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: #b42318;
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    background: #ffffff;
}

.redirect-card {
    width: min(550px, 100%);
    padding: 42px 32px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #f3c7c2;
    border-radius: 18px;
    box-shadow: 0 14px 45px rgba(180, 35, 24, 0.12);
}

h1 {
    margin: 0 0 18px;
    color: #b42318;
    font-size: clamp(1.8rem, 6vw, 2.4rem);
}

.countdown {
    margin: 0 0 18px;
    color: #7a271a;
    font-size: 1.2rem;
}

.countdown strong {
    color: #b42318;
    font-size: 1.8rem;
}

.status {
    min-height: 1.6em;
    margin: 0;
    color: #912018;
}

.status.error {
    color: #b42318;
    font-weight: 700;
}

.spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 22px;
    border: 4px solid #fecdca;
    border-top-color: #b42318;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .spinner {
        animation: none;
    }
}
