/* Efecto estilo PS4 - Partículas y ondas animadas */
.ps4-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Partículas flotantes */
.ps4-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(150, 150, 150, 0.2);
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 0 5px rgba(150, 150, 150, 0.3);
}

.ps4-particle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.4) 0%, transparent 70%);
    animation: pulse 3s infinite ease-in-out;
}

/* Ondas animadas */
.ps4-wave {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(100, 100, 100, 0.2);
    animation: wave 8s infinite ease-in-out;
}

.ps4-wave::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 1px solid rgba(120, 120, 120, 0.3);
    animation: wave-inner 6s infinite ease-in-out;
}

/* Líneas de conexión */
.ps4-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(150, 150, 150, 0.3), transparent);
    animation: lineMove 12s infinite linear;
    opacity: 0.4;
}

/* Efecto de grid */
.ps4-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(100, 100, 100, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 100, 100, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s infinite linear;
    opacity: 0.3;
}

/* Animaciones */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -50px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, -100px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, -30px) scale(1.1);
        opacity: 0.6;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.1;
    }
}

@keyframes wave {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
}

@keyframes wave-inner {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.4;
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.4;
    }
}

@keyframes lineMove {
    0% {
        transform: translateX(-100%) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateX(200vw) rotate(360deg);
        opacity: 0;
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Efecto de brillo sutil */
.ps4-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.15) 0%, transparent 70%);
    animation: glowMove 10s infinite ease-in-out;
    filter: blur(30px);
}

@keyframes glowMove {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    25% {
        transform: translate(100px, 100px);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50px, 150px);
        opacity: 0.4;
    }
    75% {
        transform: translate(150px, -50px);
        opacity: 0.6;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ps4-grid {
        background-size: 30px 30px;
    }
    
    .ps4-particle {
        animation-duration: 12s;
    }
    
    .ps4-wave {
        animation-duration: 6s;
    }
}

