/* =========================
   RESET
========================= */


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html {
  scroll-behavior: smooth;
}

body{
    background:#171717;
    font-family:Arial, Helvetica, sans-serif;
    color:white;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:white;
}

/* =========================
   LAYOUT
========================= */

.wrapper{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:28px;
    padding:40px 0;
}

.same-width{
    width:60vw;
}

/* =========================
   COLORES
========================= */

.bg-red{
    background:#b90d18;
}

.bg-gray{
    background:#3a3a3a;
}

.bg-dark{
    background:#232323;
}

/* =========================
   SECCIONES
========================= */

.section-box{
    border-radius:20px;
    overflow:hidden;
}

.section-inner{
    padding:34px;
}

/* =========================
   HEADER
========================= */

.section-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
}

.section-header-left{
    display:flex;
    align-items:center;
    gap:24px;
}

.section-title{
    font-size:34px;
    font-weight:900;
    text-transform:uppercase;
}

.toggle-btn{
    background:none;
    border:none;
    color:white;
    font-size:.6em;
    font-weight:700;
    cursor:pointer;
    margin-top:8px;
}

.section-icon{
    max-width:58px;
    max-height:58px;
    width:auto;
    height:auto;
    object-fit:contain;
    flex-shrink:0;
}

/* =========================
   CONTENIDO
========================= */

.textocontraido{
    margin-top:26px;
}

.textocontraido p{
    font-size:1em;
    line-height:1.25;
}

.textodesplegado{
    display:none;
    margin-top:30px;
}

.section-box.active .textodesplegado{
    display:block;
}

.section-box.active .textocontraido{
    display:none;
}

/* =========================
   INSTAGRAM
========================= */

.ig-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.ig-card{    width:auto;
    height: 240px;
    flex-shrink:0;
    overflow:hidden;
    border-radius:14px;
}

.ig-card img{
    height:240px;
    object-fit:cover;
}

/* =========================
   TOUR
========================= */

.tour-expandido img{
    border-radius:14px;
}

/* =========================
   NET
========================= */

.net-grid{
    display:flex;
    gap:40px;
    align-items:center;
}

.net-left{
    width:55%;
}

.net-right{
    width:45%;
}

.net-right h3{
    font-size:36px;
    line-height:1.1;
    margin-bottom:20px;
    font-weight:900;
}

.net-right p{
    font-size:18px;
    line-height:1.6;
    color:#f1f1f1;
}

/* =========================
   PROGRAMACION
========================= */

section {
    width: 100%;
    display: block;
}

.tab{
    background:#2a2a2a;
    color:white;
    border:none;
    padding:14px 22px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
}

.tab.active{
    background:#151515;
}

.tabs-programacion{
    display:flex;
    margin-bottom:30px;
}

.programacion{
    display:none;
    min-height: 420px;
   /* width:100% !important ;*/

}

.programacion.active {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tabs-programacion,
.programacion {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}


.shows{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.show{
    gap:16px;
    display:flex;
    align-items:flex-start;
}

.schedule{
    background:#ff1c1c;
    color:white;
    font-size:11px;
    font-weight:800;
    padding:10px 12px;
    line-height:1.4;
    height:max-content;
    text-align:center;
}

.show-info{
    flex:1;
}

.show-info h4{
    font-size:28px;
    line-height:1;
    margin-bottom:12px;
    border-bottom:2px solid #666;
    padding-bottom:10px;
    font-weight:900;
}

.show-info span{
    color:#dadada;
    font-size:13px;
}

/* =========================
   FOOTER
========================= */

.footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 90px 0;
}

.footer-links{
    display:flex;
    gap:70px;
}

.footer-links a{
    font-size:14px;
    font-weight:700;
}

.footer-logo{
    width:120px;
}



/* =====================================================
   HERO
===================================================== */

.hero{
    position:relative;
    width:100%;
    min-height:100vh;
    /*background:#171717;*/
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    padding:40px;
}

/* =====================================================
   CENTRO
===================================================== */

.hero-center{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:50px;
    z-index:5;
}

.hero-logo{
    width:220px;
}

/* =====================================================
   NOWPLAYING
===================================================== */

.nowplaying{
    width:420px;
    max-width:90vw;
    height:92px;
    background:#bc1620;
    border-radius:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px 30px;
}

.play-btn{
    background:none;
    border:none;
    color:white;
    font-size:1.2em;
    cursor:pointer;
    font-weight:400;
    flex:1;
    text-align:left;
   /* white-space:nowrap;*/
    overflow:hidden;
    text-overflow:ellipsis;
    width: 420px; /* Define el ancho máximo del botón */
    white-space: normal; /* Permite el salto de línea automático */
    padding: 10px;

}

/* =====================================================
   FECHA
===================================================== */

.hero-date{
    font-size:28px;
    color:white;
    font-weight:600;
}

/* =====================================================
   ICONOS
===================================================== */

.hero-icons{
    position:absolute;
    display:flex;
    flex-direction:column;
    gap:26px;
    z-index:6;
}

.hero-icons-left{
    left:18%;
    top:50%;
    transform:translateY(-50%);
    
}

.hero-icons-right{
    right:18%;
    top:50%;
    transform:translateY(-50%);
}

.hero-icon-link{
    max-width:62px;
    max-height:62px;
    width:auto;
    height:auto;
    object-fit:contain;
    flex-shrink:0;
}

.hero-icon-link img {
    max-width:52px;
    max-height:68px;
    width:auto;
    height:auto;
}

.hero-icon-link:hover{
    transform:scale(1.08);
}

/* =====================================================
   BANNERS
===================================================== */

.banner{
    position:absolute;
    z-index:2;
    display:none;
}

.banner img{
    display:block;
}

/* IZQUIERDO */

.banner-left{
    left:10%;
    top:50%;
    transform:translateY(-50%);
}

.banner-left img{
    width:120px;
    height:420px;
    object-fit:cover;
}

/* DERECHO */

.banner-right{
    right:10%;
    top:50%;
    transform:translateY(-50%);
}

.banner-right img{
    width:120px;
    height:420px;
    object-fit:cover;
}

/* INFERIOR */

.banner-bottom{
    position:absolute;
    bottom:26px;
    left:50%;
    transform:translateX(-50%);
    z-index:2;
}

.banner-bottom img{
    width:430px;
    max-width:80vw;
    height:80px;
    object-fit:cover;
            display:none;
}

.nowplaying{
    width:520px;
    max-width:90vw;
    height:92px;
    background:#bc1620;
    border-radius:24px;
    display:flex;
    align-items:center;
    gap:15px;
    padding:10px 18px;
}

.cover-art{
    width:70px;
    height:70px;
    border-radius:12px;
    object-fit:cover;
    flex-shrink:0;
}




.bgLayer{
position:fixed;
inset:0;

background-size:cover;
background-position:center;
background-repeat:no-repeat;
filter:contrast(1.05) saturate(1.1);

opacity:0;

transform:scale(1);
transform-origin:center;

transition:opacity 3s ease, transform 120s ease-in-out;

animation:bgPulse 120s ease-in-out infinite;

will-change:transform,opacity;

filter:grayscale(1) contrast(1.1) brightness(0.9);
transition:opacity 3s ease, transform 120s ease-in-out, filter 2s ease;
}

.bgLayer.color{
filter:none;
}

.bgLayer.active{
opacity:.08;
}

@keyframes bgPulse{

0%{
transform:scale(1) translateX(-2%);
}

25%{
transform:scale(1.25) translateX(1%);
}

50%{
transform:scale(1.5) translateX(2%);
}

75%{
transform:scale(1.25) translateX(-1%);
}

100%{
transform:scale(1) translateX(-2%);
}

}

.vignette{
position:fixed;
inset:0;
pointer-events:none;

background:radial-gradient(
ellipse at center,
rgba(0,0,0,0) 45%,
rgba(0,0,0,.85) 100%
);
}


/* Mobile */

@media(max-width:995px){

    .tabs-programacion{
        overflow-x:auto;
        white-space:nowrap;
    }

    .programacion.active{
        display:flex;
        flex-direction:column;
        gap:18px;
    }


    /* -------------------------
       LAYOUT GENERAL
    ------------------------- */

    body {
        font-size: 14px;
    }

    a{font-size:0.8em;
    }
    .wrapper {
        gap: 18px;
        padding: 20px 0;
    }

    .same-width {
        width: 94vw;
    }

    .section-inner {
        padding: 20px;
    }

    /* -------------------------
       TIPOGRAFÍA GENERAL
    ------------------------- */

    .section-title {
        font-size: 22px;
        line-height: 1.1;
    }

    .textocontraido p {
        font-size: 14px;
        line-height: 1.4;
    }

    /* -------------------------
       HEADER SECCIONES
    ------------------------- */

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-header-left {
        width: 100%;
        justify-content: space-between;
    }

    .section-icon {
        max-width: 42px;
        max-height: 42px;
    }

    /* -------------------------
       NET SECTION
    ------------------------- */

    .net-grid {
        flex-direction: column;
        gap: 20px;
    }

    .net-left,
    .net-right {
        width: 100%;
    }

    .net-right h3 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .net-right p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* -------------------------
       PROGRAMACIÓN
    ------------------------- */

    .tabs {
        flex-direction: column;
        gap: 8px;
    }

    .tab {
        width: 100%;
        font-size: 12px;
        padding: 12px;
    }

    .shows {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .show {
        gap: 12px;
    }

    .schedule {
        font-size: 10px;
        padding: 8px 10px;
        min-width: 80px;
    }

    .show-info h4 {
        font-size: 18px;
    }

    .show-info span {
        font-size: 12px;
    }

    /* -------------------------
       INSTAGRAM
    ------------------------- */

    .ig-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ig-card {
        height: auto;
    }

    .ig-card img {
        height: auto;
    }

    /* -------------------------
       FOOTER
    ------------------------- */

    .footer {
        flex-direction: column;
        gap: 18px;
        padding: 20px 0 10px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer-logo {
        width: 100px;
    }

    /* -------------------------
       HERO
    ------------------------- */

    .hero {
        min-height: 100svh;
        padding: 16px;
    }

    .hero-logo {
        width: 200px;
    }

    .hero-center {
        gap: 28px;
    }

    .nowplaying {
        width: 90%;
        height: 82px;
        padding: 40px 14px;
        border-radius: 16px;
        margin-top: 110px;*/
        font-size: 1.6em;
    }

    .cover-art {
        width: 58px;
        height: 58px;
    }

    .play-btn {
        /*font-size: 0.8em;*/
        padding: 6px;
    }

    .hero-date {
        font-size: 18px;
    }

    /* -------------------------
       ICONOS LATERALES
    ------------------------- */

    .hero-icons-left {
        left: 10px;
    }

    .hero-icons-right {
        right: 10px;
    }

    .hero-icon-link img {
        width: 34px;
        height: auto;
    }

    /* -------------------------
       BANNERS
    ------------------------- */

    .banner-left,
    .banner-right {
        display: none;
    }

    .banner-bottom img {
        width: 92vw;
        height: auto;
    }

    /* -------------------------
       BACKGROUND PERFORMANCE
    ------------------------- */

    .bgLayer {
        animation: none; /* mejora rendimiento mobile */
        opacity: 0.06;
    }
}

