/* ==========================================================================
   ALMA EL MUSICAL - "MAGICAL AURORA" (Cleaned for Tailwind)
   ========================================================================== */

:root {
    --transition-bouncy: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
}

* {
    /* Hide default cursor to use magic cursor */
    cursor: none;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   MAGIC CURSOR (DESKTOP ONLY)
   ========================================================================== */
@media (min-width: 1024px) {
    .magic-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        pointer-events: none;
        z-index: 9999;
    }

    .cursor-dot {
        position: absolute;
        width: 12px;
        height: 12px;
        background: #FF0055;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.1s var(--transition-smooth), background-color 0.3s ease;
        mix-blend-mode: multiply;
    }

    .cursor-ring {
        position: absolute;
        width: 40px;
        height: 40px;
        border: 2px solid #00E5FF;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.3s var(--transition-bouncy), height 0.3s var(--transition-bouncy), border-color 0.3s ease;
    }

    .magic-cursor.hovering .cursor-dot {
        transform: translate(-50%, -50%) scale(0.5);
    }

    .magic-cursor.hovering .cursor-ring {
        width: 60px;
        height: 60px;
        background-color: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(2px);
        border-color: #FFD600;
    }

    .sparkle {
        position: absolute;
        width: 6px;
        height: 6px;
        background: #FFD600;
        border-radius: 50%;
        pointer-events: none;
        animation: sparkle-fade 1s forwards;
    }
}

@keyframes sparkle-fade {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    100% {
        transform: scale(0) translateY(20px);
        opacity: 0;
    }
}

@media (max-width: 1023px) {
    * {
        cursor: auto !important;
    }

    .magic-cursor {
        display: none;
    }
}

/* ==========================================================================
   AURORA BACKGROUND (THE MAGIC)
   ========================================================================== */
.aurora-body {
    position: relative;
}

.aurora-blobs-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -2;
    background: #FFFAF0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: blob-float 20s infinite alternate ease-in-out;
}

.blob-pink {
    width: 600px;
    height: 600px;
    background: #FF7AA5;
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-cyan {
    width: 500px;
    height: 500px;
    background: #80F2FF;
    bottom: 20%;
    right: -10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-yellow {
    width: 450px;
    height: 450px;
    background: #FFF59D;
    top: 30%;
    left: 40%;
    animation-delay: -10s;
    animation-duration: 30s;
}

.blob-purple {
    width: 400px;
    height: 400px;
    background: #B388FF;
    bottom: -10%;
    left: 10%;
    opacity: 0.4;
    animation-delay: -15s;
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.parallax-layer {
    position: relative;
    z-index: 1;
}

.parallax-back {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    font-size: 2rem;
    opacity: 0.8;
    font-family: sans-serif;
}

.s1 {
    top: 15%;
    left: 10%;
    animation: float-slow 6s ease-in-out infinite;
}

.n1 {
    top: 25%;
    right: 15%;
    font-size: 3rem;
    animation: float-slow 7s ease-in-out infinite reverse;
}

.s2 {
    top: 60%;
    right: 25%;
    animation: float-slow 5s ease-in-out infinite 1s;
}

.c1 {
    top: 40%;
    left: 20%;
    font-size: 4rem;
    opacity: 0.4;
    animation: float-x 15s linear infinite alternate;
}

@keyframes float-x {
    0% {
        transform: translateX(-50px);
    }

    100% {
        transform: translateX(50px);
    }
}

/* ==========================================================================
   TYPOGRAPHY & 3D TEXT
   ========================================================================== */
.text-3d-multi {
    color: #FFFFFF;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 4px 0 #FF0055,
        0 8px 0 #00B8D4,
        0 12px 15px rgba(0, 0, 0, 0.4);
}

.text-3d-pink {
    color: #FFFFFF;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 2px 0 #FF7AA5,
        0 4px 0 #FF0055,
        0 6px 10px rgba(255, 0, 85, 0.5);
}

.text-3d-cyan {
    color: #FFFFFF;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 3px 0 #80F2FF,
        0 6px 0 #00B8D4,
        0 10px 15px rgba(0, 229, 255, 0.5);
}

.text-3d-yellow {
    color: #FFFFFF;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 3px 0 #FFF59D,
        0 6px 0 #F6B314,
        0 10px 15px rgba(246, 179, 20, 0.5);
}

.text-3d-blue {
    color: #FFFFFF;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 3px 0 #7DB2E1,
        0 6px 0 #009EFF,
        0 10px 15px rgba(0, 158, 255, 0.5);
}

/* ==========================================================================
   GLASSMORPHISM & NEON PANELS
   ========================================================================== */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-neon {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-neon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    z-index: -1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
}

.neon-pink::before {
    background: linear-gradient(135deg, #FF0055, transparent);
    opacity: 0.5;
}

.neon-blue::before {
    background: linear-gradient(135deg, #00E5FF, transparent);
    opacity: 0.5;
}

.neon-yellow::before {
    background: linear-gradient(135deg, #FFD600, transparent);
    opacity: 0.5;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
.btn-3d {
    position: relative;
    top: 0;
    transition: all 0.3s var(--transition-bouncy);
}

.btn-3d:active {
    top: 4px;
    box-shadow: none !important;
}

.btn-spotify {
    background: #1DB954;
    color: white;
    box-shadow: 0 6px 0 #14803A, 0 10px 20px rgba(29, 185, 84, 0.4);
}

.hover-pop {
    transition: all 0.3s var(--transition-bouncy);
}

.hover-pop:hover {
    transform: scale(1.05) translateY(-5px);
}

.glass-nav {
    background: transparent;
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.mobile-dropdown {
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--transition-bouncy);
}

.mobile-dropdown.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Tickets custom cutout */
.ticket-card {
    transition: transform 0.3s var(--transition-bouncy), filter 0.3s ease;
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */
.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}

@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float-slow 6s ease-in-out infinite;
}

.animate-float-reverse {
    animation: float-slow 7s ease-in-out infinite reverse;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.glow-pulse {
    animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

.hover-wiggle:hover {
    animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--transition-smooth);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s var(--transition-smooth);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s var(--transition-smooth);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}