/* ==========================================================================
   CHINOSABLE - COMPONENTS & LAYOUT STYLES (v2.0)
   ========================================================================== */

/* --- NAVBAR / HEADER --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(5, 6, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 243, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.brand-logo img, .brand-logo .logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--color-primary);
  box-shadow: var(--glow-primary);
}

.brand-text span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.925rem;
  letter-spacing: 0.03em;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

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

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

.lang-switch, .theme-switch {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-switch:hover, .theme-switch:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.15);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

/* Hero Featured Artwork / Visual Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 440px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), var(--glow-primary);
  border: 1px solid var(--glass-border-hover);
}

.hero-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

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

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(5, 6, 11, 0.95) 0%, rgba(5, 6, 11, 0.6) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.play-pulse-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  border: none;
  box-shadow: var(--glow-primary);
  transition: transform var(--transition-fast);
}

.play-pulse-btn:hover {
  transform: translate(-50%, -50%) scale(1.15);
}

/* --- DISCOGRAPHY SECTION --- */
.discography-section {
  padding: 6rem 0;
  position: relative;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(var(--color-primary-rgb), 0.15);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--glow-primary);
}

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

.release-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.release-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--glow-primary);
}

.release-cover-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.release-cover-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.release-card:hover .release-cover-wrapper img {
  transform: scale(1.08);
}

.release-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

.release-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.release-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.release-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.release-actions {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* --- SYNTH LAB / SOUNDBOARD SECTION --- */
.synth-lab-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(157, 78, 221, 0.08) 0%, transparent 70%);
}

.soundboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.synth-pad {
  aspect-ratio: 1 / 0.85;
  background: rgba(14, 18, 30, 0.8);
  border: 2px solid rgba(0, 243, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  position: relative;
  overflow: hidden;
}

.synth-pad:hover {
  border-color: var(--color-primary);
  background: rgba(0, 243, 255, 0.1);
  box-shadow: var(--glow-primary);
  transform: scale(1.03);
}

.synth-pad.active {
  background: var(--color-primary);
  color: #000000;
  box-shadow: 0 0 40px var(--color-primary);
  transform: scale(0.96);
}

.synth-pad .pad-key {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.synth-pad .pad-icon {
  font-size: 2rem;
}

.synth-pad .pad-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

/* --- BIO & GEAR SECTION --- */
.bio-section {
  padding: 6rem 0;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.gear-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.gear-item {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gear-item h4 {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

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

/* --- TOUR / EVENTS SECTION --- */
.tour-section {
  padding: 6rem 0;
}

.tour-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.tour-item {
  display: grid;
  grid-template-columns: 120px 1.5fr 1fr 140px;
  align-items: center;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  gap: 1.5rem;
  transition: all var(--transition-fast);
}

.tour-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--glow-primary);
  transform: translateX(6px);
}

.tour-date {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.tour-venue {
  font-weight: 700;
  font-size: 1.1rem;
}

.tour-location {
  color: var(--text-muted);
  font-size: 0.925rem;
}

/* --- FLOATING AUDIO PLAYER BAR --- */
.floating-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(6, 8, 16, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(0, 243, 255, 0.25);
  padding: 0.75rem 2rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  align-items: center;
  gap: 2rem;
}

.player-track-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.player-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--color-primary);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.player-track-details h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
}

.player-track-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.player-controls-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.player-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.player-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.player-btn:hover {
  color: var(--color-primary);
}

.player-btn-main {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--glow-primary);

}

.player-btn-main:hover {
  transform: scale(1.1);
  color: #000;
}

.player-progress-container {
  width: 100%;
  max-width: 550px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.progress-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  min-width: 38px;
}

.progress-bar-bg {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 3px;
  box-shadow: 0 0 10px var(--color-primary);
}

.player-extra-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

/* Canvas Visualizer in Player Bar */
#mini-equalizer-canvas {
  width: 120px;
  height: 36px;
}

/* --- MODAL SYSTEM --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 3, 6, 0.85);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #0b0e1b;
  border: 1px solid var(--glass-border-hover);
  border-radius: var(--radius-lg);
  max-width: 750px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.9), var(--glow-primary);
  transform: scale(0.92);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-secondary);
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(14, 18, 30, 0.95);
  border: 1px solid var(--color-primary);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), var(--glow-primary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s forwards;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --- FOOTER --- */
.footer {
  padding: 5rem 0 7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #020306;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-grid, .bio-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-description, .hero-cta {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  .floating-player-bar {
    grid-template-columns: 1fr 1fr;
    row-gap: 1rem;
  }
  .player-extra-controls {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(6, 8, 16, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 2rem;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 40px rgba(0,0,0,0.8);
    z-index: 1001;
  }
  .nav-links.active {
    right: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .tour-item {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.75rem;
  }
  .soundboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .floating-player-bar {
    grid-template-columns: 1fr;
    padding: 0.75rem 1rem;
    text-align: center;
  }
  .player-track-info {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- STREAMING HUB GRID (SPOTIFY & SOUNDCLOUD) --- */
.streaming-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 1100px;
  margin: 3.5rem auto 0;
  box-sizing: border-box;
}

.spotify-embed-wrapper,
.soundcloud-embed-wrapper {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.spotify-embed-wrapper iframe,
.soundcloud-embed-wrapper iframe {
  display: block;
  border: none;
  width: 100%;
}

.spotify-embed-wrapper:hover,
.soundcloud-embed-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 243, 255, 0.15);
  border-color: rgba(0, 243, 255, 0.2);
}

@media (min-width: 768px) {
  .streaming-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Mini Tracklist for Release Cards */
.release-tracklist {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.track-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.track-item:hover {
  background: rgba(var(--color-primary-rgb), 0.08);
  border-color: rgba(var(--color-primary-rgb), 0.3);
}

.track-info-mini {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  flex: 1;
  min-width: 0; /* Permite truncado de texto responsivo */
}

.track-number {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.75rem;
  width: 14px;
}

.track-title-mini {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-play-btn-mini {
  background: transparent;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 0.2rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.track-play-btn-mini:hover {
  color: #ffffff;
  transform: scale(1.2);
}

/* Animation for dynamic tracklist shuffling */
@keyframes tracklistUpdate {
  0% { opacity: 1; transform: scale(1); filter: brightness(1); }
  30% { opacity: 0.2; transform: scale(0.97); filter: brightness(1.4) drop-shadow(0 0 4px var(--color-primary)); }
  70% { opacity: 0.2; transform: scale(0.97); filter: brightness(1.4) drop-shadow(0 0 4px var(--color-secondary)); }
  100% { opacity: 1; transform: scale(1); filter: brightness(1); }
}
.tracklist-updating {
  animation: tracklistUpdate 0.6s ease-in-out;
}

.track-play-btn-mini.disabled {
  color: var(--text-muted);
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
[H[2J[3J