/* Reset et configuration de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #0f0f23;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(120, 0, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 200, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 0, 150, 0.2) 0%, transparent 50%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

/* Animation de particules en arrière-plan */
body::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent);
    background-size: 200% 200%;
    animation: stars 20s linear infinite;
    opacity: 0.3;
}

@keyframes stars {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

/* Titre avec effet néon */
h1 {
    position: relative;
    z-index: 10;
    color: #fff;
    font-size: 4em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neonGlow 3s ease infinite, gradientShift 4s ease infinite;
    filter: drop-shadow(0 0 20px rgba(255, 0, 255, 0.8)) 
            drop-shadow(0 0 40px rgba(0, 255, 255, 0.6));
}

@keyframes neonGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 0, 255, 0.8)) 
                drop-shadow(0 0 40px rgba(0, 255, 255, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 0, 255, 1)) 
                drop-shadow(0 0 60px rgba(0, 255, 255, 0.8));
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Paragraphe avec effet glassmorphism */
p {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 30px 40px;
    border-radius: 20px;
    color: #ffffff;
    font-size: 1.3em;
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 40px;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Liste avec cartes 3D */
ul {
    position: relative;
    z-index: 10;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    width: 100%;
}

li {
    background: linear-gradient(135deg, rgba(255, 0, 150, 0.3) 0%, rgba(0, 200, 255, 0.3) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 25px 35px;
    border-radius: 15px;
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Effet de brillance sur les items */
li::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s;
}

li:hover::before {
    left: 100%;
}

li:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 20px 50px rgba(255, 0, 255, 0.5),
        0 0 30px rgba(0, 255, 255, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
}

li:nth-child(1) {
    animation: slideInLeft 0.6s ease forwards;
}

li:nth-child(2) {
    animation: slideInLeft 0.8s ease forwards;
}

li:nth-child(3) {
    animation: slideInLeft 1s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
        letter-spacing: 2px;
    }
    
    p {
        padding: 20px 25px;
        font-size: 1.1em;
    }
    
    li {
        padding: 20px 25px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px;
    }
    
    h1 {
        font-size: 2em;
        margin-bottom: 30px;
    }
    
    p {
        font-size: 1em;
        padding: 15px 20px;
    }
    
    li {
        font-size: 1em;
    }
}