/* ===========================
   ERROR PAGE – PREMIUM UI
=========================== */

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            900px circle at 50% -200px,
            rgba(76, 175, 80, 0.18),
            transparent 45%
        ),
        linear-gradient(
            to bottom,
            var(--bg),
            var(--bg-secondary)
        );
}


.error-container {
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.85),
        rgba(255,255,255,0.65)
    );
    backdrop-filter: blur(18px);
    border-radius: 22px;
    padding: 56px 60px;
    max-width: 520px;
    box-shadow:
        0 40px 80px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.4);
    border: 1px solid rgba(255,255,255,.35);
    
}

body.dark .error-container {
    background: linear-gradient(
        145deg,
        rgba(30,30,30,0.9),
        rgba(20,20,20,0.85)
    );
    border: 1px solid rgba(255,255,255,.06);
}


/* 404 číslo */
.error-code {
    font-size: 6.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: transparent;
    background: linear-gradient(
        135deg,
        #4CAF50,
        #7ed957
    );
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 8px;
}


/* Nadpis */
.error-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.error-text {
    opacity: .75;
    max-width: 380px;
    margin: 0 auto 32px;
}


/* Akce */
.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Glass button */
.error-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}

/* Primární */
.btn-primary-soft {
    background: linear-gradient(135deg, #4CAF50, #6fdc8c);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 500;
    box-shadow: 0 12px 28px rgba(76,175,80,.45);
}

.btn-primary-soft:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(76,175,80,.55);
}

/* Sekundární */
.btn-ghost {
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: 999px;
    padding: 12px 22px;
    opacity: .75;
}

