/* ==========================================================================
   Tamil Christian Songs - International Standard Stylesheet
   Brand: Nithyam TV Ministries & Tamil Christian Songs Portal
   Theme: Official Nithyam Mobile App Warm Parchment & Royal Amber Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Mukta+Malar:wght@400;500;600;700;800&family=Catamaran:wght@400;500;600;700;800;900&family=Anek+Tamil:wght@400;500;600;700;800&family=Noto+Sans+Tamil:wght@400;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

@font-face {
  font-family: 'Nithyam-Tamil';
  src: url('/fonts/Nithyam-Tamil-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

.nithyam-font {
  font-family: 'Catamaran', 'Mukta Malar', 'Noto Sans Tamil', sans-serif !important;
  letter-spacing: 0.3px;
}

:root {
  /* Official Nithyam Mobile App Colors (Exact Match to Devotional Study Notes Screen) */
  --bg-primary: #FAF7F2;          /* Warm Divine Parchment Cream */
  --bg-surface: #FFFFFF;          /* Pure Crisp White Card Surface */
  --bg-surface-elevated: #FFFFFF;
  --bg-secondary: #F3ECE2;        /* Warm sand secondary */
  --bg-tertiary: #EBE2D5;
  
  --border-subtle: #EBE2D5;       /* Warm subtle border */
  --border-focus: #D97706;        /* Royal Amber Gold */
  
  --text-primary: #231912;        /* Deep Warm Espresso Charcoal */
  --text-secondary: #4A3C31;      /* Warm Charcoal Body Text */
  --text-muted: #857568;          /* Warm Sand Stone Gray */
  --text-inverse: #FFFFFF;

  /* Official Mobile App Warm Royal Amber Gold */
  --gold-primary: #D97706;        /* Burnt Amber Gold CTA */
  --gold-hover: #B45309;
  --gold-light: rgba(217, 119, 6, 0.12);
  --gold-glow: rgba(217, 119, 6, 0.28);
  
  --espresso-dark: #261C14;       /* Active Tab Espresso Charcoal */
  --espresso-header: #FAF7F2;

  /* Disciplined Mobile App Tag Chips (Direct match to user screenshot) */
  --badge-mint-bg: #E6F8F3;       /* 'சபை பிரசங்கம்' chip background */
  --badge-mint-text: #059669;
  --badge-mint-border: #A7F3D0;

  --badge-amber-bg: #FEF3C7;      /* 'புக்மார்க் தியானம்' chip background */
  --badge-amber-text: #D97706;
  --badge-amber-border: #FDE68A;

  --badge-sky-bg: #EFF6FF;        /* 'தனிப்பட்ட ஜெபம்' chip background */
  --badge-sky-text: #2563EB;
  --badge-sky-border: #BFDBFE;

  --badge-slate-bg: #F5F1EB;
  --badge-slate-text: #6B5E53;
  --badge-slate-border: #E0D6C8;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(45, 31, 19, 0.04);
  --shadow-md: 0 4px 14px -1px rgba(45, 31, 19, 0.07), 0 2px 4px -1px rgba(45, 31, 19, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(45, 31, 19, 0.09), 0 4px 6px -2px rgba(45, 31, 19, 0.03);
  --shadow-glow: 0 0 20px rgba(217, 119, 6, 0.30);

  /* Typography - Clean Plus Jakarta Sans & Standard Unicode Tamil */
  --font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ta: 'Catamaran', 'Mukta Malar', 'Anek Tamil', 'Noto Sans Tamil', 'Nirmala UI', sans-serif;
  --font-ta-display: 'Catamaran', 'Mukta Malar', 'Anek Tamil', 'Noto Sans Tamil', 'Nirmala UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing & Transitions */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dynamic Font Themes */
[data-font="nithyam"],
[data-font="kavivanar"],
[data-font="mukta"],
[data-font="pavanam"],
[data-font="anek"],
[data-font="noto"] {
  --font-ta: 'Catamaran', 'Mukta Malar', 'Anek Tamil', 'Noto Sans Tamil', 'Nirmala UI', sans-serif;
  --font-ta-display: 'Catamaran', 'Mukta Malar', 'Anek Tamil', 'Noto Sans Tamil', 'Nirmala UI', sans-serif;
}

[data-theme="dark"] {
  /* Colors - Nithyam Mobile App Night Espresso Theme */
  --bg-primary: #17120E;          /* Deep Warm Midnight Espresso */
  --bg-surface: #241C15;          /* Warm Dark Coffee Surface */
  --bg-surface-elevated: #2E231B;
  --bg-secondary: #221A13;
  --bg-tertiary: #33271E;

  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-focus: #F59E0B;

  --text-primary: #FFFFFF;
  --text-secondary: #EBE1D8;
  --text-muted: #A89B8F;
  --text-inverse: #17120E;

  --gold-primary: #F59E0B;
  --gold-hover: #D97706;
  --gold-light: rgba(245, 158, 11, 0.18);
  --gold-glow: rgba(245, 158, 11, 0.38);

  --espresso-dark: #120D09;
  --espresso-header: #17120E;

  --badge-mint-bg: rgba(5, 150, 105, 0.18);
  --badge-mint-text: #34D399;
  --badge-mint-border: rgba(5, 150, 105, 0.4);

  --badge-amber-bg: rgba(217, 119, 6, 0.20);
  --badge-amber-text: #FBBF24;
  --badge-amber-border: rgba(217, 119, 6, 0.45);

  --badge-sky-bg: rgba(37, 99, 235, 0.18);
  --badge-sky-text: #60A5FA;
  --badge-sky-border: rgba(37, 99, 235, 0.4);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 10px -1px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 30px -4px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.3);
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-ta), var(--font-en);
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: light dark;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  font-family: var(--font-ta), var(--font-en);
}

.tamil-text {
  font-family: var(--font-ta);
}

/* High-Impact Tamil Display Typography */
.hero-title,
.brand-title,
.section-title,
.modal-song-title,
.vip-pastor-name,
.song-title,
.artist-name {
  font-family: var(--font-ta-display), var(--font-ta), var(--font-en);
  letter-spacing: normal;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Header & Navbar (Glassmorphic)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-primary);
  border-bottom: 1.5px solid var(--border-subtle);
  box-shadow: 0 2px 10px rgba(45, 31, 19, 0.04);
  transition: all var(--transition-fast);
}

[data-theme="dark"] .site-header {
  background: var(--bg-primary);
  border-bottom: 1.5px solid var(--border-subtle);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-bible-icon {
  height: 48px;
  width: auto;
  max-width: 65px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
  flex-shrink: 0;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-bible-icon {
  transform: scale(1.05);
}

.brand-nithyam-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-left: 6px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}

.brand-title .gold-accent {
  color: var(--gold-primary);
  font-weight: 900;
}

.brand-subtitle {
  font-family: var(--font-ta), var(--font-en);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin-top: 2px;
}

.nav-live-btn-gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  color: #ffffff !important;
  border: 1px solid #f59e0b !important;
  font-weight: 700 !important;
  box-shadow: 0 0 14px rgba(217, 119, 6, 0.35) !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-full) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all var(--transition-fast) !important;
}

.nav-live-btn-gold:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.5) !important;
  color: #ffffff !important;
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffffff;
  animation: livePulseAnim 1.4s infinite;
}

@keyframes livePulseAnim {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item a, .nav-item button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
}

.nav-item a:hover, .nav-item a.active,
.nav-item button:hover, .nav-item button.active {
  color: var(--gold-primary);
  background: var(--gold-light);
  border-color: rgba(217, 119, 6, 0.2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-software-cta {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 9px 18px !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3) !important;
  border: 1.5px solid #f59e0b !important;
  transition: all var(--transition-fast) !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

.nav-software-cta:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45) !important;
  color: #ffffff !important;
}

.nav-svg-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.nav-item a:hover .nav-svg-icon,
.nav-software-cta:hover .nav-svg-icon {
  transform: scale(1.1);
}

/* Font Selector permanently hidden to enforce clean mobile app font across entire site */
.font-selector-wrap {
  display: none !important;
}

.font-icon {
  font-size: 0.95rem;
}

.font-select {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-ta);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  padding-right: 4px;
}

.font-select option {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  font-family: var(--font-ta);
  padding: 4px 8px;
}

.theme-toggle-btn {
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  color: var(--text-primary);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  padding: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--gold-primary);
  background: var(--gold-light);
  transform: scale(1.08) rotate(12deg);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.3);
}

.theme-icon-svg {
  width: 26px;
  height: 26px;
  display: block;
  transition: transform var(--transition-normal);
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section (Radiant Ambient Gold & Search)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 56px 0 40px;
  background: radial-gradient(circle at 50% 0%, rgba(201, 151, 0, 0.08) 0%, transparent 70%);
  text-align: center;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--gold-light);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-full);
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--gold-primary), #EAB308);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 32px;
  font-weight: 400;
}

/* Luxury Omnisearch Bar */
.search-container {
  max-width: 720px;
  margin: 0 auto 16px;
  position: relative;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  padding: 6px 8px 6px 20px;
  transition: all var(--transition-normal);
}

.search-box:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 4px var(--gold-light), var(--shadow-lg);
}

.search-icon {
  color: var(--gold-primary);
  font-size: 1.25rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-family: inherit;
  color: var(--text-primary);
  padding: 10px 0;
}

.search-input::placeholder {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.search-clear-btn {
  background: var(--bg-secondary);
  border: none;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-right: 8px;
}

.search-clear-btn:hover {
  color: var(--text-primary);
}

.search-submit-btn {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.search-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.45);
}

/* Quick Search Suggestions */
.search-hints {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.search-hint-tag {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-weight: 600;
}

.search-hint-tag:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-light);
}

/* Autocomplete Floating Panel */
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 420px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  text-align: left;
}

.dropdown-item {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover, .dropdown-item.selected {
  background: var(--gold-light);
}

.dropdown-item-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.98rem;
}

.dropdown-item-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Letter Index Bar (அகரவரிசை)
   ========================================================================== */
.letter-nav-section {
  padding: 12px 0 20px;
}

.letter-bar-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 2px;
  scrollbar-width: thin;
}

.letter-bar-wrap::-webkit-scrollbar {
  height: 4px;
}

.letter-bar-wrap::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}

.letter-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.letter-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.letter-btn.active {
  background: var(--espresso-dark);
  color: #FFFFFF;
  border-color: var(--espresso-dark);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   VIP Pastor Charles Ro Card
   ========================================================================== */
.vip-pastor-card {
  margin: 16px 0 36px;
  background: linear-gradient(135deg, #2D1F13 0%, #1A120B 100%);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.vip-pastor-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.vip-pastor-avatar-box {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  padding: 3px;
  background: linear-gradient(135deg, var(--gold-primary), #EAB308);
  flex-shrink: 0;
}

.vip-pastor-avatar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  display: block;
}

.vip-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--gold-primary);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.vip-pastor-name {
  font-family: var(--font-ta-display), var(--font-ta), var(--font-en);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
}

.vip-pastor-title {
  font-size: 0.9rem;
  color: #E2E8F0;
  opacity: 0.9;
}

.vip-pastor-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-gold {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.5);
  color: #FFFFFF;
}
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-primary);
  border: 1.5px solid var(--gold-primary);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-outline-gold:hover {
  background: var(--gold-light);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-subtle);
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-primary);
  background: var(--gold-light);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Top 20 Artists & Pastors - Circular Avatars with Gold Rings
   ========================================================================== */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.artist-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.artist-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: 0 10px 25px -4px rgba(201, 151, 0, 0.25);
}

.artist-avatar-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50% !important;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold-primary), #EAB308, #D4AF37);
  box-shadow: 0 4px 12px rgba(201, 151, 0, 0.25);
  margin-bottom: 12px;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  flex-shrink: 0;
}

.artist-card:hover .artist-avatar-wrap {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(201, 151, 0, 0.45);
}

.artist-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50% !important;
  object-fit: cover;
  background: var(--bg-secondary);
  display: block;
}

.artist-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #1E293B, #0F172A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-primary);
  font-weight: 700;
  border: 1px solid rgba(201, 151, 0, 0.3);
}

.artist-name {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.artist-count {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-primary);
  background: var(--gold-light);
  border: 1px solid rgba(201, 151, 0, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Songs Grid & Cards
   ========================================================================== */
.songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.song-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.song-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.song-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.song-id-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  background: var(--gold-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.song-title {
  font-family: var(--font-ta-display), var(--font-ta), var(--font-en);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 4px 0 2px;
}

.song-artist {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.song-meta-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-chord {
  background: var(--badge-mint-bg);
  color: var(--badge-mint-text);
  border: 1px solid var(--badge-mint-border);
}

.badge-video {
  background: var(--badge-sky-bg);
  color: var(--badge-sky-text);
  border: 1px solid var(--badge-sky-border);
}

.badge-scale {
  background: var(--badge-amber-bg);
  color: var(--badge-amber-text);
  border: 1px solid var(--badge-amber-border);
}

/* ==========================================================================
   Pagination Bar
   ========================================================================== */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 56px;
  flex-wrap: wrap;
}

.page-btn {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.page-btn.active {
  background: var(--gold-primary);
  color: #0F172A;
  border-color: var(--gold-primary);
  font-weight: 700;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ==========================================================================
   Song Details Modal / View
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.song-modal-content {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-secondary);
}

.modal-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-song-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.modal-song-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

/* Song Action Toolbar */
.song-toolbar {
  padding: 12px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--bg-surface);
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-btn {
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.tool-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.tool-btn.active {
  background: var(--gold-primary);
  color: #0F172A;
  border-color: var(--gold-primary);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

/* YouTube Player Section */
.youtube-player-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 45%;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
}

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

/* Lyrics & Chords View */
.song-lyrics-content {
  font-size: 1.15rem;
  line-height: 2.1;
  color: var(--text-primary);
  white-space: pre-line;
  font-weight: 500;
}

.song-lyrics-content.chord-mode {
  font-family: var(--font-mono);
  white-space: pre;
  overflow-x: auto;
  line-height: 1.8;
  font-size: 1.02rem;
}

.chord-line {
  color: var(--gold-primary);
  font-weight: 700;
  user-select: all;
}

/* Musical Info Banner */
.musical-info-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.musical-info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 600;
}

.musical-icon {
  font-size: 0.95rem;
}

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

.musical-val {
  color: var(--gold-primary);
  font-weight: 700;
}

/* Modal Song Title & Subtitles */
.modal-song-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.modal-song-artist {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.modal-tanglish-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-top: -2px;
  margin-bottom: 6px;
  font-family: var(--font-en);
}

/* Lyric Tabs Group */
.lyric-tabs-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.tab-btn.active {
  background: var(--gold-primary);
  color: #0F172A;
  border-color: var(--gold-primary);
}

/* Action Button Variants */
.btn-copy-action {
  color: var(--gold-primary) !important;
  border-color: rgba(201, 151, 0, 0.4) !important;
}

.btn-copy-action:hover {
  background: var(--gold-light) !important;
}

.btn-projector-action {
  background: linear-gradient(135deg, rgba(201, 151, 0, 0.15), rgba(201, 151, 0, 0.05)) !important;
  border-color: var(--gold-primary) !important;
  color: var(--gold-primary) !important;
  font-weight: 700 !important;
}

.btn-projector-action:hover {
  background: var(--gold-primary) !important;
  color: #0F172A !important;
}

/* Transpose Controls */
.transpose-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.transpose-display {
  min-width: 36px;
  text-align: center;
  justify-content: center;
  cursor: default;
  font-weight: 800;
  color: var(--gold-primary);
}

/* Dual Lyrics View */
.dual-stanza-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 18px;
  border-left: 4px solid var(--gold-primary);
}

.dual-stanza-ta {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.9;
  white-space: pre-line;
  margin-bottom: 8px;
}

.dual-stanza-en {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  white-space: pre-line;
  font-family: var(--font-en);
}

/* Church Projector Mode (Fullscreen) */
.projector-overlay {
  background: #000000 !important;
  z-index: 1000 !important;
}

.projector-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #000000;
  color: #FFFFFF;
}

.projector-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(20, 20, 20, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.projector-badge {
  background: var(--gold-primary);
  color: #000000;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  margin-right: 12px;
}

.projector-song-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #F8FAFC;
}

.projector-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.projector-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.projector-btn:hover {
  background: var(--gold-primary);
  color: #000000;
}

.projector-close-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 8px;
}

.projector-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: pointer;
  user-select: none;
}

.projector-slide-box {
  max-width: 1000px;
  text-align: center;
  animation: slideFadeIn 0.3s ease;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.projector-text-ta {
  font-size: 2.8rem;
  font-weight: 800;
  color: #FBBF24;
  line-height: 1.6;
  white-space: pre-line;
  margin-bottom: 20px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.8);
}

.projector-text-en {
  font-size: 2.1rem;
  font-weight: 600;
  color: #E2E8F0;
  line-height: 1.5;
  white-space: pre-line;
  font-family: var(--font-en);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.projector-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  background: rgba(20, 20, 20, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.projector-nav-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.projector-nav-btn:hover:not(:disabled) {
  background: var(--gold-primary);
  color: #000000;
}

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

.projector-slide-counter {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-primary);
}

/* Official Mobile App Promo Card */
.mobile-app-promo-card {
  margin: 40px 0 20px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(245, 158, 11, 0.15);
  color: #FFFFFF;
}

.app-promo-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 300px;
}

.app-promo-icon {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
  flex-shrink: 0;
  object-fit: cover;
}

.app-promo-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.18);
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.app-promo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.app-promo-desc {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.6;
}

.app-promo-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-app-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #FFFFFF;
  border: 1.5px solid #f59e0b;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
  transition: all var(--transition-fast);
}

.btn-app-download:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(245, 158, 11, 0.65);
}

.download-icon {
  font-size: 1.5rem;
}

.btn-top-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.btn-main-label {
  font-size: 1rem;
  font-weight: 800;
}

.btn-app-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.btn-app-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: var(--espresso-dark);
  color: #FAF7F2;
  border-top: 2px solid var(--gold-primary);
  padding: 48px 0 24px;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-title {
  font-family: var(--font-ta-display), var(--font-ta), var(--font-en);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-desc {
  font-size: 0.9rem;
  color: #C2B4A7;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #E6DDD4;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #A89A8D;
}

/* Toast Notifications */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--espresso-dark);
  color: #FFFFFF;
  border-left: 4px solid var(--gold-primary);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  font-weight: 600;
  z-index: 200;
  display: none;
  animation: slideUp 0.25s ease;
}

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

/* ==========================================================================
   Navigation Additions - Live Pulsing Badge & Add Song Button
   ========================================================================== */
.nav-live-btn {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #EF4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  border-radius: var(--radius-full);
  padding: 6px 14px !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: liveNavPulse 2s infinite;
}

@keyframes liveNavPulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.nav-live-btn:hover {
  background: #EF4444 !important;
  color: #FFFFFF !important;
}

.nav-add-btn {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1.5px solid var(--border-subtle);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-add-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

/* ==========================================================================
   Dedicated Nithyam TV Live Screen Modal (Theater Mode)
   ========================================================================== */
.live-modal-content {
  background: #0B0F19;
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  width: 95%;
  max-width: 980px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(201, 151, 0, 0.25);
  overflow: hidden;
  animation: modalScaleIn 0.22s ease-out;
}

.live-modal-badge {
  display: inline-block;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.live-theater-body {
  padding: 20px 24px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 16:9 Screen Container */
.live-screen-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.live-poster {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #1E293B 0%, #080C14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  z-index: 2;
}

.live-poster-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 151, 0, 0.25) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.live-poster-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 540px;
}

.live-badge-glow {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #EF4444;
  color: #F87171;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.live-poster-title {
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
}

.live-poster-subtitle {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.5;
}

/* Glowing Play Button */
.live-glowing-play-btn {
  margin-top: 10px;
  background: linear-gradient(135deg, var(--gold-primary), #EAB308);
  color: #0F172A;
  border: none;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 25px rgba(201, 151, 0, 0.5), 0 4px 12px rgba(0,0,0,0.4);
  transition: all 0.25s ease;
  animation: playButtonPulse 2.2s infinite;
}

@keyframes playButtonPulse {
  0% { transform: scale(1); box-shadow: 0 0 15px rgba(201, 151, 0, 0.4); }
  50% { transform: scale(1.04); box-shadow: 0 0 35px rgba(201, 151, 0, 0.8); }
  100% { transform: scale(1); box-shadow: 0 0 15px rgba(201, 151, 0, 0.4); }
}

.live-glowing-play-btn:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 0 45px rgba(201, 151, 0, 0.95) !important;
}

.play-arrow {
  font-size: 1.3rem;
  line-height: 1;
}

.live-player-frame-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.live-player-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Live Controls Toolbar */
.live-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.live-stream-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #CBD5E1;
}

.live-indicator-dot {
  width: 10px;
  height: 10px;
  background: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10B981;
  animation: liveDotBlink 1.5s infinite;
}

@keyframes liveDotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.live-controls-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-yt-direct {
  color: var(--gold-primary) !important;
  border-color: rgba(201, 151, 0, 0.4) !important;
}

.btn-yt-direct:hover {
  background: var(--gold-light) !important;
}

/* Ministry Card inside Live Screen */
.live-ministry-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.live-min-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.live-min-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  object-fit: cover;
}

.live-min-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: #FFFFFF;
}

.live-min-role {
  font-size: 0.82rem;
  color: var(--gold-primary);
  font-weight: 600;
}

.live-min-text {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 12px;
}

.live-min-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-pill {
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: #E2E8F0;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Add New Song Modal Form Styles
   ========================================================================== */
.add-song-modal-content {
  max-width: 760px;
}

.add-song-body {
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.form-col-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.required-star {
  color: #EF4444;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-light);
}

.form-textarea {
  resize: vertical;
  line-height: 1.6;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.btn-cancel {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-cancel:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-submit-btn {
  padding: 10px 24px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .vip-pastor-card {
    flex-direction: column;
    text-align: center;
  }
  .vip-pastor-info {
    flex-direction: column;
    text-align: center;
  }
  .songs-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .youtube-player-wrap {
    padding-bottom: 56.25%;
  }
}

/* ==========================================================================
   International Standard Unified Oval Pill Buttons & Responsive Navigation
   ========================================================================== */
.nav-pill-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 40px !important;
  padding: 0 16px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

[data-theme="light"] .nav-pill-default {
  background: #F8FAFC !important;
  color: #1E293B !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
[data-theme="light"] .nav-pill-default:hover {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-color: #CBD5E1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .nav-pill-live {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  color: #FFFFFF !important;
  border: 1.5px solid #EF4444 !important;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.28) !important;
}
[data-theme="light"] .nav-pill-live:hover {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.45) !important;
  transform: translateY(-1px) !important;
}

[data-theme="light"] .nav-pill-software {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  border: 1.5px solid #3B82F6 !important;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.28) !important;
}
[data-theme="light"] .nav-pill-software:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45) !important;
  transform: translateY(-1px) !important;
}

[data-theme="dark"] .nav-pill-default {
  background: rgba(30, 41, 59, 0.8) !important;
  color: #E2E8F0 !important;
  border: 1.5px solid #334155 !important;
}
[data-theme="dark"] .nav-pill-default:hover {
  background: rgba(51, 65, 85, 0.95) !important;
  color: #FFFFFF !important;
  border-color: #64748B !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2) !important;
}

[data-theme="dark"] .nav-pill-live {
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%) !important;
  color: #FFFFFF !important;
  border: 1.5px solid #F87171 !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.4) !important;
}
[data-theme="dark"] .nav-pill-live:hover {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  box-shadow: 0 0 22px rgba(239, 68, 68, 0.65) !important;
  transform: translateY(-1px) !important;
}

[data-theme="dark"] .nav-pill-software {
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%) !important;
  color: #FFFFFF !important;
  border: 1.5px solid #60A5FA !important;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.4) !important;
}
[data-theme="dark"] .nav-pill-software:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.65) !important;
  transform: translateY(-1px) !important;
}

/* Modern Theme Mode Switch */
.nav-theme-switch {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  padding: 0 14px !important;
  border-radius: 9999px !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
[data-theme="light"] .nav-theme-switch {
  background: #FFFBEB !important;
  border: 1.5px solid #F59E0B !important;
  color: #B45309 !important;
}
[data-theme="light"] .nav-theme-switch:hover {
  background: #FEF3C7 !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25) !important;
}
[data-theme="dark"] .nav-theme-switch {
  background: #1E293B !important;
  border: 1.5px solid #F59E0B !important;
  color: #FBBF24 !important;
}
[data-theme="dark"] .nav-theme-switch:hover {
  background: #334155 !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4) !important;
}

/* Center Software Playout Studio Banner - Responsive Adaptable Card */
.software-promo-card {
  margin-top: 24px;
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  transition: all 0.3s ease;
}

[data-theme="light"] .software-promo-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.07);
}
[data-theme="light"] .software-promo-title {
  color: #0F172A;
  font-size: 16.5px;
  font-weight: 800;
}
[data-theme="light"] .software-promo-desc {
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}
[data-theme="light"] .software-promo-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563EB;
  flex-shrink: 0;
}

[data-theme="dark"] .software-promo-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid #334155;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}
[data-theme="dark"] .software-promo-title {
  color: #F8FAFC;
  font-size: 16.5px;
  font-weight: 800;
}
[data-theme="dark"] .software-promo-desc {
  color: #94A3B8;
  font-size: 13px;
  line-height: 1.5;
}
[data-theme="dark"] .software-promo-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1.5px solid #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38BDF8;
  flex-shrink: 0;
}

/* Related Songs Section in Modal & Standalone Page */
.related-songs-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1.5px solid var(--border-subtle);
}
.related-songs-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.related-song-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.related-song-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}
.related-song-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}
.related-song-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

