/* =========================================================
   LIVE / DJ SETS
========================================================= */

.sets-section {
    position: relative;

    width: 100%;
    padding: 120px 6%;

    background: #080808;
    color: #ffffff;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.sets-section .section-heading {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto 65px;
}

.sets-section .section-heading > span {
    display: block;

    margin-bottom: 14px;

    color: #777777;

    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.32em;

    text-transform: uppercase;
}

.sets-section .section-heading h2 {
    margin: 0;

    font-size: clamp(3rem, 6vw, 5.8rem);
    font-weight: 800;

    line-height: 0.95;
    letter-spacing: -0.05em;

    text-transform: uppercase;
}

.sets-section .section-heading p {
    max-width: 650px;

    margin-top: 24px;

    color: #a8a8a8;

    font-size: 0.95rem;
    font-weight: 300;

    line-height: 1.8;
}


/* =========================================================
   FEATURED SET
========================================================= */

.featured-set {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.75fr);

    background: #101010;

    border: 1px solid rgba(255, 255, 255, 0.07);

    overflow: hidden;
}

/* =========================================================
   FEATURED SET IMAGE
========================================================= */

.featured-set-image {
    position: relative;

    display: block;

    width: 100%;
    min-height: 520px;

    overflow: hidden;

    background: #000000;
}


/* IMAGEN */

.featured-set-image img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.7s ease;
}


/* CAPA OSCURA */

.featured-set-image-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.70) 0%,
            rgba(0, 0, 0, 0.10) 50%,
            rgba(0, 0, 0, 0.20) 100%
        );

    transition: background 0.4s ease;
}


/* PLAY */

.featured-play {
    position: absolute;

    z-index: 2;

    top: 50%;
    left: 50%;

    width: 82px;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-left: 5px;

    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.30);

    color: #ffffff;

    font-size: 1.15rem;

    transform: translate(-50%, -50%);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


/* TEXTO YOUTUBE */

.featured-youtube {
    position: absolute;

    z-index: 2;

    left: 30px;
    bottom: 25px;

    color: rgba(255, 255, 255, 0.85);

    font-size: 0.62rem;
    font-weight: 600;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}


/* HOVER */

.featured-set-image:hover img {
    transform: scale(1.04);
}

.featured-set-image:hover .featured-set-image-overlay {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.20) 50%,
            rgba(0, 0, 0, 0.30) 100%
        );
}

.featured-set-image:hover .featured-play {
    background: #ffffff;
    color: #000000;

    transform:
        translate(-50%, -50%)
        scale(1.08);
}


/* =========================================================
   FEATURED IMAGE - MOBILE
========================================================= */

@media (max-width: 768px) {

    .featured-set-image {
        min-height: 0;

        aspect-ratio: 16 / 10;
    }

    .featured-play {
        width: 65px;
        height: 65px;

        font-size: 0.9rem;
    }

    .featured-youtube {
        left: 20px;
        bottom: 18px;

        font-size: 0.55rem;
    }

}

/* =========================================================
   FEATURED INFO
========================================================= */

.featured-set-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px 45px;
}

.set-label {
    display: block;

    margin-bottom: 18px;

    color: #777777;

    font-size: 0.65rem;
    font-weight: 600;

    letter-spacing: 0.25em;

    text-transform: uppercase;
}

.featured-set-info h3 {
    margin: 0;

    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 700;

    line-height: 1;

    letter-spacing: -0.04em;

    text-transform: uppercase;
}

.featured-set-info p {
    margin-top: 25px;

    color: #a8a8a8;

    font-size: 0.9rem;
    font-weight: 300;

    line-height: 1.85;
}

.featured-set-info .text-link {
    margin-top: 30px;
}


/* =========================================================
   SELECTED SESSIONS TITLE
========================================================= */

.sets-title {
    width: 100%;
    max-width: 1280px;

    margin: 90px auto 35px;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sets-title > span {
    display: block;

    margin-bottom: 8px;

    color: #666666;

    font-size: 0.62rem;
    font-weight: 600;

    letter-spacing: 0.28em;

    text-transform: uppercase;
}

.sets-title h3 {
    margin: 0;

    font-size: 1.5rem;
    font-weight: 600;

    letter-spacing: -0.02em;
}


/* =========================================================
   SETS GRID
========================================================= */

.sets-grid {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;
}


/* =========================================================
   SET CARD
========================================================= */

.set-card {
    position: relative;

    min-width: 0;

    background: #0e0e0e;

    border: 1px solid rgba(255, 255, 255, 0.06);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.set-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255, 255, 255, 0.18);

    background: #121212;
}


/* =========================================================
   CARD IMAGE
========================================================= */

.set-card-image {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #111111;
}

.set-card-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.18);

    transition: background 0.35s ease;
}

.set-card:hover .set-card-image::after {
    background: rgba(0, 0, 0, 0.38);
}

.set-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.set-card:hover .set-card-image img {
    transform: scale(1.05);
}


/* =========================================================
   PLAY ICON
========================================================= */

.set-play {
    position: absolute;

    z-index: 2;

    top: 50%;
    left: 50%;

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-left: 3px;

    border: 1px solid rgba(255, 255, 255, 0.7);

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.35);

    color: #ffffff;

    font-size: 0.85rem;

    transform: translate(-50%, -50%);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.set-card:hover .set-play {
    background: #ffffff;
    color: #000000;

    transform:
        translate(-50%, -50%)
        scale(1.08);
}


/* =========================================================
   CARD INFO
========================================================= */

.set-card-info {
    padding: 25px 24px 28px;
}

.set-card-info > span {
    display: block;

    margin-bottom: 9px;

    color: #666666;

    font-size: 0.58rem;
    font-weight: 600;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}

.set-card-info h3 {
    margin: 0;

    color: #ffffff;

    font-size: 1.25rem;
    font-weight: 650;

    line-height: 1.2;

    letter-spacing: -0.02em;
}

.set-card-info a {
    display: inline-block;

    margin-top: 18px;
    padding-bottom: 4px;

    color: #a5a5a5;

    font-size: 0.65rem;
    font-weight: 600;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    border-bottom: 1px solid #555555;

    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

.set-card-info a:hover {
    color: #ffffff;

    border-color: #ffffff;
}


/* =========================================================
   MORE SESSIONS CARD
========================================================= */

.set-card-more {
    display: flex;

    min-height: 100%;

    background:
        linear-gradient(
            145deg,
            #151515 0%,
            #090909 100%
        );
}

.set-more-content {
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 35px 30px;
}

.set-more-content > span {
    display: block;

    margin-bottom: 15px;

    color: #666666;

    font-size: 0.58rem;
    font-weight: 600;

    letter-spacing: 0.24em;

    text-transform: uppercase;
}

.set-more-content h3 {
    margin: 0;

    font-size: 1.8rem;
    font-weight: 700;

    line-height: 1.1;

    text-transform: uppercase;
}

.set-more-content p {
    margin-top: 18px;

    color: #888888;

    font-size: 0.82rem;
    font-weight: 300;

    line-height: 1.75;
}

.set-more-content .text-link {
    margin-top: 25px;
}


/* =========================================================
   TEXT LINK
========================================================= */

.sets-section .text-link {
    position: relative;

    display: inline-block;

    width: fit-content;

    padding-bottom: 5px;

    color: #ffffff;

    font-size: 0.65rem;
    font-weight: 600;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    border-bottom: 1px solid rgba(255, 255, 255, 0.65);

    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

.sets-section .text-link:hover {
    color: #999999;

    border-color: #999999;
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

    .featured-set {
        grid-template-columns: 1.5fr 0.8fr;
    }

    .featured-set-info {
        padding: 40px 32px;
    }

    .sets-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 22px;
    }

}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 768px) {

    .sets-section {
        padding: 85px 25px;
    }


    /* HEADER */

    .sets-section .section-heading {
        margin-bottom: 45px;
    }

    .sets-section .section-heading h2 {
        font-size: clamp(2.8rem, 13vw, 4.5rem);

        line-height: 0.95;
    }


    /* FEATURED */

    .featured-set {
        display: block;
    }

    .featured-set-video {
        aspect-ratio: 16 / 9;
    }

    .featured-set-info {
        padding: 35px 28px 40px;
    }

    .featured-set-info h3 {
        font-size: 2.5rem;
    }


    /* SESSIONS */

    .sets-title {
        margin-top: 65px;
    }

    .sets-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 15px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 560px) {

    .sets-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sets-grid {
        grid-template-columns: 1fr;
    }

    .set-card-image {
        aspect-ratio: 16 / 9;
    }

    .set-card-info {
        padding: 22px;
    }

    .set-card-info h3 {
        font-size: 1.35rem;
    }

    .set-card-more {
        min-height: 300px;
    }

    .set-more-content {
        padding: 35px 25px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .set-card,
    .set-card-image img,
    .set-play {
        transition: none;
    }

}

/* =========================================================
   MUSIC / DISCOGRAPHY
========================================================= */

.music-section {
    position: relative;

    width: 100%;
    padding: 120px 6%;

    background: #050505;
    color: #ffffff;
}


/* =========================================================
   MUSIC HEADING
========================================================= */

.music-section .section-heading {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto 65px;
}

.music-section .section-heading > span {
    display: block;

    margin-bottom: 14px;

    color: #777777;

    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.32em;

    text-transform: uppercase;
}

.music-section .section-heading h2 {
    margin: 0;

    font-size: clamp(3rem, 6vw, 5.8rem);
    font-weight: 800;

    line-height: 0.95;
    letter-spacing: -0.05em;

    text-transform: uppercase;
}

.music-section .section-heading p {
    max-width: 650px;

    margin-top: 24px;

    color: #999999;

    font-size: 0.95rem;
    font-weight: 300;

    line-height: 1.8;
}


/* =========================================================
   MUSIC GRID
========================================================= */

.music-grid {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   MUSIC CARD
========================================================= */

.music-card {
    min-width: 0;

    background: #0c0c0c;

    border: 1px solid rgba(255, 255, 255, 0.06);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}


.music-card:hover {
    transform: translateY(-6px);

    background: #101010;

    border-color: rgba(255, 255, 255, 0.16);
}


/* =========================================================
   COVER
========================================================= */

.music-cover {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #111111;
}


.music-cover img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}


.music-card:hover .music-cover img {
    transform: scale(1.035);
}


/* =========================================================
   COVER OVERLAY
========================================================= */

.music-cover-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: flex-end;

    padding: 20px;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.05) 45%,
        transparent 70%
    );

    pointer-events: none;
}


.music-type {
    color: rgba(255, 255, 255, 0.85);

    font-size: 0.55rem;
    font-weight: 600;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}


/* =========================================================
   MUSIC INFO
========================================================= */

.music-info {
    padding: 25px 22px 24px;
}


.music-artist {
    display: block;

    margin-bottom: 7px;

    color: #666666;

    font-size: 0.57rem;
    font-weight: 600;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}


.music-info h3 {
    margin: 0;

    color: #ffffff;

    font-size: 1.15rem;
    font-weight: 600;

    line-height: 1.3;
}


.music-meta {
    margin: 7px 0 20px;

    color: #777777;

    font-size: 0.72rem;
    font-weight: 300;
}


/* =========================================================
   HTML AUDIO PLAYER
========================================================= */

.music-player {
    display: block;

    width: 100%;
    height: 38px;

    margin-top: 18px;
}


/*
   Algunos navegadores permiten aplicar
   este esquema oscuro al reproductor.
*/

.music-player {
    color-scheme: dark;
}


/* =========================================================
   MUSIC PLATFORMS
========================================================= */

.music-platforms {
    width: 100%;
    max-width: 1280px;

    margin: 80px auto 0;

    padding-top: 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}


.music-platforms-label {
    color: #666666;

    font-size: 0.6rem;
    font-weight: 600;

    letter-spacing: 0.28em;

    text-transform: uppercase;
}


.music-platform-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 30px;
}


.music-platform-links a {
    position: relative;

    color: #aaaaaa;

    font-size: 0.68rem;
    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    transition: color 0.3s ease;
}


.music-platform-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0;
    height: 1px;

    background: #ffffff;

    transition: width 0.3s ease;
}


.music-platform-links a:hover {
    color: #ffffff;
}


.music-platform-links a:hover::after {
    width: 100%;
}


/* =========================================================
   MUSIC - TABLET
========================================================= */

@media (max-width: 1100px) {

    .music-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 25px;
    }

}


/* =========================================================
   MUSIC - MOBILE
========================================================= */

@media (max-width: 768px) {

    .music-section {
        padding: 85px 25px;
    }


    .music-section .section-heading {
        margin-bottom: 45px;
    }


    .music-section .section-heading h2 {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }


    .music-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 15px;
    }


    .music-info {
        padding: 20px 16px;
    }


    .music-info h3 {
        font-size: 1rem;
    }


    .music-platforms {
        margin-top: 60px;

        flex-direction: column;
        align-items: flex-start;
    }


    .music-platform-links {
        justify-content: flex-start;

        gap: 20px 25px;
    }

}


/* =========================================================
   MUSIC - SMALL MOBILE
========================================================= */

@media (max-width: 560px) {

    .music-section {
        padding-left: 20px;
        padding-right: 20px;
    }


    .music-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .music-info {
        padding: 24px 20px;
    }


    .music-info h3 {
        font-size: 1.2rem;
    }

}


/* =========================================================
   EVENTS / GALLERY
========================================================= */

.events-section {
    position: relative;

    width: 100%;
    padding: 120px 6%;

    background: #080808;
    color: #ffffff;

    overflow: hidden;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.events-section .section-heading {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto 60px;
}


.events-section .section-heading > span {
    display: block;

    margin-bottom: 14px;

    color: #707070;

    font-size: 0.68rem;
    font-weight: 600;

    letter-spacing: 0.30em;

    text-transform: uppercase;
}


.events-section .section-heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(3rem, 6vw, 5.8rem);
    font-weight: 800;

    line-height: 0.95;
    letter-spacing: -0.05em;

    text-transform: uppercase;
}


.events-section .section-heading p {
    max-width: 620px;

    margin: 24px 0 0;

    color: #999999;

    font-size: 0.95rem;
    font-weight: 300;

    line-height: 1.8;
}


/* =========================================================
   GALERÍA
========================================================= */

.events-gallery {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    /*
       Altura base del mosaico.
       Los elementos tall ocupan dos filas.
    */
    grid-auto-rows: 240px;

    grid-auto-flow: dense;

    gap: 10px;
}


/* =========================================================
   ITEM
========================================================= */

.gallery-item {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #111111;
}


/* IMAGEN */

.gallery-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}


/* =========================================================
   VARIACIONES DE TAMAÑO
========================================================= */

/* Imagen vertical */

.gallery-item.gallery-tall {
    grid-row: span 2;
}


/* Imagen horizontal */

.gallery-item.gallery-wide {
    grid-column: span 2;
}


/* =========================================================
   EFECTO HOVER
========================================================= */

.gallery-item::after {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0);

    pointer-events: none;

    transition: background 0.4s ease;
}


.gallery-item:hover img {
    transform: scale(1.04);
}


.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.12);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .events-gallery {
        grid-template-columns: repeat(3, 1fr);

        grid-auto-rows: 220px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .events-section {
        padding: 85px 20px;
    }


    .events-section .section-heading {
        margin-bottom: 40px;
    }


    .events-section .section-heading h2 {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }


    .events-gallery {
        grid-template-columns: repeat(2, 1fr);

        grid-auto-rows: 190px;

        gap: 7px;
    }


    /*
       En móvil evitamos imágenes que ocupen
       demasiado espacio horizontal.
    */

    .gallery-item.gallery-wide {
        grid-column: span 2;
    }


    .gallery-item.gallery-tall {
        grid-row: span 2;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .events-gallery {
        grid-template-columns: repeat(2, 1fr);

        grid-auto-rows: 160px;

        gap: 5px;
    }


    .gallery-item.gallery-wide {
        grid-column: span 2;
    }


    .gallery-item.gallery-tall {
        grid-row: span 2;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .gallery-item img,
    .gallery-item::after {
        transition: none;
    }

}