/* DJ-Themed Animations */

/* Animated Grid Background */
.grid-background {
    background-image:
        linear-gradient(rgba(0, 245, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 110, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

    100% {
        transform: translate(50px, 50px);
    }
}

/* Vinyl Records */
.vinyl-record {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #1a1a1a 30%, #ff006e 31%, #1a1a1a 32%, #1a1a1a 100%);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.3);
    animation: vinylSpin 10s linear infinite;
}

.vinyl-1 {
    top: 10%;
    left: 10%;
    animation-duration: 15s;
    opacity: 0.3;
}

.vinyl-2 {
    top: 60%;
    right: 15%;
    animation-duration: 20s;
    opacity: 0.2;
}

.vinyl-3 {
    bottom: 15%;
    left: 20%;
    animation-duration: 18s;
    opacity: 0.25;
}

@keyframes vinylSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Sound Waves */
.sound-wave {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0, 245, 255, 0.3);
    border-radius: 50%;
    animation: soundPulse 3s ease-out infinite;
}

.wave-1 {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.wave-2 {
    bottom: 30%;
    left: 15%;
    animation-delay: 1s;
}

.wave-3 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes soundPulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Neon Circles */
.neon-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    filter: blur(20px);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    background: rgba(255, 0, 110, 0.4);
    top: 15%;
    left: 25%;
    animation-delay: 0s;
}

.circle-2 {
    background: rgba(0, 245, 255, 0.4);
    top: 70%;
    right: 20%;
    animation-delay: 2s;
}

.circle-3 {
    background: rgba(138, 43, 226, 0.4);
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-30px) translateX(20px);
    }

    50% {
        transform: translateY(-60px) translateX(-20px);
    }

    75% {
        transform: translateY(-30px) translateX(20px);
    }
}

/* Music Notes */
.music-note {
    position: absolute;
    font-size: 2rem;
    color: #ff006e;
    animation: noteFloat 4s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 0, 110, 0.8);
}

.note-1 {
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.note-2 {
    top: -15%;
    right: -10%;
    animation-delay: 1.5s;
}

.note-3 {
    bottom: -20%;
    left: 50%;
    animation-delay: 3s;
}

@keyframes noteFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10%,
    90% {
        opacity: 1;
    }

    50% {
        transform: translateY(-100px) rotate(20deg);
    }
}

/* Neon Text Effect */
.neon-text {
    position: relative;
    color: #fff;
    text-shadow:
        0 0 10px #ff006e,
        0 0 20px #ff006e,
        0 0 30px #ff006e,
        0 0 40px #00f5ff,
        0 0 70px #00f5ff,
        0 0 80px #00f5ff,
        0 0 100px #00f5ff;
    animation: neonFlicker 3s ease-in-out infinite;
}

@keyframes neonFlicker {

    0%,
    100% {
        text-shadow:
            0 0 10px #ff006e,
            0 0 20px #ff006e,
            0 0 30px #ff006e,
            0 0 40px #00f5ff,
            0 0 70px #00f5ff;
    }

    50% {
        text-shadow:
            0 0 5px #ff006e,
            0 0 10px #ff006e,
            0 0 15px #ff006e,
            0 0 20px #00f5ff,
            0 0 35px #00f5ff;
    }
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    animation: glitch 5s infinite;
}

@keyframes glitch {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    92% {
        transform: translate(-2px, 2px);
    }

    94% {
        transform: translate(2px, -2px);
    }

    96% {
        transform: translate(-2px, -2px);
    }

    98% {
        transform: translate(2px, 2px);
    }
}

/* Equalizer Bars */
.equalizer-bar {
    width: 4px;
    height: 40px;
    background: linear-gradient(to top, #ff006e, #00f5ff);
    border-radius: 2px;
    animation: equalize 0.8s ease-in-out infinite;
}

@keyframes equalize {

    0%,
    100% {
        height: 20px;
    }

    50% {
        height: 60px;
    }
}

/* Neon Buttons */
.neon-button {
    position: relative;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.neon-button:hover::before {
    left: 100%;
}

.neon-button-pink {
    background: linear-gradient(135deg, #ff006e, #c0004e);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
    border: 2px solid #ff006e;
    color: white;
}

.neon-button-pink:hover {
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.8), 0 0 60px rgba(255, 0, 110, 0.4);
    transform: translateY(-2px);
}

.neon-button-cyan {
    background: linear-gradient(135deg, #00f5ff, #00b3bb);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
    border: 2px solid #00f5ff;
    color: white;
}

.neon-button-cyan:hover {
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.8), 0 0 60px rgba(0, 245, 255, 0.4);
    transform: translateY(-2px);
}