body {
            margin: 0;
            height: 100vh;
            color: white;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            position: relative;
        }

        
        .bg-image {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -3;
        }


        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(20, 20, 30, 0.4), rgba(10, 10, 20, 0.3));
            z-index: -2;
        }

        /* wave effect marche avec le script js tu peux le trouver sur google ou generer avec IA */
        body::before {
            content: '';
            position: fixed;
            width: 200%;
            height: 200%;
            background: url("/img/wave-pattern.png") repeat;
            opacity: 0.15;
            animation: wave-animation 60s linear infinite;
            z-index: -1;
            top: 0;
            left: 0;
        }

        @keyframes wave-animation {
            0% { transform: translate(0, 0) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }

        .error-card {
            background: rgba(30, 35, 45, 0.9);
            border: 4px solid #FF9800;
            border-image: linear-gradient(45deg, #FF9800, #FF5722, #E91E63) 1;
            padding: 30px 50px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 15px 35px rgba(255, 152, 0, 0.3),
                        0 0 50px rgba(33, 150, 243, 0.2) inset;
            max-width: 500px;
            backdrop-filter: blur(10px);
            z-index: 1;
            animation: card-float 6s ease-in-out infinite;
            position: relative;
        }

        @keyframes card-float {
            0%, 100% { transform: translateY(0) rotate(0.5deg); }
            50% { transform: translateY(-15px) rotate(-0.5deg); }
        }

        .error-code {
            font-size: 120px;
            font-weight: 900;
            color: #FF5722;
            margin: 0;
            text-shadow: 3px 3px 0 #FF9800,
                        6px 6px 0 rgba(0,0,0,0.3);
            letter-spacing: 5px;
            display: inline-block;
            position: relative;
        }

        .error-code::after {
            content: '❌';
            position: absolute;
            right: -40px;
            top: -10px;
            font-size: 50px;
            animation: skull-float 4s ease-in-out infinite;
        }

        @keyframes skull-float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-10px) rotate(10deg); }
        }

        .error-message {
            font-size: 22px;
            margin-top: 20px;
            margin-bottom: 35px;
            line-height: 1.5;
            color: #E3F2FD;
            padding: 15px;
            background: rgba(0,0,0,0.3);
            border-radius: 8px;
            border-left: 4px solid #2196F3;
        }

        /* fin du cadre et de l'effet*/
        .jolly-roger {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 20px 0;
            animation: pulse 2s infinite;
        }

        .jolly-roger img {
            width: 150px;
            height: 150px;
            object-fit: contain;
            filter: drop-shadow(0 0 10px rgba(255, 152, 0, 0.5));
            transition: transform 0.3s ease;
        }

        .jolly-roger img:hover {
            transform: scale(1.05);
        }

        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.8; }
            50% { transform: scale(1.05); opacity: 1; }
            100% { transform: scale(1); opacity: 0.8; }
        }

        a.btn {
            display: inline-block;
            padding: 15px 30px;
            background: linear-gradient(135deg, #FF9800, #FF5722);
            color: white;
            text-decoration: none;
            border-radius: 10px;
            font-weight: bold;
            font-size: 18px;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
            letter-spacing: 1px;
            border: 2px solid #FFC107;
        }

        a.btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(255, 87, 34, 0.6);
            background: linear-gradient(135deg, #FF5722, #FF9800);
        }

        .error-note {
            margin-top: 25px;
            font-size: 14px;
            color: #90CAF9;
            font-style: italic;
            opacity: 0.8;
        }

        .decorative-element {
            position: absolute;
            width: 300px;
            height: 300px;
            background: url("/img/one-piece-compass.png") no-repeat center/contain;
            opacity: 0.1;
            z-index: 0;
            animation: spin 120s linear infinite;
            pointer-events: none;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }