@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --green: #1ed760;
  --green-dark: #16b94e;
  --black: #090b0a;
  --panel: #151816;
  --panel-light: #1d211e;
  --text: #f7f8f7;
  --muted: #a9b0aa;
  --line: #303631;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--text); font-family: 'DM Sans', sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.topbar { min-height: 78px; padding: 0 6.5%; display: flex; align-items: center; gap: 38px; border-bottom: 1px solid #242824; background: rgba(9,11,10,.96); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.7px; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--green); color: #071008; font-size: 1.2rem; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 28px; margin: 0 auto; color: var(--muted); font-size: .94rem; }
.nav-links a, .login-link, .footer-links a { transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active, .login-link:hover, .footer-links a:hover { color: var(--green); }
.login-link { font-size: .92rem; font-weight: 700; }
.hero { padding: 75px 8% 82px; min-height: 490px; display: flex; align-items: center; justify-content: space-between; gap: 45px; overflow: hidden; background: radial-gradient(ellipse at 82% 35%, #173d27 0%, #101b13 26%, #090b0a 65%); }
.hero-copy { max-width: 570px; }
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: 2px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; line-height: 1.15; }
.hero h1 { max-width: 570px; margin-bottom: 18px; font-size: clamp(2.8rem, 5vw, 4.6rem); letter-spacing: -3px; }
.hero h1 span { color: var(--green); }
.hero-text { max-width: 510px; color: #c0c7c1; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 27px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font: inherit; font-size: .9rem; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-green { color: #071008; background: var(--green); }
.button-green:hover { background: #54ef89; }
.button-outline { border-color: #6c756d; color: var(--text); background: transparent; }
.button-outline:hover { border-color: var(--text); }
.hero-art { position: relative; flex: 0 0 330px; height: 300px; }
.vinyl { position: absolute; width: 260px; height: 260px; border-radius: 50%; right: 0; top: 20px; background: repeating-radial-gradient(circle, #101210 0 3px, #242824 4px 5px, #0d0f0d 6px 9px); box-shadow: 0 20px 55px #0009; }
.vinyl::after { content: ''; position: absolute; width: 82px; height: 82px; border-radius: 50%; top: 89px; left: 89px; background: var(--green); border: 10px solid #18251a; }
.art-card { position: absolute; display: grid; place-items: center; text-align: center; font-family: 'Manrope', sans-serif; font-weight: 800; line-height: .95; box-shadow: 0 16px 40px #0008; transform: rotate(-9deg); }
.art-one { width: 142px; height: 170px; left: 0; top: 50px; background: linear-gradient(145deg,#ffbe68,#ff5b58 60%,#8c286f); color: #201014; font-size: 2rem; }
.art-two { width: 122px; height: 135px; right: 4px; bottom: -2px; background: linear-gradient(135deg,#b3e6b5,#4da87c 55%,#174e42); color: #0a2117; font-size: 1.1rem; transform: rotate(8deg); }
.section { padding: 64px 8%; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2, .signup-panel h2 { margin-bottom: 0; font-size: clamp(1.7rem, 3vw, 2.25rem); letter-spacing: -1px; }
.text-link { color: var(--green); font-weight: 700; font-size: .9rem; }
.text-link:hover { text-decoration: underline; }
.playlist-grid { display: flex; gap: 18px; }
.playlist-card { flex: 1 1 0; min-width: 0; padding: 14px; border-radius: 12px; background: var(--panel); transition: background .2s ease, transform .2s ease; }
.playlist-card:hover { background: #242a25; transform: translateY(-4px); }
.playlist-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
.playlist-card h3 { margin-bottom: 6px; font-size: 1.03rem; }
.playlist-card p { margin-bottom: 2px; color: var(--muted); font-size: .86rem; }
.signup-panel { margin: 0 8% 70px; padding: 34px 38px; display: flex; align-items: center; justify-content: space-between; gap: 35px; border: 1px solid #2d4733; border-radius: 16px; background: linear-gradient(110deg,#14271a,#101411); }
.signup-panel h2 { margin-bottom: 8px; }
.signup-panel p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
.signup-form { width: min(430px, 100%); }
.signup-form label { display: block; margin-bottom: 7px; font-size: .8rem; font-weight: 700; color: #d8ded9; }
.form-row { display: flex; gap: 9px; }
input { min-width: 0; flex: 1; padding: 0 14px; min-height: 46px; border: 1px solid #4b554d; border-radius: 8px; outline: none; background: #0b0e0c; color: var(--text); font: inherit; }
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px #1ed76025; }
.footer { padding: 27px 8%; border-top: 1px solid #242824; display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: .8rem; }
.footer p { margin: 0 auto 0 0; }
.footer-links { display: flex; gap: 18px; }
.page-main { min-height: 70vh; }
.page-intro { padding: 62px 8% 26px; background: radial-gradient(ellipse at 15% 0%,#183321,transparent 60%); }
.page-intro h1 { margin-bottom: 9px; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -2px; }
.page-intro > p:last-child { color: var(--muted); margin-bottom: 0; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 10px 8% 28px; }
.filter-chip { padding: 7px 17px; border: 1px solid #414841; border-radius: 999px; color: #d8ded9; font-size: .85rem; }
.filter-chip.selected { background: var(--green); border-color: var(--green); color: #071008; font-weight: 800; }
.browse-grid { padding: 0 8% 70px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.browse-card { overflow: hidden; border-radius: 13px; background: var(--panel); transition: transform .2s ease, background .2s ease; }
.browse-card:hover { transform: translateY(-4px); background: #222923; }
.browse-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.browse-card > div { padding: 20px; }
.category { color: var(--green); font-size: .68rem; font-weight: 800; letter-spacing: 1.5px; }
.browse-card h2 { margin: 7px 0 8px; font-size: 1.25rem; }
.browse-card p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.playlist-hero { padding: 64px 8% 50px; display: flex; align-items: end; gap: 32px; background: linear-gradient(135deg,#214c31,#14261a 60%,#090b0a); }
.playlist-hero > img { width: min(280px, 34%); aspect-ratio: 1; object-fit: cover; border-radius: 12px; box-shadow: 0 18px 45px #0007; }
.playlist-info { max-width: 650px; }
.playlist-info h1 { margin-bottom: 13px; font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -3px; }
.playlist-description { max-width: 570px; margin-bottom: 14px; color: #d0d8d1; }
.playlist-meta { color: #b3beb5; font-size: .86rem; }
.playlist-meta strong { color: white; }
.play-button { margin-top: 5px; min-width: 150px; }
.tracks-section { padding-top: 42px; }
.muted { color: var(--muted); font-size: .85rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; min-width: 560px; }
thead { color: var(--muted); font-size: .8rem; }
th { padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 500; }
td { padding: 13px 14px; border-bottom: 1px solid #242824; color: #c2c9c3; font-size: .9rem; }
tbody tr:hover { background: #171c18; }
td strong { display: block; color: var(--text); font-weight: 600; }
.track-subtitle { display: block; color: #8e9990; font-size: .77rem; }
.demo-note { margin: 24px 0; color: var(--muted); font-size: .82rem; }
#tracks { scroll-margin-top: 20px; }
@media (max-width: 900px) {
  .topbar { padding: 0 5%; gap: 20px; }
  .nav-links { gap: 15px; }
  .hero { padding-left: 6%; padding-right: 6%; }
  .hero-art { transform: scale(.82); transform-origin: center right; margin-left: -35px; }
  .section { padding-left: 6%; padding-right: 6%; }
  .playlist-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .signup-panel { margin-left: 6%; margin-right: 6%; }
  .browse-grid { padding-left: 6%; padding-right: 6%; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .topbar { min-height: auto; padding: 17px 5%; flex-wrap: wrap; gap: 14px; }
  .brand { font-size: 1.15rem; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; gap: 10px; font-size: .82rem; }
  .login-link { margin-left: auto; }
  .hero { padding: 56px 6% 30px; display: block; }
  .hero h1 { font-size: 3.15rem; letter-spacing: -2px; }
  .hero-art { height: 230px; width: 300px; margin: 20px auto 0; transform: scale(.78); transform-origin: top center; }
  .section { padding-top: 45px; padding-bottom: 45px; }
  .section-heading { align-items: start; }
  .playlist-grid { gap: 12px; }
  .playlist-card { padding: 10px; }
  .playlist-card h3 { font-size: .95rem; }
  .playlist-card p { font-size: .78rem; }
  .signup-panel { margin: 0 5% 45px; padding: 25px 20px; display: block; }
  .signup-form { margin-top: 22px; }
  .form-row { flex-direction: column; }
  .footer { padding: 25px 6%; flex-wrap: wrap; gap: 13px; }
  .footer p { order: 3; width: 100%; }
  .footer-links { margin-left: auto; }
  .page-intro { padding: 45px 6% 22px; }
  .filter-row { padding-left: 6%; padding-right: 6%; }
  .browse-grid { padding: 0 6% 45px; grid-template-columns: 1fr; gap: 15px; }
  .browse-card { display: flex; min-height: 140px; }
  .browse-card img { width: 38%; height: auto; min-height: 140px; }
  .browse-card > div { padding: 15px; }
  .browse-card h2 { font-size: 1.1rem; }
  .playlist-hero { padding: 40px 6%; display: block; }
  .playlist-hero > img { display: block; width: min(250px, 75%); margin-bottom: 28px; }
  .playlist-info h1 { font-size: 3rem; }
  .tracks-section { padding-left: 5%; padding-right: 5%; }
}
