/* Paleta: fondo #1a1a2e, texto #e0e0e0, acentos neón */
* { box-sizing: border-box; }
body {
  background-color: #1a1a2e;
  color: #e0e0e0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  margin: 0;
}

/* CTA WhatsApp - Panel selector (usado por .wa-cta del HTML) */
.wa-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10000;
  background: #1a1a1a;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 240px;
}
.wa-cta label { font-size: 14px; font-weight: 700; color: #fff; }
.wa-cta select {
  background: #0f0f1f;
  color: #fff;
  border: 1px solid #00f0ff;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
}
.wa-btn {
  display: inline-block;
  background: #25D366;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 0 16px rgba(37, 211, 102, .6);
}
.wa-btn:hover { background: #20b857; }
.wa-btn.disabled, .wa-btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* (legacy) CTA WhatsApp flotante grande – por si lo usas en otra vista */
.whatsapp-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #25D366;
  color: #000;
  font-weight: 800;
  padding: .8rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 24px #25D366, 0 0 8px rgba(0,0,0,.5);
  z-index: 9999;
  transition: transform .15s ease, box-shadow .3s ease;
}
.whatsapp-cta:hover { transform: translateY(-2px) scale(1.02); }
.whatsapp-cta img { width: 22px; height: 22px; display: block; }

/* Header */
header {
  text-align: center;
  background-color: #0f0f1f;
  padding: 1.5rem 1rem;
  border-bottom: 2px solid #ff00ff;
}
.logo {
  width: min(320px, 60vw);
  height: auto;
  filter: drop-shadow(0 0 15px rgba(0,240,255,.6)) drop-shadow(0 0 25px rgba(0,240,255,.35));
}

/* STREAM + CHAT */
.stream-chat {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem 1rem;
  gap: 2rem;
  align-items: flex-start;
}
.stream-frame {
  border: 5px double #39ff14;
  padding: 1rem;
  background: linear-gradient(135deg, #ff00ff, #00f0ff);
  box-shadow: 0 0 24px #39ff14, inset 0 0 8px rgba(0,0,0,.5);
  max-width: 560px;
  flex: 0 0 auto;
}
.stream-frame iframe {
  width: 1280px;
  height: 300px;     /* ajustado por requerimiento previo */
  max-width: 100%;
  border: none;
  display: block;
  box-sizing: border-box;
}
.chat-login {
  flex: 0 0 auto;
  width: 360px;
  max-width: 36%;
  box-sizing: border-box;
}
.chat-login h2 { margin: 0 0 .75rem; color: #00f0ff; }
.twitch-chat-container {
  width: 360px;
  min-width: 320px;
  height: 720px;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
}
.twitch-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  box-sizing: border-box;
}

/* Responsive stream/chat */
@media (max-width: 1400px) {
  .stream-chat { flex-direction: column; align-items: stretch; }
  .stream-frame iframe,
  .twitch-chat-container { width: 100%; height: 480px; max-width: 100%; }
  .chat-login { width: 100%; max-width: 100%; }
}
@media (max-width: 600px) {
  .stream-frame iframe,
  .twitch-chat-container { height: 360px; }
}

/* DJs */
.djs {
  padding: 2rem 1rem 3rem;
  background-color: #111;
  text-align: center;
}
.djs h2 {
  color: #ffff00;
  margin-bottom: 1.5rem;
}
.dj-card {
  display: flex;
  align-items: center;
  background-color: #1b1b1b;
  margin: 1rem auto;
  max-width: 1800px;
  border: 2px solid #00f0ff;
  padding: 1rem;
  gap: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(0,240,255,.25);
}
.dj-card img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 10%;
  flex: 0 0 auto;
  border: 15px solid #39ff14;
  box-shadow: 0 0 12px rgba(57,255,20,.45);
}
.dj-card h3 { margin: .25rem 0; color: #00f0ff; }
.dj-card p { margin: 0; color: #e0e0e0; opacity: .9; }

/* Instagram overlay (logo oficial) */
.dj-link {
  position: relative;
  display: inline-block;
}
.dj-link img {
  display: block;
  transition: transform .25s ease, filter .25s ease;
}
.dj-link:hover img {
  transform: scale(1.05);
  filter: brightness(1.15) drop-shadow(0 0 12px rgba(0,240,255,.4));
}
.ig-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  display: grid;
  place-items: center;
  transition: background .3s ease, transform .25s ease, box-shadow .25s ease;
  pointer-events: none; /* evita tap sobre el icono; el <a> recibe el clic */
}
.ig-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}
.dj-link:hover .ig-icon {
  background: rgba(0,0,0,0.2);
  transform: scale(1.12);
  box-shadow: 0 0 10px rgba(225,48,108,0.6);
}

/* Patrocinadores */
.sponsors {
  padding: 3rem 1rem 2rem;
  background: #0f0f1f;
  text-align: center;
}
.sponsors h2 {
  color: #ffff00;
  margin: 0 0 1rem;
}
.sponsor-box {
  margin: 0 auto;
  max-width: 600px;
  aspect-ratio: 1 / 1;          /* cuadrado responsivo */
  display: grid;
  grid-template-rows: 1fr 1fr;  /* dos logos apilados */
  gap: 16px;
  place-items: center;
  padding: 16px;
  border: 2px dashed #00f0ff;
  border-radius: 12px;
  background: #151528;
  box-shadow: 0 0 18px rgba(0,240,255,.15);
}
.sponsor {
  width: 100%;
  max-width: 450px;
  max-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;                                /* padding consistente */
  background: rgba(0, 240, 255, 0.12);          /* celeste translúcido */
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .25s ease, background .3s ease;
  text-decoration: none;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;   /* bloquea long-press iOS */
  touch-action: manipulation;
}
.sponsor:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 24px rgba(255, 153, 0, 0.4);
  background: rgba(255, 153, 0, 0.15);          /* naranja translúcido en hover */
}
.sponsor img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, .25));
  pointer-events: none;          /* evita click derecho directo */
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* Contacto Auspiciadores */
.sponsor-contact {
  padding: 2rem 1rem;
  text-align: center;
  background: #111;
  border-top: 2px solid #39ff14;
  border-bottom: 2px solid #39ff14;
}
.sponsor-contact p {
  font-size: 1.1rem;
  color: #e0e0e0;
  line-height: 1.5;
}
.sponsor-contact a { color: #00f0ff; font-weight: bold; text-decoration: none; }
.sponsor-contact a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  border-top: 2px solid #ff00ff;
  background: #0f0f1f;
  padding: 1rem;
  text-align: center;
  font-size: .95rem;
  color: #e0e0e0;
}
.site-footer a { color: #00f0ff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Protección global “light” para imágenes (arrastre/selección/long-press) */
img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* Ajustes móviles menores */
@media (max-width: 600px) {
  .wa-cta { right: 12px; bottom: 12px; min-width: 200px; padding: 10px; gap: 6px; }
  .wa-cta label { font-size: 13px; }
  .wa-cta select, .wa-btn { font-size: 13px; padding: 8px 10px; }
}
