.error-page {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: var(--themeBackground, rgb(11, 14, 21));
}

.error-container {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: var(--mainColor, RGB(247, 140, 31));
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 0 30px var(--mainShaddow, rgba(236, 126, 39, 0.4));
    animation: pulse 2s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

.error-title {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.error-message {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.error-btn-primary {
    display: inline-block;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    background: var(--mainColor, RGB(247, 140, 31));
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--mainShaddow, rgba(236, 126, 39, 0.4));
}

.error-btn-primary:hover {
    background: var(--mainColorHover, rgb(236, 126, 39));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--mainShaddowHover, rgba(236, 126, 39, 0.7));
}

.error-links {
    margin-top: 30px;
}

.error-links p {
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
}

.error-links-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.error-btn-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    color: #ccc;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-btn-link:hover {
    color: var(--mainColor, RGB(247, 140, 31));
    background: rgba(247, 140, 31, 0.1);
    border-color: var(--mainColor, RGB(247, 140, 31));
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .error-code {
        font-size: 80px;
    }

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

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

    .error-btn-primary {
        padding: 12px 25px;
        font-size: 14px;
    }

    .error-links-group {
        flex-direction: column;
        align-items: center;
    }

    .error-btn-link {
        width: 100%;
        max-width: 250px;
    }
}

