/* FESTIVAL TROTAMUNDOS 2027 — Desktop: composición 1920 × 1080 */
:root { color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; }
html, body { background-color: #FAE6C9; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.festival {
  position: relative;
  width: min(100vw, 177.777778dvh);
  aspect-ratio: 16 / 9;
  isolation: isolate;
  overflow: hidden;
  background: #FAE6C9 url("../img/bg-desktop-ft.png") center / 100% 100% no-repeat;
}
.artwork { position: absolute; display: block; }
.artwork img, .ticket img { width: 100%; height: auto; display: block; }
.header { left: 20.31%; top: 8.52%; width: 59.11%; }
/* Lineup ligeramente más pequeño para liberar espacio debajo */
.lineup { left: 13.0%; top: 30.4%; width: 74.0%; }
.tickets {
  position: absolute;
  left: 9.0%;
  top: 64.2%;
  width: 82%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.7%;
}
.ticket {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  text-decoration: none;
  transform-origin: center center;
  transition: transform 220ms ease;
}
.ticket--pass { flex-grow: 1.33; }
.ticket:hover { transform: scale(.94); }
.ticket:focus-visible { outline: 3px solid #004ea9; outline-offset: 5px; border-radius: 12px; }

/* Mobile: fondo fijo a la pantalla; el contenido sí puede desplazarse */
@media (max-aspect-ratio: 4/5) {
  html, body { min-height: 100%; height: auto; }
  body { display: block; overflow-x: hidden; overflow-y: auto; }
  .festival {
    width: 100%;
    min-height: 100dvh;
    height: auto;
    aspect-ratio: auto;
    padding: 7.5vw 0 12vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    background: transparent;
  }
  .festival::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: #FAE6C9 url("../img/bg-mobile-ft.png") center center / 100% 100% no-repeat;
  }
  .artwork, .tickets { position: relative; left: auto; top: auto; z-index: 1; }
  .header { width: 69.2%; }
  .lineup { width: 100%; margin-top: 1vw; }
  .tickets {
    width: 76%;
    margin-top: 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4vw;
  }
  .ticket, .ticket--pass { flex: none; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ticket { transition: none; } }
