.error-container {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
    background: #FFFFFF;
    border-radius: 40px;
    animation: fadeInUp 0.6s ease forwards;
}

/* Анимация */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 404 цифры */
.error-code {
    font-size: 180px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #282624 0%, #F3BF82 100%);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}



.error-icon svg {
    width: 64px;
    height: 64px;
    color: #F3BF82;
}

/* Заголовок */
.error-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #282624;
}

/* Описание */
.error-description {
    font-size: 18px;
    line-height: 1.5;
    color: #5a5a5a;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Кнопки */
.error-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #282624;
    color: #FFFFFF;
    border: 2px solid #282624;
}

.btn-primary:hover {
    background: #3a3633;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: #282624;
    border: 2px solid #E2E1DF;
}

.btn-secondary:hover {
    border-color: #F3BF82;
    background: rgba(243, 191, 130, 0.05);
    transform: translateY(-2px);
}

/* SVG иконки в кнопках */
.btn-primary svg,
.btn-secondary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg,
.btn-secondary:hover svg {
    transform: translateX(-4px);
}







/* Адаптивность */
@media (max-width: 768px) {
    .error-container {
        padding: 40px 24px;
        margin: 20px;
    }

    .error-code {
        font-size: 120px;
    }



    .error-icon svg {
        width: 50px;
        height: 50px;
    }

    .error-title {
        font-size: 28px;
    }

    .error-description {
        font-size: 16px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }


}

@media (max-width: 576px) {
    .error-container {
        padding: 32px 20px;
    }

    .error-code {
        font-size: 80px;
    }

    .error-title {
        font-size: 24px;
    }

    .error-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
        width: 100%;
    }


}

/* Анимация для цифр 404 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.error-code span {
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.error-code span:nth-child(2) {
    animation-delay: 0.2s;
}

.error-code span:nth-child(3) {
    animation-delay: 0.4s;
}
