@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700&display=swap');

  :root {
    --purple: #e040fb;
    --purple-dim: rgba(224,64,251,0.15);
    --bg: #060c26;
    --nav-h: 72px;
  }

  * { margin:0; padding:0; box-sizing:border-box; }

  html { scroll-behavior: smooth; }

  body {
    background: #060C26;
  background: linear-gradient(180deg, rgba(6, 12, 38, 1) 56%, rgba(189, 52, 191, 1) 100%);
    font-family: 'Montserrat', sans-serif;
    color: white;
  }
  a {
    text-decoration: none;
  }
  dl, ol, ul {
    margin-top: 0;
    margin-bottom: 0rem;
    list-style: none;
  }
  section{
    padding-top: 150px;
  }
  .modal-body a{
    color: blue !important;
    cursor: pointer;
  }
  .modal-body a:hover{
    text-decoration: underline !important;
  }
  .button {
    min-width: 20%;
    min-height: 65px;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 700;
    color: #fff;
    background: #25D366;
    background: #25D366;
    border: none;
    border-radius: 1000px;
    box-shadow: 0px 0px 24px #25D366;
    transition: all 0.3s ease-in-out 0s;
    cursor: pointer;
    outline: none;
    position: relative;
    padding: 10px;
    margin-top: -20px;
  }
  .button::before {
    content: '';
    border-radius: 1000px;
    min-width: 100%;
    min-height: 60px;
    border: 6px solid #fff;
    box-shadow: 0 0 60px #25D366;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all .3s ease-in-out 0s;
  }

  .button:hover, .button:focus {
    color: #fff;
    transform: translateY(-6px);
  }

  .button:hover::before, .button:focus::before {
    opacity: 1;
  }

  .button::after {
    content: '';
    width: 30px; height: 30px;
    border-radius: 100%;
    border: 6px solid #25D366;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring 1.5s infinite;
  }

  .button:hover::after, .button:focus::after {
    animation: none;
    display: none;
  }

  @keyframes ring {
    0% {
      width: 30px;
      height: 30px;
      opacity: 1;
    }
    100% {
      width: 300px;
      height: 300px;
      opacity: 0;
    }
  }
  /* ═══════════════════════════════
     STICKY NAVBAR
  ═══════════════════════════════ */
  .navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 1000;
    transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
    padding: 50px;
  }

  .navbar.scrolled {
    background: rgba(6,12,38,0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(224,64,251,0.2), 0 8px 32px rgba(0,0,0,0.4);
  }

  .nav-inner {
    max-width: 80%;
    margin: 0 auto;
    height: 100%;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  /* Logo */
  .nav-logo img{
    width: 150px;
  }

  /* Desktop links */
  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
  }
  .nav-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.8px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: color 0.25s, background 0.25s;
    white-space: nowrap;
  }
  .nav-links a:hover { color: white; background: rgba(255,255,255,0.06); }
  .nav-links a.active { color: var(--purple); }

  /* Pill indicator for active link */
  .nav-links li.active-li a {
    color: var(--purple);
    background: var(--purple-dim);
  }

  /* CTA button */
  .nav-cta {
    background: #25D366;
    color: white !important;
    border-radius: 50px !important;
    padding: 9px 22px !important;
    font-size: 12px !important;
    box-shadow: 0 4px 18px #25D366;
    transition: transform 0.2s, box-shadow 0.2s !important;
  }
  .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(224,64,251,0.5) !important;
    background: rgba(255,255,255,0) !important;
  }

  /* Divider */
  .nav-divider {
    width: 1px; height: 24px;
    background: rgba(255,255,255,0.12);
    margin: 0 8px;
  }

  /* Social mini icons in nav */
  .nav-social {
    display: flex; gap: 8px; align-items: center;
  }
  .nav-social a {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.3s, background 0.3s;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
  }
  .nav-social a:hover { border-color: var(--purple); background: var(--purple-dim); color: white; }
  .nav-social svg { width: 14px; height: 14px; fill: currentColor; }

  /* ── HAMBURGER ── */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.3s;
    background: none; border: none;
  }
  .hamburger:hover { background: rgba(255,255,255,0.06); }
  .hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.35s, opacity 0.35s, width 0.35s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── MOBILE DRAWER ── */
  .mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(6,12,38,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(224,64,251,0.2);
    padding: 60px 32px 32px;
    transform: translateY(-110%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 14px 16px;
    border-radius: 10px;
    transition: color 0.25s, background 0.25s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:hover { color: white; background: rgba(255,255,255,0.05); }
  .mobile-menu a.active { color: var(--purple); background: var(--purple-dim); }
  .mobile-menu .mob-cta {
    margin-top: 12px;
    background: linear-gradient(135deg, var(--purple), #7b2ff7);
    color: white;
    text-align: center;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 13px;
    box-shadow: 0 4px 18px rgba(224,64,251,0.35);
  }
  .mob-social { display: flex; gap: 12px; margin-top: 16px; padding: 0 16px; }
  .mob-social a {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: border-color 0.3s, background 0.3s;
  }
  .mob-social a:hover { border-color: var(--purple); background: var(--purple-dim); color: white; }
  .mob-social svg { width: 15px; height: 15px; fill: currentColor; }
/* HEADER PRINCIPAL*/ 
   .principal {
    position: relative;
    width: 100%;
    background: url('../images/Header-bg.png') no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
  }
  .izquierdo{
    padding-left: 50px;
    padding-top: 145px;
  }
  .calendar:hover{
    font-size: 18px;
    transition: 0.5s;
  }
  .info a{
    color: #fff;
  }
  .info i{
    padding-right: 5px;
  }
  #logo{
    width: 100%;
  }
  .swiper-wrapper {
    padding-left: 150px !important;
  }
  .texto {
    font-size: 24px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
  }
  .carousel {
    width: 1030px;
  }
  .carousel-inner {
    width: 100%;
  }
  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  /* ═══════════════════════════════
     MAIN CONTENT
  ═══════════════════════════════ */
  .cintillo {
    padding: 12px 40px;
    font-size: 28px;
    font-weight: bold;
    color: white;
    background: linear-gradient(to right, transparent, rgb(100 6 130), transparent);
    border: solid #290039;
    clip-path: polygon(0 200%, 10% 0, 90% 0, 100% 0%, 90% 100%, 10% 100%);
  }
  .menu-elenco {
    font-size: 22px;
    font-weight: 500;
    padding: 20px;
  }
  .menu-elenco a{
    color: #808193;
  }
  .menu-elenco a:hover{
    color: #BD34BF;
  }
  .menu-elenco a.active {
    color: #BD34BF;
  }
  /* Section tabs (old nav style) */
  .section-tabs {
    display: flex;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 56px;
  }
  .section-tabs a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 12px 28px;
    border-right: 1px solid rgba(255,255,255,0.15);
    transition: color 0.3s;
    cursor: pointer;
  }
  .section-tabs a:last-child { border-right: none; }
  .section-tabs a.active { color: var(--purple); }
  .section-tabs a:hover:not(.active) { color: rgba(255,255,255,0.85); }

  /* ═══════════════════════════════
     3D TRIANGLE CAROUSEL
  ═══════════════════════════════ */
  .carousel-3d{
    padding-top: 0px;
  }
  .stage-wrapper {
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
    padding: 0 20px;
  }
  .stage {
    flex: 1;
    height: 580px;
    position: relative;
    perspective: 1200px;
    perspective-origin: 50% 45%;
  }

  .card {
    position: absolute;
    width: 300px;
    height: 520px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.4,0,0.2,1);
    transform-origin: bottom center;
    top: 50%; left: 50%;
  }

  .card img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    display: block;
  }

  .card-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 20px 20px;
    background: linear-gradient(to top, rgba(4,7,22,0.97) 0%, rgba(4,7,22,0.7) 55%, transparent 100%);
  }

  .card-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: white;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  }

  .social-icons { display: flex; gap: 10px; }
  .social-icon {
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
    color: #fff;
  }
  .social-icon:hover { background: rgba(224,64,251,0.35); border-color: var(--purple); transform: scale(1.15); }
  .social-icon svg { width: 14px; height: 14px; fill: white; }

  .card[data-pos="0"] {
    transform: translateX(-50%) translateY(-55%) translateZ(180px) rotateY(0deg);
    z-index: 10;
    box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 0 2px rgba(224,64,251,0.5);
    filter: brightness(1);
  }
  .card[data-pos="0"] .card-name { font-size: 32px; }
  .card[data-pos="0"]::after {
    content: "";
    position: absolute;
    bottom: -20px; left: 10%; right: 10%;
    height: 40px;
    background: rgba(224,64,251,0.3);
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
  }
  .card[data-pos="1"] {
    transform: translateX(-130%) translateY(-45%) translateZ(-60px) rotateY(30deg);
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    filter: brightness(0.6);
  }
  .card[data-pos="2"] {
    transform: translateX(30%) translateY(-45%) translateZ(-60px) rotateY(-30deg);
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    filter: brightness(0.6);
  }

  .arrow {
    background: none;
    border: 2px solid rgba(255,255,255,0.25);
    color: white;
    font-size: 24px;
    width: 52px; height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.3s, background 0.3s;
    z-index: 20;
    margin: 190px;
  }
  .arrow:hover { border-color: var(--purple); background: var(--purple-dim); }

  .dots { display: flex; gap: 8px; margin-top: 36px; justify-content: center; }
  .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
  }
  .dot.active { background: var(--purple); transform: scale(1.35); }
  /* ==========================================================================
   #PROGRAMAS
   ========================================================================== */
  .programas{
    padding-top: 150px;
    padding-bottom: 100px;
  }
  .player{
    border: solid rgb(58 9 89);
    box-shadow: rgb(58 9 89) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  }
/* ==========================================================================
   #FOOTER
   ========================================================================== */

.footer{
  background-color: #000;
  width: 100%;
  padding: 50px 0 0;
  margin: 0px 0 0;
  position: relative;
  background-image: none;
}
.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-image: -webkit-linear-gradient(0deg, #f8a824 25%, #f05d21 25%, #f05d21 50%, #8ac349 50%, #8ac349 75%, #22bab8 75%, #22bab8 100%);
  background-image: -ms-linear-gradient(0deg, #f8a824 25%, #f05d21 25%, #f05d21 50%, #8ac349 50%, #8ac349 75%, #22bab8 75%, #22bab8 100%);
  background-size: 100%; 
}
.footer ul {
  padding-left: 0px;
}
.footer ul li a{
  color: #fff;
}
.footer ul li a:hover{
  color: #f05d21;
}
#social li{
  display: inline;
  padding-left:10px;
  padding-right:10px;
  font-size: 30px;
}
#social li a i{
  color: #5c5c5c;
  transition: all .15s ease;
}
#social li a.facebook:hover i{
  color: #3b5998;
}
#social li a.instagram:hover i{
  color: pink;
}
#social li a.twitter:hover i{
  color: #1da1f2;
}
#social li a.youtube:hover i{
  color: #de2825;
}
.derechos{
  background-color: #000;
  color: #fff;
}
  /* ═══════════════════════════════
     RESPONSIVE
  ═══════════════════════════════ */
  @media (max-width: 768px) {
    :root { --nav-h: 64px; }

    .nav-links, .nav-social, .nav-divider { display: none; }
    .hamburger { display: flex; }

    .navbar {
      padding: 35px;
    }
    .nav-inner { padding: 0 20px; }

    .stage-wrapper { gap: 12px; padding: 0 8px; }
    .arrow { width: 40px; height: 40px; font-size: 18px; margin: 0px; }

    .stage { height: 460px; }
    .card { width: 220px; height: 380px; }
    .card[data-pos="0"] { transform: translateX(-50%) translateY(-55%) translateZ(120px) rotateY(0deg); }
    .card[data-pos="1"] { transform: translateX(-120%) translateY(-45%) translateZ(-40px) rotateY(28deg); }
    .card[data-pos="2"] { transform: translateX(20%) translateY(-45%) translateZ(-40px) rotateY(-28deg); }
    .card-name { font-size: 22px !important; }
    .card[data-pos="0"] .card-name { font-size: 26px !important; }

    .section-tabs a { padding: 10px 16px; font-size: 11px; letter-spacing: 1.2px; }
    header{
      padding-top: 130px;
    }
    .principal {
        background-position: left;
        background-size: 150% 100%;
        background-position: center;
        background-attachment: scroll;
    }
    .carousel {
      max-width: 100%;
    }
    #formatos {
      display: none;
    }
    #logo {
      margin-top: -50px;
      width: 200px;
      z-index: 9;
      position: relative;
    }
    .izquierdo {
      padding-left: 30px;
      padding-top: 0px;
    }
    .cintillo {
      font-size: 18px;
    }
    .carousel-item img {
      padding-top: 30px;
    }
  }

  @media (max-width: 480px) {
    .section-tabs { flex-wrap: wrap; border-radius: 8px; }
    .section-tabs a { flex: 1; text-align: center; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .section-tabs a:last-child { border-bottom: none; }
    .stage { height: 380px; }
    .card { width: 170px; height: 300px; }
    .card[data-pos="0"] { transform: translateX(-50%) translateY(-55%) translateZ(90px) rotateY(0deg); }
    .card[data-pos="1"] { transform: translateX(-115%) translateY(-44%) translateZ(-30px) rotateY(25deg); }
    .card[data-pos="2"] { transform: translateX(15%) translateY(-44%) translateZ(-30px) rotateY(-25deg); }

    header{
      padding-top: 130px;
    }
    .principal {
        background-position: left;
        background-size: 150% 100%;
        background-position: center;
        background-attachment: scroll;
    }
    .carousel {
      max-width: 100%;
    }
    #detalle {
        display: none;
    }
    #formatos {
      display: none;
    }
    #logo {
      margin-top: -50px;
      width: 200px;
      z-index: 9;
      position: relative;
    }
    .izquierdo {
      padding-left: 15px;
      padding-top: 0px;
    }
    .cintillo {
      font-size: 18px;
    }
    .carousel-item img {
      padding-top: 30px;
    }
    .info a{
      font-size: 12px;
    }
    .menu-elenco {
        font-size: 12px;
        font-weight: 500;
        padding: 2px;
    }
    .button {
      min-width: 26%;
      min-height: 40px;
      padding: 10px;
      margin-top: -20px;
      font-size: 15px;
    }
    .derechos {
      font-size: 13px;
    }
  }