/* ==========================================================================
   ALEJANDRO LAVANDEROS - FLAUTA TRAVERSA EN EL TOP HEADER (ANCHO HERO)
   - Flauta traversa fija en el top header con ancho calibrado al hero (max-width: 1100px)
   - Textos de menú debajo de la flauta: INICIO / BIO / PUBL / MÚS / VID / ARCH
   - Opacidad 50% por defecto, 100% al pasar el mouse por el texto o la llave correspondiente
   - Sub-barra inferior del header con crédito a la izquierda y botones de redes sociales a la derecha
   - Video de YouTube en loop de fondo (9:42 a 17:36) muteado con overlay
   ========================================================================== */

:root {
  --bg-deep: #05070c;
  --bg-surface: rgba(6, 10, 18, 0.28); /* Cajas más transparentes para máxima visibilidad del video de background */
  --bg-surface-hover: rgba(8, 14, 26, 0.42);
  --bg-card-inner: rgba(6, 10, 18, 0.22); /* Cajas interiores traslúcidas */
  --bg-card-inner-hover: rgba(10, 16, 28, 0.36);
  --border-subtle: rgba(255, 255, 255, 0.11);
  --border-hover: rgba(212, 175, 55, 0.45);
  
  --silver-bright: #ffffff;
  --silver-mid: #cbd5e1;
  --silver-dark: #64748b;
  --gold-accent: #d4af37;
  
  --text-main: #ffffff;
  --text-muted: #e2e8f0; /* Blanco claro de alto contraste para lectura sumamente fácil */
  --text-dim: #94a3b8;

  --font-serif: "Cinzel", "Playfair Display", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-deep);
}

/* --------------------------------------------------------------------------
   VIDEO DE FONDO MP4 LOCAL (FIJO, ANCHO COMPLETO, 100% MUTEADO, LOOP CONTINUO)
   -------------------------------------------------------------------------- */
.video-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.video-bg-media {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border: none;
  pointer-events: none;
  opacity: 0.88; /* Visibilidad destacada del video en toda la web */
  filter: saturate(1.0) contrast(1.05);
}

.video-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 35%, rgba(4, 6, 12, 0.22) 0%, rgba(2, 4, 8, 0.52) 100%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   TOP HEADER FIJO:
   - Izquierda: ALEJANDRO LAVANDEROS
   - Derecha: Flauta Traversa JS interactiva (+20% tamaño adicional = 64px)
   -------------------------------------------------------------------------- */
.site-fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background: rgba(5, 7, 13, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.85);
  z-index: 1000;
}

.header-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.4rem 1.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Grupo de marca a la izquierda: Botón Home + Nombre */
.header-brand-group {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Botón Home al lado izquierdo de ALEJANDRO LAVANDEROS */
.header-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--silver-bright);
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.header-home-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--silver-bright);
  transition: stroke 0.25s ease, transform 0.25s ease;
}

.header-home-btn:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  transform: translateY(-1px) scale(1.08);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.55);
}

.header-home-btn:hover svg {
  stroke: var(--gold-accent);
  transform: scale(1.08);
}

/* Nombre Alejandro Lavanderos a la izquierda */
.header-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0.2rem 0;
}

.header-brand-title {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-transform: uppercase;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.header-brand:hover .header-brand-title {
  color: var(--gold-accent);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

/* Escenario de la flauta en el header: ampliado un 20% adicional (68px de alto) */
.flute-header-stage {
  flex: 1;
  max-width: 920px;
  height: 68px; /* Ampliado 20% para presencia destacada y nitidez absoluta */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.flute-svg {
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.7));
}

/* Comportamiento mecánico de las llaves */
.flute-key {
  transition: transform 0.08s cubic-bezier(0.18, 0.89, 0.32, 1.25), filter 0.08s ease;
  transform-box: fill-box;
  transform-origin: center top;
}

.flute-key.pressed {
  transform: translateY(4.8px);
  filter: brightness(0.91) contrast(1.15);
}

/* Llaves interactivas como botones de menú */
.menu-interactive-key {
  cursor: pointer;
  transition: filter 0.2s ease;
}

.menu-interactive-key:hover,
.menu-interactive-key.active-hover {
  filter: brightness(1.28);
}

/* Líneas y puntos conectores entre llaves y textos inferiores */
.flute-key-connector {
  transition: stroke 0.22s ease, opacity 0.22s ease, stroke-width 0.22s ease;
}

.flute-key-connector.active-hover {
  stroke: var(--gold-accent) !important;
  opacity: 1 !important;
  stroke-width: 2 !important;
}

.flute-connector-dot {
  transition: fill 0.22s ease, opacity 0.22s ease, r 0.22s ease;
}

.flute-connector-dot.active-hover {
  fill: #ffffff !important;
  opacity: 1 !important;
  r: 2.8 !important;
}

/* Badges tipo píldora de alta visibilidad para los botones de menú */
.flute-key-badge {
  transition: fill 0.22s ease, stroke 0.22s ease, filter 0.22s ease;
  cursor: pointer;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.9));
}

.flute-key-label-group {
  cursor: pointer;
}

.flute-key-label-group:hover .flute-key-badge,
.flute-key-label-group.active-hover .flute-key-badge {
  fill: rgba(212, 175, 55, 0.35) !important;
  stroke: var(--gold-accent) !important;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.85));
}

/* Textos de los botones debajo de la flauta: ampliados un 25% (14.5px) */
.flute-key-label {
  font-family: var(--font-sans);
  font-size: 14.5px; /* Ampliado 25% respecto a los 11.5px anteriores */
  font-weight: 700;
  letter-spacing: 0.10em;
  fill: #ffffff;
  opacity: 1; /* Máxima visibilidad y nitidez absoluta */
  cursor: pointer;
  transition: fill 0.22s ease, text-shadow 0.22s ease;
  user-select: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.95));
}

.flute-key-label-group:hover .flute-key-label,
.flute-key-label.active-hover {
  fill: #ffffff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.95);
}

/* --------------------------------------------------------------------------
   BOX DE IDENTIDAD Y REDES SOCIALES EN EL HERO
   -------------------------------------------------------------------------- */
.hero-social-box {
  margin-top: 1.1rem;
  padding: 0.85rem 1.1rem;
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-social-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-accent);
}

.hero-badge-text {
  font-family: var(--font-serif);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--gold-accent);
  font-weight: 500;
}

.hero-social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.hero-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.32rem 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.72rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.22s ease;
  backdrop-filter: blur(8px);
  cursor: pointer;
  outline: none;
  line-height: 1.4;
}

.hero-social-btn svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.hero-social-btn:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  transform: translateY(-2px);
}

.hero-social-btn:hover svg {
  transform: scale(1.12);
}

/* Acentos específicos de marca en hover */
.hero-social-btn.whatsapp:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: #25d366;
  color: #25d366;
}

.hero-social-btn.youtube:hover {
  background: rgba(255, 0, 0, 0.18);
  border-color: #ff0000;
  color: #ff4444;
}

.hero-social-btn.instagram:hover {
  background: rgba(225, 48, 108, 0.18);
  border-color: #e1306c;
  color: #f77737;
}

.hero-social-btn.facebook:hover {
  background: rgba(24, 119, 242, 0.18);
  border-color: #1877f2;
  color: #4294ff;
}

.hero-social-btn.email:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--gold-accent);
  color: var(--gold-hover);
}

/* Estado de copiado exitoso */
.hero-social-btn.copied {
  background: rgba(34, 197, 94, 0.28) !important;
  border-color: #22c55e !important;
  color: #86efac !important;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.45) !important;
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   CONTENIDO PRINCIPAL
   -------------------------------------------------------------------------- */
.main-content {
  position: relative;
  z-index: 10;
  padding-top: 80px; /* Ajustado para el header de 68px con padding en desktop */
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-tag {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.section-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0.45rem auto 0;
  line-height: 1.55;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* --------------------------------------------------------------------------
   SECCIÓN 1: HERO ALEJANDRO LAVANDEROS (ALINEADO AL HEADER 1240px)
   -------------------------------------------------------------------------- */
.hero-wrapper {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.2rem 1.5rem 3rem;
  width: 100%;
}

.hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.8rem;
  padding: 2.5rem 3rem;
  max-width: 100%;
  width: 100%;
  align-items: center;
}

.hero-portrait-col {
  position: relative;
}

.hero-portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  max-width: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card-inner);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.hero-portrait-frame:hover .hero-portrait-img {
  transform: scale(1.03);
}

.hero-badge-art {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(10, 14, 22, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.hero-info-col {
  display: flex;
  flex-direction: column;
}

.hero-lead-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-lead-subtitle {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--gold-accent);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-bio-text {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
}

/* --------------------------------------------------------------------------
   SECCIÓN 2: 6 POSTS DESTACADOS (GRILLA 3x2 EN LAPTOP)
   -------------------------------------------------------------------------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.post-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.post-thumb-wrap {
  width: 100%;
  height: 135px;
  overflow: hidden;
  position: relative;
  background: var(--bg-card-inner);
}

.post-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-thumb-img {
  transform: scale(1.05);
}

.post-content {
  padding: 1.15rem;
  background: var(--bg-card-inner);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-date {
  font-size: 0.68rem;
  color: var(--gold-accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.post-title {
  font-family: var(--font-serif);
  font-size: 0.96rem;
  color: #ffffff;
  line-height: 1.32;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.post-excerpt {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.post-link {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.post-link:hover {
  color: var(--gold-accent);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   SECCIÓN 3: REPRODUCTOR DE MÚSICA CONTEMPORÁNEA (3 COLUMNAS INTERNAS)
   -------------------------------------------------------------------------- */
.music-player-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem 2.4rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 170px 1.35fr 1fr;
  gap: 2.2rem;
  align-items: center;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

/* Columna 1: Vinilo, Arte y Ecualizador (Tarjeta Interior 40% opacidad) */
.player-col-vinyl {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.vinyl-disc-wrap {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #050608 0%, #151922 60%, #0a0d13 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.vinyl-center-art {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.equalizer-wrap {
  display: flex;
  gap: 4px;
  height: 18px;
  align-items: flex-end;
  margin-top: 0.75rem;
}

.eq-bar {
  width: 3px;
  height: 100%;
  background: var(--gold-accent);
  border-radius: 2px;
  animation: eqJump 0.5s infinite ease-in-out alternate;
  animation-play-state: paused;
}

@keyframes eqJump {
  0% { height: 15%; opacity: 0.3; }
  100% { height: 100%; opacity: 1; }
}

.vinyl-caption {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.45rem;
  font-family: var(--font-mono);
}

/* Columna 2: Información, Barra de Progreso y Controles (Tarjeta Interior 40% opacidad) */
.player-col-controls {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}

.player-badge {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
  font-weight: 500;
}

.player-track-header {
  margin-bottom: 0.85rem;
}

.player-track-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
  font-weight: 500;
  line-height: 1.25;
}

.player-track-artist {
  font-size: 0.82rem;
  color: var(--gold-accent);
  letter-spacing: 0.05em;
}

.player-track-album {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

.progress-bar-container {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  margin-bottom: 0.35rem;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-accent), #60a5fa);
  border-radius: 3px;
  position: relative;
}

.progress-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 0.85rem;
}

.player-controls-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.btn-player {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.btn-player:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-player.play-main {
  width: 44px;
  height: 44px;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--gold-accent), #b38f24);
  color: #07090e;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.btn-player.play-main:hover {
  transform: scale(1.06);
}

.volume-control-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.volume-slider {
  accent-color: var(--gold-accent);
  cursor: pointer;
  width: 75px;
}

/* Columna 3: Lista de Pistas / Repertorio (Tarjeta Interior 40% opacidad) */
.player-col-playlist {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}

.playlist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.playlist-title {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-family: var(--font-sans);
  font-weight: 600;
}

.playlist-count {
  font-size: 0.62rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.tracklist-container {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.track-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.track-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.track-item.active {
  background: rgba(212, 175, 55, 0.12);
  border-left: 3px solid var(--gold-accent);
}

.track-item-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.track-item-num {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  width: 14px;
  flex-shrink: 0;
}

.track-item-title {
  font-size: 0.78rem;
  color: #ffffff;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-item-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  display: block;
}

.track-item-time {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  flex-shrink: 0;
  margin-left: 0.4rem;
}

/* --------------------------------------------------------------------------
   SECCIÓN 4: 6 VIDEOS RELEVANTES (GRILLA 3x2 EN LAPTOP)
   -------------------------------------------------------------------------- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.video-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.video-embed-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(0, 0, 0, 0.40);
  position: relative;
}

.video-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 1rem;
  background: var(--bg-card-inner);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-title {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: #ffffff;
  line-height: 1.32;
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.video-meta {
  font-size: 0.76rem;
  line-height: 1.48;
  color: var(--text-muted);
}

.btn-archive {
  display: inline-flex;
  padding: 0.65rem 1.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-archive:hover {
  background: #ffffff;
  color: #07090e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.4rem 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.74rem;
  background: rgba(4, 5, 7, 0.95);
  position: relative;
  z-index: 10;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (LAPTOP, TABLET Y MÓVIL)
   - En móvil: "ALEJANDRO LAVANDEROS" se posiciona sobre la flauta JS interactiva
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .section-container {
    padding: 2.6rem 1.25rem;
  }
  .hero-card {
    grid-template-columns: 220px 1fr;
    gap: 1.8rem;
    padding: 1.8rem;
  }
  .hero-portrait-col {
    max-width: 220px;
  }
  .music-player-card {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 1.8rem 1.5rem;
  }
  .player-col-vinyl {
    margin: 0 auto;
  }
  .player-col-playlist {
    width: 100%;
    box-sizing: border-box;
  }
  .posts-grid,
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }
  .flute-header-stage {
    height: 52px;
  }
  .header-inner {
    padding: 0.3rem 1.2rem;
  }
  .main-content {
    padding-top: 72px;
  }
  .hero-wrapper {
    min-height: calc(100vh - 72px);
  }
}

/* Tablet y Móvil: Cabecera responsive con Nombre SOBRE la flauta */
@media (max-width: 860px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.55rem 1rem 0.5rem;
  }

  .header-brand-group {
    order: 1;
    margin: 0 auto;
    justify-content: center;
    gap: 0.65rem;
  }

  .header-brand-title {
    font-size: 0.96rem;
    letter-spacing: 0.16em;
    text-align: center;
  }

  .flute-header-stage {
    order: 2;
    width: 100%;
    max-width: 100%;
    height: 72px; /* Altura completa para mantener el tamaño real sin reducción */
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    display: flex;
    align-items: center;
  }

  .flute-header-stage::-webkit-scrollbar {
    display: none;
  }

  .flute-svg {
    min-width: 720px; /* Evita que los textos del menú se reduzcan en móvil */
    height: 72px;
    flex-shrink: 0;
  }

  .main-content {
    padding-top: 122px; /* Despeje suficiente para el header apilado en móvil */
  }

  .hero-wrapper {
    min-height: calc(100vh - 122px);
  }
}

@media (max-width: 768px) {
  .hero-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.8rem 1.4rem;
    text-align: center;
  }
  .hero-portrait-col {
    max-width: 180px;
    margin: 0 auto;
  }
  .hero-social-box {
    align-items: center;
  }
  .hero-social-buttons {
    justify-content: center;
  }
  .hero-social-badge {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 14px;
  }
  .header-inner {
    padding: 0.45rem 0.75rem 0.4rem;
    gap: 0.25rem;
  }
  .header-brand-title {
    font-size: 0.88rem;
    letter-spacing: 0.14em;
  }
  .flute-header-stage {
    height: 70px;
  }
  .main-content {
    padding-top: 120px;
  }
  .hero-wrapper {
    min-height: auto;
    padding: 1rem 0.75rem 2rem;
  }
  .hero-card {
    padding: 1.25rem 0.9rem;
    border-radius: 12px;
    gap: 1.1rem;
  }
  .hero-portrait-col {
    max-width: 150px;
  }
  .hero-lead-title {
    font-size: 1.4rem;
  }
  .hero-lead-subtitle {
    font-size: 0.76rem;
  }
  .hero-bio-text {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  .hero-social-buttons {
    gap: 0.35rem;
  }
  .hero-social-btn {
    font-size: 0.68rem;
    padding: 0.28rem 0.6rem;
  }
  .section-container {
    padding: 2rem 0.75rem;
  }
  .section-header {
    margin-bottom: 1.3rem;
  }
  .section-title {
    font-size: 1.25rem;
  }
  .section-desc {
    font-size: 0.78rem;
  }
  .posts-grid,
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .post-thumb-wrap {
    height: 155px;
  }
  .post-content {
    padding: 0.95rem;
  }
  .post-title {
    font-size: 0.92rem;
  }
  .post-excerpt {
    font-size: 0.76rem;
  }
  .music-player-card {
    padding: 1.25rem 0.85rem;
    border-radius: 12px;
    gap: 1.3rem;
  }
  .vinyl-disc-wrap {
    width: 105px;
    height: 105px;
  }
  .vinyl-center-art {
    width: 44px;
    height: 44px;
  }
  .player-track-title {
    font-size: 1.02rem;
  }
  .player-track-artist {
    font-size: 0.76rem;
  }
  .player-controls-row {
    gap: 0.7rem;
    justify-content: center;
  }
  .volume-control-wrap {
    justify-content: center;
  }
  .btn-player {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
  }
  .btn-player.play-main {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .video-info {
    padding: 0.85rem;
  }
  .video-title {
    font-size: 0.88rem;
  }
  .video-meta {
    font-size: 0.72rem;
  }
  .btn-archive {
    font-size: 0.72rem;
    padding: 0.5rem 1.2rem;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .flute-header-stage {
    height: 32px;
  }
  .site-footer {
    padding: 1.8rem 1rem;
    font-size: 0.7rem;
  }
}
