/* --- Global & Theme --- */
 :root {
    --bg:         #030a0a;
    --bg2:        #0a100e;
    --surface:    #1a2d2d;
    --surface2:   #091c1e;
    --border:     #081b1c;
    --gold:       #c9943a;
    --gold-light: #e8b96a;
    --gold-glow:  rgba(201,148,58,0.15);
    --purple:     #173549;
    --purple-lt:  #25c4d5;
    --teal:       #1a8a7a;
    --teal-lt:    #00e5a0;
    --crimson:    #8b1f2f;
    --cream:      #eee6d0;
    --text:       #d8ccb4;
    --text-dim:   #9a8f80;
    --mega-bg:    #08100e;
    --font-d:     'Cormorant Garamond', serif;
    --font-b:     'Outfit', sans-serif;
    --font-ta:    'Noto Serif Tamil', serif;
    --nav-h:      64px;
    --player-h:   80px;
    --live-red:   #e53935;
    --signal:     #00e5a0;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-b);
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: calc(var(--player-h) + 20px);
  }

  body::before {
    content: '';
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
      radial-gradient(ellipse 60% 40% at 20% 10%, rgba(107,63,160,0.12) 0%, transparent 60%),
      radial-gradient(ellipse 50% 50% at 80% 80%, rgba(26,138,122,0.08) 0%, transparent 60%),
      radial-gradient(ellipse 40% 30% at 50% 50%, rgba(201,148,58,0.04) 0%, transparent 70%);
  }

  a { text-decoration: none; color: inherit; }

  /* ══ HEADER ══ */
  #site-header {
    position: sticky; top: 0; z-index: 1000;
    height: var(--nav-h);
    background: rgba(8,6,8,0.96);
    border-bottom: 1px solid rgba(201,148,58,0.25);
    display: flex; align-items: center; gap: 16px;
    padding: 0 5%;
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 40px rgba(0,0,0,0.6);
  }

  .logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .logo img { height: 42px; }
  .logo-ta { font-family: var(--font-ta); font-size: 0.75rem; color: var(--gold); }

  .nav-bar { display: flex; gap: 2px; flex: 1; justify-content: center; }
  .nav-item { position: relative; }
  .nav-btn {
    display: flex; align-items: center; gap: 5px;
    background: none; border: none; cursor: pointer;
    color: var(--text); font-family: var(--font-b); font-size: 1rem;
    padding: 7px 10px; border-radius: 5px; transition: all 0.2s;
  }
  .nav-btn:hover { background: var(--gold-glow); color: var(--gold-light); }
  .nav-btn .fa-caret-down { font-size: 0.58rem; opacity: 0.5; }
  .nav-lbl { display: inline; }

  .nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }

  .header-search {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.05); border: 1px solid var(--border);
    border-radius: 6px; overflow: hidden;
  }
  .header-search input {
    background: none; border: none; outline: none;
    color: var(--cream); font-family: var(--font-b); font-size: 0.8rem;
    padding: 7px 12px; width: 180px;
  }
  .header-search input::placeholder { color: rgba(154,143,128,0.6); }
  .header-search button {
    background: var(--gold); border: none; padding: 7px 12px;
    color: var(--bg); cursor: pointer; font-size: 0.78rem; transition: background 0.2s;
  }
  .header-search button:hover { background: var(--gold-light); }

  .social-ic { color: var(--text-dim); font-size: 1rem; transition: color 0.2s; }
  .social-ic:hover { color: #1877f2; }
  .nav-cta {
    background: var(--gold); color: #ffffff; text-shadow: 1px 1px black;font-weight: 600;
    padding: 6px 14px; border-radius: 5px; font-size: 0.78rem; transition: background 0.2s;
  }
  .nav-cta:hover { background: var(--gold-light); }

  /* ══ MEGA ══ */
  .mega-overlay {
    display: none; position: fixed; inset: 0; z-index: 900;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(3px);
  }
  .mega-overlay.active { display: block; }

  .mega-menu {
    display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
    z-index: 950; background: var(--mega-bg);
    border-bottom: 1px solid rgba(201,148,58,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    animation: megaIn 0.2s ease;
  }
  .mega-menu.active { display: block; }
  @keyframes megaIn { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }

  .mega-close {
    position: absolute; top: 12px; right: 18px;
    background: none; border: none; color: var(--text-dim); font-size: 1rem; cursor: pointer;
  }
  .mega-close:hover { color: var(--cream); }

  .mega-inner { display: grid; grid-template-columns: 220px repeat(4,1fr); max-width: 1300px; margin: 0 auto; }
  .mega-header { padding: 24px 20px; background: rgba(201,148,58,0.05); border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 5px; }
  .mega-header i { font-size: 1.6rem; color: var(--gold); }
  .mega-header-title { font-family: var(--font-d); font-size: 1.3rem; font-weight: 600; color: var(--cream); }
  .mega-header-sub { font-size: 0.72rem; color: var(--text-dim); }
  .mega-col { padding: 20px 16px; border-right: 1px solid var(--border); }
  .mega-col:last-child { border-right: none; }
  .mega-col h3 { font-size: 0.64rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
  .mega-item { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 5px; transition: background 0.15s; margin-bottom: 2px; }
  .mega-item:hover { background: var(--gold-glow); }
  .mega-item > i { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--surface); border-radius: 5px; color: var(--gold); font-size: 0.78rem; flex-shrink: 0; }
  .item-info { display: flex; flex-direction: column; gap: 1px; }
  .item-title { font-size: 1rem; font-weight: 500; color: var(--cream); }
  .item-desc { font-size: 0.65rem; color: var(--text-dim); }

  /* ══ HERO ══ */
  .hero {
    position: relative; padding: 60px 5% 50px; text-align: center; overflow: hidden;
	background: linear-gradient(to bottom, rgba(26, 15, 10, 0.4), var(--bg)), url(https://tamilbookshelf.in/bible/img/bible-stories-art.jpg);
    background-size: cover;
    background-position: center;
  }
  .hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(107,63,160,0.18) 0%, transparent 65%);
    pointer-events: none;
  }
  .hero-cross {
    font-size: 3.5rem; color: var(--gold); margin-bottom: 16px; display: block;
    filter: drop-shadow(0 0 20px rgba(201,148,58,0.4));
    animation: crossGlow 3s ease-in-out infinite alternate;
  }
  @keyframes crossGlow {
    from { filter: drop-shadow(0 0 10px rgba(201,148,58,0.3)); }
    to   { filter: drop-shadow(0 0 30px rgba(201,148,58,0.7)); }
  }
  .hero h1 {
    font-family: var(--font-d); font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 700; color: var(--cream); line-height: 1.05;
  }
  .hero h1 em { font-style: italic; color: var(--gold-light); }
  .hero-sub { font-size: 0.95rem; color: var(--text-dim); max-width: 560px; margin: 14px auto 0; line-height: 1.75; }
  .hero-badges { display: flex; justify-content: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
  .hbadge {
    display: inline-flex; align-items: center; gap: 7px;
    border: 1px solid; border-radius: 20px; padding: 5px 14px;
    font-size: 0.73rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  }
  .hbadge.gold { background: var(--gold-glow); border-color: rgba(201,148,58,0.4); color: var(--gold-light); }
  .hbadge.teal { background: rgba(0,229,160,0.08); border-color: rgba(0,229,160,0.3); color: var(--teal-lt); }
  .hbadge.purple { background: rgba(107,63,160,0.12); border-color: rgba(107,63,160,0.4); color: var(--purple-lt); }
  .hbadge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.5s infinite; }
  @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.3;transform:scale(0.5)} }




	.list-group-flush {
		border-radius: 0;
		margin-top: 60px;
	}
	.gradient-icon {
		font-size: 24px;
		background-image: linear-gradient(45deg, #a87d00, /* Gold/Yellow start color */ #d4af37, /* Milder Gold color */ #a87d00 /* Gold/Yellow end color */);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		-webkit-text-fill-color: transparent;
	}
	.gradient-icon-container {
		margin-left: 10px;
		background: none;
		border: none;
		display: inline-block;
		text-align: center;
		text-decoration: none;
		vertical-align: middle;
	}
	#categoryTaglineButtons {
		text-align: center;
	}
	.music-card-img {
		height: 100px;
		width: 100px !important;
	}
	.music-card {
		text-align: center;
		padding: 2px .5rem !important;
	}
	.section-title {
		font-size: 1.5rem;
		}
	.share-icon {
		transition: transform 0.2s ease, color 0.2s ease;
		text-decoration: none;
	}
	.share-icon:hover {
		transform: scale(1.2);
		color: #ffc107 !important; /* Gold hover color */
	}
	.shrez {
		justify-content: space-around;
		display: flex;
	}
	#todaysMusicRow .music-card img {
		display:none;
	}
	#todaysMusicRow .music-card {
		background: url(fractal.jpg) !important;
		background-size:cover !important;
		background-position: top !important;
	}
	
	#todaysMusicRow .music-card h6 {
		background: #000000b3;
		text-shadow: 1px 1px black;
	}
	#todaysMusicRow .music-card p {
		text-shadow: 1px 1px black;
	}
	#todaysMusicRow .music-card h5 {
		background: #000000db;
		text-shadow: 1px 1px #5c5c5c;
		padding: 2px;
		border-radius: 20px;
	}
	.footer .container {
		margin-bottom: 70px;
	}
	.footer {
		background: rgba(26, 26, 26, 0.8) !important; /* Semi-transparent dark background */
		backdrop-filter: blur(10px); /* Modern blur effect */
		border-top: 1px solid rgba(255, 193, 7, 0.2); /* Subtle gold border */
		color: #aaa;
	}
	.blockquote p {
		font-size: 1rem !important;
	}
	/* Base Container for the Amp Player */
		.amp-style-base {
			background: linear-gradient(180deg, #222 0%, #111 100%);
			border: 2px solid #333;
			border-radius: 12px;
			box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 10px 20px rgba(0,0,0,0.5);
		}

		/* The Tactile Hardware Button */
		.amp-button {
			width: 45px;
			height: 45px;
			border-radius: 50%;
			border: 3px solid #000;
			background: linear-gradient(145deg, #333, #222);
			display: flex;
			align-items: center;
			justify-content: center;
			cursor: pointer;
			transition: all 0.2s ease;
			box-shadow: 
				4px 4px 8px #080808, 
				-2px -2px 6px #3a3a3a,
				inset 0 0 0 rgba(255,0,0,0); /* Inner glow off */
			color: #888;
			font-size: 14px;
		}

		/* Red LED "Power On" Effect */
		.amp-red-led {
			color: #ff4444;
			text-shadow: 0 0 5px rgba(255, 0, 0, 0.6);
		}

		/* Button Pressed / Active State */
		.amp-button:active, .amp-button.active {
			background: #1a1a1a;
			box-shadow: 
				inset 2px 2px 5px #000, 
				0 0 15px rgba(255, 68, 68, 0.4);
			transform: scale(0.95);
			color: #fff;
		}

		/* Hover effect to simulate metallic glint */
		.amp-button:hover {
			background: linear-gradient(145deg, #444, #222);
			color: #fff;
		}

		/* Volume Slider Styling (Retro Knob Style) */
		.volume-control label {
			font-family: 'Courier New', monospace;
			font-weight: bold;
			color: #555;
			font-size: 10px;
			margin-bottom: 2px;
		}

		#volumeSlider {
			-webkit-appearance: none;
			background: #000;
			height: 4px;
			border-radius: 2px;
		}

		#volumeSlider::-webkit-slider-thumb {
			-webkit-appearance: none;
			width: 15px;
			height: 15px;
			background: radial-gradient(circle, #888 0%, #333 100%);
			border: 1px solid #000;
			border-radius: 50%;
			cursor: pointer;
			box-shadow: 0 0 5px rgba(0,0,0,1);
		}

		/* Visualizer Canvas Area */
		#audioVisualizer {
			background: #050505;
			border: 1px solid #222;
			border-radius: 4px;
			box-shadow: inset 0 0 10px #000;
		}
		.icon-circle {
			width: 35px;
			height: 35px;
			background: linear-gradient(145deg, #ffc107, #e6ac00);
			color: #000;
			border-radius: 50%;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			font-size: 1.2rem;
			box-shadow: 0 4px 10px rgba(0,0,0,0.3);
		}
		.logo img {
			height: 60px;
		}

.section-title {
    color: #e2dacf;
    border-bottom: 2px solid var(--amp-bg-medium);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* --- Top Bar (Header) --- */
.topbar {
    background: var(--amp-metal-gradient);
    border-bottom: 1px solid #444;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.logo-img {
    height: 60px;
}

/* --- Audio Player (Fixed Bottom Amp) --- */
.audio-player-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #00000066;
    backdrop-filter: blur(7px);
    border-top: 2px solid #555;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.amp-style-base {
    /* Chassis Aesthetics */
    border-radius: 5px 5px 0 0;
}

/* --- Controls & Buttons --- */
.amp-controls-group {
    background-color: var(--amp-bg-dark);
    padding: 5px 15px;
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
}

.amp-button {
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #444;
    border-radius: 3px;
    color: #fff;
    background-color: #111;
    box-shadow: 0 2px #000;
    transition: all 0.05s;
    line-height: 1;
}

.amp-button:active {
    box-shadow: 0 0 #000;
    transform: translateY(2px);
}

.amp-button.amp-red-led.active {
    color: yellow;
    background-color: #c00; 
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.8), 0 2px #000;
}

/* Volume Control (Styled Slider) */
.volume-control label {
    color: var(--amp-secondary-color);
    display: block;
    font-size: 8px;
    text-align: center;
}

/* Basic styling for the range input (hard to style uniformly without advanced CSS) */
#volumeSlider {
    width: 50px;
    height: 5px;
}

/* --- Visualizer Canvas --- */
#audioVisualizer {
    background-color: #050505;
    border: 1px solid #000;
    box-shadow: inset 0 0 5px rgba(0, 255, 0, 0.5); /* Greenish glow effect */
}

/* --- Marquee Section --- */
.marquee-section {
    background-color: #000;
    border-bottom: 2px solid #e2dacf;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
}

.marquee-content button {
    background: none;
    border: none;
    color: #e2dacf;
    margin: 0 20px;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* --- Music Cards --- */
.music-card {
    background: var(--amp-bg-medium);
    border: 1px solid #444;
    border-radius: 5px;
    transition: transform 0.2s;
    height: 100%;
}

.music-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.music-card-img {
    height: 80px;
    object-fit: cover;
    border-bottom: 1px solid #444;
}

.view-count-box {
    cursor: pointer;
    font-size: 0.8em;
    padding: 2px 5px;
    border-radius: 3px;
    background-color: #e2dacf;
    color: #000;
    font-weight: bold;
}

/* --- Footer --- */
.footer {
    background: var(--amp-bg-dark);
    border-top: 1px solid #e2dacf;
    color: var(--amp-secondary-color);
}
.h5, h5 {
    font-size: 1rem;
}
.btn-outline-warning {
    border:1px solid #ffc10785;
}
.btn-outline-light {
   border:1px solid #f8f9fa61;
}
.modal-header {
    padding: 5px 20px;
 }
 .modal-footer {
    padding: 5px 20px;
 }
 .modal-title {
    color: #fff;
 }
 .modal-content {
    background-color: #0d1117;
 }
 .p-3 {
    padding: 2px 1rem !important;
}
.res-grid .play-card-btn {
	display: none;
}