/* Sky Nova Beats - static replica of skynovabeats.com
   Dark theme, orange-red accents. No build step. */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #171717;
  --card: #141414;
  --line: #262626;
  --text: #ffffff;
  --muted: #9a9a9a;
  --muted-2: #6d6d6d;
  --accent: #ff4d1c;
  --accent-2: #ff7a00;
  --accent-grad: linear-gradient(90deg, #ff4d1c, #ff7a00);
  --hero-grad: linear-gradient(120deg, rgba(190,15,50,.92), rgba(255,90,20,.78));
  --radius: 6px;
  --nav-h: 64px;
  --player-h: 78px;
  --maxw: 1180px;
  --font: "Poppins", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--player-h);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
}
.nav .wrap { display: flex; align-items: center; gap: 18px; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.brand .logo-mark {
  width: 30px; height: 30px; border-radius: 6px;
  background: var(--accent-grad); display: grid; place-items: center;
  font-weight: 900; color: #fff; font-size: 15px;
}
.nav-links { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--accent-grad); color: #fff; border: none;
  padding: 8px 16px; border-radius: 4px; font-weight: 600; font-size: 13px;
}
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; margin-left: auto; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0d0d0d; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; margin-left: 0;
  }
  .nav-links.open { max-height: 80vh; overflow-y: auto; }
  .nav-links a { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-cta { margin: 12px 20px; text-align: center; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  border-radius: 0 0 4px 4px;
  min-height: 340px; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: var(--hero-grad); }
.hero-inner { position: relative; z-index: 2; padding: 48px 0; width: 100%; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.05; margin: 0 0 14px; max-width: 620px; }
.hero p.sub { font-size: clamp(15px, 2vw, 19px); color: #ffe9e0; margin: 0 0 26px; max-width: 560px; }
.hero-search {
  display: flex; max-width: 560px; background: #0a0a0a;
  border-radius: 4px; overflow: hidden; border: 1px solid rgba(255,255,255,.15);
}
.hero-search input { flex: 1; background: transparent; border: none; color: #fff; padding: 15px 18px; font-size: 15px; outline: none; }
.hero-search button { background: var(--accent-grad); color: #fff; border: none; padding: 0 26px; font-weight: 700; font-size: 13px; letter-spacing: .05em; }

/* ---------- WAVEFORM STRIP ---------- */
.wavestrip { display: flex; align-items: flex-end; gap: 3px; height: 46px; margin: 40px 0 8px; overflow: hidden; }
.wavestrip span { flex: 1; min-width: 3px; background: var(--accent); opacity: .85; border-radius: 1px; }

/* ---------- SECTION HEADINGS ---------- */
.section { padding: 48px 0; }
.section-title { text-align: center; font-size: 26px; margin: 0 0 34px; }
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: 30px; margin: 0; }

/* ---------- TRACK TABLE ---------- */
.track-tools { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 18px; }
.track-tools input, .track-tools select {
  background: var(--bg-3); border: 1px solid var(--line); color: #fff;
  padding: 10px 12px; border-radius: 4px; font-size: 13.5px; outline: none;
}
.track-tools input { flex: 1; min-width: 200px; }
.track-table { width: 100%; }
.track-head, .track-row { display: grid; grid-template-columns: 34px 46px 1fr 62px 54px 1fr 132px; align-items: center; gap: 12px; }
.track-head { padding: 0 10px 10px; color: var(--muted-2); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.track-row {
  padding: 9px 10px; border-bottom: 1px solid #1b1b1b; border-radius: var(--radius);
  transition: background .12s; cursor: pointer;
}
.track-row:hover { background: var(--bg-3); }
.track-row.playing { background: #1e1206; }
.track-idx { color: var(--muted-2); font-size: 13px; text-align: center; }
.track-art { width: 40px; height: 40px; border-radius: 4px; position: relative; overflow: hidden; background: #222; }
.track-art img { width: 100%; height: 100%; object-fit: cover; }
.track-art .play-ov {
  position: absolute; inset: 0; background: rgba(0,0,0,.45);
  display: grid; place-items: center; opacity: 0; transition: opacity .12s; color: #fff; font-size: 15px;
}
.track-row:hover .play-ov, .track-row.playing .play-ov { opacity: 1; }
.track-title { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-title small { display: block; color: var(--muted-2); font-weight: 400; font-size: 11.5px; }
.track-time, .track-bpm { color: var(--muted); font-size: 13px; }
.track-tags { display: flex; gap: 5px; flex-wrap: wrap; overflow: hidden; max-height: 22px; }
.tag { background: #1f1f1f; color: var(--muted); font-size: 10.5px; padding: 2px 7px; border-radius: 20px; white-space: nowrap; }
.track-actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.icon-btn { background: none; border: none; color: var(--muted); font-size: 15px; padding: 6px; border-radius: 4px; }
.icon-btn:hover { color: #fff; }
.price-btn {
  background: var(--accent-grad); color: #fff; border: none; padding: 8px 12px;
  border-radius: 4px; font-weight: 700; font-size: 12.5px; display: inline-flex; gap: 6px; align-items: center;
}
.price-btn.free { background: #333; }

@media (max-width: 760px) {
  .track-head { display: none; }
  .track-row { grid-template-columns: 30px 42px 1fr auto; }
  .track-bpm, .track-tags, .track-time { display: none; }
  .track-actions .icon-btn { display: none; }
}

/* ---------- LICENSING TIERS ---------- */
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 26px 22px; text-align: center; }
.tier h3 { margin: 0 0 4px; font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.tier .price { font-size: 30px; font-weight: 800; margin: 6px 0; }
.tier .fmt { font-size: 12px; color: var(--accent-2); font-weight: 600; letter-spacing: .04em; margin-bottom: 14px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; }
.tier li { font-size: 12.5px; color: var(--muted); padding: 4px 0 4px 18px; position: relative; }
.tier li::before { content: "•"; color: var(--accent); position: absolute; left: 4px; }
.tier .tier-cta { width: 100%; background: var(--accent-grad); color: #fff; border: none; padding: 11px; border-radius: 4px; font-weight: 700; font-size: 12.5px; letter-spacing: .04em; }
.tier.exclusive .price { font-size: 20px; color: var(--accent-2); }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- CARDS (packs/kits/merch/services) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 20px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .15s, border-color .15s; }
.pcard:hover { transform: translateY(-3px); border-color: #3a3a3a; }
.pcard .cover { aspect-ratio: 1; background: #1c1c1c; position: relative; }
.pcard .cover img { width: 100%; height: 100%; object-fit: cover; }
.pcard .body { padding: 14px 16px; }
.pcard .body h3 { margin: 0 0 4px; font-size: 15px; }
.pcard .body p { margin: 0; font-size: 12.5px; color: var(--muted); }
.pcard .body .price { color: var(--accent-2); font-weight: 700; margin-top: 8px; font-size: 14px; }

/* ---------- FORMS ---------- */
.form { max-width: 620px; margin: 0 auto; }
.form .field { margin-bottom: 22px; }
.form label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.form input, .form textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line);
  color: #fff; padding: 8px 0; font-size: 15px; outline: none; font-family: inherit;
}
.form input:focus, .form textarea:focus { border-color: var(--accent); }
.form textarea { min-height: 120px; resize: vertical; }
.btn-primary { background: var(--accent-grad); color: #fff; border: none; padding: 13px 30px; border-radius: 4px; font-weight: 700; font-size: 13px; letter-spacing: .05em; }
.empty-state { text-align: center; color: var(--muted); padding: 60px 20px; font-size: 15px; }

/* ---------- ABOUT ---------- */
.about-body { max-width: 720px; margin: 0 auto; }
.about-body h3 { color: var(--accent-2); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin: 28px 0 10px; }
.about-body p { color: #d6d6d6; font-size: 16px; line-height: 1.7; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.badge { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 6px 14px; font-size: 12.5px; color: var(--muted); }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 46px 0 30px; background: #080808; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 30px; }
.footer .brand-col .fbrand { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.footer .brand-col p { color: var(--muted); font-size: 13px; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer li a { color: var(--muted); font-size: 13px; }
.footer li a:hover { color: #fff; }
.footer .social { display: flex; gap: 12px; }
.footer .social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.footer .social a:hover { color: #fff; border-color: var(--accent); }
.copyright { text-align: center; color: var(--muted-2); font-size: 12px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr 1fr; } }

/* ---------- STICKY PLAYER ---------- */
.player {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
  height: var(--player-h); background: #121212; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px; padding: 0 18px;
  transform: translateY(100%); transition: transform .28s ease;
}
.player.active { transform: translateY(0); }
.player-info { display: flex; align-items: center; gap: 12px; min-width: 0; width: 260px; }
.player-info img { width: 50px; height: 50px; border-radius: 5px; object-fit: cover; background: #222; }
.player-info .meta { min-width: 0; }
.player-info .p-title { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-info .p-sub { color: var(--muted); font-size: 12px; }
.player-controls { display: flex; align-items: center; gap: 14px; }
.player-controls button { background: none; border: none; color: #fff; font-size: 16px; }
.player-controls .p-play { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-grad); display: grid; place-items: center; font-size: 16px; }
.player-progress { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.player-progress .time { color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; width: 40px; text-align: center; }
.progress-bar { flex: 1; height: 5px; background: #333; border-radius: 3px; position: relative; cursor: pointer; }
.progress-bar .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent-grad); border-radius: 3px; width: 0; }
.player-license { background: var(--accent-grad); color: #fff; border: none; padding: 9px 16px; border-radius: 4px; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
@media (max-width: 760px) {
  .player { gap: 10px; padding: 0 10px; }
  .player-info { width: auto; flex: 1; }
  .player-info .p-sub { display: none; }
  .player-progress .time { display: none; }
  .player-license { display: none; }
}

/* ---------- MODAL ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: #131313; border: 1px solid var(--line); border-radius: 10px; max-width: 940px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 30px; position: relative; }
.modal .close { position: absolute; top: 14px; right: 18px; background: none; border: none; color: var(--muted); font-size: 26px; }
.modal h2 { text-align: center; margin: 0 0 6px; }
.modal .msub { text-align: center; color: var(--muted); margin: 0 0 26px; font-size: 14px; }
