/* ==========================================================
   BhojpuriWap.IN — Classic Blue & White Mobile-First Theme
   100% Lightweight, Ultra-Fast Loading, SEO & Core Web Vitals Ready
   ========================================================== */

:root {
  --primary: #0056b3;
  --primary-dark: #003d82;
  --primary-light: #e7f1ff;
  --secondary: #0d6efd;
  --accent-red: #d90429;
  --accent-green: #2a9d8f;
  --accent-orange: #f77f00;
  --bg-page: #f5f7fb;
  --bg-card: #ffffff;
  --text-main: #212529;
  --text-muted: #6c757d;
  --border-color: #e5e9f2;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-full: 50px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-stack);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

a:hover {
  color: var(--accent-red);
}

.container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  background-color: var(--bg-card);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  min-height: 100vh;
}

/* ================= HEADER ================= */
.site-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 12px 15px;
  text-align: center;
  border-bottom: 3px solid var(--accent-red);
}

.header-brand h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.header-brand h1 a {
  color: #ffffff;
}

.header-tagline {
  font-size: 12px;
  opacity: 0.9;
  font-weight: 500;
}

/* ================= SEARCH BAR ================= */
.search-section {
  padding: 10px 15px;
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--border-color);
}

.search-form {
  display: flex;
  gap: 6px;
}

.search-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  background-color: #ffffff;
}

.search-input:focus {
  border-color: var(--secondary);
}

.search-btn {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.search-btn:hover {
  background-color: var(--primary-dark);
}

/* ================= CATEGORY NAV PILLS ================= */
.nav-pills-bar {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 8px 12px;
  background-color: #ffffff;
  border-bottom: 2px solid var(--primary-light);
  gap: 6px;
  scrollbar-width: thin;
}

.nav-pills-bar::-webkit-scrollbar {
  height: 3px;
}

.nav-pills-bar::-webkit-scrollbar-thumb {
  background: var(--primary);
}

.pill-item {
  display: inline-block;
  padding: 5px 12px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
}

.pill-item:hover, .pill-item.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ================= NOTICE BANNER ================= */
.notice-banner {
  background-color: #fff3cd;
  color: #856404;
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid #ffeeba;
}

/* ================= SECTION HEADERS ================= */
.section-block {
  margin-bottom: 15px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #eef4fc 0%, #ffffff 100%);
  padding: 8px 12px;
  border-left: 4px solid var(--primary);
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}

.section-title .see-all {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-red);
}

/* ================= LATEST SONGS LIST ================= */
.song-list {
  list-style: none;
}

.song-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 1px solid #f1f3f5;
  transition: background 0.15s;
}

.song-item:nth-child(even) {
  background-color: #fdfdfd;
}

.song-item:hover {
  background-color: var(--primary-light);
}

.song-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.song-icon {
  width: 28px;
  height: 28px;
  background-color: #e3f2fd;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.song-text {
  min-width: 0;
}

.song-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a202c;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.badge-mp3 {
  background-color: var(--accent-red);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 5px;
}

.badge-singer {
  color: #4a5568;
  font-weight: 500;
}

/* ================= CATEGORY FOLDERS LIST ================= */
.folder-list {
  list-style: none;
}

.folder-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  background-color: #ffffff;
  transition: background 0.15s;
}

.folder-item:hover {
  background-color: #f8fafc;
}

.folder-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.folder-icon {
  font-size: 18px;
}

.folder-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.folder-count {
  background-color: #edf2f7;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}

/* ================= ARTISTS / SINGERS CLOUD ================= */
.artist-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px;
}

.artist-tag {
  display: inline-block;
  padding: 5px 10px;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #334155;
  font-weight: 600;
  transition: all 0.15s;
}

.artist-tag:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ================= SEARCH KEYWORDS CLOUD ================= */
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 10px 12px;
  background-color: #f8fafc;
}

.keyword-tag {
  font-size: 11px;
  background-color: #e2e8f0;
  color: #475569;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.keyword-tag:hover {
  background-color: var(--accent-red);
  color: #ffffff;
}

/* ================= DOWNLOAD PAGE ================= */
.breadcrumb-bar {
  padding: 8px 12px;
  background-color: #edf2f7;
  font-size: 11px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  white-space: nowrap;
  overflow-x: auto;
}

.breadcrumb-bar a {
  color: var(--primary);
  font-weight: 600;
}

.song-detail-card {
  padding: 15px;
  text-align: center;
}

.song-cover-box {
  width: 140px;
  height: 140px;
  margin: 0 auto 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background: #e2e8f0;
}

.song-cover-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.song-detail-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.song-detail-singer {
  font-size: 13px;
  color: var(--accent-red);
  font-weight: 600;
  margin-bottom: 15px;
}

/* Metadata Table */
.meta-table {
  width: 100%;
  margin: 15px 0;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}

.meta-table tr {
  border-bottom: 1px solid #edf2f7;
}

.meta-table td {
  padding: 7px 10px;
}

.meta-table td.label {
  font-weight: 700;
  color: #64748b;
  width: 35%;
  background-color: #f8fafc;
}

.meta-table td.val {
  color: #1e293b;
  font-weight: 600;
}

/* Audio Player */
.player-box {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 12px;
  margin: 15px 0;
}

.player-box audio {
  width: 100%;
  outline: none;
}

/* Download Buttons */
.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.1s, opacity 0.2s;
}

.btn-download:active {
  transform: scale(0.98);
}

.btn-320 {
  background: linear-gradient(135deg, #198754, #157347);
}

.btn-128 {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
}

.btn-64 {
  background: linear-gradient(135deg, #6c757d, #5c636a);
}

/* Share Buttons */
.share-section {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 15px 0;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

.share-whatsapp {
  background-color: #25d366;
}

.share-telegram {
  background-color: #0088cc;
}

/* ================= AD CONTAINERS ================= */
.ad-container {
  padding: 10px 0;
  text-align: center;
  background-color: #fafafa;
  margin: 8px 0;
  min-height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ================= PAGINATION ================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 15px 10px;
}

.page-link {
  display: inline-block;
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.page-link.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ================= FOOTER ================= */
.site-footer {
  background-color: #1a202c;
  color: #cbd5e1;
  padding: 20px 15px;
  font-size: 12px;
  border-top: 3px solid var(--primary);
}

.footer-desc {
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 15px;
  border-top: 1px solid #2d3748;
  padding-top: 12px;
}

.footer-links a {
  color: #a0aec0;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  text-align: center;
  color: #718096;
  font-size: 11px;
}
