   :root {
            --error-gold: #d4af37;
            --error-gold-light: #e9c95d;
            --error-dark: #121212;
            --error-dark-light: #1a1a1a;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Vazirmatn', sans-serif;
            background-color: var(--error-dark);
            color: #fff;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }
        
        .error-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            position: relative;
            z-index: 10;
        }
        
        .error-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            overflow: hidden;
        }
        
        .error-grid {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
            background-size: 30px 30px;
        }
        
        .error-circle {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0) 70%);
        }
        
        .error-circle-1 {
            width: 600px;
            height: 600px;
            top: -200px;
            right: -200px;
        }
        
        .error-circle-2 {
            width: 500px;
            height: 500px;
            bottom: -100px;
            left: -100px;
        }
        
        .error-code {
            font-size: 10rem;
            font-weight: 700;
            color: var(--error-gold);
            line-height: 1;
            margin-bottom: 1.5rem;
            text-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
            position: relative;
        }
        
        .error-code::after {
            content: "404";
            position: absolute;
            top: 0.2rem;
            left: 0.2rem;
            color: rgba(212, 175, 55, 0.2);
            z-index: -1;
        }
        
        .error-title {
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .error-message {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.7);
            max-width: 600px;
            text-align: center;
            margin-bottom: 2rem;
            line-height: 1.6;
        }
        
        .error-actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .error-btn {
            padding: 0.85rem 1.5rem;
            border-radius: 6px;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 1rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .error-btn-primary {
            background-color: var(--error-gold);
            color: var(--error-dark);
            border: none;
        }
        
        .error-btn-primary:hover {
            background-color: var(--error-gold-light);
            transform: translateY(-2px);
        }
        
        .error-btn-secondary {
            background-color: transparent;
            color: var(--error-gold);
            border: 1px solid var(--error-gold);
        }
        
        .error-btn-secondary:hover {
            background-color: rgba(212, 175, 55, 0.1);
            transform: translateY(-2px);
        }
        
        .error-btn i {
            margin-left: 0.5rem;
        }
        
        .error-illustration {
            margin-bottom: 2rem;
            position: relative;
        }
        
        .error-icon {
            font-size: 5rem;
            color: var(--error-gold);
            opacity: 0.8;
        }
        
        .error-icon-bg {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 120px;
            height: 120px;
            background-color: rgba(212, 175, 55, 0.1);
            border-radius: 50%;
            z-index: -1;
        }
        
        .error-footer {
            margin-top: 3rem;
            text-align: center;
        }
        
        .error-footer-text {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
        }
        
        .error-footer-link {
            color: var(--error-gold);
            text-decoration: none;
        }
        
        .error-footer-link:hover {
            text-decoration: underline;
        }
        
        .error-particles {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: 2;
        }
        
        .error-particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background-color: var(--error-gold);
            border-radius: 50%;
            opacity: 0.3;
            animation: float 15s infinite linear;
        }
        
        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.3;
            }
            90% {
                opacity: 0.3;
            }
            100% {
                transform: translateY(-100vh) rotate(360deg);
                opacity: 0;
            }
        }
        
        @media (max-width: 768px) {
            .error-code {
                font-size: 7rem;
            }
            
            .error-title {
                font-size: 1.5rem;
            }
            
            .error-message {
                font-size: 1rem;
            }
            
            .error-icon {
                font-size: 4rem;
            }
            
            .error-icon-bg {
                width: 100px;
                height: 100px;
            }
        }
        
        @media (max-width: 480px) {
            .error-code {
                font-size: 5rem;
            }
            
            .error-actions {
                flex-direction: column;
                width: 100%;
            }
            
            .error-btn {
                width: 100%;
                justify-content: center;
            }
        }