/* ============================================
   PRÓXIMAS FECHAS - TAGO
   ============================================ */

:root {
  --text-primary: #ffffff;
  --border-radius: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Paleta móvil */
  --mobile-red: #CD0606;
  --mobile-orange: #FFA51F;
  --mobile-blue: #21377D;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body.fechas-page {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: url("../images/popu-flyer.png") no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  padding-bottom: 70px;
}

.btn-back {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 11;
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-back:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateX(-4px);
  color: var(--text-primary);
}

.btn-mas-info {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-mas-info:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 24px rgba(225, 48, 108, 0.5);
  color: white;
}

.fechas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 100vh;
}

.fechas-section {
  min-height: 0;
}



.fechas-map {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.map-embed {
  width: 100%;
  max-width: 380px;
}

.map-title {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: left;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.map-embed iframe {
  display: block;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.fechas-spotify {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.spotify-embed {
  width: 100%;
  max-width: 380px;
}

.playlist-title {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: left;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.spotify-embed iframe {
  display: block;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ============================================
   LAYOUT MÓVIL - Solo visible en teléfono
   ============================================ */

.fechas-mobile {
  display: none;
}

@media (max-width: 768px) {
  /* Ocultar diseño desktop */
  .fechas-desktop {
    display: none !important;
  }

  /* Mostrar y estilizar diseño móvil */
  .fechas-mobile {
    display: block;
    padding-top: 70px;
    padding-bottom: 0;
  }

  body.fechas-page {
    background: var(--mobile-red);
    background-attachment: scroll;
    padding-bottom: 0;
  }

  .btn-back {
    background: rgba(0, 0, 0, 0.7);
  transform: translateX(-4px);
  color: var(--text-primary);
  }

  .btn-back:hover {
    background: #2a4899;
    border-color: var(--mobile-orange);
    color: white;
  }

  /* Bloque hero: imagen + mapa + botón integrados como una sola pieza */
  .mobile-hero {
    background: var(--mobile-red);
    padding: 0 12px 24px;
  }

  .mobile-flyer {
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
  }

  .mobile-flyer img {
    display: block;
    width: 100%;
    height: auto;

  }

  .mobile-hero-content {
    padding: 16px 4px 0;
  }

  /* Mapa integrado en el hero */
  .mobile-map {
    margin-bottom: 16px;
  }

  .mobile-map iframe {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  }

  /* Botón Más información - gradiente Instagram */
  .btn-mas-info-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .btn-mas-info-mobile:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(225, 48, 108, 0.5);
    color: white;
  }

  /* Sección tracklist - al hacer scroll, fondo rojo con playlist */
  .mobile-spotify-section {
    background: var(--mobile-red);
    padding: 32px 16px 40px;
  }

  .mobile-playlist-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: left;
  }

  .mobile-spotify-section iframe {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  }
}
