:root {
    --bg-dark: #0a0a0a;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --accent-primary: #ff2a8a;
    /* Magenta/Pink */
    --accent-secondary: #00f0ff;
    /* Cyan */
    --accent-jazz: #e4b02f;
    --accent-rock: #050006;
    --accent-hiphop: #d88d21;
    --accent-pop: #9b4521;
    --accent-electro: #2d256f;
    --accent-kpop: #9f2122;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Header & Nav */
.cabecera {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 28px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 2px;
}

.logo-img {
    max-height: 22px;
    /* Reducido para que no se vea tan grande */
    width: auto;
    transition: transform 0.3s ease;
}

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

/* Opcional: estilo hover de texto por si lo usamos luego, de momento el logo-img tiene su hover
.logo:hover {
    color: var(--accent-secondary);
} */

.enlaces-navegacion a {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.enlaces-navegacion a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    /* Default color just in case */
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.enlaces-navegacion .jazz-link::after {
    background-color: var(--accent-jazz);
}

.enlaces-navegacion .rock-link::after {
    background-color: var(--accent-rock);
}

.enlaces-navegacion .hiphop-link::after {
    background-color: var(--accent-hiphop);
}

.enlaces-navegacion .pop-link::after {
    background-color: var(--accent-pop);
}

.enlaces-navegacion .electro-link::after {
    background-color: var(--accent-electro);
}

.enlaces-navegacion .kpop-link::after {
    background-color: var(--accent-kpop);
}

.enlaces-navegacion a:hover {
    color: #000000;
}

.enlaces-navegacion a:hover::after {
    width: 100%;
}

.btn-descubre {
    background: #ffffff;
    color: #000000;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #000000;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn-descubre:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #000000;
    color: #ffffff;
}

/* Hero Section */
.seccion-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #ffffff;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(25, 105, 166, 0.15), transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(233, 227, 56, 0.15), transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(184, 78, 109, 0.15), transparent 50%),
        radial-gradient(circle at 20% 90%, rgba(212, 150, 40, 0.15), transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(143, 25, 30, 0.15), transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(163, 184, 53, 0.15), transparent 50%);
    background-size: 100% 100%;
}

.logo-hero {
    max-width: 500px;
    width: 90%;
    height: auto;
}

.subtitulo-hero {
    font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    color: #111111;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contenido-hero {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.btn-hero-dark {
    display: inline-block;
    color: #0a0a0a;
    border: 2px solid #0a0a0a;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero-dark:hover {
    background: #0a0a0a;
    color: #ffffff;
}

/* Genero Sections */
.seccion-genero {
    min-height: 100vh;
    padding: 100px 0;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

/* Glassmorphism Cards */
.glass-card {
    background: #ffffff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.titulo-img {
    max-width: 150px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.glass-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 25px;
}

.etiqueta {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Specific Genre Styles */
.seccion-jazz {
    background-image: linear-gradient(to right, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.3)), url('Jazz.jpg');
}

.seccion-jazz .glass-card::before {
    background: var(--accent-jazz);
}

.seccion-jazz .etiqueta {
    background: rgba(228, 176, 47, 0.1);
    border: 1px solid var(--accent-jazz);
    color: var(--accent-jazz);
}

.seccion-rock {
    background-image: linear-gradient(to left, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.3)), url('Rock.jpg');
}

.seccion-rock .glass-card::before {
    background: var(--accent-rock);
}

.seccion-rock .etiqueta {
    background: rgba(5, 0, 6, 0.1);
    border: 1px solid var(--accent-rock);
    color: var(--accent-rock);
}

.seccion-hiphop {
    background-image: linear-gradient(to right, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.3)), url('Hip_Hop.jpg');
}

.seccion-hiphop .glass-card::before {
    background: var(--accent-hiphop);
}

.seccion-hiphop .etiqueta {
    background: rgba(216, 141, 33, 0.1);
    border: 1px solid var(--accent-hiphop);
    color: var(--accent-hiphop);
}

.seccion-pop {
    background-image: linear-gradient(to left, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.3)), url('Pop.jpg');
}

.seccion-pop .glass-card::before {
    background: var(--accent-pop);
}

.seccion-pop .etiqueta {
    background: rgba(155, 69, 33, 0.1);
    border: 1px solid var(--accent-pop);
    color: var(--accent-pop);
}

.seccion-electro {
    background-image: linear-gradient(to right, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.3)), url('Electro.jpg');
}

.seccion-electro .glass-card::before {
    background: var(--accent-electro);
}

.seccion-electro .etiqueta {
    background: rgba(45, 37, 111, 0.1);
    border: 1px solid var(--accent-electro);
    color: var(--accent-electro);
}

/* Fallback for K-Pop using dynamic gradient */
.seccion-kpop {
    background-image: linear-gradient(to left, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.3)), url('K-pop.jpg');
}

.seccion-kpop .glass-card::before {
    background: var(--accent-kpop);
}

.seccion-kpop .etiqueta {
    background: rgba(159, 33, 34, 0.1);
    border: 1px solid var(--accent-kpop);
    color: var(--accent-kpop);
}

/* Mobile Design Overrides */
@media(max-width: 768px) {
    .seccion-hero {
        background-attachment: scroll;
    }

    .seccion-genero {
        background-attachment: scroll;
        height: auto !important;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 60px;
        display: block !important;
    }

    .seccion-genero .row {
        height: auto !important;
    }

    .glass-card {
        padding: 25px;
        margin-top: 30px;
    }

    .logo-img {
        max-height: 18px;
    }

    .titulo-img {
        max-width: 120px;
    }

    /* Hamburger Menu drop fix */
    .cabecera .collapse.show,
    .cabecera .collapsing {
        background: #ffffff;
        border-radius: 12px;
        padding: 15px;
        margin-top: 15px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
}

/* Tienda Section */
.seccion-tienda {
    background-color: #000000;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-bottom: 50px;
}

.titulo-tienda {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-family: var(--font-heading);
    font-weight: 700;
}

.compra-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.compra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.compra-card h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.compra-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    flex-grow: 1;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.compra-card .precio {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
}

.btn-compra {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.btn-compra:hover {
    background: #000000;
    color: #ffffff;
}

/* Animations */
.animate-onload {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* Scroll Animation Initial States */
.anim-scroll {
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.anim-scroll.left {
    transform: translateX(-50px);
}

.anim-scroll.right {
    transform: translateX(50px);
}

.anim-scroll.up {
    transform: translateY(50px);
}

.anim-scroll.down {
    transform: translateY(-50px);
}

/* Class activated by JS observer */
.anim-scroll.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.custom-footer {
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}