/* =========================================
           VARIABLES GLOBALES
           ========================================= */
:root {
  --cyan: #19c3ff;
  --cyan-pill: #2ec4f5;
  --bg: #000;
  --panel: rgba(5, 20, 35, 0.85);
  --card: #0b1a29;
  --text: #fff;
  --glow: 0 0 10px #19c3ff, 0 0 25px rgba(25, 195, 255, 0.5);
  --glow-hover: 0 0 15px #19c3ff, 0 0 35px rgba(25, 195, 255, 0.7);
  --radius: 6px;
  --font-main: "Barlow Condensed", sans-serif;
  --font-logo: "Rubik Wet Paint", cursive;
}

/* =========================================
           RESET Y ESTILOS BASE
           ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(
      circle at 0% 0%,
      rgba(25, 195, 255, 0.1) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 100% 50%,
      rgba(25, 195, 255, 0.05) 0%,
      transparent 25%
    ),
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9));
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}
button,
input,
textarea {
  font-family: inherit;
  outline: none;
  border: none;
}
ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 33px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 25px;
  line-height: 1;
}

.glow-border {
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  box-shadow: var(--glow);
  transition: all 0.2s ease;
}
.glow-border:hover {
  box-shadow: var(--glow-hover);
}

/* =========================================
           HEADER (MENÚ SUPERIOR)
           ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* Fondo azul marino muy oscuro y 95% opaco */
  background: rgba(5, 20, 35, 0.95);
  /* Efecto cristal: desenfoca ligeramente lo que pasa por detrás */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* Aumentamos un poco el brillo de la línea separadora inferior */
  border-bottom: 1px solid rgba(25, 195, 255, 0.3);
  box-shadow: 0 4px 20px rgba(25, 195, 255, 0.15);
  z-index: 900;
  padding: 10px 0;
}

/* Navegación Escritorio */
.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navegación Escritorio (Enlaces) */
.nav-link {
  color: var(--text);
  font-size: 22px;
  /* Cambiamos a la fuente estilo grafiti */
  font-family: var(--font-logo);
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  letter-spacing: 2px; /* Añade respiro para mejorar la lectura */
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--cyan);
  box-shadow: 0 0 5px var(--cyan);
}

/* Logo del Menú */
.header-logo img {
  height: 55px;
  width: 160px;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 0 8px var(--cyan));
  transition: transform 0.3s;
  /* TRUCO CLAVE: Esto vuelve transparente el fondo negro de tu imagen */
  mix-blend-mode: lighten;
}

.header-logo:hover img {
  transform: scale(1.05);
}
/* Hamburguesa para móvil (oculta en escritorio) */
.mobile-toggle {
  display: none;
  width: 50px;
  height: 45px;
  background: #000;
  border: 2px solid var(--cyan);
  border-radius: 6px;
  box-shadow: var(--glow);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 15px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
}

/* =========================================
           HERO SECTION (ANCHO COMPLETO)
           ========================================= */

.hero {
  position: relative;
  width: 100vw;
  height: 75vh;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* En escritorio se queda arriba para aprovechar el grafiti */
  justify-content: flex-start;
  padding-top: 60px;
  background-color: #111;
  overflow: hidden;
  margin-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Fija la imagen en la parte superior para no cortar cabezas */
  object-position: top center;
  filter: grayscale(80%) contrast(1.2) brightness(0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-box {
  width: 90%;
  max-width: 420px;
  background: rgba(0, 0, 0, 0.8);
  padding: 15px 20px;
  border: 2px solid var(--cyan);
  outline: 1px solid var(--cyan);
  outline-offset: 3px;
  box-shadow:
    inset 0 0 10px rgba(25, 195, 255, 0.4),
    var(--glow);
}

.hero-box-top {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
}
.hero-box-bottom {
  font-size: 34px;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 2px;
}

/* =========================================
           BORDES RASGADOS ESTILO GRUNGE
           ========================================= */
.torn-separator {
  width: 100%;
  height: 35px;
  background-color: #d3d3d3;
  position: relative;
  z-index: 10;
  /* Polígono irregular para simular papel rasgado */
  clip-path: polygon(
    0% 10%,
    2% 25%,
    4% 5%,
    6% 30%,
    8% 10%,
    10% 20%,
    12% 5%,
    14% 25%,
    16% 15%,
    18% 30%,
    20% 5%,
    22% 20%,
    24% 10%,
    26% 25%,
    28% 5%,
    30% 20%,
    32% 10%,
    34% 30%,
    36% 5%,
    38% 25%,
    40% 10%,
    42% 20%,
    44% 5%,
    46% 25%,
    48% 15%,
    50% 30%,
    52% 5%,
    54% 20%,
    56% 10%,
    58% 25%,
    60% 5%,
    62% 20%,
    64% 10%,
    66% 30%,
    68% 5%,
    70% 25%,
    72% 10%,
    74% 20%,
    76% 5%,
    78% 25%,
    80% 15%,
    82% 30%,
    84% 5%,
    86% 20%,
    88% 10%,
    90% 25%,
    92% 5%,
    94% 20%,
    96% 10%,
    98% 30%,
    100% 5%,
    100% 100%,
    0% 100%
  );
  margin: -2px 0 40px 0;
  box-shadow: inset 0px 5px 10px rgba(0, 0, 0, 0.5);
}

.torn-separator.bottom {
  margin: 40px 0 30px 0;
  transform: scaleY(-1); /* Voltea el borde para la parte inferior */
}

/* =========================================
           MÚSICA Y VIDEOS
           ========================================= */
.grid-music {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.col-music {
  flex: 1 1 350px;
}
.col-video {
  flex: 1 1 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spotify-card {
  width: 100%;
  height: 352px;
  display: block;
  background: #111;
}

.video-subtitle {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

.video-card {
  width: 100%;
  height: 250px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================================
           CONOCE A LA BANDA & PLATAFORMAS
           ========================================= */
.grid-band {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.col-band {
  flex: 1 1 300px;
}
.col-platforms {
  flex: 1 1 350px;
}

/* Fotos Interactivas */
.polaroid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.polaroid {
  background: #fff;
  padding: 5px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  transition:
    transform 0.3s,
    z-index 0s;
}

.polaroid:nth-child(1) {
  transform: rotate(-3deg);
}
.polaroid:nth-child(2) {
  transform: rotate(2deg);
}
.polaroid:nth-child(3) {
  transform: rotate(3deg);
}
.polaroid:nth-child(4) {
  transform: rotate(-2deg);
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.polaroid:hover {
  transform: scale(1.05) rotate(0);
  z-index: 2;
  position: relative;
}

.band-desc {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  margin-top: 15px;
}

/* Plataformas */
.platforms-panel {
  background: var(--panel);
  padding: 20px;
  border-radius: var(--radius);
}

.platforms-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.platform-card {
  background: var(--card);
  border: 1px solid rgba(25, 195, 255, 0.4);
  border-radius: var(--radius);
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  transition: all 0.2s;
}

.platform-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

/* =========================================
           MARQUEE (CINTA ANIMADA)
           ========================================= */
.marquee-container {
  width: 100%;
  height: 38px;
  background: #000;
  border-top: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  overflow: hidden;
  display: flex;
  align-items: center;
  white-space: nowrap;
  margin: 40px 0; /* Separador directo hacia contacto */
  box-shadow: 0 0 15px rgba(25, 195, 255, 0.3);
}

.marquee-track {
  display: inline-block;
  animation: scrollLeft 20s linear infinite;
}

.marquee-item {
  font-size: 22px;
  font-weight: 700;
  display: inline-block;
  padding: 0 15px;
}
.marquee-item .c {
  color: var(--cyan);
}
.marquee-item .w {
  color: #fff;
}
.marquee-separator {
  margin: 0 10px;
  opacity: 0.5;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =========================================
           CONTACTO
           ========================================= */
.grid-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.col-contact-info,
.col-contact-form {
  flex: 1 1 350px;
}

.contact-card {
  background: #000;
  padding: 30px;
  text-align: center;
  margin-bottom: 20px;
}

.contact-sub {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}
.contact-email {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 5px var(--cyan);
}

.btn-dm {
  width: 100%;
  height: 60px;
  background: #000;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.input-field {
  background: rgba(0, 0, 0, 0.6);
  border: 1.5px solid var(--cyan);
  border-radius: var(--radius);
  color: #fff;
  padding: 12px;
  font-size: 18px;
}

.textarea-field {
  grid-column: span 2;
  height: 110px;
  resize: none;
}
.btn-send {
  grid-column: span 2;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 24px;
  padding: 12px;
  cursor: pointer;
}

/* =========================================
           FOOTER (PIE DE PÁGINA)
           ========================================= */
.footer {
  background-color: #050a0f;
  border-top: 1px solid rgba(25, 195, 255, 0.3);
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

.footer-text {
  color: #888;
  font-size: 16px;
  font-weight: 600;
  font-family: Arial, sans-serif; /* Fuente limpia para legales */
  line-height: 1.6;
}

.footer-text span {
  color: var(--cyan);
}

.footer-link {
  color: var(--cyan);
  text-decoration: none;
  transition: text-shadow 0.3s;
}

.footer-link:hover {
  text-shadow: 0 0 8px var(--cyan);
}

/* =========================================
           MODAL (POP-UP PARA FOTOS)
           ========================================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  max-width: 90%;
  max-height: 80vh;
  border: 3px solid var(--cyan);
  box-shadow: var(--glow);
  border-radius: 8px;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--cyan);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  text-shadow: 0 0 10px var(--cyan);
}
.close-modal:hover {
  color: #fff;
}

/* =========================================
           MEDIA QUERIES
           ========================================= */
@media (max-width: 768px) {
  .desktop-nav a:not(.header-logo) {
    display: none;
  }
  .header-logo {
    margin-right: auto;
    margin-left: 20px;
  }
  .mobile-toggle {
    display: flex;
  }

  .grid-music,
  .grid-band,
  .grid-contact,
  .form-grid {
    flex-direction: column;
  }
  .input-field {
    grid-column: span 2;
  }

  .hero {
    /* En celular mandamos la caja hacia abajo para liberar las cabezas */
    justify-content: flex-end;
    padding-top: 0;
    padding-bottom: 50px;
    height: 65vh;
    min-height: 450px;
  }
  .hero-box-top {
    font-size: 18px;
  }
  .hero-box-bottom {
    font-size: 26px;
  }
}

.spotify-card {
  width: 100%;
  height: 400px;
  display: block;
  background: #111;
}
.video-card {
  width: 100%;
  height: 350px; /* Aumentamos la altura para balancear con Spotify */
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Fotos Interactivas */
.polaroid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.polaroid {
  background: #fff;
  padding: 5px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  transition:
    transform 0.3s,
    z-index 0s;
}

.polaroid:nth-child(1) {
  transform: rotate(-3deg);
}
.polaroid:nth-child(2) {
  transform: rotate(2deg);
}
/* La tercera foto (foto grupal) ocupa las dos columnas */
.polaroid:nth-child(3) {
  transform: rotate(-1deg);
  grid-column: span 2;
  aspect-ratio: 2/1; /* Más ancha que alta */
}

.polaroid:hover {
  transform: scale(1.05) rotate(0);
  z-index: 2;
  position: relative;
}
