:root {
  --bg: #0a0a0f;
  --bg-elevated: #14141c;
  --bg-card: #1a1a24;
  --bg-hover: #22222e;
  --border: rgba(255,255,255,0.08);
  --text: #f4f4f7;
  --text-muted: #9a9aab;
  --accent: #c9a227;
  --accent-soft: rgba(201,162,39,0.15);
  --accent-hover: #e0b83a;
  --pink: #e85d9a;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(0,0,0,0.45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201,162,39,0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(232,93,154,0.08), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(100,80,200,0.1), transparent);
  pointer-events: none; z-index: 0;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.wrap { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 0 16px 64px; }
.loading { color: var(--text-muted); text-align: center; padding: 40px 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(10,10,15,0.85);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 960px; margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.brand-link { display: flex; align-items: center; gap: 12px; color: inherit; min-width: 0; }
.logo {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 20px rgba(201,162,39,0.35);
}
.brand-text h1 { font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1.2; }
.brand-text .tag { font-size: 0.7rem; color: var(--text-muted); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-left: auto; }
.nav a {
  font-size: 0.78rem; color: var(--text-muted); padding: 4px 8px;
  border-radius: 999px; border: 1px solid transparent;
}
.nav a:hover { color: var(--text); border-color: var(--border); background: var(--bg-elevated); }

/* Promo banner */
.promo-banner {
  position: relative; z-index: 40;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px 12px;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(201,162,39,0.22), rgba(232,93,154,0.18));
  border-bottom: 1px solid rgba(201,162,39,0.35);
  font-size: 0.88rem; text-align: center;
}
.promo-banner strong { color: var(--accent-hover); }

/* Hero */
.hero { padding: 28px 0 18px; text-align: center; }
.hero h2 {
  font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 0.95rem; }
.hero strong { color: var(--accent); }

/* Artist sections */
.artist-section { margin-top: 28px; }
.section-label {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; margin-bottom: 14px; flex-wrap: wrap;
}
.section-label h3 { font-size: 1.35rem; font-weight: 750; }
.section-label span { color: var(--text-muted); font-size: 0.82rem; }

.songs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .songs-grid { grid-template-columns: 1fr 1fr; }
}

.song-card {
  display: flex; gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.song-card:hover { background: var(--bg-hover); border-color: rgba(201,162,39,0.25); }
.song-cover {
  width: 88px; height: 88px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
  background: #111;
}
.song-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.song-body h5 { font-size: 0.98rem; font-weight: 650; line-height: 1.25; }
.song-body .sub { font-size: 0.8rem; color: var(--text-muted); }
.song-body .sub-album { font-size: 0.72rem; color: var(--text-muted); opacity: 0.85; }
.song-body .writers { font-size: 0.68rem; color: var(--text-muted); font-style: italic; opacity: 0.9; }
.e {
  display: inline-block; margin-left: 6px; font-size: 0.65rem; font-weight: 700;
  border: 1px solid var(--text-muted); border-radius: 3px; padding: 0 4px; vertical-align: middle;
}

.ringtone-badge {
  display: inline-block; margin-top: 6px; margin-bottom: 4px;
  font-size: 0.68rem; font-weight: 650; letter-spacing: 0.01em;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: 999px;
  padding: 3px 8px;
  width: fit-content;
  max-width: 100%;
}

.song-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 6px;
}
.preview-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.preview-btn svg { width: 14px; height: 14px; fill: currentColor; }
.preview-btn.playing { background: var(--accent); color: #111; border-color: var(--accent); }
.preview-label { font-size: 0.72rem; color: var(--text-muted); }
.track-price { font-weight: 700; font-size: 0.92rem; color: var(--text); margin-left: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 8px 12px; font-size: 0.78rem; font-weight: 700;
  border: none; cursor: pointer; white-space: nowrap;
}
.btn-buy {
  background: var(--accent); color: #111;
}
.btn-buy:hover { background: var(--accent-hover); color: #111; }
.btn-soon {
  background: transparent; color: var(--text-muted);
  border: 1px dashed var(--border); cursor: not-allowed; opacity: 0.85;
}

/* Footer / player / thanks */
.site-footer {
  position: relative; z-index: 1;
  text-align: center; padding: 32px 16px 48px;
  color: var(--text-muted); font-size: 0.85rem;
  border-top: 1px solid var(--border);
}
.site-footer .fine { margin-top: 10px; opacity: 0.75; font-size: 0.78rem; max-width: 520px; margin-left: auto; margin-right: auto; }

.now-playing {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: none; align-items: center; gap: 12px;
  background: rgba(20,20,28,0.95); border: 1px solid var(--border);
  border-radius: 14px; padding: 10px 12px; backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.now-playing.visible { display: flex; }
.np-info { min-width: 0; flex: 1; }
.np-title { font-weight: 650; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-sub { font-size: 0.75rem; color: var(--text-muted); }
.np-stop {
  border: 1px solid var(--border); background: var(--bg-card); color: var(--text);
  border-radius: 999px; padding: 6px 12px; font-size: 0.78rem; cursor: pointer;
}

.thanks {
  position: relative; z-index: 1;
  max-width: 560px; margin: 0 auto; padding: 36px 16px 80px; text-align: center;
}
.thanks h2 { font-size: 1.8rem; margin-bottom: 10px; }
.thanks p { color: var(--text-muted); margin-bottom: 12px; }
.thanks-list {
  list-style: none; text-align: left; margin: 18px auto; max-width: 360px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 18px;
}
.thanks-list li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.thanks-list li:last-child { border-bottom: none; }
.thanks code { color: var(--accent); font-size: 0.85em; }
.thanks .box {
  margin-top: 18px; padding: 14px; border-radius: var(--radius);
  background: var(--bg-elevated); border: 1px solid var(--border); text-align: left;
}
.thanks .muted { color: var(--text-muted); margin-top: 8px; font-size: 0.9rem; }
.thanks .back { margin-top: 28px; }

@media (max-width: 480px) {
  .nav { width: 100%; margin-left: 0; }
  .song-cover { width: 72px; height: 72px; }
  .btn-buy, .btn-soon { width: 100%; }
  .song-actions { width: 100%; }
  .track-price { margin-left: 0; }
}

/* Artist hero / banner */
.artist-hero {
  position: relative;
  margin: 0 0 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #070b16;
  max-height: 280px;
  box-shadow: 0 0 40px rgba(40, 120, 255, 0.18);
}
.artist-hero img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.05);
}
.artist-hero-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,11,22,0.05) 40%, rgba(7,11,22,0.85) 100%),
              radial-gradient(ellipse at 70% 20%, rgba(60,140,255,0.25), transparent 55%);
  pointer-events: none;
}
@media (min-width: 720px) {
  .artist-hero { max-height: 340px; }
  .artist-hero img { height: 340px; object-position: center 15%; }
}

.artist-hero-name {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  font-size: clamp(1.4rem, 5vw, 2rem); font-weight: 750;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.65);
  z-index: 2; pointer-events: none;
}

/* J'Vionna — country R&B accents */
.artist-section#jvionna .ringtone-badge {
  color: #f0d2a8;
  background: rgba(201, 137, 58, 0.18);
  border-color: rgba(196, 92, 122, 0.45);
}
.artist-section#jvionna .artist-hero {
  box-shadow: 0 0 40px rgba(196, 92, 122, 0.22), 0 0 24px rgba(201, 137, 58, 0.12);
  border-color: rgba(196, 92, 122, 0.35);
}
.artist-section#jvionna .song-card:hover {
  border-color: rgba(201, 137, 58, 0.4);
}
.artist-section#jvionna .btn-buy {
  background: linear-gradient(135deg, #c9893a, #c45c7a);
  color: #1a1010;
}
.artist-section#jvionna .btn-buy:hover {
  filter: brightness(1.08);
  background: linear-gradient(135deg, #d4a04a, #d06a8a);
  color: #1a1010;
}
.artist-section#jvionna .section-label h3 {
  color: #f3d7b0;
}

/* Xander — deep purple glow, black leather, silver */
.artist-section#xander .ringtone-badge {
  color: #e4d7ff;
  background: rgba(120, 70, 200, 0.22);
  border-color: rgba(180, 140, 255, 0.4);
}
.artist-section#xander .artist-hero {
  box-shadow: 0 0 40px rgba(120, 60, 200, 0.32), 0 0 20px rgba(180, 140, 255, 0.12);
  border-color: rgba(160, 110, 230, 0.4);
}
.artist-section#xander .song-card:hover {
  border-color: rgba(180, 140, 255, 0.45);
}
.artist-section#xander .btn-buy {
  background: linear-gradient(135deg, #7b4cc4, #c9b7ff);
  color: #12081c;
}
.artist-section#xander .btn-buy:hover {
  filter: brightness(1.08);
  background: linear-gradient(135deg, #8b5cd4, #ddd0ff);
  color: #12081c;
}
.artist-section#xander .section-label h3 {
  color: #ddd0ff;
}


.thanks-song-card { margin: 0 0 18px; max-width: 420px; }
.thanks #thanks-song[hidden] { display: none; }

/* Help & Contact */
.help { margin-top: 48px; padding-top: 8px; }
.help-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px 24px;
  box-shadow: var(--shadow);
}
.help-card p { color: var(--text-muted); margin-bottom: 12px; }
.help-email { margin: 16px 0 22px; }
.help-card h4, .support-block h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 8px 0 12px;
  color: var(--text);
}
.faq { text-align: left; }
.faq dt {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--text);
  margin-top: 14px;
}
.faq dt:first-child { margin-top: 0; }
.faq dd {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 4px 0 0;
  line-height: 1.55;
}
.faq code { color: var(--accent); font-size: 0.88em; }
.support-block {
  margin-top: 22px;
  padding: 16px 18px 18px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  text-align: left;
}
.support-block .help-email { margin: 14px 0 18px; }
.support-block .muted { color: var(--text-muted); margin-top: 8px; font-size: 0.9rem; }

/* Add to Home Screen */
.install { margin-top: 40px; padding-top: 8px; }
.install-steps { margin-top: 18px; }
.install-steps h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.install-steps ol {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.install-steps li { margin: 4px 0; }
.install-steps strong { color: var(--text); font-weight: 650; }
.install.prefer-ios #install-ios,
.install.prefer-android #install-android {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid rgba(201,162,39,0.28);
}

.download-panel {
  margin: 22px auto 0;
  max-width: 420px;
  padding: 16px 18px 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(201,162,39,0.35);
  text-align: center;
}
.download-panel .muted { color: var(--text-muted); margin: 0 0 12px; font-size: 0.92rem; }
.download-panel .download-error { color: var(--text-muted); }
.download-panel #download-actions { margin: 0; }
.download-panel #download-actions[hidden] { display: none; }
.download-panel .btn-buy { display: inline-block; }

/* ===== Bundles, Pick 5, promo (added Nov 2026) ===== */
.promo-code-banner {
  position: relative; z-index: 2; text-align: center; padding: 10px 16px;
  background: linear-gradient(90deg, rgba(232,93,154,0.25), rgba(201,162,39,0.25));
  border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.promo-code-banner strong { color: var(--accent-hover); letter-spacing: 0.04em; }
.promo-code-banner .muted { display: block; color: var(--text-muted); font-size: 0.78rem; }
.deals { display: grid; gap: 12px; margin: 6px 0 8px; position: relative; z-index: 1; }
@media (min-width: 720px) { .deals { grid-template-columns: 1.3fr 1fr; } }
.deal-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
}
.deal-card h3 { font-size: 1.2rem; }
.deal-card p { color: var(--text-muted); font-size: 0.88rem; }
.deal-card p strong { color: var(--text); }
.deal-kicker, .bundle-kicker { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-hover); font-weight: 700; }
.deal-pick5 { background: linear-gradient(135deg, rgba(201,162,39,0.14), var(--bg-card) 60%); }

.bundle-card {
  display: flex; gap: 14px; align-items: center; margin: 0 0 14px;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-card) 70%);
  border: 1px solid rgba(201,162,39,0.35); border-radius: var(--radius); padding: 12px;
}
.bundle-cover { width: 120px; height: 120px; border-radius: 10px; object-fit: cover; flex-shrink: 0; box-shadow: var(--shadow); }
@media (min-width: 640px) { .bundle-cover { width: 150px; height: 150px; } }
.bundle-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; align-items: flex-start; }
.bundle-body h4 { font-size: 1.05rem; line-height: 1.25; }
.bundle-sub { color: var(--text-muted); font-size: 0.82rem; }
.bundle-price { font-size: 1.05rem; margin: 2px 0 4px; }
.bundle-price .was { color: var(--text-muted); font-size: 0.88rem; margin-right: 4px; }
.bundle-price .now { color: var(--accent-hover); font-size: 1.2rem; }

.pick-btn {
  margin-top: 6px; align-self: flex-start; font: inherit; font-size: 0.74rem; font-weight: 600;
  color: var(--text); background: transparent; border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 999px; padding: 4px 10px; cursor: pointer;
}
.pick-btn:hover { border-color: var(--accent); color: var(--accent-hover); }
.pick-btn.in-cart { border-style: solid; border-color: var(--accent); background: var(--accent-soft); color: var(--accent-hover); }
.pick-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.cart-fab {
  position: fixed; right: 14px; bottom: 84px; z-index: 70; display: flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 0.9rem; color: #111; background: var(--accent);
  border: none; border-radius: 999px; padding: 10px 14px; box-shadow: var(--shadow); cursor: pointer;
}
.cart-fab[hidden] { display: none; }
.cart-count { background: #111; color: var(--accent-hover); border-radius: 999px; min-width: 24px; padding: 1px 7px; text-align: center; font-size: 0.82rem; }
.cart-drawer {
  position: fixed; right: 0; bottom: 0; z-index: 80; width: min(400px, 100%); max-height: 85vh; overflow-y: auto;
  background: rgba(20,20,28,0.98); border: 1px solid var(--border); border-radius: 16px 16px 0 0;
  padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
}
.cart-drawer[hidden] { display: none; }
@media (min-width: 720px) { .cart-drawer { right: 16px; bottom: 16px; border-radius: 16px; } }
.cart-head { display: flex; align-items: center; justify-content: space-between; }
.cart-close { background: none; border: none; color: var(--text); font-size: 1.1rem; cursor: pointer; padding: 4px 8px; }
.cart-explainer, .cart-status { color: var(--text-muted); font-size: 0.85rem; }
.cart-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cart-item { display: flex; align-items: center; gap: 10px; background: var(--bg-card); border-radius: 10px; padding: 6px 8px; }
.cart-item img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.cart-item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 0.85rem; }
.cart-item-text span { color: var(--text-muted); font-size: 0.75rem; }
.cart-item-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-remove { font: inherit; font-size: 0.75rem; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 4px 8px; cursor: pointer; }
.cart-empty { color: var(--text-muted); font-size: 0.85rem; }
.cart-checkout { text-align: center; }
.cart-checkout.disabled { opacity: 0.45; pointer-events: none; }
.cart-clear { font: inherit; font-size: 0.78rem; background: none; border: none; color: var(--text-muted); text-decoration: underline; cursor: pointer; align-self: center; }

.download-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.download-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }
.download-list .dl-text { display: flex; flex-direction: column; min-width: 0; font-size: 0.9rem; }
.download-list .dl-text span { color: var(--text-muted); font-size: 0.76rem; }
.artist-section#jaide .bundle-card { border-color: rgba(255,92,190,0.45); background: linear-gradient(135deg, rgba(255,92,190,0.16), var(--bg-card) 70%); }
.artist-section#j-alexander .bundle-card { border-color: rgba(40,140,255,0.45); background: linear-gradient(135deg, rgba(20,40,90,0.55), var(--bg-card) 70%); }
.artist-section#xander .bundle-card { border-color: rgba(170,90,255,0.45); background: linear-gradient(135deg, rgba(110,50,180,0.25), var(--bg-card) 70%); }
.artist-section#emmanuel .bundle-card { border-color: rgba(150,80,220,0.45); background: linear-gradient(135deg, rgba(90,40,140,0.3), var(--bg-card) 70%); }
.artist-section#lyve5 .bundle-card { border-color: rgba(255,150,80,0.45); background: linear-gradient(135deg, rgba(255,150,80,0.16), var(--bg-card) 70%); }
.artist-section#jvionna .bundle-card { border-color: rgba(230,60,160,0.45); background: linear-gradient(135deg, rgba(201,137,58,0.18), rgba(196,92,122,0.12) 45%, var(--bg-card) 75%); }
.artist-section#javonni .bundle-card { border-color: rgba(110,120,255,0.45); background: linear-gradient(135deg, rgba(90,60,180,0.25), rgba(40,80,160,0.15) 45%, var(--bg-card) 75%); }
.artist-section#sutter-hayes .bundle-card { border-color: rgba(240,170,60,0.45); background: linear-gradient(135deg, rgba(240,170,60,0.18), var(--bg-card) 70%); }
