/* Fonts */
.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

.font-rajdhani {
    font-family: 'Rajdhani', sans-serif;
}

/* Neon Text Effects */
.neon-text-purple {
    color: #8b5cf6;
    text-shadow: 0 0 10px #8b5cf6, 0 0 20px #8b5cf6, 0 0 30px #8b5cf6;
}

.neon-text-blue {
    color: #3b82f6;
    text-shadow: 0 0 10px #3b82f6, 0 0 20px #3b82f6;
}

.neon-text-pink {
    color: #ec4899;
    text-shadow: 0 0 10px #ec4899, 0 0 20px #ec4899;
}

/* Neon Border */
.neon-border {
    border: 2px solid transparent;
    background: linear-gradient(45deg, #8b5cf6, #3b82f6, #ec4899) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    position: relative;
}

.neon-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #8b5cf6, #3b82f6, #ec4899);
    border-radius: inherit;
    z-index: -1;
    animation: neonGlow 3s ease-in-out infinite;
}

@keyframes neonGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Neon Button */
.neon-button {
    background: linear-gradient(45deg, #8b5cf6, #3b82f6);
    border: none;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.neon-button:hover::before {
    width: 300px;
    height: 300px;
}

.neon-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

/* Glassmorphism */
.glass-card {
    background: rgba(30, 30, 30, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar-glass {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

/* Loading Screen */
.logo-circle {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: drawCircle 2s ease-in-out infinite;
}

.logo-icon {
    opacity: 0;
    animation: fadeInPulse 2s ease-in-out infinite 0.5s;
}

.logo-inner {
    stroke-dasharray: 188;
    stroke-dashoffset: 188;
    animation: drawCircle 2s ease-in-out infinite 1s;
}

.logo-cross {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawCross 2s ease-in-out infinite 1.5s;
}

@keyframes drawCircle {
    0% { stroke-dashoffset: 283; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -283; }
}

@keyframes drawCross {
    0%, 50% { stroke-dashoffset: 60; }
    75% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -60; }
}

@keyframes fadeInPulse {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.7; transform: scale(1); }
}

.loading-bar {
    animation: loadingBar 2s ease-in-out infinite;
}

@keyframes loadingBar {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

/* Hero Section */
.hero-bg {
    background: linear-gradient(135deg, #1a0033, #000033, #33001a);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-blobs {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #8b5cf6;
    top: -250px;
    left: -250px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #ec4899;
    bottom: -200px;
    right: -200px;
    animation-delay: 5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #3b82f6;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -100px) scale(1.1); }
    66% { transform: translate(-100px, 100px) scale(0.9); }
}

/* Glitch Effect */
.glitch {
    position: relative;
    animation: glitch 3s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #3b82f6;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #ec4899;
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { clip: rect(0, 900px, 0, 0); }
    25% { clip: rect(0, 900px, 100px, 0); }
    50% { clip: rect(100px, 900px, 200px, 0); }
    75% { clip: rect(200px, 900px, 300px, 0); }
}

@keyframes glitch-2 {
    0%, 100% { clip: rect(0, 900px, 0, 0); }
    25% { clip: rect(100px, 900px, 200px, 0); }
    50% { clip: rect(200px, 900px, 300px, 0); }
    75% { clip: rect(300px, 900px, 400px, 0); }
}

/* Hero animations */
.hero-subtitle {
    animation: fadeUp 1s ease forwards 1s;
}

.hero-buttons {
    animation: fadeUp 1s ease forwards 1.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator */
.scroll-indicator {
    opacity: 0;
    animation: fadeIn 1s ease forwards 2s;
}

.scroll-dot {
    animation: scrollDot 2s ease infinite;
}

@keyframes scrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* Equalizer */
.equalizer {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: flex-end;
    height: 60px;
    gap: 3px;
}

.bar {
    width: 4px;
    background: linear-gradient(to top, #8b5cf6, #ec4899);
    border-radius: 2px;
    animation: equalize 1s ease-in-out infinite;
}

.bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.bar:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.bar:nth-child(3) { height: 45px; animation-delay: 0.2s; }
.bar:nth-child(4) { height: 30px; animation-delay: 0.3s; }
.bar:nth-child(5) { height: 40px; animation-delay: 0.4s; }
.bar:nth-child(6) { height: 25px; animation-delay: 0.5s; }
.bar:nth-child(7) { height: 35px; animation-delay: 0.6s; }
.bar:nth-child(8) { height: 50px; animation-delay: 0.7s; }

@keyframes equalize {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

/* Particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #8b5cf6;
    border-radius: 50%;
    animation: floatParticle 10s infinite linear;
    box-shadow: 0 0 10px #8b5cf6;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Section animations */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Card hover effects */
.hover-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.hover-card:hover::before {
    left: 100%;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

/* Music card specific */
.music-card {
    background: rgba(30, 30, 30, 0.5);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.music-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.4);
}

.music-card img {
    transition: transform 0.3s ease;
}

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

/* Event card */
.event-card {
    background: rgba(30, 30, 30, 0.5);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.event-card:hover {
    transform: translateY(-5px) rotateX(5deg);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

.event-card img {
    transition: transform 0.3s ease;
}

.event-card:hover img {
    transform: scale(1.05);
}

/* Gallery item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.2);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Audio player */
#audio-player {
    transition: all 0.3s ease;
}

.eq-bar {
    width: 8px;
    height: 20px;
    background: linear-gradient(to top, #8b5cf6, #ec4899);
    border-radius: 4px;
    animation: eqBar 0.5s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) { animation-delay: 0s; }
.eq-bar:nth-child(2) { animation-delay: 0.1s; }
.eq-bar:nth-child(3) { animation-delay: 0.2s; }
.eq-bar:nth-child(4) { animation-delay: 0.3s; }
.eq-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes eqBar {
    0% { height: 20px; }
    100% { height: 40px; }
}

/* Counter animation */
.counter {
    font-size: 3rem;
    font-weight: 900;
    color: #8b5cf6;
    text-shadow: 0 0 10px #8b5cf6;
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Custom cursor */
#custom-cursor {
    mix-blend-mode: difference;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glitch {
        font-size: 4rem;
    }
    
    .equalizer {
        display: none;
    }
}

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

/* Hide default cursor on non-touch devices */
@media (hover: hover) {
    body {
        cursor: none;
    }
}

/* Toast animation */
#toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Back to top button */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

#back-to-top:hover {
    transform: translateY(-5px);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Social icons */
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(139, 92, 246, 0.4);
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* Loading screen fade out */
#loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Track list item */
.track-item {
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.track-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.track-item.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

/* Booking form focus effects */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

/* Modal overlay */
.modal-overlay {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

/* Image modal */
.image-modal {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

/* Pulse animation for active elements */
@keyframes pulseNeon {
    0%, 100% { 
        box-shadow: 0 0 10px #8b5cf6, 0 0 20px #8b5cf6;
    }
    50% { 
        box-shadow: 0 0 20px #8b5cf6, 0 0 40px #8b5cf6;
    }
}

.pulse-neon {
    animation: pulseNeon 2s ease-in-out infinite;
}

/* Stagger animation for cards */
.stagger-card {
    opacity: 0;
    transform: translateY(30px);
}

.stagger-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.stagger-card:nth-child(1) { transition-delay: 0.1s; }
.stagger-card:nth-child(2) { transition-delay: 0.2s; }
.stagger-card:nth-child(3) { transition-delay: 0.3s; }
.stagger-card:nth-child(4) { transition-delay: 0.4s; }
.stagger-card:nth-child(5) { transition-delay: 0.5s; }
.stagger-card:nth-child(6) { transition-delay: 0.6s; }