@import url('https://fonts.googleapis.com/css2?family=Metal+Mania&family=Oxanium:wght@400;500;600;700;800&display=swap');

:root {
    --chile-red: #D52B1E;
    --chile-blue: #0039A6;
    --chile-white: #FFFFFF;
    --rock-gold: #FFD700;
    --dark-stage: #0a0a0a;
    --flame-orange: #FF6B00;
    --flame-yellow: #FFD700;
    --neon-green: #39FF14;
    --neon-pink: #FF10F0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Oxanium', sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    background: var(--dark-stage);
    color: var(--chile-white);
}

/* Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            #000000 0%,
            #0a0520 20%,
            #1a0a2e 50%,
            #0a0520 80%,
            #000000 100%);
    z-index: 1;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.stage-lights {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(213, 43, 30, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 0%, rgba(0, 57, 166, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
    animation: lights-pulse 5s infinite ease-in-out;
}

@keyframes lights-pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

/* Navbar */
.navbar-hero {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg,
            rgba(10, 10, 10, 0.98) 0%,
            rgba(26, 10, 46, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--rock-gold);
    box-shadow: 0 5px 30px rgba(255, 215, 0, 0.3),
        0 0 50px rgba(213, 43, 30, 0.2);
    padding: 1rem 0;
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-small {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.navbar-filters {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
}

.filter-btn {
    background: linear-gradient(135deg,
            rgba(213, 43, 30, 0.6) 0%,
            rgba(0, 57, 166, 0.6) 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    color: white;
    font-family: 'Oxanium', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 5px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover {
    transform: translateY(-2px);
    border-color: var(--rock-gold);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg,
            rgba(213, 43, 30, 0.8) 0%,
            rgba(0, 57, 166, 0.8) 100%);
    color: white;
}

.filter-btn i {
    margin-right: 0.3rem;
    font-size: 0.8rem;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-back {
    background: linear-gradient(135deg,
            rgba(255, 215, 0, 0.8) 0%,
            rgba(255, 107, 0, 0.8) 100%);
    border: 2px solid var(--rock-gold);
    color: var(--dark-stage);
    font-family: 'Oxanium', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.btn-back:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.6);
    color: var(--dark-stage);
}

.user-avatar-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--dark-stage);
    object-fit: cover;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(20, 20, 20, 0.98);
    border: 2px solid var(--rock-gold);
    border-radius: 12px;
    min-width: 250px;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.dropdown-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--rock-gold);
    object-fit: cover;
}

.dropdown-user-info {
    flex: 1;
}

.dropdown-username {
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.dropdown-role {
    font-size: 0.85rem;
    color: var(--rock-gold);
    text-transform: capitalize;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 215, 0, 0.2);
    margin: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255, 215, 0, 0.1);
    color: white;
}

.dropdown-item.text-danger {
    color: #ff4444 !important;
}

.dropdown-item.text-danger:hover {
    background: rgba(255, 68, 68, 0.1);
}

/* Catalog Container */
.catalog-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.catalog-title {
    text-align: center;
    margin-bottom: 3rem;
}

.title-text {
    font-family: 'Metal Mania', cursive;
    font-size: 3rem;
    background: linear-gradient(90deg,
            var(--chile-red) 0%,
            var(--rock-gold) 30%,
            var(--chile-blue) 60%,
            var(--rock-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift 3s linear infinite;
    display: block;
    letter-spacing: 4px;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

@keyframes gradient-shift {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.title-underline {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--rock-gold) 50%,
            transparent 100%);
    margin: 1rem auto 0;
    box-shadow: 0 0 10px var(--rock-gold);
    animation: underline-pulse 2s infinite;
}

@keyframes underline-pulse {

    0%,
    100% {
        width: 200px;
        opacity: 0.6;
    }

    50% {
        width: 250px;
        opacity: 1;
    }
}

/* Song Grid */
.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.song-card {
    position: relative;
    background: linear-gradient(135deg,
            rgba(26, 10, 46, 0.8) 0%,
            rgba(10, 5, 32, 0.9) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.song-card.show {
    opacity: 1;
    transform: translateY(0);
}

.song-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--rock-gold);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.4),
        0 0 30px rgba(213, 43, 30, 0.3);
}

.song-card:hover .song-glow {
    opacity: 1;
}

.song-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle,
            rgba(255, 215, 0, 0.2) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.song-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: linear-gradient(135deg,
            rgba(255, 215, 0, 0.3) 0%,
            rgba(255, 107, 0, 0.3) 100%);
}

.song-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.song-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}

.song-name {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--chile-white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    min-height: 2.6rem;
}

.song-artist {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-weight: 500;
    flex: 1;
    margin-bottom: 0.5rem;
}

/* Estilos adicionales para la zona VIP */
.vip-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--rock-gold) 0%, var(--flame-orange) 100%);
    color: var(--dark-stage);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    z-index: 2;
}

.vip-price {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--chile-red) 0%, var(--chile-blue) 100%);
    color: var(--chile-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--rock-gold);
    box-shadow: 0 4px 15px rgba(213, 43, 30, 0.4);
    z-index: 2;
    animation: difficulty-pulse 2s infinite;
}

.vip-exclusive-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--chile-red) 0%, var(--chile-blue) 100%);
    color: var(--chile-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--rock-gold);
    box-shadow: 0 4px 15px rgba(213, 43, 30, 0.4);
    z-index: 2;
    animation: difficulty-pulse 2s infinite;
}

@keyframes difficulty-pulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(213, 43, 30, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(213, 43, 30, 0.7);
    }
}

.vip-price-info {
    display: inline-block;
    background: rgba(0, 0, 0, 0.7);
    color: var(--rock-gold);
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid var(--rock-gold);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    margin-top: auto;
    text-align: center;
}

/* Estilos para listas de viñetas en descripciones VIP */
.vip-list {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    list-style: none;
}

.vip-list li {
    position: relative;
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.4;
}

.vip-list li::before {
    content: "✦";
    position: absolute;
    left: -1.3rem;
    color: var(--rock-gold);
    font-weight: bold;
}