/* Professional Gaming Wave Effects - For Platform Section */

/* Platform Wave Container */
.platform-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Wave Layers - More visible */
.wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 80px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(139, 92, 246, 0.3), 
        rgba(168, 85, 247, 0.25),
        rgba(139, 92, 246, 0.3), 
        transparent);
    border-radius: 50%;
    transform-origin: center bottom;
}

.wave-1 {
    animation: platformWave1 8s ease-in-out infinite;
    opacity: 0.6;
    height: 60px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(139, 92, 246, 0.4), 
        rgba(168, 85, 247, 0.35),
        rgba(139, 92, 246, 0.4), 
        transparent);
}

.wave-2 {
    animation: platformWave2 12s ease-in-out infinite reverse;
    opacity: 0.5;
    height: 80px;
    animation-delay: -2s;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(168, 85, 247, 0.3), 
        rgba(139, 92, 246, 0.25),
        rgba(168, 85, 247, 0.3), 
        transparent);
}

.wave-3 {
    animation: platformWave3 15s ease-in-out infinite;
    opacity: 0.4;
    height: 100px;
    animation-delay: -4s;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(147, 51, 234, 0.25), 
        rgba(168, 85, 247, 0.2),
        rgba(147, 51, 234, 0.25), 
        transparent);
}

/* Wave Particles - More visible */
.wave-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wave-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(139, 92, 246, 0.7);
    border-radius: 50%;
    animation: floatingParticle 10s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.wave-particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.wave-particle:nth-child(2) {
    left: 25%;
    animation-delay: -2s;
    animation-duration: 12s;
}

.wave-particle:nth-child(3) {
    left: 50%;
    animation-delay: -4s;
    animation-duration: 10s;
}

.wave-particle:nth-child(4) {
    left: 75%;
    animation-delay: -6s;
    animation-duration: 14s;
}

.wave-particle:nth-child(5) {
    left: 90%;
    animation-delay: -8s;
    animation-duration: 11s;
}

/* Enhanced Wave Animations */
@keyframes platformWave1 {
    0%, 100% {
        transform: translateX(-50%) scaleY(1) scaleX(1);
        opacity: 0.6;
    }
    25% {
        transform: translateX(-45%) scaleY(1.4) scaleX(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translateX(-40%) scaleY(0.6) scaleX(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translateX(-45%) scaleY(1.2) scaleX(1.05);
        opacity: 0.7;
    }
}

@keyframes platformWave2 {
    0%, 100% {
        transform: translateX(-60%) scaleY(1) scaleX(1);
        opacity: 0.5;
    }
    33% {
        transform: translateX(-55%) scaleY(1.5) scaleX(1.2);
        opacity: 0.7;
    }
    66% {
        transform: translateX(-50%) scaleY(0.5) scaleX(0.8);
        opacity: 0.3;
    }
}

@keyframes platformWave3 {
    0%, 100% {
        transform: translateX(-40%) scaleY(1) scaleX(1);
        opacity: 0.4;
    }
    20% {
        transform: translateX(-35%) scaleY(1.3) scaleX(1.1);
        opacity: 0.6;
    }
    40% {
        transform: translateX(-30%) scaleY(0.7) scaleX(0.9);
        opacity: 0.2;
    }
    60% {
        transform: translateX(-35%) scaleY(1.4) scaleX(1.15);
        opacity: 0.5;
    }
    80% {
        transform: translateX(-40%) scaleY(0.6) scaleX(0.85);
        opacity: 0.3;
    }
}

@keyframes floatingParticle {
    0%, 100% {
        transform: translateY(120px) scale(0.6);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(10px) scale(1.2);
        opacity: 1;
    }
    90% {
        opacity: 0.6;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .wave-layer {
        height: 40px;
    }
    
    .wave-1 { height: 30px; }
    .wave-2 { height: 45px; }
    .wave-3 { height: 60px; }
    
    .wave-particle {
        width: 3px;
        height: 3px;
    }
}

@media (max-width: 768px) {
    .wave-layer {
        height: 30px;
    }
    
    .wave-1 { height: 20px; }
    .wave-2 { height: 35px; }
    .wave-3 { height: 45px; }
    
    .wave-particle {
        width: 2px;
        height: 2px;
    }
}

@media (max-width: 480px) {
    .platform-waves {
        opacity: 0.5; /* Reduce visibility on very small screens */
    }
    
    .wave-layer {
        height: 20px;
    }
    
    .wave-1 { height: 15px; }
    .wave-2 { height: 25px; }
    .wave-3 { height: 30px; }
}
