.error-section {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 50%, #fef3c7 100%);
    position: relative;
    overflow: hidden;
}

.error-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg, transparent 0, transparent 25px, rgba(59, 130, 246, 0.03) 25px, rgba(59, 130, 246, 0.03) 50px);
    z-index: 0;
}

.error-container {
    position: relative;
    z-index: 1;
}

.error-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 700px;
    margin: 0 auto;
}

.error-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.error-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    margin: 0 auto;
    animation: pulse 3s ease-in-out infinite;
    position: relative;
}

.error-icon.error-404 {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.error-icon.error-403 {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.error-icon.error-500 {
    background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
}

.error-icon::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px dashed;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

.error-icon.error-404::before {
    border-color: #3b82f6;
}

.error-icon.error-403::before {
    border-color: #ef4444;
}

.error-icon.error-500::before {
    border-color: #fbbf24;
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Fira Code', monospace;
    letter-spacing: -0.05em;
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-selector {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(243, 244, 246, 0.7);
    border-radius: 1rem;
    display: inline-block;
}

.error-type-btn {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 2px solid transparent;
    background: transparent;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fira Code', monospace;
}

.error-type-btn:hover {
    transform: translateY(-2px);
}

.error-type-btn.active {
    color: white;
}

.error-type-btn.btn-404 {
    color: #3b82f6;
}

.error-type-btn.btn-404:hover,
.error-type-btn.btn-404.active {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    border-color: #3b82f6;
    color: white;
}

.error-type-btn.btn-403 {
    color: #ef4444;
}

.error-type-btn.btn-403:hover,
.error-type-btn.btn-403.active {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    border-color: #ef4444;
    color: white;
}

.error-type-btn.btn-500 {
    color: #fbbf24;
}

.error-type-btn.btn-500:hover,
.error-type-btn.btn-500.active {
    background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
    border-color: #fbbf24;
    color: white;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float-shape 8s ease-in-out infinite;
}

.shape-1 {
    top: 10%;
    left: 10%;
    font-size: 3rem;
    color: #3b82f6;
    animation-delay: 0s;
}

.shape-2 {
    top: 20%;
    right: 15%;
    font-size: 2.5rem;
    color: #10b981;
    animation-delay: 2s;
}

.shape-3 {
    bottom: 15%;
    left: 15%;
    font-size: 2rem;
    color: #fbbf24;
    animation-delay: 4s;
}

.shape-4 {
    bottom: 25%;
    right: 10%;
    font-size: 3.5rem;
    color: #3b82f6;
    animation-delay: 1s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

@media (max-width: 768px) {
    .error-card {
        padding: 2rem 1.5rem;
    }

    .error-code {
        font-size: 4rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-description {
        font-size: 1rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .btn {
        width: 100%;
    }

    .error-selector {
        width: 100%;
    }

    .error-type-btn {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
}