﻿:root {
  /* Paleta principal: base oscura con acentos dorados. */
  --bg: #08090c;
  --bg-soft: #11131a;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --gold: #d9aa53;
  --gold-light: #ffe3a0;
  --white: #f8f4ea;
  --muted: #b9b4aa;
  --line: rgba(217, 170, 83, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 10%, rgba(142, 42, 30, 0.26), transparent 30rem),
    radial-gradient(circle at 90% 25%, rgba(217, 170, 83, 0.18), transparent 26rem),
    linear-gradient(180deg, #07080b 0%, #141016 48%, #08090c 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header flotante: liviano para no competir con las portadas. */
.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
}

.brand {
  font-family: "Cinzel", serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.8rem);
  font-size: 0.9rem;
  color: rgba(248, 244, 234, 0.82);
}

.site-header nav a {
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
  transition: color 180ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--gold-light);
}

/* Hero inmersivo con imagen a pantalla completa y overlay para legibilidad. */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-slider,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1600ms ease, transform 6400ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.78)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.12) 46%, rgba(8, 9, 12, 0.96));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 2rem));
  padding-top: 4rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cinzel", serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  color: var(--gold-light);
  font-size: clamp(3.25rem, 10vw, 8.8rem);
  font-weight: 800;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.82), 0 0 28px rgba(217, 170, 83, 0.2);
}

.subtitle {
  margin: 0.4rem 0 2rem;
  color: var(--white);
  font-family: "Cinzel", serif;
  font-size: clamp(1.45rem, 4vw, 3rem);
  font-weight: 700;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0 1.55rem;
  border: 1px solid rgba(255, 227, 160, 0.78);
  border-radius: 999px;
  color: #17110a;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 34px rgba(217, 170, 83, 0.28);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(217, 170, 83, 0.36);
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.section-heading {
  margin-bottom: 2rem;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 4.3rem);
  font-weight: 700;
}

.about-text {
  margin: 0;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.about-text p {
  margin: 0 0 1.25rem 0;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Estilos de la nueva sección de Concepto */
.concept-section {
  padding-top: 1.5rem;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.concept-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
}

.concept-tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.concept-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  color: var(--white);
}

.concept-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.6;
}

.section-intro {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  max-width: 820px;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

/* Tarjetas de canciones preparadas para portadas cuadradas. */
.track-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-strong), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
}

.track-art {
  aspect-ratio: 1;
  overflow: hidden;
  background: #19140e;
}

.track-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.track-card:hover .track-art img {
  transform: scale(1.045);
}

.track-body {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.track-number {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.track-body h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

/* Reproductor personalizado: el audio HTML5 queda sin autoplay y con preload none. */
.audio-player {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.75rem;
  align-items: center;
}

.play-button {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 227, 160, 0.55);
  border-radius: 50%;
  color: #1a1208;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 900;
}

.progress-wrap {
  display: grid;
  gap: 0.35rem;
}

.progress {
  width: 100%;
  height: 0.45rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  appearance: none;
}

.progress::-webkit-progress-bar {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.progress::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.progress::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.time-row {
  display: flex;
  justify-content: space-between;
  color: rgba(248, 244, 234, 0.62);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.credit-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(217, 170, 83, 0.16), transparent),
    rgba(255, 255, 255, 0.055);
}

.credit-card span {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.credit-card h3 {
  margin-top: 0.6rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.contact-section {
  padding-top: 2rem;
}

.contact-panel {
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid rgba(255, 227, 160, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 170, 83, 0.18), transparent 55%),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.contact-links a {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(248, 244, 234, 0.9);
  font-weight: 700;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.site-footer {
  padding: 2rem 1rem;
  color: rgba(248, 244, 234, 0.58);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .tracks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-section,
  .credits-grid {
    grid-template-columns: 1fr;
  }

  .concept-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem 1rem 1rem;
    background: linear-gradient(180deg, rgba(8, 9, 12, 0.95) 0%, rgba(8, 9, 12, 0.5) 75%, rgba(8, 9, 12, 0) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
  }

  .brand {
    display: none;
  }

  .site-header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 0.85rem;
    width: 100%;
  }

  .site-header nav a {
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
    transition: color 180ms ease;
  }

  .site-header nav a:hover,
  .site-header nav a:focus-visible {
    color: var(--gold-light);
  }

  .hero {
    min-height: 92svh;
  }

  .hero-slide {
    object-position: center;
  }

  .tracks-grid {
    grid-template-columns: 1fr;
  }

  .contact-links {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
