[hidden] {
  display: none !important;
}

:root {
  --color-primary: #D841FF;
  --color-secondary: #FFD42A;
  --color-text: #A60070;
  --color-accent: #FF3CBF;
  --color-red: #F80505;
  --color-white: #FFFFFF;
  --font-primary: "Voltaire", sans-serif;
  --font-secondary: "Staatliches", sans-serif;
  --font-titan: "Titan One", cursive;
  --font-body: "Roboto", sans-serif;
  --max-width: 1140px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background-color: #fff9fd;
  background-image: url("/assets/fondo.png");
  background-repeat: repeat;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ======================== SHAPE DIVIDERS ======================== */
.shape-divider {
  overflow: hidden;
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  direction: ltr;
  pointer-events: none;
  z-index: 2;
}
.shape-top {
  top: -1px;
}
.shape-bottom {
  bottom: -1px;
  transform: rotate(180deg);
}
.shape-divider svg {
  display: block;
  width: calc(100% + 1.3px);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.shape-flip svg {
  transform: translateX(-50%) rotateY(180deg);
}

/* ======================== SCROLL ANIMATIONS ======================== */
[data-animate] {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-animate="zoomIn"] {
  transform: scale(0.86);
}
[data-animate="bounceIn"] {
  transform: translateY(24px) scale(0.95);
}
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes softPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* ======================== HERO & TOP BANNER ======================== */
.hero {
  position: relative;
  background-image: url("/assets/portada-hero.webp");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 36px 0 46px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero-logo {
  max-width: 380px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
}
.hero .shape-bottom {
  transform: none;
}
.hero .shape-bottom svg {
  height: 22px;
}
.hero .shape-fill {
  fill: var(--color-accent);
}

.date-bar {
  position: relative;
  background-color: var(--color-accent);
  padding: 14px 0;
  z-index: 3;
}
.date-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
}
.date-bar h2 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

/* ======================== INTRO & POSTER ======================== */
.intro-section {
  position: relative;
  padding: 44px 0 24px;
  text-align: center;
}
.intro-section .shape-top {
  transform: rotate(180deg);
}
.intro-section .shape-top svg {
  height: 14px;
}
.intro-section .shape-fill {
  fill: var(--color-accent);
}
.intro-box {
  max-width: 760px;
  margin: 0 auto;
}
.edition-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-size: 18px;
  letter-spacing: 2px;
  padding: 5px 18px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.main-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  color: var(--color-accent);
  margin: 8px 0 16px;
  line-height: 1.15;
}
.lead-text {
  font-size: 1.08rem;
  color: var(--color-text);
  margin: 0 auto 26px;
}

/* Poster / Cartel box */
.poster-showcase {
  max-width: 540px;
  margin: 24px auto 30px;
}
.poster-placeholder {
  background: linear-gradient(145deg, rgba(216, 65, 255, 0.1), rgba(255, 212, 42, 0.18));
  border: 2.5px dashed var(--color-accent);
  border-radius: 18px;
  padding: 40px 24px;
  color: var(--color-text);
  box-shadow: 0 10px 28px rgba(166, 0, 112, 0.08);
}
.poster-placeholder .poster-kicker {
  font-family: var(--font-secondary);
  font-size: 1.4rem;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  margin: 0 0 6px;
}
.poster-placeholder p {
  margin: 0;
  font-size: 0.98rem;
}
.poster-image {
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(166, 0, 112, 0.22);
  margin: 0 auto;
}

/* ======================== CTA BUTTON & TICKETS ======================== */
.cta-wrap {
  text-align: center;
  margin: 22px 0;
}
.btn-tickets {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 15px 34px;
  border: 2px dashed var(--color-white);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(255, 60, 191, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn-tickets:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px) scale(1.03);
}
.btn-tickets svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.tickets-soon-banner {
  max-width: 680px;
  margin: 18px auto;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px dashed var(--color-red);
  border-radius: 14px;
  text-align: center;
}
.tickets-soon-banner h3 {
  font-family: var(--font-primary);
  font-size: 1.65rem;
  color: var(--color-red);
  margin: 0 0 8px;
  letter-spacing: 0.8px;
}
.tickets-soon-banner .ticket-icon {
  width: 64px;
  height: 64px;
  fill: var(--color-red);
  margin: 4px auto;
  animation: softPulse 2.4s infinite ease-in-out;
}
.tickets-soon-banner p {
  margin: 6px 0 0;
  font-size: 0.96rem;
  color: var(--color-text);
}

.video-box {
  max-width: 820px;
  margin: 28px auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  background: #000;
}
.video-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.patronbase-box {
  width: 100%;
  max-width: 960px;
  margin: 26px auto 12px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(166, 0, 112, 0.14);
  border: 1px solid rgba(216, 65, 255, 0.25);
}
.patronbase-box iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
}

/* ======================== CAROUSEL ======================== */
.carousel-section {
  position: relative;
  padding: 20px 0 58px;
}
.carousel-wrapper {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(166, 0, 112, 0.18);
  aspect-ratio: 16 / 9;
  background: #1a0616;
}
.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.carousel-btn:hover {
  background: var(--color-accent);
}
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}
.carousel-dot.active {
  background: var(--color-secondary);
  transform: scale(1.2);
}

.carousel-section .shape-bottom svg {
  height: 28px;
}
.carousel-section .shape-fill {
  fill: var(--color-secondary);
}

/* ======================== ARTISTAS INVITADAS ======================== */
.artists-banner {
  position: relative;
  background-color: var(--color-primary);
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 20px;
  text-align: center;
}
.artists-banner .shape-top svg {
  height: 42px;
}
.artists-banner .shape-bottom svg {
  height: 38px;
}
.artists-banner .shape-fill {
  fill: var(--color-secondary);
}
.artists-banner h2 {
  margin: 0;
  font-family: var(--font-titan);
  font-size: clamp(2.3rem, 6vw, 4.3rem);
  font-weight: 400;
  letter-spacing: 5px;
  word-spacing: 18px;
  color: var(--color-white);
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  transform: skewX(-13deg);
}

.artists-section {
  position: relative;
  padding: 46px 0 64px;
}
.artists-section .shape-top svg {
  height: 24px;
}
.artists-section .shape-top .shape-fill {
  fill: var(--color-secondary);
}
.artists-section .shape-bottom svg {
  height: 26px;
}
.artists-section .shape-bottom .shape-fill {
  fill: var(--color-white);
}

.artists-tba {
  max-width: 720px;
  margin: 12px auto 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(216, 65, 255, 0.3);
  border-radius: 18px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(166, 0, 112, 0.08);
}
.artists-tba h3 {
  font-family: var(--font-primary);
  font-size: 1.9rem;
  color: var(--color-accent);
  margin: 0 0 10px;
}
.artists-tba p {
  margin: 0;
  font-size: 1.02rem;
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.artist-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(166, 0, 112, 0.08);
}
.artist-card h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--color-accent);
  margin: 0 0 14px;
}
.artist-photo-wrap {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 14px;
  aspect-ratio: 4 / 3;
}
.artist-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.artist-photo-wrap:hover img {
  transform: scale(1.18);
}
.artist-card p {
  font-size: 0.95rem;
  margin: 0;
  text-align: left;
}

/* ======================== OBJETIVO / CAUSA SOLIDARIA ======================== */
.objective-section {
  background-color: var(--color-white);
  padding: 52px 0 60px;
  text-align: center;
}
.objective-header h2 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-primary);
  margin: 0 0 6px;
}
.objective-header .subtitle {
  font-family: var(--font-secondary);
  font-size: 1.85rem;
  color: var(--color-primary);
  margin: 0 0 24px;
  letter-spacing: 0.8px;
}
.objective-copy {
  max-width: 740px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.02rem;
}
.objective-copy blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: rgba(216, 65, 255, 0.07);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 10px 10px 0;
  font-style: italic;
}

/* ======================== DONDE / CUANDO / PRECIO (AMARILLO) ======================== */
.info-section {
  position: relative;
  background-color: var(--color-secondary);
  padding: 68px 0 90px;
  text-align: center;
  color: var(--color-white);
}
.info-section .shape-top svg {
  height: 34px;
}
.info-section .shape-top .shape-fill {
  fill: var(--color-white);
}
.info-section .shape-bottom svg {
  height: 46px;
}
.info-section .shape-bottom .shape-fill {
  fill: var(--color-white);
}

.info-block {
  margin-bottom: 36px;
}
.info-block h2 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(166, 0, 112, 0.28);
  margin: 0 0 6px;
}
.info-block .info-detail {
  font-family: var(--font-secondary);
  font-size: 1.85rem;
  color: #5b003d;
  margin: 0;
  letter-spacing: 0.6px;
}
.map-wrap {
  max-width: 860px;
  margin: 22px auto 38px;
  transform: rotate(-1deg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  border: 4px solid var(--color-white);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

/* ======================== COLLAB & FOOTER ======================== */
.collab-section {
  background: var(--color-white);
  padding: 36px 0 28px;
  text-align: center;
}
.collab-section h3 {
  font-family: var(--font-primary);
  font-size: 1.7rem;
  color: var(--color-primary);
  margin: 0 0 18px;
}
.collab-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
}
.collab-logos img {
  max-height: 110px;
  width: auto;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid rgba(216, 65, 255, 0.18);
  padding: 28px 0 36px;
  text-align: center;
}
.site-footer img {
  max-width: 180px;
  margin: 0 auto 10px;
}
.site-footer p {
  margin: 4px 0;
  font-size: 0.92rem;
  color: var(--color-text);
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1024px) {
  .hero .container {
    justify-content: center;
  }
  .date-bar-inner {
    justify-content: center;
    text-align: center;
  }
  .artists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 28px 0 36px;
    background-position: center top;
  }
  .hero-logo {
    max-width: 270px;
  }
  .date-bar h2 {
    font-size: 22px;
    width: 100%;
  }
  .artists-grid {
    grid-template-columns: 1fr;
  }
  .patronbase-box iframe {
    height: 460px;
  }
  .info-block .info-detail {
    font-size: 1.4rem;
  }
  .map-wrap {
    transform: none;
  }
}
