* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial Black', sans-serif;
    overflow-x: hidden;
    animation: bgColorChange 3s infinite;
    background-size: 400% 400%;
}

@keyframes bgColorChange {
    0% { background: linear-gradient(45deg, #FF006E, #FB5607); }
    25% { background: linear-gradient(45deg, #FFBE0B, #8338EC); }
    50% { background: linear-gradient(45deg, #3A86FF, #06FFA5); }
    75% { background: linear-gradient(45deg, #FF006E, #FFBE0B); }
    100% { background: linear-gradient(45deg, #FB5607, #06FFA5); }
}

.chaos-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    overflow: hidden;
}

/* Textes tournants */
.spinning-text {
    font-size: 120px;
    font-weight: 900;
    color: #00FF00;
    text-shadow: 0 0 20px #FF006E, 0 0 40px #FFBE0B;
    animation: spin 2s linear infinite, colorShift 3s infinite;
    position: absolute;
    top: 20%;
    left: 10%;
    transform-origin: center;
}

.spinning-text-2 {
    font-size: 100px;
    font-weight: 900;
    color: #FF006E;
    text-shadow: 0 0 20px #00FF00, 0 0 40px #06FFA5;
    animation: spinReverse 2s linear infinite, colorShift2 3s infinite;
    position: absolute;
    bottom: 20%;
    right: 10%;
    transform-origin: center;
}

@keyframes spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes spinReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes colorShift {
    0% { color: #00FF00; }
    33% { color: #FF006E; }
    66% { color: #06FFA5; }
    100% { color: #00FF00; }
}

@keyframes colorShift2 {
    0% { color: #FF006E; }
    33% { color: #FFBE0B; }
    66% { color: #8338EC; }
    100% { color: #FF006E; }
}

/* Container des vidéos en chaos */
.video-chaos {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Video wrapper - CHAOS TOTAL */
.video-wrapper {
    width: 250px;
    height: 250px;
    border: 8px solid #00FF00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px #FF006E, 0 0 100px #FFBE0B;
    animation: borderGlow 2s infinite;
    background: radial-gradient(circle, #1a1a1a 0%, #000 100%);
    position: absolute;
    overflow: hidden;
}

/* Positions différentes pour chaque vidéo */
.video-1 {
    animation: spin 2s linear infinite, colorShift 3s infinite, float1 4s ease-in-out infinite;
    top: 0;
    left: 0;
    border-color: #FF006E;
    box-shadow: 0 0 50px #FF006E, 0 0 100px #00FF00;
}

.video-2 {
    animation: spinReverse 2s linear infinite, colorShift2 3s infinite, float2 4s ease-in-out infinite;
    top: 0;
    right: 0;
    border-color: #FFBE0B;
    box-shadow: 0 0 50px #FFBE0B, 0 0 100px #3A86FF;
}

.video-3 {
    animation: spin 2.5s linear infinite, colorShift 3s infinite, float3 4s ease-in-out infinite;
    bottom: 0;
    left: 0;
    border-color: #06FFA5;
    box-shadow: 0 0 50px #06FFA5, 0 0 100px #FF006E;
}

.video-4 {
    animation: spinReverse 2.5s linear infinite, colorShift2 3s infinite, float4 4s ease-in-out infinite;
    bottom: 0;
    right: 0;
    border-color: #8338EC;
    box-shadow: 0 0 50px #8338EC, 0 0 100px #FFBE0B;
}

.meme-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Animations de flotaison différentes */
@keyframes float1 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(30px) scale(1.1); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(30px) scale(1.1); }
}

@keyframes float4 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

@keyframes borderGlow {
    0% { box-shadow: 0 0 50px #FF006E, 0 0 100px #FFBE0B; }
    50% { box-shadow: 0 0 100px #00FF00, 0 0 150px #06FFA5; }
    100% { box-shadow: 0 0 50px #FF006E, 0 0 100px #FFBE0B; }
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Titre */
.meme-title {
    text-align: center;
    animation: bounce 1s infinite alternate;
}

.meme-title h1 {
    font-size: 80px;
    color: #FFBE0B;
    text-shadow: 
        0 0 10px #FF006E,
        0 0 20px #00FF00,
        0 0 30px #8338EC;
    letter-spacing: 5px;
    margin: 10px 0;
}

.meme-title .rainbow {
    background: linear-gradient(90deg, 
        #FF006E, #FB5607, #FFBE0B, #8338EC, 
        #3A86FF, #06FFA5, #FF006E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowShift 3s linear infinite;
}

@keyframes rainbowShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-30px); }
}

/* Sound wrapper (iframe) */
.sound-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    filter: drop-shadow(0 0 20px #00FF00) drop-shadow(0 0 40px #FF006E);
    animation: pulse 1.5s ease-in-out infinite;
}

.sound-wrapper iframe {
    border: 3px solid #FF006E !important;
    border-radius: 10px;
    box-shadow: 0 0 30px #FFBE0B;
}

/* Boutons */
.button-chaos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-troll {
    padding: 20px 40px;
    font-size: 24px;
    font-weight: bold;
    border: 3px solid;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    animation: buttonBounce 1s ease-in-out infinite;
    box-shadow: 0 0 30px;
}

.btn-troll:nth-child(1) {
    background: linear-gradient(45deg, #FF006E, #FB5607);
    color: white;
    border-color: #FFBE0B;
    box-shadow: 0 0 30px #FF006E;
}

.btn-troll:nth-child(2) {
    background: linear-gradient(45deg, #8338EC, #3A86FF);
    color: white;
    border-color: #00FF00;
    box-shadow: 0 0 30px #8338EC;
}

.btn-troll:hover {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 0 60px;
}

.btn-troll:active {
    transform: scale(0.95);
}

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

/* Textes flottants */
.floating-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 900;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 90%;
    z-index: 5;
}

.floating-text span {
    animation: float 3s ease-in-out infinite;
    color: white;
    text-shadow: 0 0 10px, 0 0 20px;
    letter-spacing: 3px;
}

.floating-text span:nth-child(1) { animation-delay: 0s; color: #FF006E; text-shadow: 0 0 10px #FF006E; }
.floating-text span:nth-child(2) { animation-delay: 0.2s; color: #FFBE0B; text-shadow: 0 0 10px #FFBE0B; }
.floating-text span:nth-child(3) { animation-delay: 0.4s; color: #00FF00; text-shadow: 0 0 10px #00FF00; }
.floating-text span:nth-child(4) { animation-delay: 0.6s; color: #06FFA5; text-shadow: 0 0 10px #06FFA5; }
.floating-text span:nth-child(5) { animation-delay: 0.8s; color: #3A86FF; text-shadow: 0 0 10px #3A86FF; }
.floating-text span:nth-child(6) { animation-delay: 1s; color: #8338EC; text-shadow: 0 0 10px #8338EC; }
.floating-text span:nth-child(7) { animation-delay: 1.2s; color: #FB5607; text-shadow: 0 0 10px #FB5607; }

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

/* Pluie d'emojis */
.emoji-rain {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.emoji {
    position: absolute;
    font-size: 50px;
    animation: fall 5s linear infinite;
    opacity: 0.8;
}

.emoji:nth-child(1) { left: 10%; animation-delay: 0s; }
.emoji:nth-child(2) { left: 20%; animation-delay: 0.5s; }
.emoji:nth-child(3) { left: 30%; animation-delay: 1s; }
.emoji:nth-child(4) { left: 40%; animation-delay: 1.5s; }
.emoji:nth-child(5) { left: 50%; animation-delay: 2s; }
.emoji:nth-child(6) { left: 60%; animation-delay: 2.5s; }
.emoji:nth-child(7) { left: 70%; animation-delay: 3s; }
.emoji:nth-child(8) { left: 80%; animation-delay: 3.5s; }
.emoji:nth-child(9) { left: 90%; animation-delay: 4s; }

@keyframes fall {
    0% {
        top: -100px;
        opacity: 1;
    }
    100% {
        top: 100vh;
        opacity: 0;
    }
}

/* Message central */
.center-message {
    text-align: center;
    position: relative;
    z-index: 10;
}

.center-message h2 {
    font-size: 60px;
    margin: 20px 0;
    animation: pulse 1.5s ease-in-out infinite;
}

.center-message h2:nth-child(1) {
    color: #00FF00;
    text-shadow: 0 0 20px #00FF00;
}

.center-message .rotating {
    color: #FF006E;
    text-shadow: 0 0 20px #FF006E;
    display: inline-block;
    animation: spin 2s linear infinite;
}

.center-message p {
    font-size: 40px;
    color: #FFBE0B;
    text-shadow: 0 0 15px #FFBE0B;
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .spinning-text { font-size: 60px; top: 10%; left: 5%; }
    .spinning-text-2 { font-size: 50px; bottom: 10%; right: 5%; }
    .meme-title h1 { font-size: 40px; }
    .center-message h2 { font-size: 35px; }
    .floating-text { font-size: 32px; gap: 15px; }
    .btn-troll { padding: 15px 30px; font-size: 18px; }
}
