:root {
  --black: #000000; /* mismo negro que el fondo de la foto */
  --white: #FFFFFF;
  --navy: #1B3A6B;
  --navy-hi: #2A5396;
  --muted: #9A9A9A;
  --line: #222;
  --card: #141414;
  --hl-1: #E63946; /* rojo */
  --hl-2: #1FB5AC; /* turquesa */
  --hl-3: #A3D624; /* lima */
  --hl-4: #FFC300; /* amarillo */
  --hl-5: #2DBE60; /* verde */
  --hl-6: #FF7A1A; /* naranja */
  --hl-7: #2F6BFF; /* azul */
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1440px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
h2 {
  font-size: clamp(26px, 3.6vw, 44px); letter-spacing: .14em; text-transform: uppercase; font-weight: 800;
  color: var(--hl, var(--white));
}
/* títulos alternados: izquierda, derecha, izquierda... */
.section:nth-of-type(odd) .section-head { justify-content: flex-end; }
/* color de cada sección (título y detalles) */
#dates { --hl: var(--hl-1); }
#releases { --hl: var(--hl-2); }
#sets { --hl: var(--hl-3); }
#videos { --hl: var(--hl-4); }
#playlist { --hl: var(--hl-5); }
#about { --hl: var(--hl-6); }
#booking { --hl: var(--hl-7); }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter); background: rgba(0,0,0,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform .3s ease;
}
.nav.nav-hidden { transform: translateY(-100%); }
.nav-logo img { width: 96px; }
.nav nav { display: flex; gap: clamp(12px, 2vw, 32px); overflow-x: auto; scrollbar-width: none; }
.nav nav::-webkit-scrollbar { display: none; }
.nav nav a { text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #CFCFCF; white-space: nowrap; }
.nav nav a:hover { color: var(--hl-2); }
.nav nav a[href="#dates"]:hover { color: var(--hl-1); }
.nav nav a[href="#releases"]:hover { color: var(--hl-2); }
.nav nav a[href="#sets"]:hover { color: var(--hl-3); }
.nav nav a[href="#videos"]:hover { color: var(--hl-4); }
.nav nav a[href="#about"]:hover { color: var(--hl-6); }
.nav nav a[href="#booking"]:hover { color: var(--hl-7); }
.nav .nav-cta { color: var(--white); }
@media (max-width: 640px) {
  .nav { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .nav nav { width: 100%; gap: 13px; }
  .nav nav a { letter-spacing: .08em; }
  .nav .nav-about { display: none; }
  html { scroll-padding-top: 100px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px;
  background: var(--white); color: var(--black); border: 1px solid var(--white); border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--hl, var(--hl-2)); border-color: var(--hl, var(--hl-2)); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); }
.btn-sm { min-height: 36px; padding: 0 18px; font-size: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero: foto centrada; logo, frase y redes debajo */
.hero { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { position: relative; z-index: 1; margin-top: -36px; margin-bottom: -10px; } /* el logo se apoya sobre el borde difuminado */
.hero h1 img { width: min(300px, 64vw); }
.hero-photo img {
  margin: 0 auto; width: auto; max-width: 100%; height: min(62vh, 700px);
  /* recorta parte del negro de arriba para pegar la foto al menú */
  aspect-ratio: 1023 / 1380; object-fit: cover; object-position: bottom;
  /* la foto original viene cortada en las zapatillas: se difumina el borde de abajo */
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); mask-image: linear-gradient(to bottom, #000 80%, transparent 99%);
}
.tagline { font-size: clamp(20px, 2.6vw, 30px); margin: 0 0 2px; font-weight: 300; }
.sub { color: var(--muted); margin: 0; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #CFCFCF; border: 1px solid #2A2A2A; transition: color .2s, background .2s, border-color .2s; }
.socials a:hover { color: var(--white); background: var(--net, var(--hl-2)) border-box; border-color: transparent; }
/* al pasar el mouse cada red toma su color de marca */
.socials a[data-net="instagram"] { --net: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.socials a[data-net="spotify"] { --net: #1DB954; }
.socials a[data-net="soundcloud"] { --net: #FF5500; }
.socials a[data-net="youtube"] { --net: #FF0000; }
.socials a[data-net="beatport"] { --net: #01FF95; }
.socials a[data-net="applemusic"] { --net: linear-gradient(180deg, #FB5C74, #FA233B); }
.socials a[data-net="ra"] { --net: #FFFFFF; }
.socials a[data-net="beatport"]:hover, .socials a[data-net="ra"]:hover { color: #000000; }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 640px) {
  .hero-photo img { height: auto; width: 100%; max-height: 60vh; }
  .socials { gap: 8px; }
  .socials a { width: 40px; height: 40px; }
  .event { grid-template-columns: 52px 1fr auto; gap: 12px; }
}
/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--gutter) 0; position: relative; }
main { overflow-x: clip; }
.section-head { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: flex-start; gap: 8px 24px; margin-bottom: 32px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.section-head p { margin: 0; color: var(--muted); }

/* Dates: se ven 3, el resto con scroll */
.events {
  list-style: none; margin: 0; padding: 0 8px 0 0; max-height: 288px; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: #444 transparent;
  -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent);
}
.event { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px; height: 96px; border-bottom: 1px solid var(--line); }
.event time { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.event .m { font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.event .d { font-size: 28px; font-weight: 800; color: var(--hl); }
.event .y { font-size: 11px; color: var(--muted); }
.ev-info { display: flex; flex-direction: column; min-width: 0; }
.ev-info strong { font-size: clamp(17px, 2vw, 22px); line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ev-info span { color: var(--muted); font-size: 14px; }
.past-ev .ev-info strong, .past-ev .d { color: #8A8A8A; }
.tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid #333; border-radius: 999px; padding: 6px 12px; white-space: nowrap; }

/* Cards and players */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid-releases, .grid-sets { grid-template-columns: repeat(2, 1fr); }
.grid-videos { grid-template-columns: 1fr; }
@media (max-width: 420px) { .grid-releases, .grid-sets { grid-template-columns: 1fr; } }
@media (min-width: 700px) { .grid-videos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-releases, .grid-sets { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.play, .player {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0; margin: 0;
  background: #000; cursor: pointer; overflow: hidden;
}
.video .play, .video .player { aspect-ratio: 16 / 9; }
.play img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.play:hover img { transform: scale(1.03); opacity: .85; }
.play-icon {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(10,10,10,.7); border: 2px solid var(--white); transition: background .2s;
}
.play-icon::after { content: ""; position: absolute; left: 25px; top: 19px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--white); }
.play:hover .play-icon { background: var(--hl); border-color: var(--hl); }
.player.spotify { aspect-ratio: auto; height: 352px; background: transparent; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body h3 { font-size: 17px; line-height: 1.3; }
.card-body p { margin: 0; color: var(--muted); font-size: 14px; }
.links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 12px; }
.links a { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #BDBDBD; text-decoration: none; }
.links a:hover { color: var(--hl); }

.playlist-embed { display: block; width: 100%; height: 352px; border: 0; border-radius: 12px; }

/* About */
.about { display: grid; gap: 32px; align-items: start; }
.about-photo { width: 100%; border-radius: 12px; }
.about-text { font-size: clamp(17px, 1.5vw, 20px); color: #DADADA; margin: 0; text-align: justify; hyphens: none; -webkit-hyphens: none; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.1fr; gap: 64px; } }

/* Booking */
.booking { padding-bottom: clamp(56px, 8vw, 112px); }
.booking-email { display: inline-block; margin: 0 0 24px; font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.booking-email { color: var(--white); }
.booking-email:hover { color: var(--hl); }
.booking .small { font-size: 14px; margin-top: 24px; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px var(--gutter) 40px; text-align: center; color: var(--muted); font-size: 13px; }
.footer .socials { margin: 0 0 16px; }

:focus-visible { outline: 2px solid #9DB8E6; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
