/* Modern Reset and Base Styles */
:root {
  --primary-color: #1b4f72;
  /* Azul Prusia Profundo - Elegante */
  --secondary-color: #1b4f72;
  /* Era Oro, ahora Azul */
  --primary-glow: rgba(27, 79, 114, 0.1);
  --bg-gradient-start: #fcf9f2;
  /* Marfil / Crema suave */
  --bg-gradient-end: #f5f0e6;
  --text-main: #17202a;
  --text-muted: #566573;
  --glass-bg: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(27, 79, 114, 0.15);
  --glass-highlight: rgba(255, 255, 255, 0.8);
  --font-family: "Montserrat", sans-serif;
  --transition-speed: 0.5s;
  --header-bg: rgba(252, 249, 242, 0.9);
  --footer-bg: rgba(252, 249, 242, 0.8);
  --glass-hover-bg: rgba(27, 79, 114, 0.08);
  /* Azul Suave */
  --glass-shine: rgba(255, 255, 255, 0.4);
  --shadow-sm: rgba(0, 0, 0, 0.05);
  --shadow-lg: rgba(0, 0, 0, 0.1);
  --image-bg: transparent;
  --img-shadow: rgba(0, 0, 0, 0.15);
  --img-hover-shadow: rgba(27, 79, 114, 0.2);
  --mesh-glow: rgba(27, 79, 114, 0.03);

  /* Blobs: Armonía de Azules */
  --blob-wine: rgba(27, 79, 114, 0.08);
  /* Azul Profundo */
  --blob-gold: rgba(52, 152, 219, 0.1);
  /* Azul Cielo */
  --blob-extra: rgba(133, 193, 233, 0.15);
  /* Azul Hielo / Celeste */
  --bg-main: var(--bg-gradient-start);
  --card-bg: white;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --primary-color: #3498db;
  /* Azul refinado para resaltar en oscuro */
  --secondary-color: #154360;
  /* Azul mucho más oscuro e integrado */
  --primary-glow: rgba(52, 152, 219, 0.2);
  --bg-gradient-start: #0a0e12;
  /* Fondo aún más oscuro */
  --bg-gradient-end: #05070a;
  --text-main: #e5e8e8;
  /* Texto menos brillante */
  --text-muted: #99a3a4;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(52, 152, 219, 0.25);
  --glass-highlight: rgba(255, 255, 255, 0.1);
  --header-bg: rgba(10, 14, 18, 0.98);
  --footer-bg: rgba(14, 22, 29, 0.8);
  --glass-hover-bg: rgba(255, 255, 255, 0.12);
  --glass-shine: rgba(255, 255, 255, 0.05);
  --shadow-sm: rgba(0, 0, 0, 0.6);
  --shadow-lg: rgba(0, 0, 0, 0.9);
  --mesh-glow: rgba(212, 172, 13, 0.05);
  --secondary-glow: rgba(26, 82, 118, 0.2);
  --accent-color: #3498db;

  /* Todos los reflejos a azul para cumplir el cambio de paleta */
  --blob-wine: rgba(27, 79, 114, 0.15);
  /* Azul Prusia suave */
  --blob-gold: rgba(52, 152, 219, 0.15);
  /* Azul Brillante de fondo */
  --blob-extra: rgba(21, 67, 96, 0.25);
  /* Azul noche */
  --card-bg: rgba(255, 255, 255, 0.05);
}

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

/* Fondo Base Beige */
body {
  font-family: var(--font-family);
  background-color: var(--bg-gradient-start);
  /* Ahora cambia dinámicamente con el tema */
  transition: background-color 0.4s ease;
  /* Transición suave */
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* SISTEMA DE BLOBS (Estilo Portfolio) */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  /* Reducido de 140px para que se note un poco más la forma */
  opacity: 1;
}

/* Blob 1: Vino */
.blob.wine {
  width: 90vw;
  height: 90vh;
  background: radial-gradient(circle, var(--blob-wine) 0%, transparent 80%);
  top: -25%;
  right: -15%;
  animation: moveWine 35s infinite alternate ease-in-out;
}

/* Blob 2: Oro / Ámbar */
.blob.gold {
  width: 85vw;
  height: 85vh;
  background: radial-gradient(circle, var(--blob-gold) 0%, transparent 80%);
  bottom: -20%;
  left: -15%;
  animation: moveGold 40s infinite alternate ease-in-out;
}

/* Blob 3: Terracota */
.blob.blue {
  width: 75vw;
  height: 75vh;
  background: radial-gradient(circle, var(--blob-extra) 0%, transparent 80%);
  top: 30%;
  left: 20%;
  animation: moveBlue 45s infinite alternate ease-in-out;
}

@keyframes moveWine {
  0% {
    transform: translate(0, 0) scale(1.1);
  }

  50% {
    transform: translate(-20vw, 15vh) scale(1);
  }

  100% {
    transform: translate(-10vw, -5vh) scale(1.1);
  }
}

@keyframes moveGold {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(25vw, -20vh) scale(1.2);
  }

  100% {
    transform: translate(15vw, 10vh) scale(1);
  }
}

@keyframes moveBlue {
  0% {
    transform: translate(0, 0) scale(1.2);
  }

  50% {
    transform: translate(-15vw, 25vh) scale(1);
  }

  100% {
    transform: translate(20vw, -10vh) scale(1.2);
  }
}

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

/* Header / Nav Bar */
.app-header {
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.2rem 0;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1800px;
  padding: 0 4rem;
}

.nav-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 8px;
  transition: 0.3s;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  /* Aumentado */
  flex: 1;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  /* Aumentado */
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition-speed) ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color);
  text-shadow: 0 0 15px var(--primary-glow);
}

.nav-separator {
  color: var(--text-main);
  font-size: 0.9rem;
  opacity: 0.4;
}

.nav-arrow {
  font-size: 0.7rem;
  transition: transform var(--transition-speed) ease;
}

/* Dropdown Menu Styles */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  background: var(--header-bg);
  min-width: 220px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px var(--shadow-lg);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

/* Triangle indicator */
.dropdown-content::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: var(--header-bg);
  border-top: 1px solid var(--glass-border);
  border-left: 1px solid var(--glass-border);
  transform: rotate(45deg);
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.dropdown-content a {
  color: var(--text-main);
  padding: 0.7rem 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.dropdown-content a::after {
  content: '\2192';
  /* Simple arrow */
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background: var(--glass-hover-bg);
  color: var(--primary-color);
}

.dropdown-content a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px var(--shadow-sm);
}

.theme-toggle:hover {
  transform: scale(1.1);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px var(--primary-glow);
}

.theme-toggle ion-icon {
  position: absolute;
  transition: all var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sun {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.moon {
  opacity: 0;
  transform: translateY(-30px) rotate(-90deg);
}

/* Dark mode state */
[data-theme="dark"] .sun {
  opacity: 0;
  transform: translateY(30px) rotate(90deg);
}

[data-theme="dark"] .moon {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* User Mode Toggle Style (Singer/Guitarist) */
.mode-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  position: relative;
  overflow: hidden;
}

.mode-toggle:hover {
  transform: scale(1.1);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px var(--primary-glow);
}

.mode-toggle ion-icon,
.mode-toggle .guitar-icon {
  position: absolute;
  transition: all var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mode-guitar {
  opacity: 0;
  transform: translateY(-30px) rotate(-90deg);
}

[data-user-mode="guitarrista"] .mode-vocal {
  opacity: 0;
  transform: translateY(30px) rotate(90deg);
}

[data-user-mode="guitarrista"] .mode-guitar {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* Toggle Views (Lyrics vs Chords) */
.chords-view {
  display: none;
}

[data-user-mode="guitarrista"] .lyrics-view {
  display: none;
}

[data-user-mode="guitarrista"] .chords-view {
  display: block;
}

/* Button Text Toggle */
.text-chords {
  display: none;
}

[data-user-mode="guitarrista"] .text-lyrics {
  display: none;
}

[data-user-mode="guitarrista"] .text-chords {
  display: inline;
}

/* Main Content */
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
}

/* Title Section */
.title-container {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 10;
}

.drops-decoration {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 0.8;
  letter-spacing: 12px;
  opacity: 0.8;
}

.drops-decoration span {
  display: inline-block;
  animation: float 4s ease-in-out infinite alternate;
}

.drops-decoration span:nth-child(even) {
  animation-delay: 0.7s;
}

.main-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-main);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.title-container h2 {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 1.5rem;
  letter-spacing: 0.8px;
}

.main-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  border-radius: 2px;
}

/* Grid Layout for the Menu Items */
.songs-grid-list {
  display: grid;
  grid-template-columns: 1fr;
  /* Una única columna */
  gap: 2rem;
  max-width: 800px;
  /* Reducido para que la columna no sea eterna en pantallas grandes */
  margin: 0 auto;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  width: 100%;
  padding: 0 1rem;
  z-index: 10;
}

/* Glassmorphism Menu Item Cards */
.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px 0 var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

/* Subtle inner glow on hover */
.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--glass-shine), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

.menu-item:hover::before {
  left: 200%;
}

.menu-item:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--glass-highlight);
  box-shadow: 0 15px 40px var(--primary-glow), 0 10px 20px var(--shadow-lg);
  background: var(--glass-hover-bg);
}

.image-container {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border-radius: 16px;
  padding: 1rem;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 10px 15px var(--img-shadow));
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-item:hover .image-container {
  transform: scale(1.15);
}

.menu-item:hover .image-container img {
  filter: drop-shadow(0 15px 25px var(--img-hover-shadow));
}

.menu-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color var(--transition-speed) ease;
  margin-top: auto;
}

.menu-item:hover .menu-title {
  color: var(--primary-color);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-12px);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animations automatically */
.menu-item:nth-child(1) {
  animation-delay: 0.1s;
}

.menu-item:nth-child(2) {
  animation-delay: 0.25s;
}

.menu-item:nth-child(3) {
  animation-delay: 0.4s;
}

/* Responsive Design for Mobile Devices (App Feel) */
@media (max-width: 900px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .main-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 600px) {
  .app-header {
    padding: 1rem 1.5rem;
  }

  .inicio-link {
    font-size: 1.1rem;
  }

  .main-title {
    font-size: 2.2rem;
  }

  .title-container {
    margin-bottom: 3rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0;
  }

  .menu-item {
    padding: 2rem 1rem;
  }

  .image-container {
    max-width: 190px;
  }
}

/* Footer Section */
.app-footer {
  width: 100%;
  padding: 2rem 1rem;
  background: var(--footer-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border);
  text-align: center;
  margin-top: auto;
  /* Push to the absolute bottom */
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.02);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.heart-icon {
  color: #ef4444;
  /* Red color for the heart */
  display: inline-block;
  animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  10% {
    transform: scale(1.2);
  }

  20% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.2);
  }

  40% {
    transform: scale(1);
  }
}

/* Shared Components */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2rem;
  box-shadow: 0 8px 32px 0 var(--shadow-sm);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* About Section */
.about-grid {
  max-width: 900px;
  width: 100%;
  margin-bottom: 4rem;
}

.about-content h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.about-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-main);
}

/* Gallery Section */
.gallery-section {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 4rem;
  padding: 6rem 1rem 0 1rem;
}

/* Carousel Section */
.carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 4rem;
}

.carousel-container {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2rem 1rem;
  width: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hide scrollbar */
.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 500px;
  scroll-snap-align: center;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-control:hover {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
}

.carousel-control.prev {
  left: 0;
}

.carousel-control.next {
  right: 0;
}

@media (max-width: 600px) {
  .carousel-wrapper {
    padding: 0 2rem;
  }

  .carousel-slide {
    flex: 0 0 320px;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}


.gallery-item {
  position: relative;
  padding: 0;
  overflow: hidden;
  height: 400px;
  cursor: default;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.gallery-item img {
  transform: none;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* Page Header (Title part) */
.page-header .title-container {
  margin-bottom: 1rem;
  /* Reduced from 5rem to tighten the gap */
}

/* About Section Cinematic (Full Screen) */
.about-section {
  min-height: 80vh;
  /* Reduced from 100vh to fit better with the title above */
  padding: 2rem 9% 6rem;
  /* Significantly reduced top padding */
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.about-card {
  padding: 4rem 3rem;
  /* Slightly more compact padding */
  width: 100%;
}

.about-grid-compact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h3 {
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text p {
  line-height: 1.6;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.about-image-small {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-lg);
  border: 4px solid #fff;
}

[data-theme="dark"] .about-image-small {
  border-color: var(--glass-border);
}

.about-image-small img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image-small:hover img {
  transform: scale(1.05);
}

@media (max-width: 850px) {
  .about-grid-compact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image-small {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Calendar Page Styles */
.calendar-section {
  width: 100%;
  max-width: 900px;
  margin-bottom: 4rem;
  padding: 0 1rem;
}

.calendar-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  /* Reduced from 1.5rem */
  text-align: center;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.calendar-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0;
}

.calendar-container {
  padding: 0.5rem;
  /* Reduced padding */
  border-radius: 0 0 24px 24px;
}

.calendar-responsive {
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

/* Dark mode adjustments for calendar */
[data-theme="dark"] .calendar-responsive {
  filter: invert(0.9) hue-rotate(180deg);
  /* Special trick to darken Google Calendar iframe */
}

.calendar-legend {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.calendar-legend ion-icon {
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* Events Section (Calendar Page) */
.events-section {
  width: 100%;
  max-width: 900px;
  padding: 0 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.simple-pills {
  padding: 0 4rem !important;
  max-width: 1000px;
  margin: 0 auto 3.5rem !important;
}

.event-pill-clean {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.8rem;
  background: var(--primary-color);
  color: white !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  text-decoration: none;
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.event-pill-clean:hover {
  transform: translateY(-3px);
  filter: brightness(1.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: white !important;
}

.event-pill-clean ion-icon {
  font-size: 1.2rem;
  color: white !important;
}

.event-pill-clean span {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.event-pill {
  flex: 0 0 auto;
  scroll-snap-align: center;
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.event-pill ion-icon {
  font-size: 1.4rem;
  color: var(--primary-color);
}

.event-pill span {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
  letter-spacing: 1px;
}

.event-pill:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 20px var(--primary-glow);
}

/* 
   REPERTOIRE DASHBOARD V4: 
   Sidebar + Uniform Previews (Video/Chords Always on) + Expand Button for Lyrics.
*/

.repertoire-pro-dashboard {
  display: flex;
  background: #f8fafc;
  min-height: calc(100vh - 72px);
}

/* Sidebar */
.dashboard-sidebar {
  width: 280px;
  background: #ffffff;
  border-right: 1px solid #e1e8ed;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
}

.sidebar-top {
  padding: 2.5rem 2rem;
  border-bottom: 1px solid #f4f7f9;
}

.label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 2px;
}

.sidebar-top h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 0;
}

.sidebar-menu {
  padding: 1rem 0;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 1.1rem 2rem;
  color: #64748b;
  font-weight: 600;
  transition: all 0.2s;
  border-left: 4px solid transparent;
}

.menu-link ion-icon {
  font-size: 1.3rem;
  opacity: 0.6;
}

.menu-link:hover,
.menu-link.active {
  background: #f4f7f9;
  color: var(--primary-color);
}

.menu-link.active {
  border-left-color: var(--primary-color);
  background: rgba(32, 178, 170, 0.05);
}

/* Main Content */
.dashboard-main {
  flex: 1;
  padding: 3rem 5rem;
  width: 100%;
  max-width: 1400px;
}

.main-header {
  margin-bottom: 2rem;
}

.header-title-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.main-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.view-mode-selector {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 50px;
  margin-bottom: 0.5rem;
  gap: 2px;
}

.video-toggle-btn,
.external-link-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.video-toggle-btn:hover,
.external-link-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.external-link-btn {
  background: linear-gradient(135deg, #c99d66 0%, #a67c52 100%) !important;
  color: white !important;
  border: none !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.youtube-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 0, 0, 0.08);
  color: #e53e3e;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.youtube-btn:hover {
  background: #ff0000;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(255, 0, 0, 0.2);
  border-color: #ff0000;
}

.youtube-btn ion-icon {
  font-size: 1rem;
}

.external-link-btn:hover {
  background: linear-gradient(135deg, #d8ac77 0%, #b88b5f 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.external-link-btn ion-icon {
  color: white !important;
  font-size: 1.2rem;
}

.video-toggle-btn ion-icon,
.external-link-btn ion-icon {
  font-size: 1.2rem;
}

.mode-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.2rem;
  border: none;
  background: transparent;
  border-radius: 50px;
  color: #64748b;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
}

.mode-pill ion-icon {
  font-size: 1.1rem;
}

.mode-pill.active {
  background: #fff;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-pills-container {
  align-self: center;
  background: #fff;
  padding: 6px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.filter-pills {
  display: flex;
  gap: 5px;
}

.pill-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: #64748b;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.pill-btn:hover {
  background: #f1f5f9;
  color: var(--primary-color);
}

.pill-btn.active {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 10px rgba(32, 178, 170, 0.3);
}

/* SONGS PREVIEW CARDS (UNIFORME AL INICIO) */
.songs-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.song-card-preview {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  min-width: 1000px;
}

.song-card-header {
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid #f8fafc;
  text-align: center;
}

.song-card-header h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin: 0;
}

.song-card-body {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2.5rem 2.5rem 2.5rem;
  gap: 1.5rem;
  flex: 1;
  /* Esto hace que el cuerpo expanda y empuje los botones hacia abajo */
}

.song-split-view {
  display: flex;
  gap: 2.5rem;
}

.lyrics-side,
.chords-side {
  flex: 1;
}

.side-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
  text-transform: uppercase;
  opacity: 0.8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* MODO ENFOQUE GUITARRA */
.song-card-preview.guitar-focus .lyrics-side {
  display: none;
}

.song-card-preview.guitar-focus .chords-side {
  flex: 1;
}

.song-card-preview.guitar-focus .chord-sheet,
.songs-list.mode-vocal .lyrics-snippet,
.songs-list.mode-guitarra .chord-sheet {
  column-count: 2;
  column-gap: 3rem;
  column-rule: 1px dashed #e2e8f0;
}

.songs-list.mode-vocal .chords-side,
.songs-list.mode-guitarra .lyrics-side {
  display: none;
}

.song-card-preview.guitar-focus .chord-sheet,
.songs-list.mode-guitarra .chord-sheet {
  font-size: 1.2rem;
}

.songs-list.mode-guitarra .full-chords-hidden {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
}

.songs-list.mode-guitarra .song-card-preview.lyrics-only {
  display: none !important;
}

/* Ocultar botones y video en modo guitarra */
.songs-list.mode-guitarra .expand-song-btn,
.songs-list.mode-guitarra .video-toggle-btn,
.songs-list.mode-guitarra .video-box-full {
  display: none !important;
}

.cs-line,
.cs-divider {
  break-inside: avoid;
}

.lyrics-snippet {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #475569;
}

.full-lyrics-hidden,
.full-chords-hidden {
  display: none;
  margin-top: 0;
  /* Ajustado para que sigan las líneas */
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.is-chorus {
  font-weight: 800;
  color: #1e293b;
}

.song-bottom-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid #f8fafc;
  padding-top: 1.5rem;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.video-box-full {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  background: #000;
  transition: all 0.4s ease;
}

.video-box-full.hidden-video {
  display: none;
}

.video-box-full iframe {
  width: 100%;
  height: 100%;
}

.expand-song-btn,
.video-toggle-btn {
  background: none;
  border: 2px solid #e2e8f0;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  color: #64748b;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.video-toggle-btn {
  background: #f1f5f9;
}

.video-toggle-btn ion-icon {
  color: #ff0000;
  font-size: 1.25rem;
}

.video-toggle-btn:hover {
  background: #fff;
  border-color: #ff0000;
  color: #ff0000;
}

.video-toggle-btn.active {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
}

.video-toggle-btn.active ion-icon {
  color: #fff;
}


.expand-song-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(32, 178, 170, 0.05);
}

.chords-box label {
  font-size: 0.7rem;
  font-weight: 900;
  color: #94a3b8;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  display: block;
}

.notes {
  background: #f8fafc;
  padding: 1.2rem;
  border-radius: 8px;
  font-family: monospace;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-color);
  border: 1px dashed rgba(32, 178, 170, 0.2);
}

/* ESTILO DE HOJA DE ACORDES (TIPO TU IMAGEN) */
.chord-sheet {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  line-height: 1.8;
}

.cs-line {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.8rem;
  margin-bottom: 0.5rem;
}

.chord-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cs-c {
  color: #03a9f4;
  /* El azul cian de tu imagen */
  font-weight: 800;
  font-size: 0.9rem;
  min-height: 1.2rem;
  /* Reservamos espacio para evitar colapsos */
  line-height: 1.2rem;
  padding-right: 2px;
  /* Espacio extra para que no se peguen mucho */
}

.cs-text {
  font-size: 0.95rem;
  color: #334155;
  white-space: pre-wrap;
  /* Mantiene los espacios finales "Tu palabra " */
  line-height: 1.2rem;
  min-height: 1.2rem;
}

.cs-divider {
  margin: 0 0 1rem 0;
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
  border-bottom: 1px solid #f1f5f9;
  font-family: sans-serif;
}

.full-chords-hidden {
  display: none;
  margin-top: 1rem;
}

.notes-preview {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 8px;
  font-family: monospace;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-color);
  border: 1px dashed rgba(32, 178, 170, 0.2);
}

/* ESTADO EXPANDIDO */
.song-card-preview.expanded .full-lyrics-hidden,
.song-card-preview.expanded .full-chords-hidden {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.song-card-preview.expanded .notes-preview {
  display: none;
  /* Ocultamos el resumen cuando está el detalle */
}

.song-card-preview.expanded .expand-song-btn ion-icon {
  transform: rotate(180deg);
}

/* MODO OSCURO (DARK MODE) */
[data-theme="dark"] .repertoire-pro-dashboard {
  background: #0f172a;
}

[data-theme="dark"] .dashboard-sidebar {
  background: #1e293b;
  border-right-color: #334155;
}

[data-theme="dark"] .sidebar-top {
  border-bottom-color: #334155;
}

[data-theme="dark"] .menu-link:hover,
[data-theme="dark"] .menu-link.active {
  background: #334155;
}

[data-theme="dark"] .song-card-preview {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .song-card-header {
  border-bottom-color: #334155;
}

[data-theme="dark"] .main-header h1 {
  color: #f8fafc;
}

[data-theme="dark"] .side-label {
  border-bottom-color: #334155;
}

[data-theme="dark"] .chord-sheet {
  background: #0f172a;
  border-color: #334155;
}

[data-theme="dark"] .cs-line,
[data-theme="dark"] .cs-text {
  color: #e2e8f0;
}

[data-theme="dark"] .cs-divider {
  color: #64748b;
  border-bottom-color: #334155;
}

[data-theme="dark"] .lyrics-snippet {
  color: #cbd5e1;
}

[data-theme="dark"] .is-chorus {
  color: #f8fafc;
}

[data-theme="dark"] .song-bottom-area {
  border-top-color: #334155;
}

[data-theme="dark"] .filter-pills-container {
  background: #0f172a;
  border-color: #334155;
}

[data-theme="dark"] .pill-btn:hover {
  background: #334155;
}

[data-theme="dark"] .expand-song-btn,
[data-theme="dark"] .video-toggle-btn {
  border-color: #334155;
  color: #94a3b8;
}

[data-theme="dark"] .video-toggle-btn {
  background: #334155;
}

/* Responsivo */
@media (max-width: 1100px) {
  .dashboard-sidebar {
    width: 80px;
  }

  .sidebar-top,
  .menu-link span {
    display: none;
  }

  .menu-link {
    justify-content: center;
  }

  .song-card-body {
    flex-direction: column-reverse;
    padding: 1.5rem;
  }
}

/* Prevención de columnas en canciones cortas */
.song-card-preview.single-column .lyrics-snippet,
.song-card-preview.single-column .chord-sheet {
  column-count: 1 !important;
}


/* LISTADO DE CANCIONES (Página listado.php) */
.songs-grid-list {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  /* Una única columna por petición del usuario */
  gap: 1.5rem;
  padding: 0 1.5rem 5rem 1.5rem;
  max-width: 800px;
  /* Reducido para mejor legibilidad en columna única */
}

@media (max-width: 800px) {
  .songs-grid-list {
    grid-template-columns: 1fr;
    /* 1 columna en tablets/móviles */
  }
}

.song-item {
  padding: 1.8rem;
  border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card-interactive:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.song-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.song-preview {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.song-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.btn-reveal {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
}

.btn-reveal:hover {
  filter: brightness(1.2);
  transform: scale(1.05);
}

.chords-public-btn {
  background: #27ae60 !important;
}

.chords-public-btn:hover {
  box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3) !important;
}

.btn-video {
  color: #ff0000;
  font-size: 2rem;
  display: flex;
  align-items: center;
  transition: 0.3s;
}

.btn-video:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.3));
}

.song-lyrics-full {
  display: none;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--glass-border);
  animation: fadeIn 0.5s ease;
}

.lyrics-box {
  background: rgba(0, 0, 0, 0.02);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px inset rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .lyrics-box {
  background: rgba(255, 255, 255, 0.03);
}

.chords-view .lyrics-box {
  border-left: 4px solid var(--primary-color);
  background: rgba(212, 172, 13, 0.03);
  /* Muted gold tint for guitarist mode */
}

[data-theme="dark"] .chords-view .lyrics-box {
  background: rgba(212, 172, 13, 0.08);
}

pre {
  white-space: pre-wrap;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text-main);
  text-align: center;
  margin: 0;
}

.header-back {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.3s;
}

.back-link:hover {
  transform: translateX(-5px);
}

/* ==========================================================================
   MOBILE & RESPONSIVE REFINEMENTS (Optimización para Móvil)
   ========================================================================== */
@media (max-width: 1300px) {
  .main-nav {
    padding: 0 1.5rem;
  }

  .nav-left {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-group {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2.5rem;
    gap: 2rem;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-group.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 1.8rem;
  }

  .nav-separator {
    display: none;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    gap: 2rem;
  }

  .nav-link {
    font-size: 1.1rem !important;
  }

  /* Titles */
  .main-title {
    font-size: 2.2rem !important;
    padding: 0 1rem;
    line-height: 1.2;
  }

  .classic-title {
    font-size: 2rem !important;
  }

  /* Menu Grid (Home) */
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .menu-item {
    padding: 2.5rem 1.5rem;
  }

  .image-container {
    max-width: 160px;
    margin-bottom: 1.5rem;
  }

  /* Songs List */
  .songs-grid-list {
    padding: 0 1rem 3rem 1rem;
  }

  .song-item {
    padding: 1.2rem;
  }

  .song-item h3 {
    font-size: 1.2rem;
  }

  .song-actions {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .btn-reveal {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }

  /* Lyrics and Chords */
  .lyrics-box {
    padding: 1.5rem 1rem;
  }

  pre {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Event Page */
  .classic-container {
    margin: 1.5rem auto;
    padding: 0 1rem;
  }

  .section-moment-title {
    font-size: 1.4rem;
  }

  .classic-song-row {
    padding: 0.8rem 0;
  }

  .song-name {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .nav-separator {
    display: none;
    /* Hide bullets to save space */
  }

  .nav-right {
    gap: 0.8rem;
  }

  .main-title {
    font-size: 1.8rem !important;
  }
}

/* Admin Styles */
.btn-submit {
  background: var(--primary-color) !important;
  color: white !important;
  border: none !important;
  padding: 1.2rem 2.5rem !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: 0.3s !important;
  box-shadow: 0 10px 20px var(--primary-glow) !important;
  width: 100% !important;
}

.btn-submit:hover {
  transform: translateY(-3px) !important;
  filter: brightness(1.1) !important;
}

.btn-cancel {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: none;
}

/* Layout Form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Audio Player Styles */
.media-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.audio-control audio {
  height: 35px;
  max-width: 200px;
  filter: invert(var(--dark-mode-filter)) opacity(0.8);
  transition: 0.3s;
}

.audio-control audio:hover {
  opacity: 1;
}

.btn-video {
  font-size: 1.5rem;
  color: #ff0000;
  display: flex;
  align-items: center;
  transition: 0.3s;
}

.btn-video:hover {
  transform: scale(1.2);
}

/* Modern Glass Form Elements */
.standard-form select,
.standard-form input,
.standard-form textarea {
  width: 100% !important;
  padding: 1rem 1.2rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgb(31, 54, 121) !important;
  border-radius: 12px !important;
  color: var(--text-main) !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
}

.standard-form select:focus,
.standard-form input:focus,
.standard-form textarea:focus {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--primary-color) !important;
  outline: none !important;
  box-shadow: 0 0 15px var(--primary-glow) !important;
}

.standard-form select option {
  background-color: var(--bg-gradient-start) !important;
  color: var(--text-main) !important;
}

.standard-form label {
  display: block !important;
  margin-bottom: 0.7rem !important;
  font-weight: 600 !important;
  color: var(--primary-color) !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.form-group {
  margin-bottom: 1.5rem !important;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Admin Actions Icons */
.action-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 0.8rem !important;
  border-radius: 12px !important;
  color: var(--text-main) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  font-size: 1.2rem !important;
  margin: 0.2rem !important;
}

.action-btn:hover {
  transform: translateY(-2px) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  box-shadow: 0 5px 15px var(--primary-glow) !important;
}

.action-btn.delete:hover {
  border-color: #ef4444 !important;
  color: #ef4444 !important;
  box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3) !important;
}

.action-btn.manage:hover {
  border-color: #3b82f6 !important;
  color: #3b82f6 !important;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3) !important;
}

.action-btn.move:hover {
  border-color: #f1c40f !important;
  color: #f1c40f !important;
  box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3) !important;
}

.action-btn.edit:hover {
  border-color: #27ae60 !important;
  color: #27ae60 !important;
  box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3) !important;
}

.action-btn.chords:hover {
  border-color: #9b59b6 !important;
  color: #9b59b6 !important;
  box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3) !important;
}

.standard-form select[multiple] {
  height: 150px !important;
  padding: 0.5rem !important;
}

/* Improved Input Visibility */
.standard-form select,
.standard-form input,
.standard-form textarea {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.glass-card {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: 0 8px 32px 0 var(--shadow-sm) !important;
}

.form-group select[multiple] option {
  padding: 0.5rem !important;
  margin-bottom: 2px !important;
  border-radius: 4px !important;
}

/* Ensure the form card is clearly visible */
.form-card {
  padding: 2.5rem !important;
}

/* === ESTILOS DE PÁGINAS ESPECÍFICAS === */
/* Evento View (evento.php) */
.classic-page {
  background: var(--bg-gradient-start);
  color: var(--text-main);
  min-height: 100vh;
  padding-bottom: 5rem;
  width: 100%;
  font-family: Montserrat, sans-serif;
}

.classic-header {
  text-align: center;
  padding: 4rem 1rem;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
}

.ornament {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.classic-title {
  font-family: Playfair Display, serif;
  font-size: 3.5rem;
  color: var(--primary-color);
  margin: 0;
  letter-spacing: -1px;
}

.classic-divider {
  width: 100px;
  height: 2px;
  background: var(--secondary-color);
  margin: 1.5rem auto;
}

.classic-subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.classic-container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.classic-section {
  margin-bottom: 4rem;
}

.section-moment-title {
  font-family: Playfair Display, serif;
  font-size: 1.8rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.classic-date-tag {
  margin: 1.5rem 0 0.5rem 0;
}

.classic-date-tag span {
  background: var(--secondary-color);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  border-radius: 2px;
}

.classic-song-row {
  margin-bottom: 0.8rem;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px var(--shadow-sm);
}

.classic-song-row:hover {

  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.08);
}

.classic-song-row.active {
  background: var(--glass-hover-bg);
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px var(--primary-glow);
}

.song-main {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.song-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}


.song-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.song-links a {
  color: #ff0000;
  font-size: 0.7rem;
  display: flex;
}

.classic-chevron {
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.classic-song-row.active .classic-chevron {
  transform: rotate(180deg);
}

.classic-text-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-out;
}

.drawer-content {
  color: var(--text-main);
  line-height: 1.5;
}


.drawer-content pre {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 1rem;
  background: var(--glass-bg);
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid var(--glass-border);
}

.no-text {
  font-style: italic;
  color: var(--text-muted);
}

/* Admin Structural Layout */
.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.admin-layout-reversed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

@media (max-width: 900px) {

  .admin-layout,
  .admin-layout-reversed {
    grid-template-columns: 1fr;
  }
}

.status-banner {
  padding: 1rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--primary-color);
  color: var(--text-main);
  font-weight: 600;
}

.items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--glass-bg);
  padding: 1.2rem;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  gap: 0.8rem;
  cursor: grab;
}

.item-info {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0.6rem;
}

.item-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .item-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    overflow: hidden !important; /* Prevent any horizontal overflow */
  }
  .item-info {
    width: 100% !important;
    max-width: 100% !important;
  }
  .item-actions {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
  .item-meta strong {
    word-break: break-word !important;
    white-space: normal !important;
  }
  .admin-repertorio-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  .admin-repertorio-info {
    width: 100% !important;
  }
  .repertorio-item {
    grid-template-columns: 1fr !important;
  }
}

.repertorio-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.repertorio-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--glass-bg);
  padding: 1.2rem;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
}

.v-momento {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.v-cancion {
  display: flex;
  flex-direction: column;
}

.v-cancion small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Subtitle Margin */
.subtitle {
  margin-bottom: 2.5rem !important;
  margin-top: 1rem !important;
  display: block !important;
}

/* Desktop Layout Columns - RE-ENABLING for clarity */
@media (min-width: 901px) {
  .admin-layout {
    grid-template-columns: 450px 1fr !important;
  }

  .admin-layout-reversed {
    grid-template-columns: 1fr 450px !important;
  }
}

/* Glass Card Headers Margin */
.glass-card h3 {
  margin-bottom: 2rem !important;
  color: var(--primary-color) !important;
  font-family: 'Playfair Display', serif !important;
}


/* Scrollable Item Lists */
.items-list {
  max-height: 800px !important;
  overflow-y: auto !important;
  padding-right: 1.2rem !important;
  scrollbar-width: thin !important;
  scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.05) !important;
}

.items-list::-webkit-scrollbar {
  width: 6px !important;
}

.items-list::-webkit-scrollbar-thumb {
  background: var(--primary-color) !important;
  border-radius: 10px !important;
}

.admin-layout,
.admin-layout-reversed {
  align-items: flex-start !important;
}

/* Custom File Upload Styles */
.file-upload-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.custom-file-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-color);
  color: white !important;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px var(--primary-glow);
  border: 1px solid transparent;
}

.custom-file-upload:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
  filter: brightness(1.1);
}

.custom-file-upload input[type='file'] {
  display: none;
}

.file-name-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  padding-left: 10px;
}

.file-name-hint.active {
  color: var(--primary-color);
  font-weight: 600;
}


.custom-file-upload {
  justify-content: center !important;
  min-width: 250px;
}

/* Lyrics Viewer and Markers */
.lyrics-viewer {
  white-space: pre-wrap !important;
  font-family: inherit;
  line-height: 1.5;
  color: var(--text-main);
}

.lyrics-viewer b {
  font-weight: 900 !important;
  color: var(--text-main) !important;
}

.lyrics-viewer i {
  font-style: italic !important;
  border-bottom: 1px dotted var(--text-main);
}

.chord-img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 10px auto !important;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.lyrics-marker {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1px;
  opacity: 0.8;
}

/* FIXES PARA LETRA Y ACORDES */
.lyrics-viewer b {
  font-weight: 950 !important;
  color: #000 !important;
}

.lyrics-viewer i {
  font-style: italic !important;
  background: rgba(0, 0, 0, 0.03);
}

.chord-img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 20px auto !important;
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2) !important;
}

.classic-song-row.active .classic-text-drawer {
  max-height: 10000px !important;
}

.classic-text-drawer.active {
  max-height: 10000px !important;
}

.lyrics-viewer {
  white-space: pre-wrap !important;
}



.sortable-ghost {
  opacity: 0.4;
  background: rgba(var(--primary-rgb, 0, 0, 128), 0.1) !important;
  border: 2px dashed var(--primary-color) !important;
}

/* ============================================
   ADMIN PANEL (admin.php)
   ============================================ */
.admin-dashboard {
  max-width: 1000px;
  margin: 3rem auto 6rem auto;
  padding: 0 1.5rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

.admin-card {
  display: flex !important;
  align-items: center !important;
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  backdrop-filter: blur(10px) !important;
  padding: 2rem !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  position: relative !important;
  overflow: hidden !important;
}

.admin-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px var(--primary-glow);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.blue-gradient       { background: linear-gradient(135deg, #1b4f72, #3498db); }
.gold-gradient       { background: linear-gradient(135deg, #d4ac0d, #f1c40f); }
.wine-gradient       { background: linear-gradient(135deg, #78281f, #c0392b); }
.deep-blue-gradient  { background: linear-gradient(135deg, #154360, #21618c); }

.card-info h3 {
  color: var(--text-main);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  font-family: 'Playfair Display', serif;
}

.card-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.card-arrow {
  margin-left: auto;
  font-size: 1.5rem;
  color: var(--primary-color);
  opacity: 0.3;
  transition: 0.3s;
}

.admin-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(5px);
}

.admin-misc {
  margin-top: 4rem;
}

.status-card {
  padding: 3rem;
  border-radius: 30px;
  text-align: center;
}

.status-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.status-stats {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-lab {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ============================================
   LOGIN PAGE (login.php)
   ============================================ */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 2rem;
}

.login-card {
  width: 100% !important;
  max-width: 450px !important;
  padding: 3rem !important;
  border-radius: 30px !important;
  box-shadow: 0 25px 60px rgba(0,0,0,0.1) !important;
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
}

.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.login-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.login-header p {
  color: var(--text-muted);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper ion-icon {
  position: absolute;
  left: 1.2rem;
  font-size: 1.4rem;
  color: var(--text-muted);
}

.input-wrapper input {
  width: 100% !important;
  padding: 1.2rem 1.2rem 1.2rem 3.5rem !important;
  border-radius: 15px !important;
  border: 1px solid var(--glass-border) !important;
  background: var(--glass-bg) !important;
  color: var(--text-main) !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  transition: 0.3s !important;
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.btn-login {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1.2rem;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.3s;
  margin-top: 1rem;
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--primary-glow);
  filter: brightness(1.1);
}

.login-error {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  padding: 1.2rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2rem;
  border: 1px solid rgba(231, 76, 60, 0.2);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ============================================
   ADMIN CANCIONES (admin_canciones.php)
   ============================================ */
.file-upload-modern {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-modern-upload {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: 0.3s;
  width: 100%;
  max-width: 300px;
}

.btn-modern-upload:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

/* Vertical List Selection Styles */
.selection-list-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  max-height: 120px;
  overflow-y: auto;
  backdrop-filter: blur(10px);
}

.list-item input { display: none; }

.list-item-label {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s;
  user-select: none;
  border: 1px solid transparent;
}

.list-item input:checked + .list-item-label {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color);
  font-weight: 600;
}

.list-item-label:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Custom Scrollbar for selection list */
.selection-list-box::-webkit-scrollbar       { width: 4px; }
.selection-list-box::-webkit-scrollbar-track  { background: transparent; }
.selection-list-box::-webkit-scrollbar-thumb  { background: rgba(255, 255, 255, 0.15); border-radius: 10px; }

/* Search box inside admin list */
.search-box-admin {
  position: relative;
  padding-bottom: 2rem;
}

.search-box-admin input {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-main);
  width: 200px;
}

/* Format legend below textarea */
.format-legend {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  gap: 15px;
  border: 1px dashed rgba(255,255,255,0.1);
}

.format-legend .legend-primary {
  color: var(--primary-color);
}

/* Inline form helper: audio / img wrappers */
.audio-upload-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Chord image preview in edit form */
.chord-preview-wrap {
  margin-bottom: 10px;
}

/* Admin Edit Song - Edit Mode Banner */
.admin-edit-banner {
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid var(--primary-color);
  padding: 0.8rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.admin-edit-badge {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-cancel-btn {
  font-size: 0.75rem;
  color: #e74c3c;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e74c3c;
  padding: 6px 12px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.admin-cancel-btn:hover {
  background: rgba(231, 76, 60, 0.1);
  transform: scale(1.02);
}

/* Media Previews and Delete Buttons */
.admin-media-preview {
  margin-bottom: 1.5rem;
}

.admin-preview-img {
  max-width: 100px;
  border-radius: 8px;
  display: block;
}

.admin-delete-media-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e74c3c;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  padding: 0;
  transition: opacity 0.2s;
  width: fit-content;
}

.admin-delete-media-btn:hover {
  opacity: 0.8;
}

.admin-audio-preview {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0.5rem 0;
}

.admin-audio-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}


/* Admin Form Helpers and Hints */
.admin-form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

.btn-cancel-block {
  display: block;
  text-align: center;
  margin-top: 0.8rem;
  padding: 0.7rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.btn-cancel-block:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}


/* Admin Repertoire Management */
.admin-momento-group {
  margin-bottom: 2.5rem;
}

.admin-momento-title {
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 5px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-momento-handle {
  cursor: grab;
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-right: 5px;
}

.admin-repertorio-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.admin-repertorio-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--glass-bg);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  cursor: grab;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-repertorio-item:hover {
  transform: translateX(5px);
  background: var(--glass-hover-bg);
  box-shadow: 0 4px 12px var(--shadow-sm);
}

.admin-repertorio-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
}

.admin-drag-icon {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  color: var(--text-muted);
  flex-shrink: 0;
  cursor: grab;
}

.admin-item-name {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.admin-item-tag {
  display: block;
  font-size: 0.75rem;
  margin-top: 2px;
}

.admin-item-tag.visible {
  color: var(--primary-color);
}

.admin-item-tag.hidden {
  color: var(--text-muted);
  opacity: 0.6;
  text-decoration: line-through;
}

.admin-actions-flex {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-btn-icon-only {
  border: none;
  cursor: pointer;
  background: none;
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 50%;
  transition: background 0.2s;
}

.admin-btn-icon-only:hover {
  background: rgba(0, 0, 0, 0.05);
}


/* Drag handle (reorder icon) */
.drag-handle {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  color: var(--text-muted);
  flex-shrink: 0;
  cursor: grab;
}

/* Columna meta dentro de item-row */
.item-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

/* Fecha / orden secundario en item-row */
.item-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Botón cancelar ampliado (admin_tipos) */
.btn-cancel-block {
  display: block;
  text-align: center;
  margin-top: 0.8rem;
  padding: 0.7rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}

/* ============================================
   PÁGINA PRINCIPAL (index.php) - QUICK LINKS
   ============================================ */
.quick-links-section {
  width: 100%;
  max-width: 1100px;
  margin-top: 4rem;
  text-align: center;
  padding: 3rem 1rem;
}

.quick-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.quick-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.8rem;
  background: var(--primary-color);
  color: white !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  text-decoration: none;
}

.quick-pill:hover {
  transform: translateY(-3px);
  filter: brightness(1.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: white !important;
}

.quick-pill ion-icon {
  font-size: 1.2rem;
  color: white !important;
}

/* ============================================
   PÁGINA CANCIONES (canciones.php)
   ============================================ */
.search-section-box {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  position: relative;
  z-index: 20;
}

.search-bar-modern {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0.8rem 1.5rem !important;
  border-radius: 50px !important;
}

.search-bar-modern ion-icon {
  font-size: 1.6rem;
  color: var(--primary-color);
  opacity: 0.7;
}

.search-bar-modern input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.1rem;
  font-family: inherit;
  padding: 0.5rem 0;
}

.search-bar-modern input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.search-bar-modern input:focus {
  outline: none;
}

.results-push-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  width: 100%;
}

.public-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem !important;
  border-radius: 15px !important;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  transition: 0.3s;
}

.public-search-result:hover {
  background: var(--glass-hover-bg);
  transform: translateX(5px);
}

.tabs-wrapper {
  width: 100%;
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
}

.tabs-pills {
  display: flex;
  background: var(--glass-bg);
  padding: 6px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.tab-btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 5px 15px var(--primary-glow);
}

.songs-dashboard-modern {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
  display: block;
}

.category-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.cat-card-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem 2rem !important;
  text-align: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.cat-card-modern:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color) !important;
}

.cat-icon-modern {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.cat-name-modern {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cat-count-modern {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.all-songs-container {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
}

.btn-full-catalogue {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.2rem 3rem;
  background: var(--primary-color);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: 0.3s;
  box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-full-catalogue:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
  box-shadow: 0 15px 35px var(--primary-glow);
}

@media (max-width: 768px) {
  .category-grid-modern {
    grid-template-columns: 1fr;
  }
  
  .tab-btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.8rem;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   LÓGICA DE PERFILES (Corista vs Guitarrista)
   ============================================ */

/* Por defecto, si es corista ocultamos acordes */
[data-user-mode="corista"] .guitar-only {
  display: none !important;
}

/* Si es guitarrista ocultamos letra */
[data-user-mode="guitarrista"] .vocal-only {
  display: none !important;
}

/* EL ADMIN SIEMPRE VE TODO (Sobrescribe lo anterior) */
body.is-admin .vocal-only,
body.is-admin .guitar-only,
body.is-admin .lyrics-view,
body.is-admin .chords-view {
  display: block !important;
}

/* ============================================
   MODO CANCIONERO (Vista Premium de Lectura)
   ============================================ */

.songbook-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0 2.5rem 0;
}

.btn-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 1.6rem;
  background: white;
  color: var(--primary-color) !important;
  border: 1px solid var(--primary-color);
  border-radius: 50px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-mode-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--primary-glow);
  filter: brightness(1.1);
}

/* El contenedor principal oculta lo de debajo pero no tapa el cancionero */
.classic-page.songbook-active {
  overflow: hidden !important;
}

/* Ocultar elementos molestos en modo lectura */
.songbook-active .classic-header,
.songbook-active .classic-container,
.songbook-active .app-header,
.songbook-active .app-footer,
.songbook-active .bg-blobs,
.songbook-active .header-back {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.songbook-viewport {
  width: 100vw !important;
  height: 100vh !important;
  display: flex;
  flex-direction: column;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 9999999 !important;
  background: var(--bg-gradient-end); /* Adaptable a modo oscuro */
  transition: background 0.4s ease;
}

.songbook-header {
  height: 70px;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--header-bg);
  border-bottom: 2px solid var(--glass-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  z-index: 100;
}

.songbook-title-info h2 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0px;
  font-family: 'Playfair Display', serif;
}

.songbook-title-info span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 700;
}

.songbook-close {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  color: #718096;
  background: #edf2f7;
  padding: 8px 15px;
  border-radius: 12px;
  transition: 0.3s;
}

.songbook-close:hover {
  background: #feebc8;
  color: #c05621;
}

.songbook-close ion-icon { font-size: 1.3rem; }

/* Carrusel de Páginas */
.songbook-pages {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.songbook-pages::-webkit-scrollbar { display: none; }

.song-page {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  padding: 3rem 1rem;
  overflow-y: auto;
  display: block; /* Cambiamos a block para que el scroll empiece desde arriba si es largo */
}

/* La "Página" de papel */
.page-paper {
  max-width: 850px;
  width: 95%;
  margin: 0 auto 5rem;
  background: var(--glass-highlight); /* Usa el fondo adaptable */
  padding: 4rem 3rem 10rem;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid var(--glass-border);
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s ease;
}

/* Textura sutil de papel */
.page-paper::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("https://www.transparenttextures.com/patterns/papyrus.png");
  opacity: 0.03;
  pointer-events: none;
}

.page-moment-label {
  display: inline-block;
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 3px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 4px;
}

.page-tag {
  display: block;
  font-size: 0.85rem;
  color: var(--primary-color); /* Usamos el color primario para que destaque y sea legible */
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-song-title {
  font-size: 2.8rem;
  font-family: 'Playfair Display', serif;
  color: var(--text-main);
  margin-bottom: 3rem;
  text-align: center;
  line-height: 1.1;
}

.page-paper pre, 
.page-paper .lyrics-viewer {
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text-main);
  width: 100%;
}

/* Nav Buttons Overlay */
.songbook-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: white;
  border: 2px solid #e8e4db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.songbook-nav-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.songbook-nav-btn.prev { left: 2rem; }
.songbook-nav-btn.next { right: 2rem; }

.page-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #1a202c;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 900px) {
  .songbook-nav-btn { display: none; }
  .page-song-title { font-size: 2rem; }
  .page-paper { padding: 2.5rem 1.5rem; width: 100%; border-radius: 0; margin-top: 0; }
  .song-page { padding: 1rem 0; }
  .page-paper pre, .page-paper .lyrics-viewer { font-size: 1.1rem; }
}
.admin-eye-icon {
  font-size: 1.4rem;
}

.admin-eye-icon.visible {
  color: var(--primary-color);
}

.admin-eye-icon.hidden {
  color: var(--text-muted);
}

/* Event Header Buttons (YT, Audio, Mode) */
.songbook-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 1.5rem;
}

.btn-yt-playlist {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 1.6rem;
  background: white;
  color: #ff0000 !important;
  border: 1px solid #ff0000;
  border-radius: 50px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-audio-playlist {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 1.6rem;
  background: white;
  color: var(--primary-color) !important;
  border: 1px solid var(--primary-color);
  border-radius: 50px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-yt-playlist {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 1.6rem;
  background: white;
  color: #ff0000 !important;
  border: 1px solid #ff0000;
  border-radius: 50px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-yt-playlist:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

.btn-audio-playlist {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 1.6rem;
  background: white;
  color: var(--primary-color) !important;
  border: 1px solid var(--primary-color);
  border-radius: 50px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-audio-playlist:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

.btn-audio-playlist.playing {
    background: #1a202c;
    animation: pulse-audio 2s infinite;
}

@keyframes pulse-audio {
    0% { box-shadow: 0 0 0 0 rgba(26, 32, 44, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(26, 32, 44, 0); }
    100% { box-shadow: 0 0 0 0 rgba(26, 32, 44, 0); }
}

.quick-pill.yt-pill {
  background: #ff0000;
  color: white !important;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.quick-pill.yt-pill:hover {
    background: #cc0000;
}

/* ============================================
   REDISEÑO DE BARRA DE MEDIOS (DRAWER) - MINIMAL
   ============================================ */

.drawer-media-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0 0 1.5rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(27, 79, 114, 0.1);
  border-radius: 0;
  margin: 1rem 0 2rem 0;
}

.drawer-audio-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.drawer-audio-item span {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2px;
  display: block;
  opacity: 0.7;
}

.drawer-audio-item audio {
  width: 100%;
  height: 38px;
  border-radius: 50px;
  outline: none;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.drawer-audio-item audio:hover {
  opacity: 1;
}

/* Botón YouTube Premium Minimalista */
.youtube-btn-large {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.8rem;
  background: rgba(229, 62, 62, 0.08) !important;
  color: #e53e3e !important;
  border: 1px solid rgba(229, 62, 62, 0.2) !important;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: auto;
  margin: 0;
}

.youtube-btn-large:hover {
  background: #e53e3e !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(229, 62, 62, 0.25);
  border-color: #e53e3e !important;
}



/* Estilo de la letra dentro del cajón */
.drawer-content pre, .lyrics-viewer {
  font-size: 1.15rem !important;
  line-height: 1.8 !important;
  color: #2d3748 !important;
  font-weight: 500;
  text-align: left;
}

/* ============================================
   OPCIÓN 6 - REVISADA Y PERFECCIONADA
   ============================================ */

.songbook-controls-premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin: 2.5rem 0 4rem 0;
}

.btn-primary-feature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 1rem 3.5rem;
  background: linear-gradient(135deg, #1b4f72 0%, #3498db 80%, #5dade2 100%);
  color: white !important;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 10px 25px rgba(27, 79, 114, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.btn-primary-feature:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(27, 79, 114, 0.35);
  filter: brightness(1.08);
}

.media-toolbar-premium {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.4rem 1.4rem;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 5px 20px var(--shadow-sm);
}

.btn-media-minimal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 0.8rem;
  background: transparent;
  color: var(--text-muted) !important;
  border: none;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1;
}

.btn-media-minimal ion-icon {
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.btn-media-minimal:hover {
  color: var(--primary-color) !important;
  background: var(--glass-hover-bg);
}

.btn-media-minimal:hover ion-icon {
  transform: scale(1.2);
}

.v-separator {
  width: 1px;
  height: 14px;
  background: rgba(27, 79, 114, 0.15);
  opacity: 0.6;
}
