/* ==========================================================================
   KARHIDE PROTOTYPE STYLESHEET
   Design System: Deep Ambient Dark Theme + Glassmorphism + Accent Glows
   ========================================================================== */

/* Color & Aesthetic Tokens */
:root {
  --bg-dark: #08090C;
  --bg-panel: rgba(18, 22, 30, 0.55);
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-active: rgba(255, 255, 255, 0.2);
  
  --text-main: #E2E6EF;
  --text-muted: #8F99A8;
  --text-bright: #FFFFFF;
  
  --accent-cyan: #00f0ff;
  --accent-purple: #7000ff;
  --accent-gold: #ff9a00;
  --accent-gold-rgb: 255, 154, 0;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
}

/* Base Reset & Document Setup */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-display);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Shifting Ambient Background Elements */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.12;
  pointer-events: none;
}

#glow-1 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation: floatGlow1 30s infinite alternate ease-in-out;
}

#glow-2 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  bottom: -20%;
  right: -10%;
  animation: floatGlow2 40s infinite alternate ease-in-out;
}

@keyframes floatGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10%, 15%) scale(1.2); }
}

@keyframes floatGlow2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-15%, -10%) scale(0.9); }
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Panel Base Style */
.glass-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.6);
}

/* Main Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 9, 12, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

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

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.logo-text {
  font-family: "Avenir Next", "Avenir", "Montserrat", sans-serif;
  font-weight: 200;
  font-size: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-bright);
  transition: var(--transition-smooth);
  display: inline-block;
}

.logo:hover .logo-text {
  color: var(--accent-cyan);
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.45);
  transform: scale(1.02);
}

.main-nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-smooth);
}

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

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

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

.dropdown-toggle {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  outline: none;
}

/* Ensure dropdown-toggle button behaves similarly to links */
.dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.dropdown-toggle:hover::after, 
.nav-dropdown:hover .dropdown-toggle::after, 
.nav-dropdown:has(.dropdown-item.active) .dropdown-toggle::after {
  width: 100%;
}

.nav-dropdown:has(.dropdown-item.active) .dropdown-toggle {
  color: var(--text-bright);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(10, 12, 16, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease, transform 0.3s/*  */ease, visibility 0.3s ease;
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
  text-align: left;
}

.dropdown-item:hover, .dropdown-item.active {
  background: rgba(0, 240, 255, 0.08);
  color: var(--text-bright);
}

.dropdown-item:hover {
  padding-left: 24px; /* subtle micro-animation slider effect on hover */
}


.header-socials {
  display: flex;
  gap: 18px;
}

.header-socials a {
  color: var(--text-muted);
  font-size: 18px;
  transition: var(--transition-smooth);
}

.header-socials a:hover {
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #009fff 100%);
  color: #030813;
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-bright);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-tab {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  padding: 8px 16px;
  border-radius: 6px;
  text-transform: none;
}

.btn-tab.active {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-glass);
  color: var(--text-bright);
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* Sections Common */
.content-wrap {
  padding-top: 110px;
  padding-bottom: 120px; /* Space for floating player bar */
}

.scroll-reveal {
  padding: 72px 0 36px 0;
}

.section-header {
  margin-bottom: 36px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-bright);
  margin-top: 6px;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 650px;
  font-size: 16px;
}

/* Hero Section */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  min-height: 70vh;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-bright);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Featured Release Card */
.featured-card {
  padding: 30px;
}

.card-header-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.album-art-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #131722 0%, #1e2536 100%);
  border: 1px solid var(--border-glass);
  margin-bottom: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-art-fallback {
  text-align: center;
  padding: 20px;
}

.album-icon-glow {
  font-size: 64px;
  color: var(--accent-cyan);
  text-shadow: 0 0 20px var(--accent-cyan);
  margin-bottom: 16px;
  animation: pulseIcon 4s infinite alternate ease-in-out;
}

@keyframes pulseIcon {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.08); filter: brightness(1.3); }
}

.album-text-overlay {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 8px;
}

.album-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.album-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.album-track-control {
  display: flex;
  gap: 12px;
}

.btn-play-album {
  background: var(--accent-cyan);
  color: #030813;
  flex: 1;
}

.btn-play-album:hover {
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  filter: brightness(1.1);
}

.btn-icon-bandcamp {
  background: rgba(98, 154, 169, 0.15);
  border: 1px solid rgba(98, 154, 169, 0.3);
  color: #b0dbe4;
  flex: 1;
}

.btn-icon-bandcamp:hover {
  background: rgba(98, 154, 169, 0.3);
  transform: translateY(-2px);
}

/* Sonification Section */
.sonification-panel {
  padding: 30px;
}

.sonification-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
}

.sonification-selector {
  display: flex;
  gap: 8px;
}

.sonification-playback-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.synth-voice-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.custom-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-bright);
  padding: 8px 12px;
  border-radius: 6px;
  outline: none;
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
}

.chart-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
}

.chart-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.chart-stripe {
  flex: 1;
  height: 100%;
  cursor: pointer;
  transition: filter 0.1s ease;
  position: relative;
}

.chart-stripe:hover {
  filter: brightness(1.3) saturate(130%);
}

.chart-stripe.active {
  box-shadow: inset 0 0 0 2px var(--text-bright);
  filter: brightness(1.4);
}

.chart-tooltip {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(8, 10, 15, 0.95);
  border: 1px solid var(--accent-cyan);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s ease;
}

.chart-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--text-bright);
  box-shadow: 0 0 10px var(--text-bright);
  z-index: 5;
  pointer-events: none;
  transition: left 0.1s linear;
}

.sonification-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.data-indicator {
  font-family: var(--font-mono);
  font-size: 13px;
}

.indicator-label {
  color: var(--text-muted);
}

.indicator-value {
  color: var(--accent-cyan);
  font-weight: 500;
}

.science-explanation {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 500px;
}

.science-explanation i {
  color: var(--accent-cyan);
  font-size: 16px;
}

/* Mixer Section */
.mixer-panel {
  padding: 30px;
}

.mixer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
}

.mixer-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  display: inline-block;
}

.status-dot.active {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.status-text {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.mixer-tracks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mixer-track {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.track-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}

.track-icon {
  font-size: 20px;
  color: var(--accent-cyan);
  width: 24px;
  text-align: center;
}

.track-meta {
  display: flex;
  flex-direction: column;
}

.track-name {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-bright);
}

.track-type {
  font-size: 12px;
  color: var(--text-muted);
}

.track-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-mute, .btn-solo {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-mute:hover, .btn-solo:hover {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-bright);
}

.btn-mute.active {
  background: rgba(239, 83, 80, 0.15);
  border-color: rgba(239, 83, 80, 0.4);
  color: #ef5350;
}

.btn-solo.active {
  background: rgba(255, 154, 0, 0.15);
  border-color: rgba(255, 154, 0, 0.4);
  color: var(--accent-gold);
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 11px;
}

/* Custom Volume Slider */
.volume-slider {
  -webkit-appearance: none;
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-bright);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
  transition: transform 0.1s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Live VU Meter simulation */
.track-meter-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
}

.track-meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: width 0.1s ease;
}

.mixer-footer-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.mixer-footer-note i {
  color: var(--accent-gold);
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-img-fallback {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #10121a 0%, #1c2131 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--border-glass);
}

.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.news-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.3;
  margin-bottom: 12px;
}

.news-card-summary {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.news-link {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-bright);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.news-link:hover {
  color: var(--accent-cyan);
}

.news-link:hover i {
  transform: translateX(4px);
}

.news-link i {
  transition: var(--transition-smooth);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.about-para {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.about-visuals-panel {
  padding: 30px;
}

.instrument-list h3 {
  font-size: 18px;
  color: var(--text-bright);
  margin-bottom: 16px;
}

.instrument-list ul {
  list-style: none;
}

.instrument-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.instrument-list li i {
  color: var(--accent-cyan);
  width: 20px;
  text-align: center;
}

.promo-box {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
}

.promo-box .quote {
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
}

/* Contact Section */
.contact-box {
  padding: 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-title {
  font-size: 28px;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Floating Audio Player Bar */
.player-bar-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 90;
  pointer-events: none; /* Let elements behind be clickable outside the actual bar */
}

.player-bar {
  pointer-events: auto; /* Re-enable pointer events for the player itself */
  background: rgba(13, 17, 24, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 24px;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Playlist Drawer Styles */
#player-playlist-drawer {
  background: rgba(10, 14, 20, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  margin-bottom: 12px;
  max-height: 0;
  opacity: 0;
  overflow-y: auto;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.4s ease;
  padding: 0 20px;
  pointer-events: auto; /* Re-enable click events inside */
}

/* Custom Scrollbar for Drawer */
#player-playlist-drawer::-webkit-scrollbar {
  width: 6px;
}
#player-playlist-drawer::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 3px;
}
#player-playlist-drawer::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  transition: background 0.2s ease;
}
#player-playlist-drawer::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 240, 255, 0.4);
}

#player-playlist-drawer.open {
  max-height: 280px;
  opacity: 1;
  padding: 20px;
}

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

.playlist-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.playlist-count {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.playlist-tracks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.playlist-track-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid transparent;
}

.playlist-track-row:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-bright);
  border-color: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
}

.playlist-track-row.active {
  background: rgba(0, 240, 255, 0.08);
  color: var(--accent-cyan);
  font-weight: 600;
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 2px 10px rgba(0, 240, 255, 0.05);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.2);
}

.playlist-track-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 20px;
  display: flex;
  align-items: center;
}

.playlist-track-duration {
  font-size: 12px;
  color: var(--text-muted);
}

#btn-player-expand.active {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.player-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 20%;
  min-width: 180px;
}

.player-thumbnail {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-cyan);
}

.spin-icon {
  animation: spinDisc 6s infinite linear;
  animation-play-state: paused;
}

.playing .spin-icon {
  animation-play-state: running;
}

@keyframes spinDisc {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.player-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.player-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-artist {
  font-size: 12px;
  color: var(--text-muted);
}

.player-center-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  max-width: 500px;
}

.player-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 18px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.player-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-bright);
}

.player-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

#btn-player-play {
  background: var(--text-bright);
  color: #030813;
  font-size: 14px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

#btn-player-play:hover {
  background: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.player-scrub-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.time-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  width: 32px;
  text-align: center;
}

.progress-bar-wrap {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  cursor: pointer;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: var(--accent-cyan);
  position: absolute;
  top: 0;
  left: 0;
}

/* Canvas Visualizer Panel */
.visualizer-container {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 240px;
}

#visualizer-canvas {
  width: 100%;
  height: 50px;
  border-radius: 4px;
}

.player-side-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  width: 20%;
  min-width: 150px;
}

.player-vol-slider {
  width: 80px !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .hero-subtitle {
    margin: 0 auto 32px auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .visualizer-container {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none; /* Add slider panel menu in production, keep clean here */
  }
  
  .header-socials {
    display: none !important;
  }
  
  .content-wrap {
    padding-top: 90px;
    padding-bottom: 180px !important; /* Ensure page content clears the 150px height mobile player bar */
  }
  
  .news-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .news-body {
    padding: 16px !important;
  }
  
  .news-image-wrap {
    height: 160px !important;
  }
  
  .skeleton-card {
    height: 320px !important;
  }
  
  .skeleton-image {
    height: 160px !important;
  }
  
  .skeleton-body {
    padding: 16px !important;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .sonification-header-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .sonification-selector {
    flex-direction: column;
  }
  
  .sonification-playback-controls {
    justify-content: space-between;
  }
  
  .mixer-header {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    text-align: center;
  }
  
  .mixer-status {
    justify-content: center;
  }
  
  .mixer-track {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 20px;
  }
  
  .track-info {
    flex-direction: column;
  }
  
  .player-bar-container {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  
  .player-bar {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    padding: 16px !important;
    gap: 12px !important;
  }
  
  .player-track-info {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 88px !important; /* Leave room for absolute side controls */
    min-width: 0 !important;
  }
  
  .player-thumbnail {
    display: flex !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }
  
  .player-meta {
    margin-left: 12px !important;
    min-width: 0 !important;
    flex: 1 !important;
  }
  
  .player-title {
    font-size: 13px !important;
    white-space: normal !important; /* Allow wrapping */
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; /* Show up to 2 lines of track name */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: none !important;
    width: 100% !important;
  }
  
  .player-artist {
    font-size: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    display: block !important;
    margin-top: 2px !important;
  }
  
  .player-side-controls {
    position: absolute !important;
    top: 14px !important;
    right: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }
  
  .player-vol-slider {
    display: none !important;
  }
  
  .player-center-controls {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  .player-scrub-container {
    width: 100% !important;
  }
  
  .player-controls-row {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
  }
}

/* ==========================================================================
   REAL CONTENT & DISCOGRAPHY ADDITIONS
   ========================================================================== */
.header-logo-img {
  max-height: 40px;
  width: auto;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
  transition: var(--transition-smooth);
}

.header-logo-img:hover {
  filter: drop-shadow(0 0 8px var(--accent-cyan));
  transform: scale(1.03);
}

.featured-album-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.discography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.disco-card {
  padding: 16px;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.disco-art-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--border-glass);
}

.disco-art-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  display: block;
}

.disco-card:hover .disco-art-wrap img {
  transform: scale(1.08);
}

.disco-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 4px;
  line-height: 1.25;
  flex: 1;
}

.disco-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.disco-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.btn-disco-play {
  padding: 6px 12px;
  font-size: 11px;
  background: var(--accent-cyan);
  color: #030813;
  border-radius: 4px;
}

.btn-disco-buy {
  padding: 6px 10px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-bright);
  border-radius: 4px;
}

.news-image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  display: block;
}

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

.about-promo-img-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  margin-bottom: 24px;
}

.about-promo-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   PAGINATED NEWS ARCHIVE & SHIMMER LOADING SKELETON
   ========================================================================== */

.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 54px;
  flex-wrap: wrap;
}

.btn-page {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-page:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-bright);
}

.btn-page.active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #030813;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
  font-weight: 700;
}

.btn-page.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-page-nav {
  width: auto;
  padding: 0 16px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* Shimmer Loading Skeleton */
.skeleton-card {
  height: 380px;
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
}

.skeleton-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}

.skeleton-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-text {
  height: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 4px;
}

.skeleton-text.title {
  height: 22px;
  width: 85%;
  margin-bottom: 6px;
}

.skeleton-text.date {
  width: 35%;
  height: 12px;
  margin-bottom: 12px;
}

.skeleton-text.p1 { width: 100%; }
.skeleton-text.p2 { width: 95%; }
.skeleton-text.p3 { width: 65%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   ARTICLE DETAIL PAGE STYLES
   ========================================================================== */
.post-detail-section {
  padding: 40px 0 120px 0;
}

.post-nav-back {
  margin-bottom: 24px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-back:hover {
  color: var(--accent-cyan);
  transform: translateX(-4px);
}

.post-detail-card {
  padding: 48px;
  border-radius: 16px;
  margin-bottom: 30px;
}

.post-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 24px;
}

.post-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.post-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.5px;
}

.post-banner-wrap {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  margin-bottom: 40px;
}

.post-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-main);
  font-family: var(--font-main);
}

.post-content p {
  margin-bottom: 24px;
}

.post-content a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  border-bottom: 1px dotted rgba(0, 240, 255, 0.3);
}

.post-content a:hover {
  color: var(--text-bright);
  border-bottom-color: var(--text-bright);
}

.post-content blockquote {
  border-left: 4px solid var(--accent-cyan);
  background: rgba(255, 255, 255, 0.02);
  padding: 20px 24px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-bright);
}

.post-content blockquote p {
  margin-bottom: 0;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
  margin: 24px 0;
}

.post-content iframe {
  width: 100%;
  border-radius: 8px;
  margin: 24px 0;
  border: none;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.post-content iframe[src*="youtube.com"],
.post-content iframe[src*="youtu.be"] {
  aspect-ratio: 16 / 9;
  height: auto;
}

.post-pagination-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
  border-top: 1px solid var(--border-glass);
  padding-top: 36px;
}

.btn-nav-prev, .btn-nav-next {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.01);
  text-decoration: none;
  transition: var(--transition-smooth);
  max-width: 100%;
  overflow: hidden;
}

.btn-nav-prev {
  align-items: flex-start;
  text-align: left;
}

.btn-nav-next {
  align-items: flex-end;
  text-align: right;
  grid-column: 2;
}

.btn-nav-prev:hover, .btn-nav-next:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glass);
}

.nav-direction {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-post-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Responsive adjust for mobile */
@media (max-width: 768px) {
  .post-detail-card {
    padding: 24px;
  }
  .post-title {
    font-size: 26px;
  }
  .post-pagination-nav {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .btn-nav-next {
    grid-column: 1;
    align-items: flex-start;
    text-align: left;
  }
}

/* SoundCloud Stream Section */
.soundcloud-panel {
  padding: 16px;
}
.soundcloud-panel iframe {
  border-radius: 8px;
  border: none;
}

/* Explore Grid Section */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.explore-card {
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  text-decoration: none;
  border-radius: 12px;
  transition: var(--transition-smooth);
  height: 100%;
}

.explore-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-glass);
  background: rgba(255, 255, 255, 0.05);
}

.explore-icon {
  font-size: 30px;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.explore-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.explore-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.explore-card-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  margin-top: auto;
}

.explore-card:hover .explore-card-link {
  color: var(--text-bright);
}

.explore-card:hover .explore-card-link i {
  transform: translateX(4px);
}

.explore-card-link i {
  transition: var(--transition-smooth);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.gallery-thumb-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
}

.gallery-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 17, 24, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

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

.gallery-hover-overlay i {
  color: var(--accent-cyan);
  font-size: 24px;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-card:hover .gallery-hover-overlay i {
  transform: scale(1);
}

.gallery-card-body {
  padding: 16px 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-bright);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 8, 12, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999; /* Higher than player and headers */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 32px;
  right: 32px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 40px;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 100001;
}

.lightbox-close:hover {
  color: var(--accent-cyan);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-bright);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 100001;
}

.lightbox-nav:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 85%;
  max-height: 85%;
  z-index: 100000;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.05);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.lightbox-img.fade-next, .lightbox-img.fade-prev {
  opacity: 0;
}
.lightbox-img.fade-next {
  transform: scale(0.98) translateX(10px);
}
.lightbox-img.fade-prev {
  transform: scale(0.98) translateX(-10px);
}

.lightbox-caption {
  margin-top: 20px;
  color: var(--text-bright);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Lightbox Mobile Adjustments */
@media (max-width: 768px) {
  .lightbox-nav {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
  .lightbox-prev {
    left: 16px;
  }
  .lightbox-next {
    right: 16px;
  }
  .lightbox-close {
    top: 16px;
    right: 16px;
    font-size: 32px;
  }
  .lightbox-img {
    max-height: 65vh;
  }
}

/* SoundCloud Feed List Styles */
.sc-track-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  margin-bottom: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sc-track-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.2);
}

.sc-art-wrap {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.sc-art-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-track-meta {
  flex: 1;
  min-width: 0; /* Enable truncation for children */
}

.sc-track-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-track-duration {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.sc-track-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-sc-play {
  background: var(--accent-cyan);
  color: var(--bg-dark);
  border: 1px solid var(--accent-cyan);
  font-weight: 600;
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-sc-play:hover {
  background: transparent;
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.btn-sc-play.playing {
  background: rgba(255, 0, 85, 0.2);
  color: #ff0055;
  border-color: #ff0055;
}

.btn-sc-play.playing:hover {
  background: #ff0055;
  color: var(--text-bright);
}

.btn-sc-link {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-weight: 500;
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-sc-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-bright);
  border-color: rgba(255, 255, 255, 0.2);
}

.sc-loading-skeleton {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.sc-loading-skeleton i {
  font-size: 32px;
  color: var(--accent-cyan);
}

/* Player Controls Layout Upgrades (Desktop inline, Mobile column overrides apply under media query) */

/* Skip & Loop Controls Layout */
.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

#btn-player-loop {
  position: relative;
}

#btn-player-loop .loop-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 8px;
  background: var(--accent-cyan);
  color: #030813;
  font-weight: bold;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

/* Mobile Hamburger Button */
#btn-mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-bright);
  font-size: 20px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

#btn-mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  #btn-mobile-nav-toggle {
    display: flex;
  }
}

/* Mobile Menu Full-Screen Overlay */
#mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 8, 19, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

#btn-mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

#btn-mobile-menu-close:hover {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.mobile-menu-link {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition-smooth);
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.mobile-menu-socials {
  display: flex;
  gap: 24px;
  font-size: 20px;
}

.mobile-menu-socials a {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.mobile-menu-socials a:hover {
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Site Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 12, 16, 0.4);
  padding: 48px 0;
  margin-top: 80px;
  position: relative;
  z-index: 10;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 32px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

.footer-copyright {
  color: var(--text-muted);
  font-size: 13px;
  opacity: 0.7;
}

/* SoundCloud Radio Features styling */
#btn-soundcloud-radio {
  transition: all 0.3s ease;
}

#btn-soundcloud-radio.active {
  background: var(--accent-cyan);
  color: #030813;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  border-color: var(--accent-cyan);
}

#btn-player-radio {
  transition: var(--transition-smooth);
}

#btn-player-radio.active {
  color: var(--accent-cyan) !important;
  opacity: 1 !important;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

#btn-player-radio.loading {
  opacity: 0.7 !important;
  cursor: wait;
}

/* Header & Footer Radio Active Styles */
#header-btn-radio {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

#header-btn-radio.active {
  color: var(--accent-cyan) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
  animation: pulse-text-glow 2.5s infinite alternate;
}

@keyframes pulse-text-glow {
  0% {
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
  }
  100% {
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.8);
  }
}


#footer-btn-radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

#footer-btn-radio.active {
  color: var(--accent-cyan) !important;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

/* SoundCloud Radio Banner */
.soundcloud-radio-banner {
  position: relative;
  overflow: hidden;
  padding: 30px 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.soundcloud-radio-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  z-index: 1;
}

.soundcloud-radio-banner.active {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
  background: rgba(0, 240, 255, 0.03);
}

.soundcloud-radio-banner.active::before {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12) 0%, rgba(255, 255, 255, 0) 50%);
}

.banner-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 32px;
}

.banner-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 30px;
  transition: all 0.5s ease;
  flex-shrink: 0;
}

.soundcloud-radio-banner.active .banner-icon-container {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.3);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  animation: pulse-glow-simple 2s infinite alternate;
}

.banner-details {
  flex: 1;
}

.banner-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  color: var(--text-bright);
}

.banner-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 800px;
}

.banner-action {
  flex-shrink: 0;
}

#banner-btn-soundcloud-radio {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 30px;
  box-shadow: var(--shadow-cyan-soft);
  transition: all 0.3s ease;
}

#banner-btn-soundcloud-radio.active {
  background: #ff3b30;
  color: #fff;
  border-color: #ff3b30;
  box-shadow: 0 0 15px rgba(255, 59, 48, 0.4);
}

@keyframes pulse-glow-simple {
  0% {
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
  }
  100% {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.8);
  }
}

@media (max-width: 992px) {
  .banner-body {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .banner-action {
    width: 100%;
  }
  #banner-btn-soundcloud-radio {
    width: 100%;
  }
}





