:root {
    --primary: #c8102e;
    --dark: #222;
    --light: #f5f5f5;
    --border-radius: 14px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #ffffff 0, #f0f0f0 40%, #e3e3e3 100%);
    color: var(--dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    max-width: 480px;
    width: 100%;
    padding: 32px 26px 26px;
    text-align: center;
}

.logo {
    max-width: 260px;
    width: 80%;
    height: auto;
    margin: 0 auto 16px;
}

a:has(.logo) {
    text-decoration: none;
}

h1 {
    font-size: 1.6rem;
    margin: 4px 0 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

h2 {
    font-size: 1.3rem;
    margin: 3px 0 6px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}

.subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(200, 16, 46, 0.08);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.content {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
    margin: 30px auto 30px;
    max-width: 420px;
    text-align: center;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(200, 16, 46, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(200, 16, 46, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 1px solid #ccc;
}

.btn-outline:hover {
    background: #f7f7f7;
}

.footer-info {
    margin-top: 18px;
    font-size: 0.78rem;
    color: #555;
    text-align: center;
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #eee;
    border-top-color: #28a745;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}

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

@media (max-width: 480px) {
    .card {
        padding: 24px 18px 18px;
    }

    h1 {
        font-size: 1.35rem;
    }

    h2 {
        font-size: 1.1rem;
    }
}