/* ========================================
   THE TRIDENT FAMILY - Unified Styles
   ======================================== */

/* ========================================
   SHOP STYLES
   ======================================== */

/* Product Grid - Compatible with Tailwind classes */
#main-releases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

/* Product Badges */
.product-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-new {
  background: #10b981;
  color: white;
}

.badge-sale {
  background: #ef4444;
  color: white;
}

/* Product Card */
.article-card {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #333;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 0.5rem;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.article-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
  border-color: #d4af37;
}

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

/* Stock Warning */
.article-card .stock-warning {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  z-index: 1;
}

/* Buy Button in Card */
.article-card .buy-btn {
  background: #d4af37;
  color: #000;
  text-align: center;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: block;
  margin-top: auto;
}

.article-card .buy-btn:hover {
  background: #e6c04d;
  transform: translateY(-2px);
}

/* Search Container */
.search-container {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  margin: 0 auto;
  max-width: 1200px;
}

/* Search Input */
#searchInput {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  color: #fff;
  transition: all 0.3s ease;
}

#searchInput:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 1px #d4af37;
}

/* Filter Chips */
.filter-chip {
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: 1px solid #444;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-chip:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #d4af37;
}

.filter-chip.active {
  background: #d4af37;
  color: #000;
  border-color: #d4af37;
  font-weight: 600;
}

/* Clear Search Button */
#clearSearch {
  cursor: pointer;
  transition: color 0.2s ease;
  background: none;
  border: none;
}

#clearSearch:hover {
  color: #d4af37 !important;
}

/* Results Counter */
#resultsCounter {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* ========================================
   PRODUCT MODAL - RESTORED ORIGINAL
   ======================================== */
#productModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  overflow-y: auto;
}

#productModal.show {
  display: flex;
  opacity: 1;
  visibility: visible;
}

#productModal .modal-content {
  background: #1a1a1a;
  border-radius: 0.5rem;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#productModal .modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
}

#productModal .modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

#productModal .product-image {
  border-radius: 0.5rem;
  overflow: hidden;
  background: #000;
}

#productModal .product-image img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

#productModal .product-details h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

#productModal .product-artist {
  color: #d4af37;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  display: block;
}

#productModal .product-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #d4af37;
  margin: 1.5rem 0;
}

#productModal .product-description {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 2rem;
}

#productModal .btn-buy {
  display: inline-block;
  background: #d4af37;
  color: #000;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

#productModal .btn-buy:hover {
  background: #e8c15a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Image Modal for Zoom */
#imageModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  overflow-y: auto;
}

#imageModal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

#imageModal .modal-container {
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  width: 100%;
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

#imageModal .modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

#imageModal .modal-close:hover {
  background: #d4af37;
  color: #000;
  transform: scale(1.1);
}

/* Navigation Arrows */
#imageModal .nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #d4af37;
  color: #d4af37;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  z-index: 5;
  user-select: none;
}

#imageModal .nav-arrow:hover {
  background: #d4af37;
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

#imageModal .prev-arrow {
  left: 1rem;
}

#imageModal .next-arrow {
  right: 1rem;
}

/* Main Image */
#imageModal .modal-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

/* Hide arrows if only one image */
#imageModal .nav-arrow.hidden {
  display: none;
}

/* Responsive for Product Modal */
@media (max-width: 768px) {
  #productModal .modal-body {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  #productModal .product-image {
    margin-bottom: 1.5rem;
  }
  
  #productModal .product-details h2 {
    font-size: 1.5rem;
  }
  
  #productModal .product-artist {
    font-size: 1rem;
  }
  
  #productModal .product-price {
    font-size: 1.5rem;
  }
}

/* Responsive for Image Modal */
@media (max-width: 768px) {
  #imageModal .modal-container {
    padding: 1rem;
    margin: 0.5rem;
    max-width: 95vw;
  }
  
  #imageModal .modal-close {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
    top: 0.5rem;
    right: 0.5rem;
  }
  
  #imageModal .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  #imageModal .prev-arrow {
    left: 0.5rem;
  }
  
  #imageModal .next-arrow {
    right: 0.5rem;
  }
  
  #imageModal .modal-image {
    max-height: 70vh;
  }
}

/* ========================================
   BASE STYLES
   ======================================== */
body {
  background-color: #111;
  color: #fff;
  font-family: 'Arial', sans-serif;
}

/* Background blur effect (standardized for all pages) */
.blur-bg {
  background-image: url('../img-optimized/img/fondo.webp');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  filter: blur(8px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.6);
  background-blend-mode: darken;
}

/* ========================================
   HEADER STYLES
   ======================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  padding: 0.75rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Ajustes para el contenedor del encabezado */
header .container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
}

/* Estilos para el nombre del sitio */
.site-name {
  color: #fff;
  font-weight: bold;
  white-space: nowrap;
  text-align: left;
  display: none;
  margin: 0;
  font-size: 1.25rem;
}

/* Ajustes para el menú de navegación */
.nav-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* ========================================
   CARD COMPONENTS
   ======================================== */
.artist-card, 
.release-card, 
.video-card, 
.founder-card, 
.album-card,
.card,
.content-card {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1rem;
  transition: transform 0.3s ease;
  pointer-events: auto;
}

.content-card {
  padding: 2rem;
}

.album-card:hover,
.card:hover {
  transform: scale(1.03);
}

.card:hover { 
  transform: scale(1.02); 
}

/* Info box for artists page */
.infobox {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  width: 100%;
  max-width: 300px;
}

/* ========================================
   FORM ELEMENTS
   ======================================== */
input, textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem;
  border-radius: 5px;
  width: 100%;
  color: #fff;
  font-size: 1rem;
}

input:focus, textarea:focus { 
  outline: none; 
  border-color: #d4af37; 
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

label {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========================================
   MAIN CONTENT SPACING
   ======================================== */
body {
  padding-top: 70px;
}

/* Ajustar para pantallas más grandes */
@media (min-width: 1024px) {
  body {
    padding-top: 80px;
  }
}

/* ========================================
   TYPOGRAPHY & SPACING
   ======================================== */
h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Ajustes para pantallas medianas */
@media (min-width: 640px) {
  h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding-top: 2rem;
  }
}

/* Ajustes para pantallas grandes */
@media (min-width: 1024px) {
  h2 {
    font-size: 2.25rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding-top: 2.5rem;
  }
}

/* Espaciado adicional para las secciones */
section {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  section {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
}

/* Estilo para el primer título después del encabezado */
.hero-section + section h2:first-child {
  margin-top: 0;
  padding-top: 3rem;
}

/* ========================================
   BUTTONS
   ======================================== */
button {
  background: transparent;
  border: 1px solid #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

button:hover { 
  background: #d4af37; 
  color: #000; 
  border-color: #d4af37;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.listen-artist-button,
.btn-ver,
.btn-escuchar {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  margin: 0.25rem;
  cursor: pointer;
}

.listen-artist-button:hover,
.btn-ver:hover,
.btn-escuchar:hover {
  background: #fff;
  color: #000;
}

.join-button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  color: #fff;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.join-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.join-button.active {
  background: #d4af37;
  color: #000;
  font-weight: bold;
}

.video-buttons button {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin: 0.5rem 0.25rem;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.video-buttons button:hover {
  background: #fff;
  color: #000;
}

/* ========================================
   PLATFORM BUTTONS
   ======================================== */
.platform-buttons a {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-buttons a:hover {
  background: #fff;
  color: #000;
}

.platform-buttons i {
  color: #d4af37;
  margin-right: 0.5rem;
}

/* ========================================
   SOCIAL ICONS
   ======================================== */
.social-icon {
  color: #d4af37;
  margin-right: 0.25rem;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #fff;
}

/* Social links (for text styling) */
.header-contacts a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-contacts a:hover {
  color: #d4af37;
}

/* ========================================
   SECTIONS
   ======================================== */
.release-section {
  background: linear-gradient(to bottom, rgba(139, 92, 0, 0.5), rgba(66, 44, 0, 0.5));
}

.hover-scale:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* ========================================
   MODALS - GENERAL
   ======================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

/* Clase para mostrar el modal */
.modal.active {
  display: flex;
}

.modal-content {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botón de cierre del modal */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #d4af37;
}

/* ========================================
   COOKIE BANNER (Footer Component)
   ======================================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  z-index: 100;
  display: none;
}

#cookie-banner.show {
  display: block;
}

#cookie-banner button {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin: 0.5rem;
  transition: all 0.3s ease;
}

#cookie-banner button:hover {
  background: #fff;
  color: #000;
}

/* ========================================
   ALBUMS
   ======================================== */
.album-cover {
  width: 100%;
  max-width: 200px;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.album-songs-list {
  margin-top: 0.5rem;
  display: block;
  text-align: left;
}

.album-songs-list ul {
  list-style: disc;
  margin: 0.5rem 1rem;
  padding: 0;
}

.album-songs-list li {
  margin: 0.25rem 0;
  font-size: 0.875rem;
}

.album-songs-list.hidden {
  display: none !important;
}

.muy-pronto {
  display: inline-block;
  margin-top: 0.5rem;
  color: #d4af37;
  font-weight: bold;
  font-size: 0.9rem;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.hidden {
  display: none !important;
}

/* ========================================
   PARTNER LOGOS
   ======================================== */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.partner-logos img {
  width: 100px;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logos img:hover {
  filter: none;
}

/* Platform Logos Styles */
.plataformas {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.plataforma-logo {
  width: 850px;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.plataforma-logo:hover {
  filter: none;
}

/* ========================================
   HERO CAROUSEL STYLES
   ======================================== */
.hero-carousel,
.carousel {
  position: relative;
  width: 100%;
  height: 400px;
  margin: 0;
  overflow: hidden;
  border-radius: 15px;
}

.hero-carousel-inner,
.carousel-inner {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}

.hero-carousel-item,
.carousel-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-carousel-item img,
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: block;
}

.carousel-item img {
  background: #1a1a1a;
}

.hero-carousel-item:hover img,
.carousel-item:hover img {
  transform: scale(1.02);
}

.hero-carousel-item a,
.carousel-item a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 15px;
  text-decoration: none;
}

.hero-carousel-overlay,
.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.hero-carousel-item:hover .hero-carousel-overlay,
.carousel-item:hover .carousel-overlay {
  transform: translateY(0);
}

.hero-carousel-title,
.carousel-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #d4af37;
}

.hero-carousel-description,
.carousel-description {
  font-size: 1rem;
  opacity: 0.9;
}

.hero-carousel-nav,
.carousel-prev, 
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #d4af37;
  border: 2px solid #d4af37;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.hero-carousel-nav:hover,
.carousel-prev:hover, 
.carousel-next:hover {
  background: #d4af37;
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.hero-carousel-prev,
.carousel-prev { 
  left: 20px; 
}

.hero-carousel-next,
.carousel-next { 
  right: 20px; 
}

.hero-carousel-indicators,
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-carousel-indicator,
.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-carousel-indicator.active,
.carousel-indicator.active {
  background: #d4af37;
  transform: scale(1.2);
}

/* ========================================
   HEADER STYLES - ENHANCED
   ======================================== */
header {
  background-color: rgba(0, 0, 0, 0.8) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: fixed;
  z-index: 1000;
  width: 100%;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hamburger menu icon */
.hamburger {
  display: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: #d4af37;
  color: #000;
}

/* Navigation menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Header links */
header a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

header a:hover {
  color: #d4af37;
}

/* ========================================
   TRACKLIST STYLES
   ======================================== */
.track-item {
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.track-item:hover {
  border-left-color: #d4af37;
  transform: translateX(5px);
}

.search-container {
  position: sticky;
  top: 0;
  z-index: 20;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(17, 17, 17, 0.9);
}

.filter-chip {
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid #d4af37;
  color: #d4af37;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-chip:hover, 
.filter-chip.active {
  background: #d4af37;
  color: #000;
}

.track-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.track-type-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  margin: 0.25rem 0;
}

.type-single { 
  background: rgba(34, 197, 94, 0.2); 
  color: #22c55e; 
}

.type-album { 
  background: rgba(59, 130, 246, 0.2); 
  color: #3b82f6; 
}

.type-ep { 
  background: rgba(168, 85, 247, 0.2); 
  color: #a855f7; 
}

.no-results {
  text-align: center;
  padding: 3rem;
  color: #9ca3af;
}

/* ========================================
   TOOLTIP STYLES
   ======================================== */
.badge-wrapper {
  position: relative;
  cursor: pointer;
  pointer-events: auto;
  z-index: 30;
}

.tooltip {
  position: absolute;
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  z-index: 50;
  border: 1px solid rgba(255, 255, 255, 0.2);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  max-width: 220px;
  min-height: 2rem;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.2;
  box-sizing: border-box;
}

.badge-wrapper:hover .tooltip,
.badge-wrapper.tooltip-active .tooltip {
  visibility: visible;
  opacity: 1;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Mobile Styles (max-width: 1024px) */
@media (max-width: 1024px) {
  /* Header */
  header {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    height: 60px;
  }
  
  header .container {
    display: none;
  }
  
  /* Site name */
  .site-name {
    display: block;
    font-size: clamp(1rem, 6vw, 1.5rem);
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  
  /* Mobile Menu Button */
  #mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
  }
  
  #mobile-menu-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #d4af37;
  }
  
  /* Mobile Menu */
  #mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
  }
  
  #mobile-menu.hidden {
    display: none;
  }
  
  #mobile-menu:not(.hidden) {
    opacity: 1;
    visibility: visible;
  }
  
  /* Close Button */
  #close-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 1rem;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1002;
  }
  
  #close-menu:hover {
    color: #d4af37;
  }
  
  /* Menu Links */
  #mobile-menu nav a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin: 0.25rem 0;
  }
  
  #mobile-menu nav a i {
    margin-right: 1rem;
    width: 24px;
    text-align: center;
    color: #d4af37;
  }
  
  #mobile-menu nav a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    transform: translateX(8px);
  }
  
  /* Divider */
  #mobile-menu .border-t {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
  }
  
  /* Asegurar que el texto de los botones sea visible */
  .nav-menu a .button-text,
  .header-contacts a span:not(.social-icon) {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Cards */
  .artist-card, 
  .release-card, 
  .video-card, 
  .album-card,
  .card,
  .content-card {
    padding: 0.5rem;
  }
  
  .card,
  .content-card {
    padding: 1rem;
    margin: 0.5rem 0;
  }

  /* Info box */
  .infobox {
    max-width: 100%;
  }

  /* Images */
  .artist-card img, 
  .video-card iframe, 
  .album-cover {
    height: 150px;
  }
  
  .release-card img,
  .article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  /* Typography */
  h1 {
    font-size: 1.5rem;
    text-align: center;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.25rem;
    text-align: center;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  p, li, table, label, input, textarea {
    font-size: 0.875rem;
  }

  /* Buttons */
  .join-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    min-height: 40px;
    white-space: nowrap;
  }
  
  .video-buttons button,
  .listen-artist-button,
  .btn-ver,
  .btn-escuchar,
  .platform-buttons a {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  /* Modal */
  .modal-content {
    width: 90%;
    padding: 10px;
  }

  /* Cookie Banner */
  #cookie-banner p {
    font-size: 0.875rem;
  }
  
  #cookie-banner button {
    font-size: 0.875rem;
    padding: 0.5rem;
  }

  /* Tooltip */
  .tooltip {
    font-size: 0.625rem;
    padding: 0.3rem 0.6rem;
    top: -2.5rem;
    max-width: 160px;
    min-height: 1.5rem;
  }

  .badge-wrapper:hover .tooltip {
    visibility: hidden;
    opacity: 0;
  }

  /* Hero Carousel */
  .hero-carousel {
    height: 300px;
    margin: 0 -1rem;
    border-radius: 0;
    overflow: hidden;
    width: calc(100vw);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
  
  .hero-carousel-inner {
    display: flex;
    align-items: center;
    height: 100%;
  }
  
  .hero-carousel-item {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .hero-carousel-item img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
  }
  
  .hero-carousel-overlay {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100%);
    padding: 1.2rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
  }
  
  .hero-carousel-title {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
  }
  
  .hero-carousel-description {
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .hero-carousel-prev,
  .hero-carousel-next {
    display: none;
  }
  
  .hero-carousel-indicators {
    gap: 0.4rem;
    bottom: 1rem;
  }
  
  .hero-carousel-indicator {
    width: 10px;
    height: 10px;
  }

  /* Regular Carousel */
  .carousel {
    height: 250px;
    margin: 0 -1rem;
    border-radius: 0;
  }
  
  .carousel-item {
    height: 250px;
  }
  
  .carousel-item img {
    height: 250px;
    object-fit: cover;
  }
  
  .carousel-overlay {
    padding: 1rem;
    background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.9));
  }
  
  .carousel-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  
  .carousel-description {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .carousel-prev, 
  .carousel-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-width: 1px;
  }
  
  .carousel-prev { 
    left: 10px; 
  }
  
  .carousel-next { 
    right: 10px; 
  }
  
  .carousel-indicators {
    bottom: 10px;
    gap: 8px;
  }
  
  .carousel-indicator {
    width: 10px;
    height: 10px;
  }

  /* Partner logos */
  .partner-logos img {
    width: 70px;
  }
  
  .plataforma-logo {
    width: 320px;
    max-width: 90vw;
  }

  /* Product Grid Mobile */
  #main-releases {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0.5rem;
  }

  .article-card img {
    height: 180px;
  }
}

/* Desktop Styles (min-width: 1025px) */
@media (min-width: 1025px) {
  /* Header */
  header {
    padding: 0.5rem 2rem;
  }

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

  /* Ocultar site-name y hamburguesa en escritorio */
  .site-name,
  .hamburger {
    display: none;
  }

  /* Contactos (izquierda) */
  .header-contacts {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.9rem;
  }

  .header-contacts a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s ease;
  }

  .header-contacts a:hover {
    color: #d4af37;
  }

  /* Menú de navegación (derecha) */
  .nav-menu {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
  }

  .nav-menu a {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  }

  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #d4af37;
    transform: translateY(-2px);
  }

  /* Hide icons in nav-menu */
  .nav-menu a i {
    display: none;
  }

  .sm\:h-\[60vh\] {
    height: 90vh;
  }
  
  .artist-card img, 
  .video-card iframe, 
  .album-cover {
    height: 200px;
  }
  
  .release-card img,
  .article-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  p, li, table {
    font-size: 1.125rem;
  }
  
  #cookie-banner p {
    font-size: 1.125rem;
  }
  
  .hero-carousel-nav {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  /* Regular carousel */
  .carousel {
    height: 400px;
  }
  
  .carousel-overlay {
    padding: 2rem;
  }
  
  .carousel-title {
    font-size: 1.5rem;
  }
  
  .carousel-description {
    font-size: 1rem;
  }
  
  .carousel-prev, 
  .carousel-next {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .carousel-prev { 
    left: 20px; 
  }
  
  .carousel-next { 
    right: 20px; 
  }

  /* Product Grid Desktop */
  #main-releases {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
  }
}

/* ========================================
   HEADER - UNIFICADO
   ======================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  height: 70px;
  background-color: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Contenedor interior */
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Ajuste para que el contenido no quede debajo del header */
body {
  padding-top: 70px;
}

/* Móvil */
@media (max-width: 1024px) {
  .site-name {
    display: block;
    font-size: clamp(1rem, 6vw, 1.5rem);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hamburger {
    display: flex;
  }

  header .container {
    display: none;
  }
}

/* Escritorio */
@media (min-width: 1025px) {
  .site-name,
  .hamburger {
    display: none;
  }

  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header-contacts {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.9rem;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
  }

  .nav-menu a {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s, transform 0.3s;
  }

  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #d4af37;
    transform: translateY(-2px);
  }
}

/* ========================================
   LINE CLAMP UTILITY
   ======================================== */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



