﻿/* секция ошибки */
.error-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background-color: var(--dark-bg);
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-icon-wrapper {
    width: 120px;
    height: 120px;
    background: rgba(242, 225, 95, 0.1);
    border: 3px dashed rgba(242, 225, 95, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pulseError 2s infinite;
}

    .error-icon-wrapper i {
        font-size: 4rem;
        color: var(--primary-color);
        text-shadow: 0 0 20px rgba(242, 225, 95, 0.6);
    }

@keyframes pulseError {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.error-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.error-desc {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.error-debug {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 15px 25px;
    margin-bottom: 30px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.debug-label {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

.error-debug code {
    color: var(--text-light);
    background: none;
    border: none;
    padding: 0;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-error {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-error-primary {
    background: var(--primary-color);
    color: var(--darker-bg);
}

    .btn-error-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 20px rgba(242, 225, 95, 0.5);
    }

.btn-error i {
    font-size: 1.2rem;
}

/* адаптация */
@media (max-width: 768px) {
    .error-section {
        min-height: 60vh;
        padding: 40px 20px;
    }

    .error-icon-wrapper {
        width: 90px;
        height: 90px;
    }

        .error-icon-wrapper i {
            font-size: 3rem;
        }

    .error-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-error {
        justify-content: center;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}
