:root {
    --bg-page: #15171b;
    --bg-card: #1c1f24;
    --text-main: #ede9e0;
    --text-muted: #8b8e94;
    --brand-blue: #e2762b;
    --brand-blue-ink: #15171b;
    --border-light: #2b2e33;
    --stripe-2: #3a4149;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-page);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.box {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 32px;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
}

    /* racing-stripe corner accent, clipped by the box's rounded corner */
    .box::before,
    .box::after {
        content: "";
        position: absolute;
        top: -16px;
        width: 140px;
        height: 70px;
        transform: rotate(20deg);
        z-index: 0;
        pointer-events: none;
    }

    .box::before {
        right: -18px;
        background: var(--brand-blue);
        opacity: 0.9;
    }

    .box::after {
        right: -50px;
        background: var(--stripe-2);
        opacity: 0.9;
    }

h1 {
    position: relative;
    z-index: 1;
    margin-top: 0;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 1.5rem;
}

p {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

ul {
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 16px 0 24px 0;
}

    ul li {
        margin-bottom: 8px;
    }

    ul a {
        color: var(--brand-blue);
        text-decoration: none;
        font-weight: 500;
    }

        ul a:hover {
            text-decoration: underline;
        }

.cta {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 13px 22px;
    background: var(--brand-blue);
    color: var(--brand-blue-ink);
    border-radius: 9px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
    transition: background 0.15s ease, transform 0.12s ease;
}

    .cta:hover {
        background: #f08a3e;
    }

    .cta:active {
        transform: scale(0.98);
    }

.lang-switcher {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.lang-btn {
    flex: 1;
    background: none;
    border: 1px solid var(--border-light);
    border-radius: 7px;
    padding: 6px 0;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.15s ease;
    letter-spacing: 0.05em;
    font-family: inherit;
}

    .lang-btn:hover {
        border-color: var(--brand-blue);
        color: var(--brand-blue);
    }

    .lang-btn.active {
        background: var(--brand-blue);
        border-color: var(--brand-blue);
        color: var(--brand-blue-ink);
    }

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}
