﻿ *{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0a;
  --fg: #f5f5f5;
  --muted: #a3a3a3;
  /* Cambio de color de acento: de verde plano a un terracota/cobre andino cálido */
  --accent: #d47a3f; 
  --accent-hover: #e89156;
  --card: #141414;
  --card-hover: #1c1c1c;
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- NAVEGACIÓN --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-fast);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  color: var(--fg);
  transition: var(--transition-fast);
}

.logo:hover {
  color: var(--accent);
}

.nav nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.nav nav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--muted);
  transition: var(--transition-fast);
}

.nav nav a:hover {
  color: var(--accent);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Degradado mejorado para asegurar la legibilidad del texto */
  background: linear-gradient(180deg, 
    rgba(10, 10, 10, 0.2) 0%, 
    rgba(10, 10, 10, 0.6) 60%, 
    rgba(10, 10, 10, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px 100px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4.5rem, 16vw, 12rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.tagline {
  color: #d1d1d1;
  margin: 20px 0 32px;
  font-size: 1.15rem;
  max-width: 600px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- BOTONES --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  border-radius: 999px;
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--fg);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--fg);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 122, 63, 0.3);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--fg);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--fg);
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 22px;
  font-size: 0.75rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-small:hover {
  background: var(--accent);
  color: var(--fg);
  box-shadow: 0 4px 12px rgba(212, 122, 63, 0.2);
}

/* --- SECCIONES COMUNES --- */
.section {
  padding: 120px 24px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.lead {
  color: var(--muted);
  margin-bottom: 48px;
  font-size: 1.15rem;
}

/* --- SECCIÓN MÚSICA & PLATAFORMAS --- */
.spotify-wrap {
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-radius: 12px;
  overflow: hidden;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.platform {
  padding: 20px;
  text-align: center;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-fast);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.platform:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* --- BIOGRAFÍA --- */
.bio {
  background: #060606;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.bio-img img {
  border-radius: 20px;
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  transition: var(--transition-fast);
}

.bio-img img:hover {
  transform: scale(1.02);
}

.bio p {
  margin-bottom: 20px;
  color: #d1d1d1;
  font-size: 1.05rem;
  font-weight: 300;
}

/* --- TOUR / LANZAMIENTOS --- */
.tour-list {
  list-style: none;
}

.tour-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 20px;
  flex-wrap: wrap;
}

.date {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  min-width: 120px;
}

.city {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 500;
}

/* --- SECCIÓN VIDEOS --- */
.videos {
  display: grid;
  gap: 32px;
}

/* --- CONTACTO --- */
.contact {
  text-align: center;
  background: #060606;
}

.contact p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.social {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.social a {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  transition: var(--transition-fast);
}

.social a:hover {
  color: var(--accent);
}

/* --- FOOTER --- */
footer {
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* --- RESPONSIVE / ADAPTACIÓN MÓVIL --- */
@media (max-width: 768px) {
  /* En lugar de ocultar la navegación, la reorganizamos elegantemente */
  .nav-inner {
    padding: 14px 20px;
    flex-direction: column;
    gap: 12px;
  }
  
  .nav nav {
    gap: 16px;
    justify-content: center;
  }
  
  .nav nav a {
    font-size: 0.75rem;
  }

  .hero-content {
    padding-bottom: 60px;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section {
    padding: 80px 20px;
  }
  
  .tour-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .btn-small {
    width: 100%;
  }
}
/* Efecto cuando el usuario hace scroll hacia abajo */
.nav.nav-scrolled {
  padding: 10px 0; /* Hace la barra más delgada */
  background: rgba(10, 10, 10, 0.9); /* Un fondo ligeramente más sólido */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Añade una sombra sutil */
}
.nav.nav-scrolled .nav-inner {
  padding: 12px 24px; /* Ajusta el espaciado interno */
}
/* --- ESTILOS DE LA VENTANA FLOTANTE (MODAL) --- */
.modal {
  display: none; /* Oculto por defecto, se activa con JS */
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
}

/* Cuando el modal se activa */
.modal.is-visible {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  max-width: 450px;
  width: 100%;
  position: relative;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(-20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.is-visible .modal-content {
  transform: translateY(0);
}

/* Botón cerrar "×" */
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--fg);
}

.modal-badge {
  display: inline-block;
  background: rgba(212, 122, 63, 0.15); /* Color de acento terracota */
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.modal-body h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  line-height: 1.1;
}

.modal-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 28px;
}

/* Botón de Spotify personalizado */
.btn-spotify {
  background: #1db954; /* Color corporativo de Spotify para máxima familiaridad */
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.btn-spotify:hover {
  background: #1ed760;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(29, 185, 84, 0.3);
}

.spotify-icon {
  width: 20px;
  height: 20px;
}