/* Swar Bhakti - Luxury Indian Spiritual Music Streaming Platform
 * Design Identity: Deep midnight navy (#06070d), charcoal surfaces (#121624), warm gold (#e6b15c), saffron (#f97316)
 */

:root {
  --bg-main: #06070d;
  --bg-surface: #101422;
  --bg-surface-elevated: #181d30;
  --bg-card: #151a2a;
  --bg-card-hover: #1f263e;
  --bg-glass: rgba(16, 20, 34, 0.82);
  --border-subtle: rgba(230, 177, 92, 0.12);
  --border-hover: rgba(230, 177, 92, 0.35);
  
  --gold-primary: #e6b15c;
  --gold-light: #fcd34d;
  --gold-dark: #b8860b;
  --gold-gradient: linear-gradient(135deg, #fcd34d 0%, #e6b15c 50%, #b8860b 100%);
  --saffron-accent: #f97316;
  --saffron-gradient: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #f59e0b;
  
  --player-height: 90px;
  --sidebar-width: 250px;
  --header-height: 70px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-gold: 0 4px 20px rgba(230, 177, 92, 0.15);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cinzel', 'Playfair Display', serif;
}

/* ==========================================================================
   SACRED FESTIVAL & SEASONAL THEME ENGINES (FULL-SITE IMMERSION - 10 THEMES)
   ========================================================================== */

/* 1. Ganesh Chaturthi: Auspicious Sindoor Orange & Warm Golden Modak Aura */
html.theme-ganesh, body.theme-ganesh {
  --bg-main: #140b04 !important;
  --bg-surface: #1d1007 !important;
  --bg-surface-elevated: #28170b !important;
  --bg-card: #201309 !important;
  --bg-card-hover: #321d0e !important;
  --gold-primary: #f59e0b !important;
  --gold-light: #fbbf24 !important;
  --gold-gradient: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #d97706 100%) !important;
  --saffron-accent: #ea580c !important;
  --border-subtle: rgba(245, 158, 11, 0.28) !important;
  --border-hover: rgba(245, 158, 11, 0.55) !important;
}
html.theme-ganesh .swar-main, body.theme-ganesh .swar-main {
  background: radial-gradient(circle at 50% 0%, #3a1c09 0%, #1c0e04 50%, #0c0602 90%) !important;
}
html.theme-ganesh .brand-icon, body.theme-ganesh .brand-icon {
  background: linear-gradient(135deg, #f59e0b, #ea580c) !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.6) !important;
}

/* 2. Navratri & Durga Puja: Royal Kumkum Red & Golden Shakti Radiance */
html.theme-navratri, body.theme-navratri {
  --bg-main: #14040a !important;
  --bg-surface: #1e0710 !important;
  --bg-surface-elevated: #2b0b18 !important;
  --bg-card: #220813 !important;
  --bg-card-hover: #370d1e !important;
  --gold-primary: #fb7185 !important;
  --gold-light: #fda4af !important;
  --gold-gradient: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #9f1239 100%) !important;
  --saffron-accent: #e11d48 !important;
  --border-subtle: rgba(225, 29, 72, 0.28) !important;
  --border-hover: rgba(225, 29, 72, 0.55) !important;
}
html.theme-navratri .swar-main, body.theme-navratri .swar-main {
  background: radial-gradient(circle at 50% 0%, #400c1e 0%, #20050e 50%, #0c0205 90%) !important;
}
html.theme-navratri .brand-icon, body.theme-navratri .brand-icon {
  background: linear-gradient(135deg, #f43f5e, #be123c) !important;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.6) !important;
}

/* 3. Shri Krishna Janmashtami: Celestial Morpankh Teal & Peacock Blue Aura */
html.theme-krishna, body.theme-krishna {
  --bg-main: #030e17 !important;
  --bg-surface: #061625 !important;
  --bg-surface-elevated: #0b2238 !important;
  --bg-card: #081a2c !important;
  --bg-card-hover: #0e2b48 !important;
  --gold-primary: #38bdf8 !important;
  --gold-light: #7dd3fc !important;
  --gold-gradient: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #0369a1 100%) !important;
  --saffron-accent: #0ea5e9 !important;
  --border-subtle: rgba(56, 189, 248, 0.28) !important;
  --border-hover: rgba(56, 189, 248, 0.55) !important;
}
html.theme-krishna .swar-main, body.theme-krishna .swar-main {
  background: radial-gradient(circle at 50% 0%, #092c48 0%, #041422 50%, #02080e 90%) !important;
}
html.theme-krishna .brand-icon, body.theme-krishna .brand-icon {
  background: linear-gradient(135deg, #38bdf8, #0369a1) !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6) !important;
}

/* 4. Deepawali: Radiant Deepam Gold & Sparkling Lakshmi Jyoti */
html.theme-diwali, body.theme-diwali {
  --bg-main: #140d02 !important;
  --bg-surface: #1e1404 !important;
  --bg-surface-elevated: #2c1e07 !important;
  --bg-card: #221605 !important;
  --bg-card-hover: #362409 !important;
  --gold-primary: #fbbf24 !important;
  --gold-light: #fef08a !important;
  --gold-gradient: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #b45309 100%) !important;
  --saffron-accent: #f59e0b !important;
  --border-subtle: rgba(251, 191, 36, 0.3) !important;
  --border-hover: rgba(251, 191, 36, 0.6) !important;
}
html.theme-diwali .swar-main, body.theme-diwali .swar-main {
  background: radial-gradient(circle at 50% 0%, #442a04 0%, #221502 50%, #0c0701 90%) !important;
}
html.theme-diwali .brand-icon, body.theme-diwali .brand-icon {
  background: linear-gradient(135deg, #fef08a, #d97706) !important;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.7) !important;
}

/* 5. Maha Shivratri: Mystic Kailash Cosmic Violet & Bhasma Silver */
html.theme-shiva, body.theme-shiva {
  --bg-main: #0c0818 !important;
  --bg-surface: #140d26 !important;
  --bg-surface-elevated: #1e1438 !important;
  --bg-card: #18102d !important;
  --bg-card-hover: #261a46 !important;
  --gold-primary: #a78bfa !important;
  --gold-light: #c4b5fd !important;
  --gold-gradient: linear-gradient(135deg, #c4b5fd 0%, #7c3aed 50%, #5b21b6 100%) !important;
  --saffron-accent: #8b5cf6 !important;
  --border-subtle: rgba(167, 139, 250, 0.28) !important;
  --border-hover: rgba(167, 139, 250, 0.55) !important;
}
html.theme-shiva .swar-main, body.theme-shiva .swar-main {
  background: radial-gradient(circle at 50% 0%, #2f1b57 0%, #160c2b 50%, #080410 90%) !important;
}
html.theme-shiva .brand-icon, body.theme-shiva .brand-icon {
  background: linear-gradient(135deg, #a78bfa, #6d28d9) !important;
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.6) !important;
}

/* 6. Shri Ram Navami: Royal Ayodhya Saffron & Sun-Gold */
html.theme-ram, body.theme-ram {
  --bg-main: #160b03 !important;
  --bg-surface: #201005 !important;
  --bg-surface-elevated: #2e1708 !important;
  --bg-card: #251206 !important;
  --bg-card-hover: #391d0a !important;
  --gold-primary: #f97316 !important;
  --gold-light: #fdba74 !important;
  --gold-gradient: linear-gradient(135deg, #fed7aa 0%, #f97316 50%, #c2410c 100%) !important;
  --saffron-accent: #ea580c !important;
  --border-subtle: rgba(249, 115, 22, 0.28) !important;
  --border-hover: rgba(249, 115, 22, 0.55) !important;
}
html.theme-ram .swar-main, body.theme-ram .swar-main {
  background: radial-gradient(circle at 50% 0%, #461f06 0%, #220e03 50%, #0c0501 90%) !important;
}
html.theme-ram .brand-icon, body.theme-ram .brand-icon {
  background: linear-gradient(135deg, #fdba74, #ea580c) !important;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.6) !important;
}

/* 7. Hanuman Janmotsav: Sacred Kesari & Mahabali Amber */
html.theme-hanuman, body.theme-hanuman {
  --bg-main: #170702 !important;
  --bg-surface: #220b04 !important;
  --bg-surface-elevated: #311106 !important;
  --bg-card: #260d05 !important;
  --bg-card-hover: #3d1609 !important;
  --gold-primary: #ff5722 !important;
  --gold-light: #ff8a65 !important;
  --gold-gradient: linear-gradient(135deg, #ffab91 0%, #ff5722 50%, #d84315 100%) !important;
  --saffron-accent: #e64a19 !important;
  --border-subtle: rgba(255, 87, 34, 0.28) !important;
  --border-hover: rgba(255, 87, 34, 0.55) !important;
}
html.theme-hanuman .swar-main, body.theme-hanuman .swar-main {
  background: radial-gradient(circle at 50% 0%, #4a1505 0%, #230902 50%, #0e0301 90%) !important;
}
html.theme-hanuman .brand-icon, body.theme-hanuman .brand-icon {
  background: linear-gradient(135deg, #ff8a65, #d84315) !important;
  box-shadow: 0 0 16px rgba(255, 87, 34, 0.6) !important;
}

/* 8. Sai Baba: Serene Shirdi Sandalwood & Dhuni Gold */
html.theme-sai, body.theme-sai {
  --bg-main: #130d05 !important;
  --bg-surface: #1d1408 !important;
  --bg-surface-elevated: #2a1e0d !important;
  --bg-card: #21170a !important;
  --bg-card-hover: #352511 !important;
  --gold-primary: #d97706 !important;
  --gold-light: #fde68a !important;
  --gold-gradient: linear-gradient(135deg, #fef3c7 0%, #d97706 50%, #92400e 100%) !important;
  --saffron-accent: #b45309 !important;
  --border-subtle: rgba(217, 119, 6, 0.28) !important;
  --border-hover: rgba(217, 119, 6, 0.55) !important;
}
html.theme-sai .swar-main, body.theme-sai .swar-main {
  background: radial-gradient(circle at 50% 0%, #3d260c 0%, #1e1306 50%, #0b0702 90%) !important;
}
html.theme-sai .brand-icon, body.theme-sai .brand-icon {
  background: linear-gradient(135deg, #fde68a, #b45309) !important;
  box-shadow: 0 0 16px rgba(217, 119, 6, 0.6) !important;
}

/* 9. Radha Rani: Barsana Prema Rose & Mystic Lotus Glow */
html.theme-radha, body.theme-radha {
  --bg-main: #14050e !important;
  --bg-surface: #1e0816 !important;
  --bg-surface-elevated: #2c0d20 !important;
  --bg-card: #220a19 !important;
  --bg-card-hover: #361127 !important;
  --gold-primary: #f472b6 !important;
  --gold-light: #fbcfe8 !important;
  --gold-gradient: linear-gradient(135deg, #fbcfe8 0%, #ec4899 50%, #db2777 100%) !important;
  --saffron-accent: #f43f5e !important;
  --border-subtle: rgba(244, 114, 182, 0.28) !important;
  --border-hover: rgba(244, 114, 182, 0.55) !important;
}
html.theme-radha .swar-main, body.theme-radha .swar-main {
  background: radial-gradient(circle at 50% 0%, #440d2d 0%, #210515 50%, #0d0208 90%) !important;
}
html.theme-radha .brand-icon, body.theme-radha .brand-icon {
  background: linear-gradient(135deg, #fbcfe8, #db2777) !important;
  box-shadow: 0 0 16px rgba(244, 114, 182, 0.6) !important;
}

/* 10. Vedic Suryodaya: Sacred Morning Chants & Divine Sunrise Emerald */
html.theme-vedic, body.theme-vedic {
  --bg-main: #02140d !important;
  --bg-surface: #041f15 !important;
  --bg-surface-elevated: #072d1f !important;
  --bg-card: #052419 !important;
  --bg-card-hover: #0a3a29 !important;
  --gold-primary: #34d399 !important;
  --gold-light: #a7f3d0 !important;
  --gold-gradient: linear-gradient(135deg, #a7f3d0 0%, #10b981 50%, #047857 100%) !important;
  --saffron-accent: #059669 !important;
  --border-subtle: rgba(52, 211, 153, 0.28) !important;
  --border-hover: rgba(52, 211, 153, 0.55) !important;
}
html.theme-vedic .swar-main, body.theme-vedic .swar-main {
  background: radial-gradient(circle at 50% 0%, #073d29 0%, #031c12 50%, #010c08 90%) !important;
}
html.theme-vedic .brand-icon, body.theme-vedic .brand-icon {
  background: linear-gradient(135deg, #a7f3d0, #059669) !important;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.6) !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Accessibility: Skip to Content Link (High Contrast: White on Dark Navy/Gold) */
.skip-to-content-link {
  position: absolute;
  top: -9999px;
  left: 12px;
  background-color: #06070d;
  color: #ffd480;
  border: 2px solid #ffd480;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 99999;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.9);
}
.skip-to-content-link:focus {
  top: 12px;
  outline: 3px solid #f97316;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #242c44;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Main Layout Grid */
.swar-app {
  display: flex;
  height: calc(100vh - var(--player-height));
  height: calc(100dvh - var(--player-height));
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Sidebar */
.swar-sidebar {
  width: var(--sidebar-width);
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  flex-shrink: 0;
  z-index: 20;
  transition: transform 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 14px 4px;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(230, 177, 92, 0.45), 0 0 30px rgba(230, 177, 92, 0.15);
  will-change: transform;
  animation: divineDiyaBreathing 4s ease-in-out infinite;
  flex-shrink: 0;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
@keyframes divineDiyaBreathing {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.nav-group {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #cbd5e1;
  padding: 6px 10px 4px 10px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.nav-item:hover {
  color: var(--text-main);
  background: var(--bg-card);
  border-color: var(--border-subtle);
}

.nav-item.active {
  color: var(--gold-primary);
  background: rgba(230, 177, 92, 0.08);
  border-color: rgba(230, 177, 92, 0.25);
  font-weight: 600;
}

.nav-item svg, .nav-item .icon {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.sidebar-library-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  max-height: 180px;
}

.library-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}
.library-item:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-main);
}

.sidebar-banner {
  margin-top: auto;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(230, 177, 92, 0.1));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-banner h4 {
  font-size: 13px;
  color: var(--gold-light);
  font-weight: 600;
}

.sidebar-banner p {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Main Viewport Container with Dynamic Divine Aura Flow (Theme-Synced Ambient Waves) */
.swar-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #161c2e 0%, #06070d 70%);
  position: relative;
  transition: background 0.6s ease;
}

/* Subtle, Breathing Divine Aura Glow Wave behind content */
.swar-main::before {
  content: '';
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 140vw);
  height: 580px;
  background: radial-gradient(ellipse at center, rgba(230, 177, 92, 0.14) 0%, rgba(249, 115, 22, 0.06) 45%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  animation: divineAuraPulse 9s infinite alternate ease-in-out;
  transition: all 0.7s ease;
}

/* Second Counter-Flow Subtle Aura Ring */
.swar-main::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(850px, 120vw);
  height: 480px;
  background: radial-gradient(circle at center, rgba(230, 177, 92, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(55px);
  animation: divineAuraWave 14s infinite alternate ease-in-out;
  transition: all 0.7s ease;
}

@keyframes divineAuraPulse {
  0% {
    transform: translateX(-50%) scale(0.92);
    opacity: 0.65;
  }
  50% {
    transform: translateX(-48%) scale(1.05);
    opacity: 0.95;
  }
  100% {
    transform: translateX(-52%) scale(1.14);
    opacity: 0.75;
  }
}

@keyframes divineAuraWave {
  0% {
    transform: translateX(-50%) scale(1.0);
    opacity: 0.5;
  }
  100% {
    transform: translateX(-50%) scale(1.18);
    opacity: 0.85;
  }
}

/* ==========================================================================
   10 SACRED THEMES - DYNAMIC DIVINE AURA FLOW COLOR OVERLAYS
   ========================================================================== */

/* 1. Default Gold: Auspicious Suvarna & Surya Aura */
html.theme-default .swar-main::before, body.theme-default .swar-main::before {
  background: radial-gradient(ellipse at center, rgba(230, 177, 92, 0.16) 0%, rgba(249, 115, 22, 0.08) 45%, transparent 75%) !important;
}
html.theme-default .swar-main::after, body.theme-default .swar-main::after {
  background: radial-gradient(circle at center, rgba(253, 211, 77, 0.09) 0%, transparent 70%) !important;
}

/* 2. Shri Ram: Royal Ayodhya Saffron & Sun-Gold Radiance */
html.theme-ram .swar-main::before, body.theme-ram .swar-main::before {
  background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.22) 0%, rgba(234, 88, 12, 0.10) 45%, transparent 75%) !important;
}
html.theme-ram .swar-main::after, body.theme-ram .swar-main::after {
  background: radial-gradient(circle at center, rgba(253, 186, 116, 0.12) 0%, transparent 70%) !important;
}

/* 3. Shri Krishna: Celestial Morpankh Teal & Peacock Blue Divine Mist */
html.theme-krishna .swar-main::before, body.theme-krishna .swar-main::before {
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.20) 0%, rgba(2, 132, 199, 0.10) 45%, transparent 75%) !important;
}
html.theme-krishna .swar-main::after, body.theme-krishna .swar-main::after {
  background: radial-gradient(circle at center, rgba(125, 211, 252, 0.12) 0%, transparent 70%) !important;
}

/* 4. Mahakaal (Lord Shiva): Mystic Kailash Violet & Neelkanth Cosmic Glow */
html.theme-shiva .swar-main::before, body.theme-shiva .swar-main::before {
  background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.22) 0%, rgba(124, 58, 237, 0.10) 45%, transparent 75%) !important;
}
html.theme-shiva .swar-main::after, body.theme-shiva .swar-main::after {
  background: radial-gradient(circle at center, rgba(196, 181, 253, 0.12) 0%, transparent 70%) !important;
}

/* 5. Hanuman Ji: Sacred Kesari & Mahabali Amber Roar */
html.theme-hanuman .swar-main::before, body.theme-hanuman .swar-main::before {
  background: radial-gradient(ellipse at center, rgba(255, 87, 34, 0.24) 0%, rgba(216, 67, 21, 0.12) 45%, transparent 75%) !important;
}
html.theme-hanuman .swar-main::after, body.theme-hanuman .swar-main::after {
  background: radial-gradient(circle at center, rgba(255, 138, 101, 0.14) 0%, transparent 70%) !important;
}

/* 6. Mata Rani (Navratri): Royal Kumkum Red & Golden Shakti Radiance */
html.theme-navratri .swar-main::before, body.theme-navratri .swar-main::before {
  background: radial-gradient(ellipse at center, rgba(244, 63, 94, 0.22) 0%, rgba(225, 29, 72, 0.10) 45%, transparent 75%) !important;
}
html.theme-navratri .swar-main::after, body.theme-navratri .swar-main::after {
  background: radial-gradient(circle at center, rgba(251, 113, 133, 0.12) 0%, transparent 70%) !important;
}

/* 7. Ganesh Ji: Auspicious Sindoor Orange & Warm Modak Amber */
html.theme-ganesh .swar-main::before, body.theme-ganesh .swar-main::before {
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.22) 0%, rgba(234, 88, 12, 0.10) 45%, transparent 75%) !important;
}
html.theme-ganesh .swar-main::after, body.theme-ganesh .swar-main::after {
  background: radial-gradient(circle at center, rgba(251, 191, 36, 0.12) 0%, transparent 70%) !important;
}

/* 8. Maa Lakshmi (Diwali): Radiant Deepam Gold & Sparkling Jyoti Aura */
html.theme-diwali .swar-main::before, body.theme-diwali .swar-main::before {
  background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.24) 0%, rgba(245, 158, 11, 0.11) 45%, transparent 75%) !important;
}
html.theme-diwali .swar-main::after, body.theme-diwali .swar-main::after {
  background: radial-gradient(circle at center, rgba(254, 240, 138, 0.14) 0%, transparent 70%) !important;
}

/* 9. Radha Rani: Barsana Prema Rose & Mystic Lotus Glow */
html.theme-radha .swar-main::before, body.theme-radha .swar-main::before {
  background: radial-gradient(ellipse at center, rgba(244, 114, 182, 0.22) 0%, rgba(236, 72, 153, 0.10) 45%, transparent 75%) !important;
}
html.theme-radha .swar-main::after, body.theme-radha .swar-main::after {
  background: radial-gradient(circle at center, rgba(251, 207, 232, 0.12) 0%, transparent 70%) !important;
}

/* 10. Vedic Sunrise: Sacred Morning Chants & Divine Sunrise Emerald Aura */
html.theme-vedic .swar-main::before, body.theme-vedic .swar-main::before {
  background: radial-gradient(ellipse at center, rgba(52, 211, 153, 0.22) 0%, rgba(16, 185, 129, 0.10) 45%, transparent 75%) !important;
}
html.theme-vedic .swar-main::after, body.theme-vedic .swar-main::after {
  background: radial-gradient(circle at center, rgba(167, 243, 208, 0.12) 0%, transparent 70%) !important;
}

/* Header / Topbar */
.swar-header {
  box-sizing: border-box;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(6, 7, 13, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 10;
  position: sticky;
  top: 0;
}

/* Desktop Main Stack (Column: Top Row = Search + Links; Bottom Row = Quotes Ticker) */
.header-main-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  max-width: 820px;
}

@media (min-width: 769px) {
  .swar-header {
    height: 64px;
    min-height: 64px;
    max-height: 64px;
    contain: layout;
  }
  .header-main-stack {
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    overflow: hidden;
    contain: layout size;
  }
  .header-top-row {
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    box-sizing: border-box;
    contain: layout size;
  }
}

.header-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.mobile-search-sub-bar {
  display: none;
}

/* ==========================================================================
   SACRED DIVINE SUVICHAR (QUOTES TICKER) - HIGHLIGHTED & ANIMATED
   ========================================================================== */
/* Desktop Header Ticker */
.header-quote-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(230, 177, 92, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%);
  border: 1px solid rgba(230, 177, 92, 0.35);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  box-sizing: border-box;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  user-select: none;
  transition: all 0.25s ease;
  contain: layout size;
}

.header-quote-ticker:hover {
  background: linear-gradient(135deg, rgba(230, 177, 92, 0.2) 0%, rgba(245, 158, 11, 0.12) 100%);
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px rgba(230, 177, 92, 0.35);
}

/* Mobile Highlighted Suvichar Ticker (Right Above Web Stories & Below Hero) */
.mobile-quote-ticker {
  display: none;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px 0;
  padding: 11px 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(220, 38, 38, 0.12) 40%, rgba(230, 177, 92, 0.20) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.7);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), 0 0 22px rgba(245, 158, 11, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  overflow: hidden;
  user-select: none;
  position: relative;
  will-change: opacity;
  animation: tickerBorderPulse 3s infinite alternate ease-in-out;
}

@keyframes tickerBorderPulse {
  0% { opacity: 0.9; }
  100% { opacity: 1; }
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #fff;
  padding: 3px 8px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.5);
  flex-shrink: 0;
}

.ticker-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.mobile-quote-ticker::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-25deg);
  animation: tickerShimmer 4s infinite ease-in-out;
}

@keyframes tickerShimmer {
  0% { left: -100%; }
  35% { left: 160%; }
  100% { left: 160%; }
}

@media (max-width: 1024px) {
  .header-quote-ticker {
    display: none !important;
  }
  .mobile-quote-ticker {
    display: flex !important;
  }
}

.ticker-icon {
  font-size: 17px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: diyaFlicker 2.5s infinite alternate ease-in-out;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.8));
}

@keyframes diyaFlicker {
  0% { transform: scale(1) rotate(-3deg); filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6)); }
  50% { transform: scale(1.15) rotate(4deg); filter: drop-shadow(0 0 14px rgba(251, 191, 36, 0.95)); }
  100% { transform: scale(1) rotate(-1deg); filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.7)); }
}

.ticker-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.ticker-verse {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff9e6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(245, 158, 11, 0.35);
  line-height: 1.4;
  letter-spacing: 0.2px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ticker-attribution {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-light);
  opacity: 0.9;
  white-space: nowrap;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ticker-verse.fading-out,
.ticker-attribution.fading-out {
  opacity: 0;
  transform: translateY(-4px);
}

.ticker-verse.fading-in,
.ticker-attribution.fading-in {
  opacity: 1;
  transform: translateY(0);
}

.header-right-action {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* User Cache Flush & Sync New Bhajans Button */
.topbar-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(230, 177, 92, 0.2) 0%, rgba(249, 115, 22, 0.25) 100%);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(230, 177, 92, 0.25);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.topbar-refresh-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  animation: shimmerSweep 3.5s infinite;
}

@keyframes shimmerSweep {
  0% { left: -60%; }
  30% { left: 140%; }
  100% { left: 140%; }
}

.topbar-refresh-btn:hover {
  background: linear-gradient(135deg, rgba(230, 177, 92, 0.4) 0%, rgba(249, 115, 22, 0.45) 100%);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 20px rgba(230, 177, 92, 0.5);
  border-color: #ffd480;
}

/* 1-Click Multi-Theme Cycle Button */
.theme-cycler-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  user-select: none;
}
.theme-cycler-btn:hover {
  background: rgba(230, 177, 92, 0.15);
  border-color: var(--gold-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(230, 177, 92, 0.25);
}
.theme-cycler-btn:active {
  transform: scale(0.96);
}
.theme-cycler-btn .theme-icon {
  font-size: 14px;
}
.theme-cycler-btn .theme-name {
  color: var(--gold-light);
  font-weight: 700;
}
.theme-cycler-btn .theme-num-tag {
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-secondary);
}

.refresh-sparkle {
  font-size: 14px;
  animation: sparkleRotate 2.5s infinite ease-in-out;
}

@keyframes sparkleRotate {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.25) rotate(15deg); }
}

.refresh-badge-live {
  font-size: 9px;
  font-weight: 800;
  background: #10b981;
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

/* YouTube Live Link Button with Pulsing Dot */
.topbar-live-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.08) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-full);
  color: #ff6b6b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.topbar-live-link:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, rgba(220, 38, 38, 0.2) 100%);
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.35);
  transform: translateY(-1px);
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  display: inline-block;
  will-change: transform, opacity;
  animation: livePulseGlow 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes livePulseGlow {
  0% { transform: scale(0.85); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.7; }
}

.live-yt-icon {
  font-size: 10px;
  line-height: 1;
  color: #ef4444;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  max-width: 620px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 22px;
  cursor: pointer;
}

.search-box-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  flex: 1 1 360px;
}

.search-input {
  width: 100%;
  height: 44px;
  background: #14192a !important;
  border: 1px solid rgba(230, 177, 92, 0.28) !important;
  border-radius: var(--radius-full);
  padding: 0 42px 0 46px;
  color: #ffffff !important;
  caret-color: var(--gold-light) !important;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.52) !important;
  font-size: 13.5px;
  font-weight: 400;
}

.search-input:focus {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 16px rgba(230, 177, 92, 0.35), inset 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  background: #192036 !important;
  color: #ffffff !important;
}

.search-icon-fixed {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-light);
  pointer-events: none;
  font-size: 18px;
  line-height: 1;
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
  font-size: 16px;
  padding: 2px 6px;
  border-radius: 50%;
  line-height: 1;
  z-index: 2;
}

.search-clear-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Search Dropdown / Live Suggestions - Wide, Spacious & Clean */
.search-suggestions-dropdown {
  position: absolute;
  top: 48px;
  left: 0;
  width: 100%;
  min-width: 380px;
  max-width: 520px;
  background: #0d1222;
  border: 1px solid rgba(230, 177, 92, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 15px rgba(230, 177, 92, 0.1);
  max-height: 420px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.15s ease;
}

.suggestion-item:hover {
  background: rgba(230, 177, 92, 0.12);
}

.suggestion-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.suggestion-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  gap: 2px;
}

.suggestion-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.suggestion-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.suggestion-play-icon {
  color: var(--gold-primary);
  font-size: 13px;
  flex-shrink: 0;
  opacity: 0.8;
  padding-left: 6px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

/* Hindi Divine Quotes Ticker Widget (Desktop / Tablet Topbar) */
.header-quote-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: linear-gradient(135deg, rgba(230, 177, 92, 0.08) 0%, rgba(249, 115, 22, 0.05) 100%);
  border: 1px solid rgba(230, 177, 92, 0.22);
  border-radius: var(--radius-full);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 0 1 auto;
  min-height: 34px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  user-select: none;
  overflow: hidden;
}

.header-quote-ticker:hover {
  border-color: var(--gold-primary);
  background: linear-gradient(135deg, rgba(230, 177, 92, 0.15) 0%, rgba(249, 115, 22, 0.1) 100%);
  box-shadow: 0 0 14px rgba(230, 177, 92, 0.25);
}

.ticker-icon {
  font-size: 15px;
  color: var(--gold-primary);
  will-change: transform, opacity;
  animation: diyaPulse 3s ease-in-out infinite alternate;
  flex-shrink: 0;
}

@keyframes diyaPulse {
  0% { transform: scale(0.95); opacity: 0.85; }
  100% { transform: scale(1.15); opacity: 1; }
}

.ticker-content {
  display: flex;
  align-items: baseline;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  min-width: 0;
}

.ticker-verse {
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-attribution {
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-verse.fading-out,
.ticker-attribution.fading-out {
  opacity: 0;
  transform: translateY(-4px);
}

.ticker-verse.fading-in,
.ticker-attribution.fading-in {
  opacity: 1;
  transform: translateY(0);
}

/* Dedicated Mobile Divine Quotes Strip (Appears below Hero Carousel & above Web Stories on Mobile) */
.mobile-quote-ticker {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin: -10px 0 20px 0;
  background: linear-gradient(90deg, rgba(230, 177, 92, 0.12) 0%, rgba(16, 21, 35, 0.95) 50%, rgba(249, 115, 22, 0.12) 100%);
  border: 1px solid rgba(230, 177, 92, 0.22);
  border-radius: var(--radius-full);
  user-select: none;
  overflow: hidden;
  z-index: 5;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .mobile-quote-ticker {
    display: flex;
  }
}

.mobile-quote-ticker .ticker-content {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.mobile-quote-ticker .ticker-verse {
  font-size: 12px;
  color: #f1f5f9;
}

.mobile-quote-ticker .ticker-attribution {
  font-size: 11px;
}

.ticker-verse.fading-in,
.ticker-attribution.fading-in {
  opacity: 1;
  transform: translateY(0);
}

.auth-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.auth-btn-primary {
  background: var(--gold-gradient);
  border: none;
  color: #06070d;
}

.auth-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(230, 177, 92, 0.35);
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px 4px 4px;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #06070d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

/* Scrollable View Content Area */
.swar-content-area {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px 60px 32px;
  position: relative;
  z-index: 1;
}

/* View Sections */
.view-container {
  display: none;
}
.view-container.active {
  display: block;
}

/* Hero Carousel (CLS & Performance Optimized) */
.hero-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  min-height: 350px;
  contain: layout paint;
  margin-bottom: 36px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(230, 177, 92, 0.12);
  border: 1px solid rgba(230, 177, 92, 0.25);
  background: #0d111d;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.hero-carousel:hover {
  border-color: rgba(230, 177, 92, 0.45);
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(230, 177, 92, 0.22);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

/* 4 Sacred Divine Dynamic Effects for Hero Banners (Composited for Instant LCP) */
/* Effect 1: Divine Ken Burns Majestic Zoom */
.hero-slide.effect-kenburns.active {
  animation: divineKenBurns 8s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}
@keyframes divineKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.05) translate(-1%, -1%); }
}

/* Effect 2: Heavenly Light Sweep & Shimmer */
.hero-slide.effect-shimmer.active {
  animation: heavenlyShimmer 7s ease-in-out infinite alternate;
}
@keyframes heavenlyShimmer {
  0% { transform: scale(1.01); opacity: 0.96; }
  50% { opacity: 1; }
  100% { transform: scale(1.04) translate(1%, 0%); opacity: 0.98; }
}

/* Effect 3: Sacred Aura Glow & Pulse */
.hero-slide.effect-glow-pulse.active {
  animation: sacredGlowPulse 6s ease-in-out infinite alternate;
}
@keyframes sacredGlowPulse {
  0% { transform: scale(1.01); opacity: 0.96; }
  100% { transform: scale(1.04); opacity: 1; }
}

/* Effect 4: Mystic Float & Lateral Pan */
.hero-slide.effect-drift.active {
  animation: mysticFloatDrift 9s ease-in-out infinite alternate;
}
@keyframes mysticFloatDrift {
  0% { transform: scale(1.02) translate(-1%, 0.5%); }
  100% { transform: scale(1.04) translate(1%, -0.5%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,7,13,0.95) 0%, rgba(6,7,13,0.78) 42%, rgba(6,7,13,0.25) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 48px;
  max-width: 650px;
  z-index: 2;
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.hero-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-hero-play {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: #06070d;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-link {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-hero-link:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%) !important;
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.6) !important;
  transform: translateY(-2px);
}

.hero-slide-clickable {
  cursor: pointer;
}

.btn-hero-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 177, 92, 0.4);
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.18);
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  right: 32px;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot.active {
  background: var(--gold-light);
  width: 24px;
  border-radius: 5px;
}

/* Content Shelf / Sections */
.content-shelf {
  margin-bottom: 40px;
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

.shelf-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.shelf-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shelf-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.shelf-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

.shelf-see-all {
  font-size: 13px;
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}
.shelf-see-all:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* Horizontal Scroll Container */
.shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.shelf-row-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-behavior: smooth;
  min-height: 245px;
}

#deitiesScrollRow.shelf-row-scroll {
  min-height: 48px;
}

/* Music Card */
.music-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  cursor: pointer;
  min-width: 175px;
  max-width: 210px;
  flex-shrink: 0;
}

.music-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

.card-art-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
  background: #1e2438;
}

.card-artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.music-card:hover .card-artwork {
  transform: scale(1.05);
}

.card-play-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #06070d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(230, 177, 92, 0.5);
  border: none;
  cursor: pointer;
}

.music-card:hover .card-play-btn,
.music-card.is-playing .card-play-btn {
  opacity: 1;
  transform: translateY(0);
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-artist {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(230, 177, 92, 0.12);
  color: var(--gold-light);
  margin-top: 4px;
  font-weight: 500;
}

/* Deity Circle Pill */
.deity-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.deity-chip:hover, .deity-chip.active {
  background: var(--bg-card-hover);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.deity-chip .icon {
  font-size: 20px;
}

.deity-chip .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

/* Quick Category Pill */
.category-pill-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, #1a223a 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.category-pill-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.cat-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(230, 177, 92, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* Song Table List View */
.songs-table-container {
  width: 100%;
  margin-top: 16px;
}

.song-table-header {
  display: grid;
  grid-template-columns: 48px 1fr 180px 140px 60px 48px;
  padding: 10px 16px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
}

.song-row {
  display: grid;
  grid-template-columns: 48px 1fr 180px 140px 60px 48px;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
  cursor: pointer;
}

@media (max-width: 480px) {
  .songs-admin-table .table-row,
  .songs-table-container .song-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.song-row:hover {
  background: var(--bg-card-hover);
}

.song-row.is-active {
  background: rgba(230, 177, 92, 0.1);
}
.song-row.is-active .song-row-title {
  color: var(--gold-light);
}

.song-row-num {
  font-size: 13px;
  color: var(--text-muted);
}

.song-row-main {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.song-row-thumb {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.song-row-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.song-row-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-row-artist {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-row-deity {
  font-size: 13px;
  color: var(--text-secondary);
}

.song-row-category {
  font-size: 12px;
  color: var(--text-muted);
}

.song-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-btn-icon {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.15s ease;
}
.action-btn-icon:hover {
  color: var(--gold-primary);
}

/* ========================================================
   BOTTOM PERSISTENT AUDIO PLAYER
   ======================================================== */
.swar-bottom-player {
  height: var(--player-height);
  background: #0d111d;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: relative;
  z-index: 50;
  box-shadow: 0 -4px 25px rgba(0,0,0,0.6);
  overflow: visible;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Beat Synced Ambient Reactive Light Glow */
.player-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
  transition: opacity 0.5s ease;
  overflow: hidden;
}

.swar-bottom-player.is-playing .player-ambient-glow {
  opacity: 0.65;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

/* Light warm gold/saffron divine ambient orbs */
.glow-orb-1 {
  width: 260px;
  height: 120px;
  left: 2%;
  top: -20px;
  background: radial-gradient(circle, rgba(230, 177, 92, 0.45) 0%, rgba(249, 115, 22, 0.2) 60%, transparent 80%);
  animation: pulseBeat1 1.8s ease-in-out infinite alternate;
}

.glow-orb-2 {
  width: 320px;
  height: 130px;
  left: 42%;
  top: -30px;
  background: radial-gradient(circle, rgba(255, 212, 128, 0.4) 0%, rgba(230, 177, 92, 0.25) 50%, transparent 75%);
  animation: pulseBeat2 1.4s ease-in-out infinite alternate;
}

.glow-orb-3 {
  width: 280px;
  height: 120px;
  right: 2%;
  top: -20px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.35) 0%, rgba(230, 177, 92, 0.2) 60%, transparent 80%);
  animation: pulseBeat3 2.1s ease-in-out infinite alternate;
}

.glow-wave-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(230, 177, 92, 0.6) 20%, 
    rgba(255, 212, 128, 0.9) 50%, 
    rgba(249, 115, 22, 0.6) 80%, 
    transparent 100%
  );
  filter: drop-shadow(0 0 8px rgba(230, 177, 92, 0.6));
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: waveSweep 3.5s linear infinite;
}

.swar-bottom-player.is-playing .glow-wave-bar {
  opacity: 0.8;
}

/* Gentle, smooth rhythmic breathing animations */
@keyframes pulseBeat1 {
  0% { transform: scale(0.88) translateX(-10px); opacity: 0.4; }
  50% { transform: scale(1.05) translateX(5px); opacity: 0.8; }
  100% { transform: scale(0.92) translateX(-5px); opacity: 0.5; }
}

@keyframes pulseBeat2 {
  0% { transform: scale(0.85); opacity: 0.45; }
  50% { transform: scale(1.12); opacity: 0.95; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

@keyframes pulseBeat3 {
  0% { transform: scale(0.9) translateX(10px); opacity: 0.35; }
  50% { transform: scale(1.08) translateX(-8px); opacity: 0.75; }
  100% { transform: scale(0.95) translateX(4px); opacity: 0.45; }
}

@keyframes waveSweep {
  0% { transform: translateX(-40%); }
  100% { transform: translateX(40%); }
}

/* Ensure controls stay sharp and on top of ambient glow */
.player-left, .player-center, .player-right {
  position: relative;
  z-index: 2;
}

.swar-bottom-player.is-playing {
  border-top-color: rgba(230, 177, 92, 0.35);
  box-shadow: 0 -4px 30px rgba(230, 177, 92, 0.12), 0 -4px 25px rgba(0,0,0,0.8);
}

/* Top Progress Bar on bottom player */
.player-progress-bar-top {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: height 0.15s ease;
}

.player-progress-bar-top:hover {
  height: 6px;
  top: -5px;
}

.player-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  position: relative;
}

.player-progress-fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px var(--gold-light);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.player-progress-bar-top:hover .player-progress-fill::after {
  opacity: 1;
}

/* Player Left: Current Track Info */
.player-left {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 280px;
}

.player-artwork {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  cursor: pointer;
}

.player-track-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.player-track-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.player-track-artist {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-fav-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  margin-left: 6px;
  transition: color 0.15s ease;
}

.player-fav-btn.active {
  color: #ef4444;
}

/* Player Center: Audio Controls & Progress Time */
.player-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 540px;
  width: 100%;
}

.player-controls-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ctrl-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
}

.ctrl-btn:hover {
  color: var(--text-main);
  transform: scale(1.08);
}

.ctrl-btn.active {
  color: #ffd480 !important;
  text-shadow: 0 0 10px rgba(230, 177, 92, 0.7);
}

/* Clear Active Glow Pill for Shuffle & Repeat Buttons */
.ctrl-btn.btn-active-state {
  background: rgba(230, 177, 92, 0.16) !important;
  color: #ffd480 !important;
  box-shadow: 0 0 12px rgba(230, 177, 92, 0.4);
}

/* Subtle dot badge for active shuffle / repeat */
.ctrl-btn .state-badge {
  position: absolute;
  bottom: 0px;
  right: -2px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  background: var(--gold-gradient);
  color: #06070d;
  padding: 1px 3px;
  border-radius: 4px;
  box-shadow: 0 0 4px rgba(0,0,0,0.8);
  pointer-events: none;
}

.ctrl-btn .state-dot {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffd480;
  box-shadow: 0 0 6px #ffd480;
  pointer-events: none;
}

/* 3D Dolby Spatial Sound Toggle Button */
.btn-dolby-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 4px 10px !important;
  height: 32px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(230, 177, 92, 0.35) !important;
  color: #e2e8f0 !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  user-select: none !important;
  text-decoration: none !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
}

.btn-dolby-toggle:hover {
  background: rgba(230, 177, 92, 0.12) !important;
  border-color: rgba(230, 177, 92, 0.6) !important;
  transform: translateY(-1px) scale(1.04) !important;
}

.btn-dolby-toggle .dolby-badge {
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px !important;
  padding: 1px 5px !important;
  border-radius: 4px !important;
  background: rgba(230, 177, 92, 0.25) !important;
  color: #ffd480 !important;
  border: 1px solid rgba(230, 177, 92, 0.4) !important;
  line-height: 1.2 !important;
  transition: all 0.3s ease !important;
}

.btn-dolby-toggle .dolby-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  color: #cbd5e1 !important;
  line-height: 1 !important;
  transition: all 0.3s ease !important;
}

/* Active Glow state for 3D Dolby mode */
.btn-dolby-toggle.active {
  background: linear-gradient(135deg, rgba(230, 177, 92, 0.28) 0%, rgba(249, 115, 22, 0.22) 100%) !important;
  border-color: #ffd480 !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(230, 177, 92, 0.6), inset 0 0 8px rgba(255, 212, 128, 0.25) !important;
  animation: dolbyPulse 2.4s ease-in-out infinite alternate !important;
}

.btn-dolby-toggle.active .dolby-badge {
  background: var(--gold-gradient) !important;
  color: #06070d !important;
  font-weight: 900 !important;
  border-color: transparent !important;
  box-shadow: 0 0 8px rgba(255, 212, 128, 0.8) !important;
}

.btn-dolby-toggle.active .dolby-label {
  color: #ffd480 !important;
  text-shadow: 0 0 8px rgba(255, 212, 128, 0.7) !important;
}

@keyframes dolbyPulse {
  0% {
    box-shadow: 0 0 10px rgba(230, 177, 92, 0.4), inset 0 0 6px rgba(255, 212, 128, 0.2);
  }
  100% {
    box-shadow: 0 0 18px rgba(230, 177, 92, 0.85), 0 0 28px rgba(249, 115, 22, 0.35), inset 0 0 10px rgba(255, 212, 128, 0.4);
  }
}

/* Upward Arrow Button in Bottom Player (Shows on Mobile) */
.mobile-quick-arrow-btn {
  display: none !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(230, 177, 92, 0.12) !important;
  border: 1px solid rgba(230, 177, 92, 0.35) !important;
  color: var(--gold-light) !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  margin-left: 2px !important;
}

.mobile-quick-arrow-btn:hover,
.mobile-quick-arrow-btn.active {
  background: var(--gold-gradient) !important;
  color: #06070d !important;
  border-color: #ffd480 !important;
  box-shadow: 0 0 10px rgba(230, 177, 92, 0.5) !important;
  transform: translateY(-2px) !important;
}

.mobile-quick-arrow-btn .quick-arrow-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-quick-arrow-btn.active .quick-arrow-icon {
  transform: rotate(180deg);
}

/* ========================================================
   MOBILE AUDIO OPTIONS POPUP SHEET (SLIDE-UP WINDOW)
   ======================================================== */
.mobile-player-sheet-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 105;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-player-sheet-backdrop.open {
  display: block;
  opacity: 1;
}

.mobile-player-quick-sheet {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(128px + env(safe-area-inset-bottom, 0px));
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(180deg, #161b2d 0%, #0d111d 100%);
  border: 1px solid rgba(230, 177, 92, 0.35);
  border-radius: 20px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(230, 177, 92, 0.15);
  z-index: 106;
  padding: 16px 16px 18px 16px;
  transform: translateY(30px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
}

.mobile-player-quick-sheet.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.sheet-drag-handle {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: -6px auto 10px auto;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sheet-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}

.sheet-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.sheet-content-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 3D Dolby Feature Card in Sheet */
.sheet-dolby-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 177, 92, 0.25);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sheet-dolby-card:active {
  transform: scale(0.98);
}

.sheet-dolby-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sheet-dolby-icon {
  font-size: 24px;
}

.sheet-dolby-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sheet-dolby-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.sheet-dolby-desc {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
}

/* Switch Pill inside sheet */
.sheet-switch-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.sheet-switch-pill .switch-status-text {
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.sheet-switch-pill .switch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
  transition: all 0.3s ease;
}

.sheet-switch-pill.active {
  background: rgba(230, 177, 92, 0.25);
  border-color: #ffd480;
  box-shadow: 0 0 10px rgba(230, 177, 92, 0.4);
}

.sheet-switch-pill.active .switch-status-text {
  color: #ffd480;
}

.sheet-switch-pill.active .switch-dot {
  background: #ffd480;
  box-shadow: 0 0 8px #ffd480;
}

/* Quick Action Chips (Shuffle & Repeat) in Sheet */
.sheet-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.sheet-action-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sheet-action-chip .action-chip-icon {
  font-size: 17px;
}

.sheet-action-chip .action-chip-label {
  font-size: 11px;
}

.sheet-action-chip .action-chip-state {
  font-size: 9px;
  font-weight: 800;
  color: #64748b;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.3);
}

.sheet-action-chip.active {
  background: rgba(230, 177, 92, 0.16);
  border-color: rgba(230, 177, 92, 0.4);
  color: #ffd480;
}

.sheet-action-chip.active .action-chip-state {
  color: #ffd480;
  background: rgba(230, 177, 92, 0.25);
}

.btn-main-play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #06070d;
  font-size: 18px;
  box-shadow: 0 2px 12px rgba(230, 177, 92, 0.4);
}
.btn-main-play:hover {
  transform: scale(1.06);
  color: #000000;
}

.player-timing-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.time-label {
  font-size: 11px;
  color: var(--text-muted);
  width: 38px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.scrubber-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
  outline: none;
  cursor: pointer;
}

.scrubber-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-light);
  cursor: pointer;
  box-shadow: 0 0 6px var(--gold-primary);
}
.scrubber-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: none;
  cursor: pointer;
}
.scrubber-slider::-moz-range-track {
  background: transparent;
  border: none;
}

/* Player Right: Extra Controls, Volume, Queue, Lyrics, Fullscreen */
.player-right {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 280px;
  justify-content: flex-end;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-slider {
  width: 80px;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-main);
  cursor: pointer;
}
.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: none;
  cursor: pointer;
}
.volume-slider::-moz-range-track {
  background: transparent;
  border: none;
}

/* Slide-out Queue Panel */
.queue-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: var(--player-height);
  width: min(340px, 100vw);
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.queue-panel.open {
  transform: translateX(0);
}

.queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.queue-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
}

.queue-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
}

.queue-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  cursor: pointer;
}

.queue-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-subtle);
}

.queue-item.current {
  background: rgba(230, 177, 92, 0.12);
  border-color: rgba(230, 177, 92, 0.3);
}

.queue-item-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}

.queue-item-meta {
  flex: 1;
  overflow: hidden;
}

.queue-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-item-artist {
  font-size: 11px;
  color: var(--text-muted);
}

/* Fullscreen Now Playing & Lyrics Modal */
.fullscreen-modal {
  position: fixed;
  inset: 0;
  background: #06070d;
  z-index: 150;
  display: none;
  flex-direction: column;
  padding: 40px;
  overflow: hidden;
}

.fullscreen-modal.open {
  display: flex;
}

@media (max-width: 768px) {
  .fullscreen-modal .fullscreen-content,
  .fullscreen-modal {
    padding: 16px !important;
  }
}

.fullscreen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.fullscreen-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.fullscreen-art-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fullscreen-art {
  width: 380px;
  height: 380px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 30px rgba(230, 177, 92, 0.2);
  margin-bottom: 24px;
}

.fullscreen-lyrics-col {
  display: flex;
  flex-direction: column;
  height: 480px;
}

.lyrics-container {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 20px;
  white-space: pre-line;
  font-size: 20px;
  line-height: 2;
  color: #94a3b8;
  font-family: 'Outfit', sans-serif;
}

.lyrics-container p {
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.lyrics-container p.highlight {
  color: var(--gold-light);
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(230, 177, 92, 0.4);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 60px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  z-index: 100;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 10px;
  cursor: pointer;
}

.mobile-nav-item.active {
  color: var(--gold-primary);
}

/* Modal Auth / Login / Register */
.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal-backdrop.open {
  display: flex;
}

.auth-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}

.auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-header h3 {
  font-size: 22px;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input {
  height: 42px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  color: var(--text-main);
  outline: none;
}

.form-group input:focus {
  border-color: var(--gold-primary);
}

.auth-submit-btn {
  height: 44px;
  background: var(--gold-gradient);
  color: #06070d;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 8px;
  font-size: 14px;
}

/* ========================================================
   RESPONSIVE DESIGN (360px - 1024px)
   ======================================================== */
@media (max-width: 1024px) {
  .swar-sidebar {
    position: fixed;
    top: 0;
    bottom: var(--player-height);
    left: 0;
    transform: translateX(-100%);
    box-shadow: 10px 0 25px rgba(0,0,0,0.5);
  }
  .swar-sidebar.open {
    transform: translateX(0);
  }
  .mobile-menu-btn {
    display: block;
  }
  .swar-content-area {
    padding: 20px;
  }
  .song-table-header, .song-row {
    grid-template-columns: 40px 1fr 100px 40px;
  }
  .song-row-category, .song-table-header div:nth-child(4) {
    display: none;
  }
  .header-quote-ticker {
    display: none !important;
  }
  .mobile-quote-ticker {
    display: flex !important;
  }
  .header-left {
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }
  .search-box-wrapper {
    max-width: 420px !important;
  }
}

@media (max-width: 768px) {
  :root {
    --player-height: 68px;
  }
  .swar-bottom-player {
    position: fixed !important;
    bottom: 56px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 68px !important;
    padding: 0 12px !important;
    z-index: 99 !important;
    border-top: 1px solid rgba(230, 177, 92, 0.25) !important;
    background-color: rgba(10, 14, 24, 0.97) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.75) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
  }
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    z-index: 98 !important;
    background: #080b13 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .swar-app {
    height: 100vh !important;
  }
  .swar-content-area {
    padding-bottom: 145px !important; /* Never gets blocked by bottom player */
  }
  
  /* Player Mobile Layout: Left Track Info + Right Controls */
  .player-right {
    display: none !important;
  }
  .player-left {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 10px !important;
    display: flex !important;
    align-items: center !important;
  }
  .player-artwork {
    width: 46px !important;
    height: 46px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
    flex-shrink: 0 !important;
  }
  .player-track-details {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  .player-track-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
  }
  .player-track-artist {
    font-size: 11px !important;
    color: var(--gold-light) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
    opacity: 0.9 !important;
  }
  .player-fav-btn {
    font-size: 16px !important;
    margin-left: 2px !important;
    padding: 4px !important;
    flex-shrink: 0 !important;
  }
  .player-center {
    width: auto !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
  }
  .player-controls-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .player-controls-row .ctrl-btn {
    font-size: 15px !important;
    padding: 6px !important;
    width: 32px !important;
    height: 32px !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    position: relative !important;
  }
  .player-controls-row .ctrl-btn:hover {
    color: #fff !important;
  }
  .player-controls-row .ctrl-btn.active {
    color: #ffd480 !important;
  }
  .player-controls-row .ctrl-btn.btn-active-state {
    background: rgba(230, 177, 92, 0.2) !important;
    color: #ffd480 !important;
    box-shadow: 0 0 10px rgba(230, 177, 92, 0.45) !important;
  }
  .btn-main-play {
    width: 40px !important;
    height: 40px !important;
    font-size: 17px !important;
    background: var(--gold-gradient) !important;
    color: #06070d !important;
    box-shadow: 0 0 14px rgba(230, 177, 92, 0.45) !important;
    flex-shrink: 0 !important;
  }
  /* Hide desktop shuffle and repeat on mobile (moved into popup upward sheet) */
  .desktop-only-ctrl {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Show upward expand arrow on mobile */
  .mobile-quick-arrow-btn {
    display: inline-flex !important;
  }

  .player-timing-row {
    display: none !important;
  }
  
  .fullscreen-body {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .fullscreen-art {
    width: 220px;
    height: 220px;
  }
  .fullscreen-lyrics-col {
    height: 300px;
  }
}

/* Mobile Sidebar Overlay & Drawer Fixes */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 1000;
}
.sidebar-overlay.active {
  display: block;
}

@media (max-width: 1024px) {
  .swar-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: #0d111d;
    z-index: 1001;
    transform: translateX(-100%);
    box-shadow: 5px 0 25px rgba(0,0,0,0.8);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }
  .swar-sidebar.open {
    transform: translateX(0);
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--gold-light);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
  }
}

@media (max-width: 768px) {
  .swar-header {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 10px 12px 14px 12px;
    gap: 10px;
    justify-content: space-between;
    flex-direction: row;
    align-items: flex-start;
    contain: normal !important;
  }
  .header-main-stack {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    flex: 1;
    max-width: 100%;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    contain: normal !important;
  }
  .header-top-row {
    flex: 1;
    gap: 8px;
    width: 100%;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    contain: normal !important;
  }
  .header-main-stack .header-quote-ticker,
  .header-top-row .topbar-nav {
    display: none !important;
  }
  .header-left {
    gap: 10px;
  }
  .search-box-wrapper {
    max-width: 100%;
    flex: 1;
  }
  .search-suggestions-dropdown {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    top: 44px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.9);
  }
  .search-input {
    height: 42px;
    font-size: 14px;
    padding-left: 38px;
    padding-right: 38px;
    color: #ffffff !important;
    caret-color: var(--gold-light) !important;
  }
  .search-icon-fixed {
    left: 12px;
    font-size: 16px;
  }
  .search-clear-btn {
    right: 12px;
    font-size: 15px;
  }
  .header-right-action {
    display: none !important; /* Mobile actions are neatly organized in sub-bar! */
  }

  /* Mobile Dedicated Sub-Search Bar (Right Under Search Input) */
  .mobile-search-sub-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    padding: 0;
    margin-top: 6px;
    margin-bottom: 2px;
  }
  .mobile-sub-refresh-btn {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    padding: 6px 10px !important;
    font-size: 11.5px !important;
    height: 34px;
    flex-shrink: 0;
    gap: 5px;
    border-radius: var(--radius-full);
  }
  .mobile-sub-refresh-btn .refresh-btn-text {
    font-size: 11.5px;
    white-space: nowrap;
  }
  .mobile-sub-refresh-btn .refresh-badge-live {
    font-size: 8.5px;
    padding: 1px 4px;
    border-radius: 4px;
  }
  .mobile-search-sub-bar .theme-cycler-btn {
    flex: 0 0 auto;
    height: 34px;
    padding: 5px 9px !important;
    font-size: 11px !important;
    flex-shrink: 0;
    gap: 4px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-color);
  }
  .mobile-search-sub-bar .theme-cycler-btn .theme-icon {
    font-size: 13px;
  }
  .mobile-search-sub-bar .theme-cycler-btn .theme-name {
    font-size: 11px;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-search-sub-bar .theme-cycler-btn .theme-num-tag {
    font-size: 9px;
    padding: 1px 4px;
  }
  .mobile-sub-live-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ff6b6b;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    height: 34px;
    box-sizing: border-box;
    transition: all 0.2s ease;
  }
  .hero-carousel {
    height: auto !important;
    min-height: auto !important;
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 18px !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid rgba(230, 177, 92, 0.35) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75), 0 0 15px rgba(230, 177, 92, 0.12) !important;
  }
  .hero-slide {
    background-size: 100% 100% !important;
    background-position: center center !important;
  }
  /* If banner has its own text/image, ensure overlay does not hide it */
  .hero-overlay {
    padding: 14px 16px !important;
    justify-content: flex-end !important;
    max-width: 100% !important;
    background: linear-gradient(180deg, rgba(6,7,13,0) 0%, rgba(6,7,13,0.35) 50%, rgba(6,7,13,0.92) 100%) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .hero-slide-image-only .hero-overlay {
    display: none !important;
  }
  .hero-tag {
    font-size: 9.5px !important;
    margin-bottom: 4px !important;
    letter-spacing: 0.8px !important;
  }
  .hero-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  }
  .hero-subtitle {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    color: #cbd5e1 !important;
    margin-bottom: 10px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .hero-actions {
    gap: 8px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
  }
  .btn-hero-play {
    padding: 6px 14px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
  }
  .btn-hero-secondary {
    padding: 6px 10px !important;
    font-size: 11px !important;
  }
  .hero-dots {
    bottom: 8px !important;
    right: 10px !important;
  }
  .swar-content-area {
    padding: 16px 14px 145px 14px !important;
  }
  .shelf-header {
    margin-bottom: 12px;
  }
  .shelf-title {
    font-size: 17px;
  }
  .shelf-subtitle {
    font-size: 11px;
  }
  .music-card {
    min-width: 140px;
    max-width: 155px;
    padding: 10px;
  }
  .card-title {
    font-size: 13px;
  }
  .card-artist {
    font-size: 11px;
  }
}

/* ==========================================================================
   TOPBAR QUICK NAVIGATION & ANDROID APPS DROPDOWN SUBMENU
   ========================================================================== */
.topbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.topbar-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(230, 177, 92, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-main);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.topbar-nav-link:hover {
  background: rgba(230, 177, 92, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 10px rgba(230, 177, 92, 0.2);
}

.topbar-dropdown-wrap {
  position: relative;
}

.topbar-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.topbar-dropdown-toggle:hover,
.topbar-dropdown-wrap.open .topbar-dropdown-toggle {
  background: rgba(230, 177, 92, 0.18);
  border-color: var(--gold-primary);
  color: #fff;
}

.arrow-caret {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.topbar-dropdown-wrap.open .arrow-caret {
  transform: rotate(180deg);
}

/* Submenu Dropdown Box */
.topbar-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 280px;
  background: #0d1222;
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  animation: dropdownFade 0.2s ease;
}

.topbar-dropdown-wrap.open .topbar-dropdown-menu {
  display: flex;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold-primary);
  padding: 6px 10px 4px 10px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.15s ease;
}

.dropdown-item:hover {
  background: rgba(230, 177, 92, 0.12);
  color: var(--gold-light);
}

.dropdown-item.featured {
  background: rgba(230, 177, 92, 0.1);
  border: 1px dashed rgba(230, 177, 92, 0.3);
}

.dropdown-item.featured:hover {
  background: rgba(230, 177, 92, 0.2);
}

.item-icon {
  font-size: 20px;
  min-width: 24px;
  text-align: center;
}

.item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.item-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.item-sub {
  font-size: 11px;
  color: var(--text-secondary);
}

.item-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  background: var(--gold-primary);
  color: #000;
  font-weight: 700;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

.dropdown-item.compact {
  padding: 6px 10px;
  font-size: 12.5px;
}

.dropdown-item.compact .item-icon {
  font-size: 16px;
}

/* ==========================================================================
   COMPREHENSIVE DEVOTIONAL SITE FOOTER
   ========================================================================== */
.swar-site-footer {
  margin-top: 50px;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(13, 17, 29, 0.6) 0%, #06070d 100%);
  padding: 40px 24px 30px 24px;
  border-radius: 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand .brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(230, 177, 92, 0.4);
  flex-shrink: 0;
}

.footer-brand .brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-brand .brand-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-social-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(230, 177, 92, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 5px 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-btn:hover {
  background: var(--gold-primary);
  color: #000;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold-primary);
  margin-bottom: 14px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links-list a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .topbar-nav {
    display: none; /* Accessible in mobile drawer menu */
  }
}

/* ==========================================================================
   WEB STORIES (GOOGLE WEB STORIES & INSTAGRAM-STYLE SACRED DISCOVER ROW)
   ========================================================================== */
.stories-shelf-wrapper {
  margin-bottom: 26px;
  position: relative;
  min-height: 120px;
  contain: layout;
}

.stories-shelf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.stories-shelf-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.stories-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
  will-change: transform, opacity;
  animation: pulseLiveBadge 2s infinite;
}

@keyframes pulseLiveBadge {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

.stories-row-scroll {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  box-sizing: border-box !important;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 12px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.stories-row-scroll::-webkit-scrollbar {
  display: none;
}

.story-circle-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer;
  width: 74px !important;
  max-width: 74px !important;
  flex-shrink: 0 !important;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.story-circle-item:hover {
  transform: translateY(-3px);
}

.story-ring {
  width: 70px !important;
  height: 70px !important;
  min-width: 70px !important;
  max-width: 70px !important;
  min-height: 70px !important;
  max-height: 70px !important;
  border-radius: 50% !important;
  padding: 3px !important;
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 35%, #ea580c 70%, #dc2626 100%);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: all 0.25s ease;
}

.story-circle-item:hover .story-ring {
  box-shadow: 0 0 18px rgba(252, 211, 77, 0.6);
  transform: scale(1.05);
}

.story-avatar {
  width: 100% !important;
  height: 100% !important;
  max-width: 64px !important;
  max-height: 64px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #06070d !important;
  background: #14192b;
  display: block !important;
}

.story-title-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #e2e8f0;
  text-align: center;
  line-height: 1.25;
  max-width: 78px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-circle-item:hover .story-title-label {
  color: var(--gold-light);
}

@media (max-width: 600px) {
  .stories-row-scroll {
    gap: 13px;
  }
  .story-circle-item {
    width: 68px !important;
    max-width: 68px !important;
  }
  .story-ring {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    padding: 2.5px !important;
  }
  .story-title-label {
    font-size: 11px;
    max-width: 68px;
  }
}

/* Blog Circles in Home Stories Row */
.blog-circle-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer;
  width: 76px !important;
  max-width: 76px !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  position: relative;
  transition: transform 0.2s ease;
}

.blog-circle-item:hover {
  transform: translateY(-3px);
}

.blog-ring {
  width: 70px !important;
  height: 70px !important;
  min-width: 70px !important;
  max-width: 70px !important;
  min-height: 70px !important;
  max-height: 70px !important;
  border-radius: 50% !important;
  padding: 3px !important;
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 35%, #8b5cf6 70%, #e6b15c 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
  box-sizing: border-box !important;
  overflow: hidden !important;
  position: relative;
  transition: all 0.25s ease;
}

.blog-circle-item:hover .blog-ring {
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.6);
  transform: scale(1.05);
}

.blog-circle-item .story-title-label {
  max-width: 76px;
}

.blog-circle-item:hover .story-title-label {
  color: #67e8f9 !important;
}

.circle-type-tag {
  position: absolute;
  bottom: 22px;
  right: 4px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.circle-type-tag.tag-bio {
  background: linear-gradient(135deg, #f97316, #db2777);
  border-color: rgba(255, 230, 200, 0.8);
}

.circle-type-tag.tag-story {
  background: linear-gradient(135deg, #d97706, #b45309);
  border-color: rgba(255, 230, 200, 0.8);
}

@media (max-width: 600px) {
  .blog-circle-item {
    width: 68px !important;
    max-width: 68px !important;
  }
  .blog-ring {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    padding: 2.5px !important;
  }
  .circle-type-tag {
    bottom: 20px;
    right: 2px;
    font-size: 8px;
    padding: 1px 4px;
  }
}


/* ==========================================================================
   SANCTUARY EDITORIAL & DEVOTIONAL KNOWLEDGE SECTION (ADSENSE VALUE CONTENT)
   ========================================================================== */
.sanctuary-editorial-section {
  margin-top: 40px;
  margin-bottom: 30px;
  padding: 32px 24px;
  background: linear-gradient(180deg, rgba(20, 25, 43, 0.7) 0%, rgba(13, 17, 29, 0.95) 100%);
  border: 1px solid rgba(230, 177, 92, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.editorial-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
}

.editorial-badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold-primary);
  background: rgba(230, 177, 92, 0.12);
  border: 1px solid rgba(230, 177, 92, 0.3);
  border-radius: 20px;
  margin-bottom: 12px;
}

.editorial-main-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ffffff 40%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.editorial-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.editorial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.editorial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 177, 92, 0.4);
  box-shadow: 0 8px 24px rgba(230, 177, 92, 0.08);
}

.editorial-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
}

.editorial-icon {
  font-size: 28px;
  line-height: 1;
}

.editorial-title {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
  margin-bottom: 3px;
}

.editorial-tag {
  font-size: 11px;
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.editorial-body p {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 12px;
}

.editorial-body p:last-child {
  margin-bottom: 0;
}

.editorial-body em {
  color: var(--gold-light);
  font-style: italic;
}

.editorial-body strong {
  color: #ffffff;
  font-weight: 600;
}

/* DEVOTIONAL FAQ ACCORDION / CARDS */
.editorial-faq-container {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(230, 177, 92, 0.2);
}

.faq-main-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 20px;
  text-align: center;
}

.faq-accordion-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.faq-card {
  background: rgba(10, 14, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 18px;
}

.faq-question {
  font-size: 14.5px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.4;
  margin-bottom: 10px;
}

.faq-answer {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
}

.faq-answer strong {
  color: #e2e8f0;
}

.faq-answer em {
  color: var(--gold-light);
}

@media (max-width: 768px) {
  .sanctuary-editorial-section {
    padding: 22px 14px;
    margin-top: 28px;
  }
  .editorial-main-title {
    font-size: 21px;
  }
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .editorial-card {
    padding: 16px;
  }
  .faq-accordion-list {
    grid-template-columns: 1fr;
  }
}


