/* ==========================================================================
   D-MUSIX STUDIO - PURE GLASSMORPHISM SYSTEM (CINEMATIC ENLARGED 3D COVERFLOW)
   ========================================================================== */

:root {
  /* Dark Ambient Background */
  --bg-dark: #07040d;
  
  /* Glassmorphism Surface Tokens (Ultra-Performance 120 FPS Optimized) */
  --bg-glass-card: rgba(16, 10, 30, 0.95);
  --bg-glass-card-hover: rgba(26, 16, 48, 0.98);
  --bg-glass-header: rgba(12, 7, 24, 0.88);
  --bg-glass-sidebar: rgba(10, 6, 20, 0.92);
  --bg-glass-panel: rgba(14, 8, 28, 0.94);
  
  /* Purple Gradient Accents for Buttons & Active Elements */
  --grad-purple: linear-gradient(135deg, #a855f7, #6366f1);
  --grad-purple-hover: linear-gradient(135deg, #b56bf8, #7477f2);
  --grad-text: linear-gradient(135deg, #e9d5ff, #c084fc, #818cf8);
  
  /* Accent Glows */
  --purple-glow: #a855f7;
  --indigo-glow: #6366f1;
  --magenta-glow: #ec4899;
  --cyan-accent: #06b6d4;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #e9d5ff;
  --text-muted: #a78bfa;
  --text-dark: #64748b;
  
  /* Glassmorphism Borders & Shadows */
  --border-glass: 1px solid rgba(255, 255, 255, 0.12);
  --border-glass-bright: 1px solid rgba(168, 85, 247, 0.45);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glow-purple: 0 0 24px rgba(168, 85, 247, 0.4);
  
  /* Dimensions & Radius */
  --header-height: 72px;
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 72px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   RESET & AMBIENT GLASS BACKGROUND
   ========================================================================== */

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

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 90% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.12) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

/* HIGH PERFORMANCE 120 FPS GPU ACCELERATION & TOUCH MANIPULATION ENGINE */
button, a, input, select, textarea, .ott-card, .service-card, .beatstars-row-item, .nav-item, .filter-tab {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.section {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.header, .sidebar, .right-panel, .bottom-audio-player, .coverflow-card {
  will-change: transform;
  transform: translateZ(0);
}

/* UNIVERSAL PROMINENT DARK DROP SHADOWS */
button,
.btn,
.search-tag,
.filter-tab,
.primary-btn,
.secondary-btn,
.add-cart-btn,
.checkout-btn,
.service-action-btn,
.ott-main-btn,
.ott-secondary-btn,
.header-action-btn,
.voice-search-btn,
.hamburger-btn,
.player-btn,
.player-play-btn,
.floating-music-note,
.hero-action-btn,
.landing-buy-btn,
.back-btn,
.account-edit-btn,
.yt-direct-btn {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.85), 0 4px 14px rgba(0, 0, 0, 0.9) !important;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.85));
}

button:hover,
.btn:hover,
.search-tag:hover,
.filter-tab:hover,
.primary-btn:hover,
.secondary-btn:hover,
.add-cart-btn:hover,
.checkout-btn:hover,
.service-action-btn:hover,
.ott-main-btn:hover,
.ott-secondary-btn:hover,
.header-action-btn:hover,
.voice-search-btn:hover,
.hamburger-btn:hover,
.player-btn:hover,
.player-play-btn:hover,
.floating-music-note:hover,
.hero-action-btn:hover,
.landing-buy-btn:hover,
.back-btn:hover,
.account-edit-btn:hover,
.yt-direct-btn:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.95), 0 0 24px rgba(168, 85, 247, 0.6) !important;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.95));
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(168, 85, 247, 0.4); border-radius: var(--radius-full); }

.purple-gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }

/* DEDICATED PAGE VIEWS (SINGLE PAGE APPLICATION) */
.page-view { display: none; width: 100%; }
.page-view.active { display: block; animation: fadeInPageView 0.3s ease-out; }

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

/* GLASSMORPHISM TOAST NOTIFICATION */
.toast-notification-container {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(14, 8, 28, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: var(--border-glass-bright);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), var(--glow-purple);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.toast-notification-container.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   FLUID SINE WAVE AUDIO VISUALIZER OVERLAY (CARD IMAGE BOTTOM OVERLAY)
   ========================================================================== */

.card-audio-visualizer-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 54px;
  background: linear-gradient(to top, rgba(10, 6, 20, 0.98) 0%, rgba(10, 6, 20, 0.65) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(168, 85, 247, 0.6);
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
  pointer-events: none;
  box-shadow: 0 -4px 25px rgba(168, 85, 247, 0.45);
  overflow: hidden;
}

.ott-card.is-playing .card-audio-visualizer-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wave-visualizer-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}

.wave-layer-1 {
  animation: moveFluidWave 3.5s linear infinite;
}

.wave-layer-2 {
  animation: moveFluidWave 2.2s linear infinite reverse;
}

@keyframes moveFluidWave {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.wave-line-svg {
  position: absolute;
  top: 4px;
  left: 0;
  width: 200%;
  height: 32px;
  animation: moveFluidWave 1.8s linear infinite;
}

.pulse-wave-path {
  fill: none;
  stroke: #ec4899;
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px #ec4899);
  animation: wavePulseFlex 1s ease-in-out infinite alternate;
}

@keyframes wavePulseFlex {
  0% { stroke: #a855f7; filter: drop-shadow(0 0 4px #a855f7); }
  100% { stroke: #ec4899; filter: drop-shadow(0 0 12px #ec4899); }
}

.wave-viz-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(10, 6, 20, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
  z-index: 6;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ec4899;
  box-shadow: 0 0 10px #ec4899;
  animation: pulseDotGlow 1s infinite ease-out;
}

@keyframes pulseDotGlow {
  0% { transform: scale(0.9); box-shadow: 0 0 4px #ec4899; }
  50% { transform: scale(1.3); box-shadow: 0 0 12px #ec4899, 0 0 20px #a855f7; }
  100% { transform: scale(0.9); box-shadow: 0 0 4px #ec4899; }
}

.viz-text {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffffff, #e9d5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   VIDEO MODAL POPUP WITH MUSIC & VIDEO CREDITS
   ========================================================================== */

.video-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 4, 13, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.video-modal-card {
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(14, 8, 28, 0.96);
  backdrop-filter: blur(28px);
  border: var(--border-glass-bright);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass), var(--glow-purple);
  position: relative;
  display: flex;
  flex-direction: column;
}

.video-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.8rem;
  color: #ffffff;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-glass);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-close-btn:hover {
  transform: scale(1.1);
  background: var(--purple-glow);
}

.video-iframe-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.video-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-credits-wrap {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-credits-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.video-modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.video-modal-genre {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: var(--grad-purple);
  color: #ffffff;
}

.video-modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
  border-radius: var(--radius-md);
  border: var(--border-glass);
}

.credit-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.credit-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.credit-value {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.video-modal-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.yt-direct-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: #ff0000;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yt-direct-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

/* ==========================================================================
   YOUTUBE TOP LOADING PROGRESS BAR
   ========================================================================== */

.youtube-progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, #a855f7, #ec4899, #6366f1); box-shadow: 0 0 12px #a855f7, 0 0 6px #ec4899; z-index: 9999; pointer-events: none; opacity: 0; transition: width 0.35s ease, opacity 0.4s ease; }
.youtube-progress-bar.loading { opacity: 1; }

/* ==========================================================================
   HEADER & GOOGLE AI NEON SEARCH BAR
   ========================================================================== */

.header { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height); background: var(--bg-glass-header); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: var(--border-glass); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); z-index: 1000; }
.header-container { width: 100%; max-width: 100%; height: 100%; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-left { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.hamburger-btn { width: 44px; height: 44px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); border: var(--border-glass); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; transition: transform 0.2s ease, background 0.3s ease; flex-shrink: 0; }
.hamburger-btn:hover { transform: scale(1.05); background: rgba(168, 85, 247, 0.2); border-color: var(--purple-glow); }

.hamburger-line { width: 20px; height: 2px; background-color: var(--text-secondary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-btn.active .top-line { transform: translateY(7px) rotate(45deg); background-color: var(--purple-glow); }
.hamburger-btn.active .mid-line { opacity: 0; }
.hamburger-btn.active .bot-line { transform: translateY(-7px) rotate(-45deg); background-color: var(--purple-glow); }

.brand-logo { display: flex; align-items: center; justify-content: center; }
.brand-logo-img { height: 46px; width: auto; object-fit: contain; filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.6)); transition: transform 0.2s ease; }
.brand-logo-img:hover { transform: scale(1.05); }

.header-center { flex: 1; max-width: 720px; display: flex; justify-content: center; position: relative; }
.search-container.wide-search { width: 100%; max-width: 580px; height: 48px; position: relative; border-radius: var(--radius-full); background: rgba(14, 8, 28, 0.88); backdrop-filter: blur(20px); display: flex; align-items: center; padding: 0 10px 0 18px; transition: max-width 0.35s ease; z-index: 1; box-shadow: 0 0 20px rgba(168, 85, 247, 0.35); animation: googleAiGlowPulse 4s infinite alternate ease-in-out; }

.search-container.wide-search::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  padding: 2px;
  background: linear-gradient(90deg, #a855f7 0%, #ec4899 20%, #06b6d4 40%, #3b82f6 60%, #a855f7 80%, #ec4899 100%);
  background-size: 300% 100%;
  animation: moveGoogleAILeftToRight 3.5s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

@keyframes moveGoogleAILeftToRight { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes googleAiGlowPulse { 0% { box-shadow: 0 0 16px rgba(168, 85, 247, 0.4); } 50% { box-shadow: 0 0 24px rgba(236, 72, 153, 0.5); } 100% { box-shadow: 0 0 20px rgba(6, 182, 212, 0.5); } }

.search-container.wide-search.expanded, .search-container.wide-search:focus-within { max-width: 720px; background: rgba(15, 9, 30, 0.96); }
.search-icon-btn { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); z-index: 2; }
.search-icon-btn svg { width: 18px; height: 18px; }

.search-input { flex: 1; background: transparent; border: none; outline: none; color: var(--text-primary); font-size: 0.95rem; padding: 0 12px; min-width: 0; z-index: 2; }
.search-input::placeholder { color: rgba(233, 213, 255, 0.45); }
.search-clear-btn { font-size: 1.2rem; color: var(--text-muted); display: none; padding: 0 6px; z-index: 2; }
.search-clear-btn.visible { display: block; }

.voice-search-btn { width: 36px; height: 36px; border-radius: var(--radius-full); background: var(--grad-purple); border: var(--border-glass); display: flex; align-items: center; justify-content: center; color: #ffffff; transition: all 0.25s ease; flex-shrink: 0; margin-left: 6px; z-index: 2; }
.voice-search-btn:hover { transform: scale(1.08); }
.voice-search-btn svg { width: 18px; height: 18px; }
.mobile-search-close-btn { display: none; font-size: 1.6rem; color: var(--text-muted); padding: 0 8px; line-height: 1; z-index: 2; }

.search-dropdown { position: absolute; top: 56px; left: 0; width: 100%; background: rgba(14, 8, 28, 0.94); backdrop-filter: blur(24px); border: var(--border-glass-bright); border-radius: var(--radius-md); box-shadow: var(--shadow-glass); padding: 16px; display: none; flex-direction: column; gap: 12px; z-index: 100; }
.search-container.expanded .search-dropdown { display: flex; }
.search-tags { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }

.search-tag { font-size: 0.75rem; padding: 6px 14px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(10px); border: var(--border-glass); color: var(--text-secondary); cursor: pointer; white-space: nowrap; transition: all 0.25s ease; }
.search-tag.active, .search-tag:hover { background: var(--grad-purple); color: #ffffff; border-color: rgba(255, 255, 255, 0.3); }

.search-results-list { display: flex; flex-direction: column; gap: 8px; }
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.03); border: var(--border-glass); cursor: pointer; transition: all 0.2s ease; }
.search-result-item:hover { background: rgba(168, 85, 247, 0.2); border-color: var(--purple-glow); transform: translateX(4px); }
.search-item-img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.result-info { flex: 1; display: flex; flex-direction: column; }
.result-title { font-size: 0.88rem; font-weight: 600; }
.result-type { font-size: 0.72rem; color: var(--text-muted); }
.result-badge { font-size: 0.7rem; padding: 2px 8px; border-radius: var(--radius-full); background: rgba(168, 85, 247, 0.25); color: var(--purple-glow); font-weight: 600; }

.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
@media (min-width: 769px) { .mobile-search-trigger { display: none !important; } }

.header-action-btn { width: 42px; height: 42px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); border: var(--border-glass); display: flex; align-items: center; justify-content: center; position: relative; transition: all 0.25s ease; color: var(--text-secondary); flex-shrink: 0; }
.header-action-btn:hover { background: rgba(168, 85, 247, 0.25); border-color: var(--purple-glow); color: #ffffff; transform: translateY(-2px); }
.header-action-btn svg { width: 20px; height: 20px; }

.action-badge { position: absolute; top: -2px; right: -2px; background: var(--grad-magenta); color: #ffffff; font-size: 0.68rem; font-weight: 700; width: 18px; height: 18px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(236, 72, 153, 0.5); }

/* VOICE SEARCH MODAL */
.voice-modal-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(7, 4, 13, 0.85); backdrop-filter: blur(20px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.voice-modal-backdrop.active { opacity: 1; visibility: visible; }
.voice-modal-card { width: 380px; max-width: 90vw; background: rgba(14, 8, 28, 0.9); backdrop-filter: blur(24px); border: var(--border-glass-bright); border-radius: var(--radius-lg); box-shadow: var(--shadow-glass); padding: 36px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.voice-close-btn { position: absolute; top: 14px; right: 18px; font-size: 1.6rem; color: var(--text-muted); }
.voice-mic-ring { width: 80px; height: 80px; border-radius: 50%; background: var(--grad-purple); border: var(--border-glass); display: flex; align-items: center; justify-content: center; color: #ffffff; margin-bottom: 20px; box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7); animation: pulseMic 1.5s infinite ease-out; }
.voice-mic-ring svg { width: 36px; height: 36px; }

@keyframes pulseMic {
  0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.8); transform: scale(1); }
  70% { box-shadow: 0 0 0 26px rgba(168, 85, 247, 0); transform: scale(1.08); }
  100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); transform: scale(1); }
}

.voice-status-text { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.voice-transcript { font-size: 0.9rem; color: var(--text-muted); }

/* ==========================================================================
   SIDEBAR & NAV LAYOUT (UNIFORM ALIGNMENT)
   ========================================================================== */

.sidebar-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(7, 4, 13, 0.75); backdrop-filter: blur(10px); z-index: 1050; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.sidebar-backdrop.active { opacity: 1; visibility: visible; }

@media (min-width: 992px) {
  .sidebar-backdrop, body.is-other-page .sidebar-backdrop, .sidebar-backdrop.active {
    display: none !important; opacity: 0 !important; visibility: hidden !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  }
}

.sidebar { position: fixed; top: var(--header-height); left: 0; height: calc(100vh - var(--header-height)); background: var(--bg-glass-sidebar); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-right: var(--border-glass); box-shadow: var(--shadow-glass); z-index: 950; display: flex; flex-direction: column; transition: width 0.3s ease, transform 0.3s ease; overflow-y: auto; overflow-x: hidden; }

.mobile-sidebar-header { display: none; padding: 16px 20px; align-items: center; justify-content: space-between; border-bottom: var(--border-glass); }
.mobile-logo-img { height: 36px; width: auto; }
.mobile-sidebar-close-btn { font-size: 1.8rem; color: var(--text-muted); line-height: 1; }

.sidebar-nav { flex: 1; padding: 16px 12px; }
.nav-list { list-style: none; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.nav-item { width: 100%; display: flex; }

.nav-link { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--radius-md); color: var(--text-secondary); font-size: 0.95rem; font-weight: 500; white-space: nowrap; overflow: hidden; border: 1px solid transparent; transition: background-color 0.2s ease, color 0.2s ease; justify-content: flex-start; }
.nav-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); flex-shrink: 0; transition: color 0.2s ease, transform 0.2s ease; }
.nav-icon svg { width: 24px; height: 24px; }
.nav-icon-img { width: 22px; height: 22px; object-fit: contain; filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.4)); transition: transform 0.2s ease; }

.nav-text { flex: 1; text-align: left; opacity: 1; visibility: visible; transition: opacity 0.25s ease, visibility 0.25s ease; }
.nav-badge { font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-full); white-space: nowrap; border: var(--border-glass); margin-left: auto; opacity: 1; visibility: visible; transition: opacity 0.25s ease, visibility 0.25s ease; }
.nav-badge.new { background: rgba(6, 182, 212, 0.25); color: var(--cyan-accent); }
.nav-badge.hot { background: rgba(236, 72, 153, 0.25); color: var(--magenta-glow); }

.nav-item:hover .nav-link { background: rgba(255, 255, 255, 0.09); color: #ffffff; border-color: rgba(255, 255, 255, 0.08); }
.nav-item.active .nav-link { background: rgba(168, 85, 247, 0.24); color: #ffffff; border: 1px solid rgba(168, 85, 247, 0.45); }
.nav-item.active .nav-text { font-weight: 700; color: #ffffff; }

.sidebar-footer { padding: 16px 12px; border-top: var(--border-glass); display: flex; flex-direction: column; }
.sidebar-user-widget { width: 100%; padding: 10px 12px; border-radius: var(--radius-md); display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(16px); border: var(--border-glass); transition: background 0.3s ease; cursor: pointer; }
.sidebar-user-widget:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.user-avatar-container { position: relative; flex-shrink: 0; }
.user-avatar { width: 38px; height: 38px; border-radius: var(--radius-full); background: var(--grad-purple); border: var(--border-glass); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; color: #ffffff; }
.avatar-initial { text-transform: uppercase; line-height: 1; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); }
.user-status-dot.online { position: absolute; bottom: -1px; right: -1px; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; border: 2px solid var(--bg-dark); }
.user-details { flex: 1; overflow: hidden; white-space: nowrap; }
.user-name { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: #ffffff; }
.user-badge { font-size: 0.7rem; color: var(--text-muted); }

@media (min-width: 992px) {
  body.is-home-page .sidebar { width: var(--sidebar-width) !important; transform: translateX(0) !important; z-index: 950 !important; }
  body.is-home-page .sidebar .sidebar-nav { padding: 16px 10px; }
  body.is-home-page .sidebar .nav-link { width: 100%; padding: 12px 16px; justify-content: flex-start; }
  body.is-home-page .main-content { margin-left: var(--sidebar-width) !important; width: calc(100% - var(--sidebar-width)) !important; padding-left: 28px; padding-right: 28px; }
  body.is-home-page .sidebar .nav-text, body.is-home-page .sidebar .nav-badge, body.is-home-page .sidebar .user-details { opacity: 1 !important; visibility: visible !important; display: block !important; }

  body.is-other-page .header-container { padding-left: 14px; }
  body.is-other-page .main-content { margin-left: var(--sidebar-collapsed-width) !important; width: calc(100% - var(--sidebar-collapsed-width)) !important; padding-left: 28px; padding-right: 28px; transition: margin-left 0.35s ease, width 0.35s ease; }
  body.is-other-page .sidebar { width: var(--sidebar-collapsed-width) !important; z-index: 950; }
  body.is-other-page .sidebar .sidebar-nav { padding: 16px 0; }

  body.is-other-page .sidebar .nav-link { width: 44px; height: 44px; padding: 0; margin: 0 auto; justify-content: center; align-items: center; border-radius: 14px; }
  body.is-other-page .sidebar .nav-icon { width: 24px; height: 24px; margin: 0; display: flex; align-items: center; justify-content: center; }
  body.is-other-page .sidebar .sidebar-footer { padding: 16px 0; align-items: center; }
  body.is-other-page .sidebar .sidebar-user-widget { width: 44px; height: 44px; padding: 0; margin: 0 auto; justify-content: center; align-items: center; border-radius: 50%; }
  body.is-other-page .sidebar .nav-text, body.is-other-page .sidebar .nav-badge, body.is-other-page .sidebar .user-details { opacity: 0; visibility: hidden; pointer-events: none; display: none; }

  body.is-other-page .sidebar.drawer-expanded { width: var(--sidebar-width) !important; z-index: 1100 !important; box-shadow: 0 0 50px rgba(0, 0, 0, 0.85), 10px 0 35px rgba(168, 85, 247, 0.3) !important; background: rgba(10, 6, 20, 0.96) !important; }
  body.is-other-page .sidebar.drawer-expanded .sidebar-nav { padding: 16px 10px; }
  body.is-other-page .sidebar.drawer-expanded .nav-link { width: 100%; padding: 12px 16px; justify-content: flex-start; }
  body.is-other-page .sidebar.drawer-expanded .sidebar-footer { padding: 16px 12px; align-items: stretch; }
  body.is-other-page .sidebar.drawer-expanded .sidebar-user-widget { width: 100%; padding: 10px 12px; border-radius: var(--radius-md); justify-content: flex-start; }
  body.is-other-page .sidebar.drawer-expanded .nav-text, body.is-other-page .sidebar.drawer-expanded .nav-badge, body.is-other-page .sidebar.drawer-expanded .user-details { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; display: block !important; }
}

/* ==========================================================================
   CINEMATIC ENLARGED 3D COVERFLOW HERO CAROUSEL
   ========================================================================== */

.hero-section.full-width-hero { position: relative; padding: 16px 0 28px 0; width: 100%; max-width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-container.full-width-container { width: 100%; max-width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }

.hero-coverflow-wrapper { width: 100%; max-width: 100%; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; perspective: 1400px; transition: all 0.35s ease; overflow: hidden; }
.hero-dash-bar { width: 100%; max-width: 900px; display: flex; gap: 8px; padding: 0 16px; z-index: 20; }
.dash-segment { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); overflow: hidden; position: relative; }
.dash-fill { width: 0%; height: 100%; background: #ffffff; border-radius: 2px; transition: width 0.1s linear; }
.dash-segment.completed .dash-fill { width: 100%; background: rgba(255, 255, 255, 0.85); }

.coverflow-stage { position: relative; width: 100%; max-width: 100%; height: 520px; display: flex; align-items: center; justify-content: center; transform-style: preserve-3d; margin: 0 auto; }
.coverflow-card { position: absolute; top: 50%; left: 50%; width: 900px; max-width: calc(100% - 32px); height: 480px; border-radius: 24px; background: rgba(10, 6, 20, 0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 45px rgba(168, 85, 247, 0.4); overflow: hidden; cursor: pointer; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, filter 0.6s ease; user-select: none; }

.coverflow-poster-wrap { position: relative; width: 100%; height: 100%; border-radius: 24px; overflow: hidden; background: rgba(10, 6, 20, 0.95); display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.coverflow-img { width: 100%; height: calc(100% - 84px); object-fit: contain; border-radius: 24px 24px 0 0; transition: transform 0.4s ease; }
.coverflow-badges { position: absolute; top: 16px; left: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; z-index: 10; pointer-events: none; }
.coverflow-badge-trending { background: linear-gradient(135deg, #ef4444, #ec4899); color: #ffffff; font-size: 0.75rem; font-weight: 800; padding: 5px 16px; border-radius: var(--radius-full); letter-spacing: 0.5px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8) !important; }
.coverflow-badge-rating { background: rgba(10, 6, 20, 0.88); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.25); color: #facc15; font-size: 0.78rem; font-weight: 700; padding: 5px 16px; border-radius: var(--radius-full); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8) !important; }

.hero-card-action-overlay { width: 100%; height: 84px; padding: 16px 24px; background: linear-gradient(to top, rgba(7, 4, 13, 0.98) 0%, rgba(7, 4, 13, 0.85) 100%); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: flex; align-items: center; justify-content: space-between; z-index: 12; border-top: 1px solid rgba(255, 255, 255, 0.12); border-radius: 0 0 24px 24px; }
.hero-info-side { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.hero-banner-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; color: #ffffff; }
.hero-banner-price { font-size: 1.05rem; font-weight: 800; color: var(--purple-glow); }
.hero-actions-side { display: flex; align-items: center; gap: 10px; }

.hero-action-btn { height: 40px; padding: 0 20px; border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; transition: transform 0.2s ease, background 0.2s ease; }
.hero-buy-btn { background: linear-gradient(135deg, #a855f7, #6366f1); color: #ffffff; border: var(--border-glass); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.85), 0 0 20px rgba(168, 85, 247, 0.4) !important; }
.hero-buy-btn:hover { transform: translateY(-2px); background: linear-gradient(135deg, #b56bf8, #7477f2); }
.hero-like-btn, .hero-share-btn { background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.2); color: #ffffff; }

.coverflow-card.active { transform: translate(-50%, -50%) scale(1) translateZ(0) rotateY(0deg); opacity: 1; z-index: 10; filter: none; }
.coverflow-card.next-1 { transform: translate(calc(-50% + 380px), -50%) scale(0.82) translateZ(-100px) rotateY(-18deg); opacity: 0.65; z-index: 5; filter: blur(1px); }
.coverflow-card.next-2 { transform: translate(calc(-50% + 640px), -50%) scale(0.68) translateZ(-180px) rotateY(-32deg); opacity: 0.35; z-index: 2; filter: blur(2.5px); }
.coverflow-card.prev-1 { transform: translate(calc(-50% - 380px), -50%) scale(0.82) translateZ(-100px) rotateY(18deg); opacity: 0.65; z-index: 5; filter: blur(1px); }
.coverflow-card.prev-2 { transform: translate(calc(-50% - 640px), -50%) scale(0.68) translateZ(-180px) rotateY(32deg); opacity: 0.35; z-index: 2; filter: blur(2.5px); }
.coverflow-card.hidden-slide { transform: translate(-50%, -50%) scale(0.4) translateZ(-350px); opacity: 0; z-index: 0; pointer-events: none; }

.coverflow-dots-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; z-index: 20; }
.coverflow-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); cursor: pointer; transition: all 0.3s ease; }
.coverflow-dot.active { width: 24px; border-radius: var(--radius-full); background: var(--grad-purple); box-shadow: 0 0 14px rgba(168, 85, 247, 0.7); }

/* ==========================================================================
   FEATURED COURSES CARDS & DEDICATED LANDING PAGES
   ========================================================================== */

.course-item-card { cursor: pointer; }
.course-short-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.45; margin: 4px 0 8px 0; }

.course-landing-section { padding: 24px 0 60px 0; }
.back-btn { font-size: 0.9rem; font-weight: 700; color: var(--text-secondary); padding: 8px 18px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(12px); border: var(--border-glass); margin-bottom: 24px; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s ease; }
.back-btn:hover { background: var(--grad-purple); color: #ffffff; transform: translateX(-4px); }

.course-landing-hero { display: flex; gap: 36px; align-items: center; background: var(--bg-glass-card); backdrop-filter: blur(24px); border: var(--border-glass-bright); border-radius: 28px; padding: 36px; box-shadow: var(--shadow-glass); flex-wrap: wrap; }
.course-landing-img-wrap { flex: 1; min-width: 300px; max-width: 480px; border-radius: 20px; overflow: hidden; border: var(--border-glass); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8); }
.course-landing-img { width: 100%; height: 100%; object-fit: cover; }
.course-landing-details { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 16px; }
.landing-badge { display: inline-block; align-self: flex-start; font-size: 0.78rem; font-weight: 800; padding: 6px 16px; border-radius: var(--radius-full); background: linear-gradient(135deg, #a855f7, #ec4899); color: #ffffff; box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4); }
.landing-title { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; line-height: 1.25; color: #ffffff; }
.landing-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }
.landing-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 8px 0; }
.highlight-item { font-size: 0.88rem; font-weight: 600; color: var(--text-secondary); background: rgba(255, 255, 255, 0.04); padding: 10px 16px; border-radius: var(--radius-sm); border: var(--border-glass); }
.landing-pricing-row { display: flex; align-items: center; gap: 20px; margin-top: 12px; }
.landing-price { font-size: 2rem; font-weight: 800; color: var(--purple-glow); }
.landing-buy-btn { padding: 14px 32px; border-radius: var(--radius-full); background: var(--grad-purple); border: var(--border-glass); color: #ffffff; font-size: 1.05rem; font-weight: 700; transition: transform 0.2s ease; }
.landing-buy-btn:hover { transform: translateY(-2px); }

/* USER ACCOUNT PAGE */
.account-section { padding: 24px 0 60px 0; }
.account-dashboard-card { background: var(--bg-glass-card); backdrop-filter: blur(28px); border: var(--border-glass-bright); border-radius: 28px; padding: 36px; box-shadow: var(--shadow-glass); display: flex; flex-direction: column; gap: 32px; }
.account-profile-header { display: flex; align-items: center; gap: 24px; padding-bottom: 28px; border-bottom: var(--border-glass); flex-wrap: wrap; }
.account-avatar-wrap { position: relative; flex-shrink: 0; }
.account-avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--grad-purple); border: 2px solid var(--purple-glow); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: #ffffff; box-shadow: var(--glow-purple); }
.account-profile-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.account-user-name { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: #ffffff; }
.account-user-email { font-size: 0.95rem; color: var(--text-muted); }
.account-badges-row { display: flex; gap: 10px; margin-top: 6px; }
.account-badge { font-size: 0.75rem; font-weight: 700; padding: 4px 14px; border-radius: var(--radius-full); border: var(--border-glass); }
.account-badge.vip { background: rgba(168, 85, 247, 0.25); color: var(--purple-glow); }
.account-badge.pro { background: rgba(6, 182, 212, 0.25); color: var(--cyan-accent); }

.account-edit-btn { padding: 10px 22px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); border: var(--border-glass); color: #ffffff; font-size: 0.9rem; font-weight: 700; transition: transform 0.2s ease; }
.account-edit-btn:hover { background: var(--grad-purple); }

.account-stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stat-card { background: rgba(255, 255, 255, 0.03); border: var(--border-glass); border-radius: 20px; padding: 20px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--purple-glow); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

.account-section-block { display: flex; flex-direction: column; gap: 16px; }
.account-block-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: #ffffff; }
.account-orders-list { display: flex; flex-direction: column; gap: 12px; }
.account-order-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.03); border: var(--border-glass); flex-wrap: wrap; }
.account-order-img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.account-order-details { flex: 1; min-width: 200px; }
.account-order-details h4 { font-size: 1rem; font-weight: 700; color: #ffffff; }
.account-order-details span { font-size: 0.8rem; color: var(--text-muted); }

/* INTERACTIVE CART ITEM STYLES */
.cart-empty-msg { padding: 40px 20px; text-align: center; color: var(--text-muted); font-size: 0.95rem; }
.cart-remove-btn { width: 32px; height: 32px; border-radius: 50%; background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; flex-shrink: 0; }
.cart-remove-btn:hover { background: #ef4444; color: #ffffff; transform: scale(1.1); }

.ott-card { background: var(--bg-glass-card); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px; overflow: hidden; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7); transition: transform 0.25s ease, border-color 0.25s ease; display: flex; flex-direction: column; position: relative; }

@media (hover: hover) and (pointer: fine) {
  .ott-card:hover { transform: translateY(-6px); border-color: var(--purple-glow); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(168, 85, 247, 0.35); }
  .ott-card:hover .ott-poster-img { transform: scale(1.08); }
}

.ott-poster-wrap { position: relative; width: 100%; height: 210px; aspect-ratio: 16 / 9; overflow: hidden; background: #000000; display: flex; align-items: center; justify-content: center; padding: 0 !important; margin: 0 !important; border-radius: 20px 20px 0 0; }
.ott-poster-img { width: 100%; height: 100%; object-fit: cover !important; display: block; padding: 0 !important; margin: 0 !important; border-radius: 20px 20px 0 0; transition: transform 0.5s ease; }
.ott-card:hover .ott-poster-img { transform: scale(1.08); }

.ott-top-badges, .ott-badges-row { display: flex; align-items: center; justify-content: center !important; gap: 8px; margin-bottom: 6px; width: 100%; }
.ott-badge-trending { background: linear-gradient(135deg, #ef4444, #ec4899); color: #ffffff; font-size: 0.7rem; font-weight: 800; padding: 4px 12px; border-radius: var(--radius-full); display: inline-flex; align-items: center; }
.ott-badge-rating { background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.2); color: #facc15; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-full); display: inline-flex; align-items: center; }

.ott-card-info { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; justify-content: space-between; text-align: center !important; align-items: center !important; }
.ott-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: #ffffff; margin: 0; line-height: 1.3; text-align: center !important; }
.ott-meta { font-size: 0.82rem; font-weight: 600; color: var(--purple-glow); text-align: center !important; }
.ott-subtitle { font-size: 0.78rem; color: var(--text-muted); text-align: center !important; }
.course-short-desc { text-align: center !important; font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

/* PURE CIRCULAR VECTOR ICON BUTTONS */
.ott-action-bar-bottom { display: flex; align-items: center; justify-content: center !important; gap: 8px; margin-top: 12px; width: 100%; }
.ott-main-btn { flex: 1; min-width: 0; height: 42px; border-radius: var(--radius-full); background: linear-gradient(135deg, #a855f7, #6366f1); color: #ffffff; font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; border: var(--border-glass); transition: transform 0.2s ease; }
.ott-main-btn:hover { transform: translateY(-2px); background: linear-gradient(135deg, #b56bf8, #7477f2); }
.ott-secondary-btn { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.2); color: #ffffff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.ott-secondary-btn:hover { transform: scale(1.1); background: rgba(168, 85, 247, 0.35); border-color: var(--purple-glow); }
.ott-secondary-btn svg { width: 18px; height: 18px; display: block; }

/* MAIN CONTENT & RESPONSIVE FULL-WIDTH GRID ENGINE (NO ARTIFICIAL RIGHT GAPS) */
.main-content { padding-top: var(--header-height); padding-bottom: 120px; min-height: 100vh; width: 100%; max-width: 100%; box-sizing: border-box; overflow-x: hidden; }
.hero-glow-bg { position: absolute; top: 10%; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1200px; height: 450px; background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(99, 102, 241, 0.12) 50%, transparent 70%); filter: blur(90px); z-index: -1; pointer-events: none; }

.section { padding: 36px 0; width: 100%; max-width: 100%; box-sizing: border-box; }
.section-container.full-width-container { width: 100%; max-width: 100% !important; padding: 0 28px !important; box-sizing: border-box; }
.section-header { margin-bottom: 28px; text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; }
.section-title { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 800; text-align: center !important; width: 100% !important; }
.section-subtitle { color: var(--text-muted); font-size: 0.95rem; text-align: center !important; width: 100% !important; max-width: 720px !important; margin: 8px auto 0 auto !important; line-height: 1.5; }

/* SECTIONS WITH 4 CARDS: CENTERED FLEXBOX LAYOUT (COURSES, SERVICES, WORKFLOW) */
.services-grid,
.course-cards-grid,
.workflow-steps-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  box-sizing: border-box;
}

.service-card,
.course-item-card,
.workflow-step-card {
  flex: 0 1 290px !important;
  width: 290px !important;
  max-width: 100% !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* WHY CHOOSE US: ALL 5 CARDS IN 1 SINGLE HORIZONTAL ROW ACROSS DESKTOP */
.why-choose-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box;
  overflow-x: auto !important;
}

.why-choose-grid .why-card {
  flex: 1 1 0 !important;
  min-width: 200px !important;
  box-sizing: border-box;
  padding: 24px 16px !important;
  display: flex;
  flex-direction: column;
}

/* PRODUCTIONS SHOWCASE: EXACTLY 5 CARDS PER ROW ON DESKTOP */
.productions-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.tracks-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.production-item-card,
.library-card-item {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.service-card { padding: 0 !important; overflow: hidden; }

/* RIGHT SLIDE PANELS */
.panel-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(7, 4, 13, 0.75); backdrop-filter: blur(12px); z-index: 1150; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.panel-backdrop.active { opacity: 1; visibility: visible; }
.right-panel { position: fixed; top: 0; right: 0; width: 380px; max-width: 100vw; height: 100vh; background: var(--bg-glass-panel); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border-left: var(--border-glass-bright); box-shadow: var(--shadow-glass); z-index: 1200; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.right-panel.active { transform: translateX(0); }
.panel-header { padding: 20px 24px; border-bottom: var(--border-glass); display: flex; align-items: center; justify-content: space-between; }
.panel-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; }
.panel-close-btn { font-size: 0.85rem; color: var(--text-muted); padding: 6px 12px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.05); border: var(--border-glass); }

/* SCROLLABLE FILTER TAB WRAPPERS WITH ARROWS & HIDDEN SCROLLBARS */
.scrollable-filter-wrapper { position: relative; display: flex; align-items: center; justify-content: center !important; gap: 10px; width: 100%; max-width: 980px; margin: 0 auto 28px auto !important; }
.scrollable-filter-wrapper.center-tabs-wrapper { justify-content: center !important; max-width: 980px; margin: 0 auto 28px auto !important; }

.filter-scroll-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.2); color: #ffffff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; transition: all 0.2s ease; z-index: 5; }
.filter-scroll-btn:hover { background: var(--grad-purple); border-color: var(--purple-glow); transform: scale(1.1); box-shadow: 0 0 16px rgba(168, 85, 247, 0.6); }

.panel-filter-tabs,
.center-filter-tabs,
.search-tags,
.productions-filter-tabs,
.beatstore-filter-tabs,
.unified-library-tabs {
  display: flex;
  align-items: center;
  justify-content: center !important;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  border-bottom: none !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch;
}

.panel-filter-tabs::-webkit-scrollbar,
.center-filter-tabs::-webkit-scrollbar,
.search-tags::-webkit-scrollbar,
.productions-filter-tabs::-webkit-scrollbar,
.beatstore-filter-tabs::-webkit-scrollbar,
.unified-library-tabs::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.filter-tab { font-size: 0.78rem; font-weight: 600; padding: 7px 16px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: var(--border-glass); color: var(--text-secondary); white-space: nowrap; transition: all 0.25s ease; flex-shrink: 0; }
.filter-tab.active, .filter-tab:hover { background: var(--grad-purple); color: #ffffff; border-color: rgba(255, 255, 255, 0.35); box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4); }

.panel-content { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.notification-item, .cart-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(14px); border: var(--border-glass); }
.cart-item-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cart-info { flex: 1; min-width: 0; }
.cart-info h5 { font-size: 0.88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-license { font-size: 0.78rem; color: var(--text-muted); display: block; }
.cart-price { color: var(--purple-glow); font-weight: 700; font-size: 0.88rem; }
.cart-footer { padding: 20px; border-top: var(--border-glass); display: flex; flex-direction: column; gap: 14px; }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 1rem; font-weight: 600; }

.checkout-btn { width: 100%; padding: 14px; border-radius: var(--radius-md); background: var(--grad-purple); border: var(--border-glass); color: #ffffff; font-size: 0.95rem; font-weight: 700; transition: transform 0.2s ease; }
.checkout-btn:hover { transform: translateY(-2px); }

/* MAIN CONTENT */
.main-content { padding-top: var(--header-height); padding-bottom: 120px; min-height: 100vh; width: 100%; max-width: 100%; box-sizing: border-box; overflow-x: hidden; }
.hero-glow-bg { position: absolute; top: 10%; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1200px; height: 450px; background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(99, 102, 241, 0.12) 50%, transparent 70%); filter: blur(90px); z-index: -1; pointer-events: none; }

.section { padding: 36px 0; width: 100%; max-width: 100%; box-sizing: border-box; }
.section-container.full-width-container { width: 100%; max-width: 100%; box-sizing: border-box; }
.section-header { margin-bottom: 28px; text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; }
.section-title { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 800; text-align: center !important; width: 100% !important; }
.section-subtitle { color: var(--text-muted); font-size: 0.95rem; text-align: center !important; width: 100% !important; max-width: 720px !important; margin: 8px auto 0 auto !important; line-height: 1.5; }

.tracks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; width: 100%; box-sizing: border-box; justify-content: center !important; justify-items: center !important; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; width: 100%; box-sizing: border-box; justify-content: center !important; justify-items: center !important; }

.service-card { background: var(--bg-glass-card); border: var(--border-glass); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-glass); transition: transform 0.25s ease; text-align: center !important; align-items: center !important; will-change: transform; }
.service-card h3, .service-card p { text-align: center !important; }
.service-card:hover { transform: translateY(-4px); border-color: var(--purple-glow); }

/* BEATSTARS COMPACT ROW LIST VIEW SYSTEM */
.beatstars-list-table { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.beatstars-list-header { display: grid; grid-template-columns: 50px 2.2fr 1fr 2fr 1fr 180px; align-items: center; padding: 12px 20px; background: rgba(255, 255, 255, 0.03); border-radius: var(--radius-md); border: var(--border-glass); font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.beatstars-row-item { display: grid; grid-template-columns: 50px 2.2fr 1fr 2fr 1fr 180px; align-items: center; padding: 10px 20px; background: var(--bg-glass-card); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-md); transition: transform 0.2s ease, background 0.2s ease; position: relative; overflow: hidden; will-change: transform; }
.beatstars-row-item:hover { background: rgba(168, 85, 247, 0.12); border-color: var(--purple-glow); transform: translateX(4px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(168, 85, 247, 0.3); }
.beatstars-row-item.is-playing { background: rgba(168, 85, 247, 0.22); border: 1px solid rgba(168, 85, 247, 0.6); box-shadow: 0 0 24px rgba(168, 85, 247, 0.4); }

.beat-row-num { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); display: flex; align-items: center; justify-content: flex-start; }
.beat-row-play-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-purple); color: #ffffff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.2s ease; border: var(--border-glass); flex-shrink: 0; }
.beat-row-play-btn:hover { transform: scale(1.1); }

.beat-row-media { display: flex; align-items: center; gap: 14px; min-width: 0; }
.beat-row-thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; border: var(--border-glass); flex-shrink: 0; }
.beat-row-details { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.beat-row-title { font-family: var(--font-heading); font-size: 0.98rem; font-weight: 700; color: #ffffff; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; transition: color 0.2s ease; }
.beat-row-title:hover { color: var(--purple-glow); }
.beat-row-genre { font-size: 0.75rem; color: var(--text-muted); }

.beat-row-bpmkey { font-size: 0.88rem; font-weight: 600; color: var(--text-secondary); }

/* IN-ROW WAVEFORM SEEKBAR STYLES */
.beat-row-waveform-wrap { position: relative; width: 100%; height: 38px; cursor: pointer; display: flex; align-items: center; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); padding: 0 8px; box-sizing: border-box; overflow: hidden; transition: border-color 0.2s ease, background 0.2s ease; }
.beat-row-waveform-wrap:hover { background: rgba(168, 85, 247, 0.08); border-color: var(--purple-glow); }
.row-waveform-canvas { width: 100%; height: 100%; display: block; }
.row-waveform-hover-line { position: absolute; top: 0; left: 0; width: 2px; height: 100%; background: var(--purple-glow); box-shadow: var(--glow-purple); pointer-events: none; opacity: 0; transition: opacity 0.15s ease; }
.row-waveform-hover-time { position: absolute; top: 2px; left: 0; transform: translateX(-50%); background: rgba(10, 6, 20, 0.9); border: var(--border-glass-bright); padding: 1px 5px; border-radius: 4px; font-size: 0.65rem; color: #ffffff; font-family: monospace; pointer-events: none; opacity: 0; transition: opacity 0.15s ease; z-index: 5; }
.beat-row-waveform-wrap:hover .row-waveform-hover-line, .beat-row-waveform-wrap:hover .row-waveform-hover-time { opacity: 1; }
.row-waveform-timecode { position: absolute; right: 8px; bottom: 2px; font-size: 0.68rem; font-family: monospace; color: var(--text-muted); pointer-events: none; transition: color 0.2s ease; }
.row-waveform-timecode.playing { color: var(--purple-glow); font-weight: 700; }

.beat-row-price { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800; color: var(--purple-glow); }
.beat-row-actions { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }

/* BOTTOM AUDIO PLAYER */
.bottom-audio-player { position: fixed; bottom: 0; left: 0; width: 100vw; background: rgba(10, 6, 20, 0.8); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-top: var(--border-glass-bright); box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5); z-index: 1000; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), left 0.35s ease, width 0.35s ease; padding: 12px 24px; box-sizing: border-box; }
.bottom-audio-player.active { transform: translateY(0); }

@media (min-width: 992px) {
  body.is-home-page .bottom-audio-player { left: var(--sidebar-width); width: calc(100% - var(--sidebar-width)); }
  body.is-other-page .bottom-audio-player { left: var(--sidebar-collapsed-width); width: calc(100% - var(--sidebar-collapsed-width)); }
}

.player-container { width: 100%; max-width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.player-main-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-shrink: 0; }
.player-track-info { display: flex; align-items: center; gap: 14px; }
.player-thumb-img { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; border: var(--border-glass); }
.player-text h5 { font-size: 0.92rem; font-weight: 600; max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-artist { font-size: 0.75rem; color: var(--text-muted); display: block; }
.player-buttons { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.player-btn { width: 36px; height: 36px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: var(--border-glass); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s ease; }
.player-btn:hover { background: rgba(168, 85, 247, 0.25); color: #ffffff; }
.player-btn svg { width: 20px; height: 20px; }

.player-play-btn { width: 44px; height: 44px; border-radius: var(--radius-full); background: var(--grad-purple); border: var(--border-glass); color: #ffffff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.2s ease; }
.player-play-btn:hover { transform: scale(1.08); }
.player-play-btn svg { width: 20px; height: 20px; }

.player-controls-wrap { flex: 1; max-width: 680px; display: flex; align-items: center; }
.beatstars-waveform-wrap { width: 100%; display: flex; align-items: center; gap: 12px; }

.waveform-canvas-container { position: relative; flex: 1; height: 38px; cursor: pointer; display: flex; align-items: center; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(10px); border: var(--border-glass); padding: 0 4px; }
.player-waveform-canvas { width: 100%; height: 100%; }
.waveform-hover-line { position: absolute; top: 0; left: 0; width: 2px; height: 100%; background: var(--purple-glow); box-shadow: var(--glow-purple); pointer-events: none; opacity: 0; transition: opacity 0.15s ease; }
.waveform-hover-time { position: absolute; top: -24px; left: 0; transform: translateX(-50%); background: var(--bg-glass-card); border: var(--border-glass-bright); padding: 2px 6px; border-radius: 4px; font-size: 0.68rem; color: var(--text-primary); font-family: monospace; pointer-events: none; opacity: 0; transition: opacity 0.15s ease; }
.waveform-canvas-container:hover .waveform-hover-line, .waveform-canvas-container:hover .waveform-hover-time { opacity: 1; }

.player-right-controls { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.volume-container { display: flex; align-items: center; gap: 8px; }
.volume-slider { width: 70px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); appearance: none; outline: none; }
.volume-slider::-webkit-slider-thumb { appearance: none; width: 10px; height: 10px; border-radius: 50%; background: var(--purple-glow); }

.floating-music-note { position: fixed; bottom: 24px; right: 24px; width: 54px; height: 54px; border-radius: var(--radius-full); background: var(--grad-purple); border: var(--border-glass); display: none; align-items: center; justify-content: center; z-index: 999; }
.floating-music-note.visible { display: flex; }

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 991px) {
  .sidebar { 
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important; 
    width: 280px !important; 
    max-width: 85vw !important; 
    height: 100vh !important; 
    z-index: 1100 !important; 
    transform: translateX(-100%) !important;
    background: rgba(10, 6, 20, 0.98) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.95), 10px 0 35px rgba(168, 85, 247, 0.3) !important;
  }
  
  .sidebar.active { 
    transform: translateX(0) !important; 
  }

  .mobile-sidebar-header { 
    display: flex !important; 
    padding: 18px 20px;
    align-items: center;
    justify-content: space-between;
    border-bottom: var(--border-glass);
  }

  .sidebar-nav {
    padding: 16px 14px !important;
  }

  .sidebar .nav-item {
    width: 100% !important;
    display: flex !important;
  }

  .sidebar .nav-link { 
    width: 100% !important; 
    height: auto !important;
    margin: 0 !important;
    padding: 12px 16px !important; 
    justify-content: flex-start !important; 
    align-items: center !important;
    border-radius: var(--radius-md) !important;
    display: flex !important;
  }

  .sidebar .nav-icon {
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .sidebar .nav-text { 
    opacity: 1 !important; 
    visibility: visible !important; 
    display: block !important; 
    flex: 1 !important;
    text-align: left !important;
  }

  .sidebar .nav-badge { 
    opacity: 1 !important; 
    visibility: visible !important; 
    display: block !important; 
    margin-left: auto !important;
  }

  .sidebar .sidebar-footer {
    padding: 16px 14px !important;
    align-items: stretch !important;
  }

  .sidebar .sidebar-user-widget { 
    width: 100% !important; 
    height: auto !important;
    padding: 10px 12px !important; 
    border-radius: var(--radius-md) !important; 
    justify-content: flex-start !important; 
    margin: 0 !important;
  }

  .sidebar .user-details { 
    opacity: 1 !important; 
    visibility: visible !important; 
    display: block !important; 
  }

  .main-content { margin-left: 0 !important; width: 100% !important; padding-left: 16px !important; padding-right: 16px !important; }
  .hero-section.full-width-hero { padding: 12px 0 !important; }
  .section { padding: 24px 0 !important; }
  .bottom-audio-player { left: 0 !important; width: 100% !important; }
}

@media (max-width: 768px) {
  .header-container { padding: 0 12px; gap: 8px; }
  .brand-logo-img { height: 36px; }
  .header-center { display: flex; justify-content: flex-end; position: static; }
  .search-container.wide-search { display: none; }
  
  .search-container.wide-search.expanded { display: flex; position: absolute; top: 50%; left: 8px; right: 8px; transform: translateY(-50%); width: calc(100% - 16px); max-width: none; z-index: 1010; background: rgba(14, 8, 28, 0.95); }
  .search-container.wide-search.expanded .mobile-search-close-btn { display: flex; align-items: center; justify-content: center; }

  .mobile-search-trigger { display: flex !important; }
  .header-right { gap: 6px; }
  .header-action-btn { width: 36px; height: 36px; }

  .coverflow-stage { height: 440px; }
  .coverflow-card { width: 310px; max-width: calc(100% - 24px); height: 400px; border-radius: 20px; }
  
  .coverflow-poster-wrap { height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
  .coverflow-img { width: 100%; height: calc(100% - 100px); object-fit: contain; border-radius: 20px 20px 0 0; padding-top: 10px; }
  
  .hero-card-action-overlay {
    height: 100px;
    padding: 10px 14px;
    gap: 8px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(to top, rgba(7, 4, 13, 0.98) 0%, rgba(7, 4, 13, 0.9) 100%);
  }

  .hero-info-side { text-align: center; }
  .hero-banner-title { font-size: 0.98rem; line-height: 1.2; }
  .hero-banner-price { font-size: 0.92rem; }
  .hero-actions-side { justify-content: center; width: 100%; gap: 6px; }
  .hero-action-btn { height: 34px; padding: 0 14px; font-size: 0.78rem; }

  .coverflow-card.next-1 { transform: translate(calc(-50% + 140px), -50%) scale(0.82) translateZ(-60px) rotateY(-18deg); opacity: 0.55; }
  .coverflow-card.prev-1 { transform: translate(calc(-50% - 140px), -50%) scale(0.82) translateZ(-60px) rotateY(18deg); opacity: 0.55; }
  .coverflow-card.next-2, .coverflow-card.prev-2 { opacity: 0; pointer-events: none; }

  .course-landing-hero { flex-direction: column; padding: 20px; }
  .course-landing-img-wrap { max-width: 100%; }
  .landing-title { font-size: 1.6rem; }

  .account-profile-header { flex-direction: column; text-align: center; }
  .account-profile-info { align-items: center; }
  .account-order-item { flex-direction: column; text-align: center; }
  .account-order-details { text-align: center; }

  .player-container { flex-direction: column; gap: 8px; align-items: stretch; }
  .player-main-row { width: 100%; }
  .player-controls-wrap { max-width: 100%; width: 100%; }
  .player-right-controls { display: none; }
  .desktop-only-btn { display: none; }

  .credits-grid { grid-template-columns: 1fr; }

  /* MOBILE BEATSTARS ROW LIST RESPONSIVE */
  .beatstars-list-header { display: none !important; }
  .beatstars-row-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    gap: 12px !important;
  }
  .beat-row-num { display: none !important; }
  .beat-row-bpmkey { display: none !important; }
  .beat-row-waveform-wrap { display: none !important; }
  .beat-row-price { display: none !important; }
  .beat-row-price-mobile { display: block !important; color: var(--purple-glow); font-weight: 800; font-size: 0.88rem; margin-top: 2px; }
  .beat-fav-btn-desktop { display: none !important; }
  .beat-row-actions .listen-row-btn span { display: none !important; }
  .beat-row-actions .listen-row-btn { width: 36px !important; padding: 0 !important; justify-content: center !important; }
}

/* ==========================================================================
   WHATSAPP BOOKING BUTTON & SERVICES STYLING
   ========================================================================== */
.whatsapp-booking-btn {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4) !important;
  text-decoration: none;
}
.whatsapp-booking-btn:hover {
  background: linear-gradient(135deg, #2cf076, #16a393) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6) !important;
}

/* ==========================================================================
   LOAD MORE BUTTON SYSTEM
   ========================================================================== */
.load-more-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.load-more-btn {
  padding: 14px 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  border: var(--border-glass-bright);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glass);
}

.load-more-btn:hover {
  background: var(--grad-purple);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.5);
}

/* ==========================================================================
   STUDIO GALLERY & LIGHTBOX STYLING
   ========================================================================== */
.gallery-item-card {
  cursor: pointer;
}
.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 20, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item-card:hover .gallery-hover-overlay {
  opacity: 1;
}
.gallery-zoom-icon {
  font-size: 2rem;
}
.gallery-title-tag {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(168, 85, 247, 0.3);
  border: var(--border-glass);
}

/* ==========================================================================
   WHY CHOOSE D-MUSIX STUDIO SECTION
   ========================================================================== */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
  justify-content: center !important;
  justify-items: center !important;
}
.why-card {
  padding: 24px;
  align-items: center !important;
  text-align: center !important;
  gap: 12px;
}
.why-icon-wrap {
  font-size: 2.2rem;
  padding: 12px;
  border-radius: 16px;
  background: rgba(168, 85, 247, 0.15);
  border: var(--border-glass);
  margin: 0 auto !important;
}
.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center !important;
}
.why-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center !important;
}

/* ==========================================================================
   VIDEO POPUP MODAL & CREDITS STYLING
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 4, 13, 0.92);
  backdrop-filter: blur(24px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.video-modal.active {
  opacity: 1;
  visibility: visible;
}
.video-modal-card {
  width: 820px;
  max-width: 95vw;
  max-height: 92vh;
  background: rgba(14, 8, 28, 0.96);
  backdrop-filter: blur(30px);
  border: var(--border-glass-bright);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 40px rgba(168, 85, 247, 0.4);
  overflow-y: auto;
  position: relative;
}
.video-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.8rem;
  color: #ffffff;
  z-index: 10;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal-iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.video-modal-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-modal-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.video-modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}
.video-modal-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: var(--grad-purple);
  color: #ffffff;
}
.video-modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.credits-section-box {
  background: rgba(255, 255, 255, 0.03);
  border: var(--border-glass);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.credits-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-glow);
}
.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.credit-chip {
  font-size: 0.84rem;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: var(--border-glass);
  color: #ffffff;
}
.yt-direct-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
  transition: all 0.25s ease;
}
.yt-direct-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(239, 68, 68, 0.6);
}

/* HERO BANNER ARROW BUTTONS */
.hero-coverflow-wrapper { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; }
.hero-nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.25); color: #ffffff; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 25; transition: all 0.25s ease; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); }
.hero-nav-arrow:hover { background: var(--grad-purple); border-color: var(--purple-glow); transform: translateY(-50%) scale(1.12); box-shadow: 0 0 24px rgba(168, 85, 247, 0.6); }
.hero-prev-arrow { left: 12px; }
.hero-next-arrow { right: 12px; }

/* COURSE ACTION BUTTONS: 3 ICON BUTTONS TOP + EXPLORE COURSE BOTTOM */
.course-action-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
}

.course-icons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.course-icons-row .ott-secondary-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.2s ease !important;
}

.course-icons-row .ott-secondary-btn:hover {
  background: var(--purple-glow) !important;
  border-color: #ffffff !important;
  transform: scale(1.1) !important;
}

.course-explore-btn {
  width: 100% !important;
  height: 48px !important;
  padding: 12px 20px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  border-radius: var(--radius-full) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: var(--grad-purple) !important;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.course-explore-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 28px rgba(168, 85, 247, 0.6) !important;
}

/* GALLERY LIGHTBOX POPUP MODAL STYLES WITH PREV/NEXT ARROWS */
.gallery-lightbox-card {
  position: relative;
  width: 90vw;
  max-width: 960px;
  max-height: 88vh;
  background: #0a0614;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-img-wrap {
  width: 100%;
  height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  overflow: hidden;
}

.lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s ease;
}

.lightbox-nav-btn:hover {
  background: var(--purple-glow);
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.12);
}

.lightbox-prev-btn { left: 16px; }
.lightbox-next-btn { right: 16px; }

.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: background 0.2s ease;
}

.lightbox-close-btn:hover { background: rgba(239, 68, 68, 0.8); }

.lightbox-title-bar {
  padding: 14px 24px;
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(10, 6, 20, 0.95);
  box-sizing: border-box;
}

/* STUDIO GALLERY & TESTIMONIALS CAROUSEL TRACK WITH NEAT SIDE ARROWS */
.studio-gallery-carousel-wrapper { position: relative; width: 100%; display: flex; align-items: center; padding: 0 48px !important; box-sizing: border-box; }
.studio-gallery-carousel-wrapper .scroll-left-btn { position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 10; }
.studio-gallery-carousel-wrapper .scroll-right-btn { position: absolute; right: 0; top: 50%; transform: translateY(-50%); z-index: 10; }

.studio-gallery-carousel-track { display: flex !important; gap: 16px !important; overflow-x: auto !important; scroll-behavior: smooth; scrollbar-width: none; width: 100% !important; padding: 12px 0 !important; justify-content: flex-start !important; }
.studio-gallery-carousel-track::-webkit-scrollbar { display: none; }
.studio-gallery-carousel-track .gallery-item-card { flex: 0 0 calc((100% - 64px) / 5) !important; min-width: calc((100% - 64px) / 5) !important; width: calc((100% - 64px) / 5) !important; box-sizing: border-box; }

/* TESTIMONIALS CAROUSEL: 5 CARDS VISIBLE PER VIEW ACROSS DESKTOP */
.testimonials-grid,
#indianTestimonialsTrack {
  display: flex !important;
  gap: 16px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100% !important;
  padding: 12px 0 !important;
}

#indianTestimonialsTrack::-webkit-scrollbar { display: none; }

.testimonial-item-slide {
  flex: 0 0 calc((100% - 64px) / 5) !important;
  min-width: calc((100% - 64px) / 5) !important;
  width: calc((100% - 64px) / 5) !important;
  box-sizing: border-box;
}

/* SAMPLE PACK & SOUND LIBRARY FULL-BLEED ARTWORK UN-CROP */
.library-card-item .ott-poster-wrap { height: 260px !important; aspect-ratio: 1 / 1 !important; background: #080410 !important; }
.library-card-item .ott-poster-img { object-fit: cover !important; width: 100% !important; height: 100% !important; }

/* STUDIO WORKFLOW & FAQ ACCORDION STYLES */
.workflow-step-card { padding: 28px 24px; text-align: center !important; align-items: center !important; display: flex; flex-direction: column; gap: 12px; }
.step-num-badge { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 800; color: var(--purple-glow); background: rgba(168, 85, 247, 0.15); border: var(--border-glass); padding: 4px 14px; border-radius: var(--radius-full); width: fit-content; }
.workflow-step-card h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: #ffffff; }
.workflow-step-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.faq-accordion-list { display: flex; flex-direction: column; gap: 16px; max-width: 880px; margin: 24px auto 0 auto; width: 100%; box-sizing: border-box; }
.faq-item { padding: 22px 26px; cursor: pointer; transition: all 0.25s ease; }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-heading); font-size: 1.02rem; font-weight: 700; color: #ffffff; gap: 16px; }
.faq-arrow { font-size: 0.8rem; transition: transform 0.3s ease; color: var(--text-muted); }
.faq-answer { display: none; margin-top: 14px; font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; text-align: left; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 12px; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--purple-glow); }

/* RICH FOOTER & LEGAL POPUP MODAL STYLES (INSIDE MAIN CONTENT AREA) */
.site-footer { background: rgba(10, 6, 20, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 56px 24px 28px 24px; margin-top: 60px; color: var(--text-secondary); width: 100%; box-sizing: border-box; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; width: 100%; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-logo-img { width: 36px; height: 36px; object-fit: contain; }
.footer-brand-title { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; color: #ffffff; letter-spacing: 1px; }
.footer-tagline { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 18px; max-width: 320px; }
.footer-social-icons { display: flex; gap: 12px; }
.social-icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.06); border: var(--border-glass); color: #ffffff; transition: all 0.25s ease; text-decoration: none; }
.social-icon-btn:hover { background: var(--grad-purple); border-color: var(--purple-glow); transform: scale(1.12); box-shadow: 0 0 16px rgba(168, 85, 247, 0.5); }

.footer-col-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: #ffffff; margin-bottom: 16px; }
.footer-links-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links-list a { color: var(--text-muted); font-size: 0.88rem; text-decoration: none; transition: color 0.2s ease; }
.footer-links-list a:hover { color: var(--purple-glow); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 24px; text-align: center; font-size: 0.85rem; color: var(--text-muted); width: 100%; }
.footer-bottom strong { color: #ffffff; }

.legal-modal-card { max-width: 620px; }
.legal-modal-body { max-height: 380px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; text-align: left; padding: 10px 4px; }
.legal-modal-body h4 { font-family: var(--font-heading); font-size: 1rem; color: var(--purple-glow); margin-bottom: 2px; }
.legal-modal-body p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.5; }

/* DESKTOP VS MOBILE FILTER ARROWS RULES */
@media (min-width: 769px) {
  .productions-filter-tabs-wrapper .filter-scroll-btn { display: none !important; }
}

@media (max-width: 768px) {
  html, body {
    background-attachment: scroll !important;
  }

  .main-content { padding-left: 0 !important; padding-right: 0 !important; }
  .section-container.full-width-container { padding: 0 10px !important; width: 100% !important; max-width: 100% !important; }
  
  .section-title {
    font-size: 1.35rem !important;
    letter-spacing: -0.3px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .section-subtitle {
    font-size: 0.82rem !important;
    padding: 0 8px !important;
  }

  .service-card,
  .course-item-card,
  .production-item-card,
  .why-card,
  .workflow-step-card,
  .library-card-item {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-bottom: 16px !important;
  }

  .ott-card,
  .service-card,
  .beatstars-row-item,
  .testimonial-card,
  .library-card-item,
  .why-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
  }

  .search-container.wide-search {
    animation: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  }

  .studio-gallery-carousel-track .gallery-item-card,
  .testimonial-item-slide {
    flex: 0 0 85% !important;
    min-width: 85% !important;
    width: 85% !important;
  }

  .productions-filter-tabs-wrapper .filter-scroll-btn { display: flex !important; }

  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-tagline { text-align: center; }
  .footer-social-icons { justify-content: center; }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.18rem !important;
    white-space: nowrap !important;
  }
}


