/* ============================================================
   AFRIQMUSIC — Main Stylesheet
   Dark theme | Syne + DM Sans | Mobile-first
   v2 — fixed layout, proper responsive
============================================================ */

/* ── 1. CSS Custom Properties ──────────────────────────── */
:root {
  --bg:          #0c0c0c;
  --bg-2:        #121212;
  --bg-3:        #181818;
  --bg-4:        #222222;
  --bg-hover:    #2a2a2a;

  --txt:         #f2ede8;
  --txt-2:       #9e9890;
  --txt-3:       #58534e;

  --gold:        #e8a020;
  --gold-2:      #c88010;
  --gold-bg:     rgba(232,160,32,.12);
  --gold-border: rgba(232,160,32,.3);

  --border:      rgba(255,255,255,.07);
  --border-2:    rgba(255,255,255,.13);

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full: 999px;

  --font-h: 'Syne', sans-serif;
  --font-b: 'DM Sans', sans-serif;

  --hdr-h:    64px;
  --player-h: 70px;
  --trans:    .2s ease;
}

/* ── 2. Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--player-h) + 12px);
}

a { color: inherit; text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--gold); }
img { display: block; max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-h);
  font-weight: 700;
  line-height: 1.15;
  color: var(--txt);
  margin-top: 0;
}

/* ── 3. Navbar ──────────────────────────────────────────── */
.aq-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--hdr-h);
  background: rgba(12,12,12,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--trans);
}
.aq-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.55); }
.aq-header .navbar  { height: var(--hdr-h); padding: 0; }

/* Logo */
.aq-logo { display: inline-flex; align-items: center; gap: 9px; }
.logo-icon {
  width: 34px; height: 34px;
  background: var(--gold);
  color: #000;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-h);
  font-size: 19px; font-weight: 800;
  letter-spacing: .04em;
  color: var(--txt);
}
.logo-accent { color: var(--gold); }

/* Nav links */
.aq-header .nav-link {
  font-size: 13.5px; font-weight: 500;
  color: var(--txt-2);
  padding: 6px 11px !important;
  border-radius: var(--r-sm);
  transition: color var(--trans), background var(--trans);
}
.aq-header .nav-link:hover { color: var(--txt); background: rgba(255,255,255,.05); }
.aq-header .nav-link.active { color: var(--gold); background: var(--gold-bg); }

/* Toggler */
.aq-toggler {
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  background: transparent;
  width: 38px; height: 38px;
  padding: 8px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 5px;
  cursor: pointer;
}
.aq-toggler:focus { outline: none; box-shadow: none; }
.aq-toggler span {
  display: block; width: 100%; height: 2px;
  background: var(--txt-2); border-radius: 2px;
  transition: all .25s;
}

/* Collapsed nav panel */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: var(--r-md);
    padding: 12px;
    margin-top: 6px;
  }
  .aq-header .nav-link { padding: 10px 12px !important; }
  .aq-nav-actions { padding-top: 12px; border-top: 1px solid var(--border); margin-top: 8px; }
}

/* Buttons */
.aq-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px;
  font-family: var(--font-b); font-weight: 600;
  border: none; cursor: pointer;
  transition: all var(--trans);
  white-space: nowrap;
  border-radius: var(--r-sm);
  padding: 9px 20px; font-size: 14px;
}
.aq-btn-gold { background: var(--gold); color: #000 !important; }
.aq-btn-gold:hover { background: #f0a830; transform: translateY(-1px); color: #000 !important; }
.aq-btn-outline {
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--txt-2) !important;
}
.aq-btn-outline:hover { border-color: var(--gold); color: var(--gold) !important; }
.aq-btn-lg { padding: 13px 28px; font-size: 15px; border-radius: var(--r-md); }
.aq-btn-sm { padding: 6px 14px; font-size: 13px; }

/* Icon button */
.aq-icon-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--txt-2); font-size: 13px;
  transition: all var(--trans); cursor: pointer;
}
.aq-icon-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ── 4. Hero ────────────────────────────────────────────── */
.aq-hero {
  position: relative;
  min-height: calc(100vh - var(--hdr-h));
  display: flex; align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}

/* Background atmosphere */
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 68% 44%, rgba(232,160,32,.09) 0%, transparent 65%),
    radial-gradient(ellipse 38% 42% at 18% 85%, rgba(192,57,43,.07) 0%, transparent 55%),
    var(--bg);
  z-index: 0;
}
/* Subtle vertical rule pattern (Kente-inspired) */
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent, transparent 48px,
    rgba(232,160,32,.022) 48px, rgba(232,160,32,.022) 49px
  );
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: '';
  width: 26px; height: 2px;
  background: var(--gold); border-radius: 2px;
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.hero-title .line-gold { color: var(--gold); }

.hero-sub {
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  color: var(--txt-2);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }

/* Stats row */
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; }
.hero-stat-val {
  font-family: var(--font-h);
  font-size: 1.65rem; font-weight: 800;
  color: var(--txt); line-height: 1;
  margin-bottom: 3px;
}
.hero-stat-lbl {
  font-size: 11px; font-weight: 500;
  color: var(--txt-3);
  text-transform: uppercase; letter-spacing: .07em;
}

/* Hero floating cards */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 360px;
}
.hcard-stack { position: relative; width: 230px; height: 310px; margin: 0 auto; }
.hcard {
  position: absolute;
  width: 200px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.hcard:nth-child(1) { top: 0;   left: 30px; transform: rotate(-7deg); opacity: .5; z-index: 1; }
.hcard:nth-child(2) { top: 18px; left: 10px; transform: rotate(-2deg); opacity: .75; z-index: 2; }
.hcard:nth-child(3) { top: 36px; left: 28px; transform: rotate(4deg);  opacity: 1;  z-index: 3; }
.hcard img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hcard-info { padding: 10px 12px 12px; }
.hcard-title { font-size: 12px; font-weight: 700; margin: 0 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hcard-sub   { font-size: 11px; color: var(--txt-3); margin: 0; }

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: var(--txt-3); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(7px)} }

/* ── 5. Marquee ticker ──────────────────────────────────── */
.aq-ticker {
  background: var(--gold);
  overflow: hidden;
  padding: 10px 0;
  white-space: nowrap;
}
.aq-ticker-inner {
  display: inline-flex; gap: 0;
  animation: ticker 30s linear infinite;
}
.aq-ticker-inner span {
  font-family: var(--font-h);
  font-size: 12px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: #000;
  padding: 0 28px;
}
.aq-ticker-inner span::before { content: '◆ '; font-size: 7px; vertical-align: middle; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── 6. Section wrappers ─────────────────────────────────  */
.aq-section       { padding: 64px 0; }
.aq-section-tight { padding: 48px 0; }
.aq-section-dark  { background: var(--bg-2); }

.section-header { margin-bottom: 28px; }
.section-eye {
  font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 5px;
}
.section-title {
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-weight: 800; margin: 0;
}
.section-title span { color: var(--gold); }
.section-header-row {
  display: flex; align-items: flex-end;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px;
}
.section-more {
  font-size: 13px; font-weight: 500;
  color: var(--txt-3);
  display: inline-flex; align-items: center; gap: 5px;
  transition: color var(--trans);
}
.section-more:hover { color: var(--gold); }

/* Divider */
.aq-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── 7. Song Card (grid) ─────────────────────────────────  */
.song-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.song-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  border-color: var(--border-2);
}

.sc-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-4);
}
.sc-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.song-card:hover .sc-thumb img { transform: scale(1.06); }

.sc-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.52);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--trans);
}
.song-card:hover .sc-overlay { opacity: 1; }

.sc-play-btn {
  width: 48px; height: 48px;
  background: var(--gold);
  border-radius: 50%;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #000; font-size: 15px;
  transform: scale(.82);
  transition: transform .2s ease;
}
.song-card:hover .sc-play-btn { transform: scale(1); }

.sc-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--gold); color: #000;
  font-size: 9px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 4px;
}

.sc-body { padding: 12px 13px; }
.sc-title {
  font-family: var(--font-h);
  font-size: 13.5px; font-weight: 700;
  margin: 0 0 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sc-artist {
  font-size: 12px; color: var(--txt-3);
  margin: 0 0 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sc-artist a { color: var(--txt-3); }
.sc-artist a:hover { color: var(--gold); }

.sc-foot {
  display: flex; align-items: center;
  justify-content: space-between; gap: 6px;
}
.sc-meta {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--txt-3);
}
.sc-meta i { font-size: 9px; }
.sc-actions { display: flex; gap: 4px; }
.sc-action {
  width: 27px; height: 27px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--txt-3); font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--trans);
}
.sc-action:hover { border-color: var(--gold); color: var(--gold); }

/* ── 8. Songs table (trending) ───────────────────────────  */
.songs-tbl { width: 100%; border-collapse: collapse; }
.songs-tbl tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--trans);
}
.songs-tbl tr:last-child { border-bottom: none; }
.songs-tbl tbody tr:hover { background: var(--bg-3); }
.songs-tbl td { padding: 11px 8px; vertical-align: middle; }

.tbl-num   { width: 32px; text-align: center; font-size: 13px; color: var(--txt-3); }
.tbl-thumb { width: 46px; }
.tbl-thumb img { width: 42px; height: 42px; object-fit: cover; border-radius: 7px; display: block; }
.tbl-info  { min-width: 0; }
.tbl-title {
  font-size: 14px; font-weight: 600; margin: 0 0 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--txt);
}
.tbl-title a { color: inherit; }
.tbl-title a:hover { color: var(--gold); }
.tbl-artist { font-size: 12px; color: var(--txt-3); margin: 0; }
.tbl-artist a { color: var(--txt-3); }
.tbl-artist a:hover { color: var(--gold); }
.tbl-meta  { font-size: 12px; color: var(--txt-3); white-space: nowrap; }
.tbl-acts  { text-align: right; white-space: nowrap; }

/* ── 9. Artist card ──────────────────────────────────────  */
.artist-card { text-align: center; transition: transform var(--trans); }
.artist-card:hover { transform: translateY(-4px); }
.artist-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--border);
  transition: border-color var(--trans);
  margin: 0 auto 10px;
  display: block;
}
.artist-card:hover .artist-photo { border-color: var(--gold); }
.artist-name {
  font-family: var(--font-h);
  font-size: 13px; font-weight: 700;
  margin: 0 0 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.artist-songs { font-size: 11px; color: var(--txt-3); margin: 0; }

/* ── 10. Featured track (wide row card) ─────────────────  */
.ft-card {
  display: flex; align-items: stretch;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.ft-card:hover { border-color: var(--border-2); box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.ft-thumb { width: 100px; flex-shrink: 0; }
.ft-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ft-body {
  padding: 14px 16px;
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.ft-ago  { font-size: 10.5px; color: var(--gold); font-weight: 600; letter-spacing: .06em; margin-bottom: 4px; text-transform: uppercase; }
.ft-title {
  font-family: var(--font-h);
  font-size: 14px; font-weight: 700;
  margin: 0 0 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--txt);
}
.ft-title a { color: inherit; }
.ft-title a:hover { color: var(--gold); }
.ft-artist { font-size: 12px; color: var(--txt-3); margin: 0 0 10px; }
.ft-artist a { color: var(--txt-3); }
.ft-artist a:hover { color: var(--gold); }
.ft-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }

/* ── 11. Genre pills ─────────────────────────────────────  */
.genre-row {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.genre-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 17px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 13px; font-weight: 500;
  color: var(--txt-2);
  transition: all var(--trans);
  cursor: pointer;
}
.genre-pill:hover, .genre-pill.active {
  background: var(--gold-bg);
  border-color: var(--gold-border);
  color: var(--gold);
}

/* ── 12. News card ───────────────────────────────────────  */
.news-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  height: 100%;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,.45);
  border-color: var(--border-2);
}
.nc-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-4); }
.nc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .nc-img img { transform: scale(1.05); }
.nc-body { padding: 16px 18px; }
.nc-date { font-size: 11px; color: var(--gold); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.nc-title { font-family: var(--font-h); font-size: 15px; font-weight: 700; margin: 0 0 8px; line-height: 1.35; }
.nc-excerpt { font-size: 13px; color: var(--txt-2); margin: 0; line-height: 1.6; }

/* ── 13. CTA banner ──────────────────────────────────────  */
.aq-cta {
  padding: 72px 0;
  background:
    linear-gradient(135deg, rgba(232,160,32,.1) 0%, rgba(192,57,43,.07) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; margin-bottom: 14px;
}
.cta-sub {
  color: var(--txt-2);
  max-width: 460px; margin: 0 auto 36px;
  font-size: 1.05rem; line-height: 1.7;
}

/* ── 14. Footer ─────────────────────────────────────────  */
.aq-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-tagline { font-size: 13px; color: var(--txt-3); line-height: 1.65; max-width: 270px; }
.footer-social  { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-social a {
  width: 34px; height: 34px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--txt-3);
  transition: all var(--trans);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-bg); }
.footer-heading {
  font-family: var(--font-h);
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--txt); margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 13px; color: var(--txt-3); transition: color var(--trans); }
.footer-links a:hover { color: var(--gold); }
.footer-genres { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-genres a {
  font-size: 11.5px; padding: 4px 11px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r-full); color: var(--txt-3);
  transition: all var(--trans);
}
.footer-genres a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 12px; color: var(--txt-3); margin: 0; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 12px; color: var(--txt-3); transition: color var(--trans); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ── 15. Utility ─────────────────────────────────────────  */
.text-gold  { color: var(--gold) !important; }
.text-muted-custom { color: var(--txt-3) !important; }
.bg-card    { background: var(--bg-3) !important; }

.aq-badge {
  display: inline-block; padding: 3px 8px; border-radius: 4px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.aq-badge-gold { background: var(--gold); color: #000; }
.aq-badge-dark { background: var(--bg-4); color: var(--txt-3); border: 1px solid var(--border); }

/* ── 16. Scroll animations ───────────────────────────────  */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up        { animation: fadeUp .5s ease both; }
.fade-up-d1     { animation-delay: .08s; }
.fade-up-d2     { animation-delay: .16s; }
.fade-up-d3     { animation-delay: .24s; }
.fade-up-d4     { animation-delay: .32s; }

/* ── 17. Scrollbar ───────────────────────────────────────  */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--txt-3); }
