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

:root {
    --white: #ffffff;
    --ink: #1a1f36;
    --ink-muted: #6b7280;
    --accent: #2563eb;
    --danger: #ef4444;
    --danger-soft: #fef2f2;
    --border: #e5e7eb;
}

html, body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #e8eef8;
}

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 48px 44px 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    text-align: center;
    animation: cardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    position: relative;
}

/* Yellow decorative dot — top right, like screenshot */
.deco-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f59e0b;
    top: 50px;
    right: 50px;
}

/* Logo */
.logo-wrap {
    margin-bottom: 28px;
}

.logo-wrap img {
    height: 34px;
    width: auto;
    object-fit: contain;
}

/* Error badge */
.error-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: var(--danger-soft);
    border-radius: 100px;
    font-size:13px;
    font-weight: 500;
    color: var(--danger);
    margin-bottom: 22px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--danger);
    flex-shrink: 0;
}

h1 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.2;
}

p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--ink-muted);
    margin-bottom: 32px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
}

.btn-primary {
    display: block;
    width: 100%;
    padding: 13px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size:14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    text-decoration: none;
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
    .card { padding: 36px 24px 32px; }
    h1 { font-size: 1.35rem; }
    .deco-dot { top: 32px; right: 32px; }
}