/* ============================================================
   Music Taster Shop – Complete Design System
   DNA: dark-pro · DM Sans+DM Serif · grid · fullwidth · gradient · rectangular · airy · pill
   ============================================================ */

/* ── 1. CSS Variables / Design Tokens ────────────────────── */
:root {
  /* Core palette */
  --bg:         #0A0A12;
  --bg-card:    #13131E;
  --bg-elevated:#1A1A28;
  --bg-input:   #1E1E2E;
  --border:     rgba(255,255,255,.08);
  --border-md:  rgba(255,255,255,.14);

  /* Brand */
  --purple:     #7C3AED;
  --purple-lt:  #9D5FF5;
  --purple-dk:  #5B21B6;
  --cyan:       #00D4FF;
  --cyan-lt:    #67E8F9;
  --pink:       #F472B6;
  --lime:       #A3E635;
  --amber:      #FCD34D;
  --orange:     #FB923C;

  /* Gradients */
  --grad-hero:      linear-gradient(135deg, #3D1780 0%, #0A0A12 60%);
  --grad-purple:    linear-gradient(135deg, #7C3AED, #4F46E5);
  --grad-cyan:      linear-gradient(135deg, #0EA5E9, #00D4FF);
  --grad-warm:      linear-gradient(135deg, #F472B6, #FB923C);
  --grad-green:     linear-gradient(135deg, #10B981, #A3E635);
  --grad-gold:      linear-gradient(135deg, #F59E0B, #FCD34D);
  --grad-card-1:    linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%);
  --grad-card-2:    linear-gradient(135deg, #0EA5E9 0%, #00D4FF 100%);
  --grad-card-3:    linear-gradient(135deg, #EC4899 0%, #F97316 100%);
  --grad-card-4:    linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
  --grad-card-5:    linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  --grad-card-6:    linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);

  /* Text */
  --text:       #E8E8F0;
  --text-muted: #8888A0;
  --text-faint: #44445A;
  --text-link:  var(--cyan);
  --white:      #FFFFFF;

  /* Typography */
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --font-serif:  'DM Serif Display', Georgia, serif;

  /* Sizing */
  --max-w:      1200px;
  --radius-sm:  24px;
  --radius:     32px;
  --radius-lg:  48px;
  --radius-xl:  64px;

  /* Shadows / Glow */
  --shadow-sm:  0 2px 8px rgba(0,0,0,.4);
  --shadow-md:  0 8px 32px rgba(0,0,0,.5);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.6);
  --glow-purple:0 0 24px rgba(124,58,237,.5);
  --glow-cyan:  0 0 24px rgba(0,212,255,.4);
  --glow-pink:  0 0 24px rgba(244,114,182,.4);

  /* Spacing (airy) */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   32px;
  --space-lg:   64px;
  --space-xl:   96px;
  --space-2xl:  128px;
}

/* ── 2. Reset + Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--purple) var(--bg-card);
  scrollbar-width: thin;
}
html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: var(--bg-card); }
html::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 99px; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img  { display: block; max-width: 100%; height: auto; }
a    { color: var(--text-link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan-lt); }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* ── 3. Typography ───────────────────────────────────────── */
.h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--white);
}
.h1 em { font-style: italic; color: var(--cyan-lt); }

.h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.015em;
  color: var(--white);
}
.h2 em { font-style: italic; color: var(--purple-lt); }

.h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: -.01em;
}

.text-sm  { font-size: .85rem; line-height: 1.6; }
.text-lg  { font-size: 1.12rem; line-height: 1.7; }
.text-xl  { font-size: 1.25rem; line-height: 1.65; }
.lead     { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; max-width: 640px; }
.eyebrow  {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: var(--space-sm);
}

/* ── 4. Layout ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.section  { padding: var(--space-xl) 0; }
.section-lg { padding: var(--space-2xl) 0; }
.section-sm { padding: var(--space-lg) 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-md); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: var(--space-md); }

.flex     { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm   { gap: var(--space-sm); }
.gap-md   { gap: var(--space-md); }

/* Sidebar layout for blog/shop */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-lg);
  align-items: start;
}
.sidebar { display: flex; flex-direction: column; gap: var(--space-md); }

/* ── 5. Components ───────────────────────────────────────── */

/* ─ Buttons (rectangular DNA) ─ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  /* rectangular – no border-radius override needed */
  border-radius: 0;
}
.btn--primary {
  background: var(--grad-purple);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--glow-purple);
}
.btn--primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(124,58,237,.7);
}
.btn--cyan {
  background: var(--grad-cyan);
  color: var(--bg);
  font-weight: 800;
  box-shadow: var(--glow-cyan);
}
.btn--cyan:hover {
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0,212,255,.6);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--border-md);
}
.btn--outline:hover {
  border-color: var(--purple-lt);
  color: var(--purple-lt);
}
.btn--ghost {
  background: rgba(255,255,255,.05);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
}
.btn--sm { padding: 10px 22px; font-size: .8rem; }
.btn--lg { padding: 18px 44px; font-size: 1rem; }
.btn--pill { border-radius: var(--radius-xl) !important; }
.btn--icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }

/* ─ Cards (gradient DNA) ─ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-md);
}
.card--gradient { border: none; }
.card--gradient .card-accent {
  height: 6px;
  display: block;
}
.card-accent-1 { background: var(--grad-card-1); }
.card-accent-2 { background: var(--grad-card-2); }
.card-accent-3 { background: var(--grad-card-3); }
.card-accent-4 { background: var(--grad-card-4); }
.card-accent-5 { background: var(--grad-card-5); }
.card-accent-6 { background: var(--grad-card-6); }

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-elevated);
}
.card-img-sq {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: var(--bg-elevated);
}
.card-body { padding: var(--space-md); }
.card-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}
.card-meta {
  font-size: .78rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.card-text { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }
.card-footer {
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

/* Product card */
.product-card { cursor: pointer; }
.product-card .product-thumb {
  position: relative;
  overflow: hidden;
}
.product-card .product-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
}
.badge--new   { background: var(--cyan); color: var(--bg); }
.badge--sale  { background: var(--pink); color: var(--white); }
.badge--indie { background: var(--lime); color: var(--bg); }
.badge--rare  { background: var(--amber); color: var(--bg); }
.product-info { padding: var(--space-sm) 0 0; }
.product-name {
  font-weight: 700;
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 4px;
}
.product-artist {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.product-price {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cyan-lt);
}
.product-price .price-old {
  font-size: .85rem;
  font-weight: 400;
  color: var(--text-faint);
  text-decoration: line-through;
  margin-right: 6px;
}

/* Blog article card */
.article-card .article-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.article-card .article-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
  transition: color .2s;
}
.article-card:hover .article-title { color: var(--cyan-lt); }
.article-card .article-excerpt { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }
.article-card .article-date {
  font-size: .75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: var(--space-sm);
}

/* ─ Badge / Pill ─ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-xl);
}
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  background: rgba(124,58,237,.2);
  border: 1px solid rgba(124,58,237,.4);
  color: var(--purple-lt);
  margin-bottom: var(--space-sm);
}
.pill-badge--cyan {
  background: rgba(0,212,255,.12);
  border-color: rgba(0,212,255,.3);
  color: var(--cyan);
}
.pill-badge--pink {
  background: rgba(244,114,182,.12);
  border-color: rgba(244,114,182,.3);
  color: var(--pink);
}
.pill-badge--lime {
  background: rgba(163,230,53,.12);
  border-color: rgba(163,230,53,.3);
  color: var(--lime);
}

/* ─ Nav ─ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10,10,18,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-md);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.nav__logo-text {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -.01em;
  line-height: 1.1;
}
.nav__logo-text span {
  display: block;
  font-weight: 400;
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cyan);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-xl);
  transition: all .2s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav__link--active { color: var(--cyan-lt); }
.nav__link--cta {
  background: var(--grad-purple);
  color: var(--white) !important;
  padding: 9px 22px;
  font-weight: 700;
}
.nav__link--cta:hover {
  box-shadow: var(--glow-purple);
  transform: translateY(-1px);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* ─ Hero ─ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero--fullwidth {
  background: var(--grad-hero);
}
.hero__bg-glow {
  position: absolute;
  pointer-events: none;
}
.hero__bg-glow--1 {
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.35) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.hero__bg-glow--2 {
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,.2) 0%, transparent 70%);
  bottom: -100px; right: -50px;
}
.hero__bg-glow--3 {
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,114,182,.15) 0%, transparent 70%);
  top: 50%; right: 20%;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) 0;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}
.hero__img-wrap {
  position: relative;
}
.hero__img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero__img-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--grad-card-1);
  color: var(--white);
  padding: 16px 24px;
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.4;
  max-width: 200px;
  box-shadow: var(--glow-purple);
}
.hero__stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}
.hero__stat-val {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--cyan-lt);
  line-height: 1;
}
.hero__stat-lbl {
  font-size: .72rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 4px;
}

/* ─ Waveform decorative ─ */
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
}
.waveform span {
  display: block;
  width: 3px;
  background: var(--purple-lt);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.waveform span:nth-child(2)  { animation-delay: .1s; }
.waveform span:nth-child(3)  { animation-delay: .2s; }
.waveform span:nth-child(4)  { animation-delay: .3s; }
.waveform span:nth-child(5)  { animation-delay: .4s; }
.waveform span:nth-child(6)  { animation-delay: .3s; }
.waveform span:nth-child(7)  { animation-delay: .2s; }
.waveform span:nth-child(8)  { animation-delay: .1s; }

/* ─ Feature section ─ */
.section--hero      { background: var(--grad-hero); }
.section--features  { background: var(--bg); }
.section--cta       { background: var(--bg-card); }
.section--about     { background: var(--bg-elevated); }
.section--faq       { background: var(--bg); }

.feature-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.feature-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.feature-icon--purple { background: rgba(124,58,237,.2); color: var(--purple-lt); }
.feature-icon--cyan   { background: rgba(0,212,255,.12); color: var(--cyan); }
.feature-icon--pink   { background: rgba(244,114,182,.12); color: var(--pink); }
.feature-icon--lime   { background: rgba(163,230,53,.12); color: var(--lime); }
.feature-title { font-weight: 700; color: var(--white); margin-bottom: 2px; }
.feature-desc  { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ─ Genre tags ─ */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--border-md);
  color: var(--text-muted);
  background: var(--bg-elevated);
  transition: all .2s;
  cursor: pointer;
}
.tag:hover { border-color: var(--purple-lt); color: var(--purple-lt); }
.tag--active { border-color: var(--purple); color: var(--white); background: rgba(124,58,237,.2); }

/* ─ Accordion ─ */
.accordion { display: flex; flex-direction: column; gap: 0; }
.acc-item  { border-bottom: 1px solid var(--border); }
.acc-item:first-child { border-top: 1px solid var(--border); }
.acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  gap: 16px;
  transition: color .2s;
}
.acc-trigger:hover { color: var(--white); }
.acc-trigger[aria-expanded="true"] { color: var(--cyan-lt); }
.acc-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .8rem;
  font-weight: 700;
  transition: transform .3s;
}
.acc-trigger[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.acc-panel.open { max-height: 400px; }
.acc-panel-inner {
  padding-bottom: 20px;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─ Tabs ─ */
.tab-list {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-md);
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-list::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 14px 24px;
  border: none;
  background: none;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--white); }
.tab-btn.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─ Tooltip ─ */
.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip .tooltip-box {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elevated);
  border: 1px solid var(--border-md);
  color: var(--text);
  font-size: .78rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 50;
  box-shadow: var(--shadow-md);
}
.tooltip .tooltip-box::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--bg-elevated);
}
.tooltip:hover .tooltip-box,
.tooltip:focus-within .tooltip-box { opacity: 1; }

/* ─ Footer ─ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: var(--space-xl) 0 var(--space-md);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.footer__brand-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 4px;
}
.footer__brand-sub {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--space-sm);
}
.footer__desc {
  font-size: .86rem;
  color: var(--text-faint);
  line-height: 1.7;
}
.footer__col-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple-lt);
  margin-bottom: var(--space-sm);
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: .86rem;
  color: var(--text-faint);
  transition: color .2s;
}
.footer__links a:hover { color: var(--white); }
.footer__bar {
  border-top: 1px solid var(--border);
  padding-top: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}

/* ─ Form elements ─ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-input,
.form-textarea,
.form-select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: .95rem;
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--purple-lt);
  box-shadow: 0 0 0 3px rgba(124,58,237,.2);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-select option { background: var(--bg-input); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }

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

/* ─ Highlight block ─ */
.highlight-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 4px solid var(--purple);
  padding: var(--space-md);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.highlight-box--cyan { border-left-color: var(--cyan); }
.highlight-box--pink { border-left-color: var(--pink); }

/* ─ Progress / score bar (for music taste) ─ */
.score-bar-wrap { display: flex; flex-direction: column; gap: 10px; }
.score-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.score-label { font-size: .8rem; color: var(--text-muted); min-width: 80px; }
.score-track {
  flex: 1;
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 99px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--grad-purple);
  transition: width .6s ease;
}
.score-fill--cyan  { background: var(--grad-cyan); }
.score-fill--warm  { background: var(--grad-warm); }

/* ─ CTA section ─ */
.cta-section {
  background: linear-gradient(135deg, rgba(124,58,237,.15) 0%, rgba(0,212,255,.08) 100%);
  border: 1px solid rgba(124,58,237,.2);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.15) 0%, transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
}

/* ── 6. Page-specific sections ──────────────────────────── */

/* ─ Homepage: Featured picks marquee strip ─ */
.genre-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
}
.genre-strip-inner {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.genre-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  padding: 0 var(--space-sm);
}
.genre-chip::before {
  content: '♪';
  color: var(--purple-lt);
  font-size: 1rem;
}

/* ─ About: Timeline ─ */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 40px; top: 12px;
  width: 1px; height: calc(100% + var(--space-sm));
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-item:last-child::before { display: none; }
.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--purple-lt);
  text-align: right;
  padding-top: 2px;
  position: relative;
  z-index: 1;
}
.timeline-year::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  background: var(--purple);
  border-radius: 50%;
  right: -9px; top: 8px;
  box-shadow: var(--glow-purple);
}
.timeline-content h4 {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.timeline-content p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }

/* ─ Blog: Article header ─ */
.article-header { padding: var(--space-xl) 0 var(--space-lg); }
.article-header .article-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--white);
  margin: var(--space-sm) 0;
  line-height: 1.15;
}

/* ─ Contact: info box ─ */
.contact-info-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(124,58,237,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .9rem;
}
.contact-info-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2px;
}
.contact-info-value {
  font-size: .9rem;
  color: var(--text);
}

/* ── 7. Utilities ────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.mx-auto     { margin-left: auto; margin-right: auto; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.hidden  { display: none; }
.visible { display: block; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--purple-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text--warm {
  background: linear-gradient(135deg, var(--pink), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 8. Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__img-wrap { display: none; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { order: -1; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 64px;
    --space-2xl: 80px;
    --space-lg: 48px;
  }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav__links { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: rgba(10,10,18,.97); padding: var(--space-sm); gap: 4px; }
  .nav__links.open { display: flex; }
  .nav__link { width: 100%; padding: 14px 16px; }
  .burger { display: flex; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: var(--space-lg) var(--space-md); }
  .hero__stats { flex-wrap: wrap; gap: var(--space-md); }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .tab-list { gap: 0; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ── 9. Animations ───────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .8; transform: scale(1.05); }
}
@keyframes wave {
  0%, 100% { height: 8px; }
  50%       { height: 32px; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: var(--glow-purple); }
  50%       { box-shadow: 0 0 48px rgba(124,58,237,.8); }
}

.animate-fade-in { animation: fadeIn .6s ease forwards; }
.animate-slide-up { animation: slideUp .7s ease forwards; }
.animate-glow { animation: glowPulse 2.5s ease-in-out infinite; }
