<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>403 - Akses Ditolak | ISTA AL-KAMAL</title>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: #0a0c10;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        /* Animated gradient background */
        .animated-bg {
            position: absolute;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
                        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
                        linear-gradient(135deg, #0a0c10 0%, #1a1f2e 100%);
        }

        /* Floating particles */
        .particles {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            background: rgba(220, 38, 38, 0.4);
            border-radius: 50%;
            animation: float 8s infinite ease-in-out;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
            10% { opacity: 0.5; }
            90% { opacity: 0.5; }
            100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
        }

        /* Main container */
        .container {
            position: relative;
            z-index: 10;
            text-align: center;
            padding: 2rem;
            max-width: 600px;
            width: 100%;
            animation: fadeInUp 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Lock icon */
        .lock-icon {
            font-size: 55px;
            color: #ef4444;
            margin-bottom: 1rem;
            animation: pulse 2s infinite;
        }

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

        /* Error code */
        .error-code {
            font-size: 160px;
            font-weight: 900;
            background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: 12px;
            line-height: 1;
            margin-bottom: 0.5rem;
        }

        @media (max-width: 768px) {
            .error-code {
                font-size: 100px;
                letter-spacing: 8px;
            }
        }

        /* Neon text */
        .oops {
            font-size: 16px;
            font-weight: 600;
            color: #ef4444;
            text-transform: uppercase;
            letter-spacing: 10px;
            margin-bottom: 1rem;
            text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
        }

        @media (max-width: 768px) {
            .oops {
                letter-spacing: 6px;
                font-size: 12px;
            }
        }

        /* Title */
        .title {
            font-size: 28px;
            font-weight: 700;
            color: white;
            margin-bottom: 1rem;
        }

        @media (max-width: 768px) {
            .title {
                font-size: 22px;
            }
        }

        /* Description */
        .description {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.6);
            line-height: 1.6;
            margin-bottom: 2rem;
            padding: 0 1rem;
        }

        /* Futuristic button */
        .btn-home {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 14px 36px;
            background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            border-radius: 50px;
            transition: all 0.3s ease;
            border: 1px solid rgba(239, 68, 68, 0.3);
            overflow: hidden;
            cursor: pointer;
            z-index: 1;
        }

        .btn-home::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.3), transparent);
            transition: left 0.5s ease;
            z-index: -1;
        }

        .btn-home:hover::before {
            left: 100%;
        }

        .btn-home:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
            border-color: rgba(239, 68, 68, 0.6);
        }

        .btn-home i {
            transition: transform 0.3s ease;
        }

        .btn-home:hover i {
            transform: translateX(5px);
        }

        /* Scanning line animation */
        .scan-line {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #ef4444, #dc2626, #ef4444, transparent);
            animation: scan 3s linear infinite;
        }

        @keyframes scan {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
    </style>
</head>
<body>
    <div class="animated-bg"></div>
    
    <div class="particles" id="particles"></div>

    <div class="container">
        <div class="lock-icon">
            <i class="fas fa-lock"></i>
        </div>

        <div class="error-code">403</div>
        
        <div class="oops">✦ ACCESS DENIED ✦</div>
        
        <h1 class="title">Akses Tidak Diizinkan</h1>
        
        <p class="description">
            Mohon maaf, Anda tidak memiliki izin untuk mengakses halaman ini di sistem informasi kampus ISTA AL-KAMAL.
        </p>

        <a href="{{ url('/') }}" class="btn-home">
            <i class="fas fa-home"></i> KEMBALI KE BERANDA
            <i class="fas fa-arrow-right"></i>
        </a>

        <div class="scan-line"></div>
    </div>

    <script>
        // Create floating particles
        function createParticles() {
            const particlesContainer = document.getElementById('particles');
            const particleCount = 50;

            for (let i = 0; i < particleCount; i++) {
                const particle = document.createElement('div');
                particle.classList.add('particle');
                const size = Math.random() * 4 + 1;
                particle.style.width = size + 'px';
                particle.style.height = size + 'px';
                particle.style.left = Math.random() * 100 + '%';
                particle.style.animationDelay = Math.random() * 8 + 's';
                particle.style.animationDuration = Math.random() * 5 + 5 + 's';
                particlesContainer.appendChild(particle);
            }
        }

        // Initialize particles
        createParticles();
    </script>
</body>
</html>