@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700;800&display=swap");

:root {
    --background: #171722;
    --card-background: #222231;
    --primary: #86cae8;
    --primary-light: #bce8fa;
    --text: #ffffff;
    --text-muted: #c8c8d1;
    --border: rgba(255, 255, 255, 0.09);
    --shadow: rgba(0, 0, 0, 0.35);
}

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

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: "Source Sans 3", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(
            circle at top left,
            rgba(134, 202, 232, 0.16),
            transparent 38%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(134, 202, 232, 0.08),
            transparent 35%
        ),
        var(--background);
}

.redirect-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.redirect-card {
    position: relative;
    width: 100%;
    max-width: 760px;
    padding: 60px 50px;
    overflow: hidden;
    text-align: center;
    background: rgba(34, 34, 49, 0.96);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 25px 70px var(--shadow);
}

.redirect-card__decoration {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: rgba(134, 202, 232, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.redirect-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: min(190px, 60%);
    height: auto;
    margin: 0 auto 28px;
}

.redirect-eyebrow {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.08;
    font-weight: 800;
}

h1 span {
    color: var(--primary);
}

.redirect-description {
    max-width: 600px;
    margin: 0 auto 36px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.redirect-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 15px 34px;
    color: var(--background);
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    background: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(134, 202, 232, 0.2);
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.redirect-button:hover,
.redirect-button:focus-visible {
    background: var(--primary-light);
    border-color: var(--primary-light);
    box-shadow: 0 16px 36px rgba(134, 202, 232, 0.3);
    transform: translateY(-2px);
}

.redirect-button:focus-visible {
    outline: 3px solid rgba(134, 202, 232, 0.35);
    outline-offset: 4px;
}

.redirect-countdown {
    margin-top: 28px;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.redirect-countdown strong {
    display: inline-block;
    min-width: 18px;
    color: var(--primary);
    font-size: 1.15rem;
}

.redirect-noscript {
    margin-top: 18px;
    color: var(--primary-light);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .redirect-page {
        padding: 18px;
    }

    .redirect-card {
        padding: 42px 24px;
        border-radius: 18px;
    }

    .redirect-logo {
        width: min(160px, 65%);
        margin-bottom: 22px;
    }

    .redirect-description {
        font-size: 1rem;
    }

    .redirect-button {
        width: 100%;
        padding-inline: 20px;
    }
}

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