/* 404.css — strona błędu 404 */

.not-found {
    display: flex;
    align-items: center;
    min-height: 65vh;
    padding: 64px 0;
    background-color: var(--white);
    background-image: none;
}

.not-found-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 54px 48px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow:
        0 18px 48px
        rgba(42, 64, 95, 0.08);
}

.not-found-code {
    margin: 0;
    color: var(--pink);
    font-family: Manrope, sans-serif;
    font-size: clamp(64px, 8vw, 92px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.not-found-overline {
    margin: 16px 0 22px;
    color: var(--pink);
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.not-found h1 {
    margin: 0;
    color: var(--navy);
    font-family: Manrope, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.not-found h1 em {
    display: block;
    color: var(--pink);
    font-style: normal;
}

.not-found-text {
    max-width: 580px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.not-found-primary,
.not-found-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 11px 23px;
    border: 2px solid var(--pink);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.not-found-primary {
    color: var(--white);
    background: var(--pink);
}

.not-found-secondary {
    color: var(--pink);
    background: var(--white);
}

.not-found-primary:hover,
.not-found-secondary:hover {
    transform: translateY(-2px);
}

.not-found-primary:hover {
    background: var(--pink-dark);
    border-color: var(--pink-dark);
}

.not-found-secondary:hover {
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
}

.not-found-primary:focus-visible,
.not-found-secondary:focus-visible {
    outline: 3px solid rgba(229, 24, 115, 0.25);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .not-found {
        min-height: 60vh;
        padding: 42px 0;
    }

    .not-found .container {
        width: min(100% - 32px, 1240px);
    }

    .not-found-card {
        padding: 42px 20px;
    }

    .not-found-text {
        font-size: 16px;
    }

    .not-found-actions {
        flex-direction: column;
    }

    .not-found-primary,
    .not-found-secondary {
        width: 100%;
    }
}