/* Custom styles for The 1975 Website */

:root {
    --pink-primary: #ec4899;
    --pink-glow: rgba(236, 72, 153, 0.5);
    --black-deep: #000000;
    --gray-dark: #18181b;
}

/* Neon Effects */
.neon-box {
    position: relative;
    box-shadow: 0 0 20px var(--pink-glow),
                inset 0 0 20px rgba(236, 72, 153, 0.1);
}

.neon-container {
    box-shadow: 0 0 40px rgba(236, 72, 153, 0.3),
                0 0 80px rgba(236, 72, 153, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--pink-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #db2777;
}

/* Text Selection */
::selection {
    background: rgba(236, 72, 153, 0.3);
    color: white;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Navigation Link Hover Effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--pink-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--pink-glow);
}

.nav-link:hover::after {
    width: 100%;
}

/* Glitch Effect for Hero Text */
@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.glitch-text:hover {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
    color: var(--pink-primary);
}

/* Pulse Animation for Neon Elements */
@keyframes pulse-neon {
    0%, 100% {
        opacity: 0.6;
        filter: blur(4px);
    }
    50% {
        opacity: 1;
        filter: blur(6px);
    }
}

.animate-pulse {
    animation: pulse-neon 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient Text Animation */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

/* Album Card Hover Glow */
.album-card-hover:hover {
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.2);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Image Hover Zoom */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-zoom:hover img {
    transform: scale(1.1);
}

/* Loading Animation */
@keyframes loading-bar {
    0% {
        width: 0%;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    100% {
        width: 0%;
        left: 100%;
    }
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--pink-primary);
    animation: loading-bar 2s infinite;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}