/* ═══════════════════════════════════════════
   DIGGING — front.css
   Design tokens from Digg_prototype_v1.html
═══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg:          #0A0A0A;
  --bg2:         #111111;
  --bg3:         #1A1A1A;
  --border:      #2A2A2A;
  --border2:     #333333;
  --ink:         #F5F0EB;
  --ink2:        #C8C0B8;
  --ink3:        #7A7068;
  --accent:      #FF4D1C;
  --accent2:     #FF6B3D;
  --accent-glow: rgba(255,77,28,.25);
  --gold:        #D4A843;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;
  --font-mono:    'Space Mono', monospace;
  --nav-h:       60px;
  --player-h:    64px;
  --ease-out:    cubic-bezier(.16,1,.3,1);
}

/* ── RESET / BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scanlines */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,.012) 2px,
    rgba(255,255,255,.012) 4px
  );
  pointer-events: none;
  z-index: 9000;
}

/* Noise grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9001;
  opacity: .4;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg3); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink3); }

a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════
   SPLASH SCREEN
═══════════════════════════════════════════ */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}

#splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,.015) 2px,
    rgba(255,255,255,.015) 4px
  );
  pointer-events: none;
  z-index: 1;
}

#splash::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: .6;
}

#splash.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

.splash-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Vinyl record */
.splash-vinyl {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #1a1a1a 0deg,
    #222 10deg,
    #111 20deg,
    #1e1e1e 30deg,
    #1a1a1a 360deg
  );
  box-shadow:
    0 0 0 2px #333,
    0 0 0 20px #111,
    0 0 0 22px #2a2a2a,
    0 0 0 50px #111,
    0 0 0 52px #222,
    0 0 0 72px #111,
    0 0 40px rgba(255,77,28,.3);
  position: relative;
  animation: vinylSpin 3s linear infinite;
  margin-bottom: 40px;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .8s .1s var(--ease-out), transform .8s .1s var(--ease-out);
}

#splash.loaded .splash-vinyl {
  opacity: 1;
  transform: scale(1);
}

.splash-vinyl::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #FF4D1C, #C0300A);
  box-shadow: 0 0 12px rgba(255,77,28,.6);
}

.splash-vinyl::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a0a0a;
}

@keyframes vinylSpin {
  from { transform: rotate(0deg) scale(1); }
  to   { transform: rotate(360deg) scale(1); }
}

/* Logo wordmark */
.splash-logo {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 140px);
  letter-spacing: .02em;
  line-height: .85;
  color: var(--ink);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s .3s var(--ease-out), transform .7s .3s var(--ease-out);
  text-align: center;
  position: relative;
}

#splash.loaded .splash-logo {
  opacity: 1;
  transform: translateY(0);
}

.splash-logo span {
  color: var(--accent);
  display: inline-block;
  position: relative;
}

.splash-logo span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s .9s var(--ease-out);
}

#splash.loaded .splash-logo span::after {
  transform: scaleX(1);
}

/* Tagline */
.splash-tagline {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.5vw, 13px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-top: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s .5s var(--ease-out), transform .6s .5s var(--ease-out);
}

#splash.loaded .splash-tagline {
  opacity: 1;
  transform: translateY(0);
}

/* Progress bar */
.splash-progress {
  width: 200px;
  height: 1px;
  background: var(--border);
  margin-top: 48px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: opacity .4s .4s;
}

#splash.loaded .splash-progress {
  opacity: 1;
}

.splash-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 1.6s .5s var(--ease-out);
  box-shadow: 0 0 8px var(--accent-glow);
}

#splash.loaded .splash-progress-fill {
  width: 100%;
}

/* Enter button */
.splash-enter {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink3);
  background: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  padding: 10px 24px;
  opacity: 0;
  transition:
    opacity .4s 2.2s,
    color .2s,
    border-color .2s,
    background .2s;
}

#splash.loaded .splash-enter {
  opacity: 1;
}

.splash-enter:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: rgba(255,77,28,.08);
}

/* Corner decorations */
.splash-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: .3;
}

.splash-corner.tl {
  top: 24px;
  left: 24px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}

.splash-corner.tr {
  top: 24px;
  right: 24px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}

.splash-corner.bl {
  bottom: 24px;
  left: 24px;
  border-bottom: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}

.splash-corner.br {
  bottom: 24px;
  right: 24px;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 0;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}

#nav.scrolled {
  background: rgba(10,10,10,.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: .04em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  user-select: none;
}

.nav-logo .logo-d { color: var(--accent); }

.nav-logo .logo-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 1px 2px;
  display: inline-block;
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink3);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 2px;
  letter-spacing: .02em;
  transition: color .15s, background .15s;
  position: relative;
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(255,255,255,.05);
}

.nav-link.active { color: var(--ink); }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--accent);
}

.nav-genre {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,77,28,.12);
  border: 1px solid rgba(255,77,28,.25);
  border-radius: 2px;
  padding: 3px 7px;
  margin-left: 4px;
}

.nav-search {
  position: relative;
  width: 200px;
  flex-shrink: 0;
}

.nav-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--ink3);
  pointer-events: none;
}

.nav-search-input {
  width: 100%;
  height: 36px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0 14px 0 34px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}

.nav-search-input::placeholder { color: var(--ink3); }
.nav-search-input:focus { border-color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
  border: none;
  display: inline-block;
}

.nav-btn-ghost {
  background: none;
  color: var(--ink2);
  border: 1px solid var(--border2);
}

.nav-btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink3);
}

.nav-btn-solid {
  background: var(--accent);
  color: #fff;
}

.nav-btn-solid:hover { background: var(--accent2); }

/* Mobile hamburger (hidden on desktop) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink2);
  transition: all .2s;
}

/* ═══════════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════════ */
#main {
  padding-top: var(--nav-h);
  opacity: 0;
  transition: opacity .6s .1s;
}

#main.show { opacity: 1; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(255,77,28,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(212,168,67,.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 64px 64px 64px 56px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(64px, 7vw, 96px);
  line-height: .9;
  letter-spacing: .01em;
  color: var(--ink);
  margin-bottom: 32px;
}

.hero-h1 em {
  font-style: normal;
  color: var(--accent);
  display: block;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink2);
  max-width: 440px;
  margin-bottom: 48px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .15s;
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-1px);
}

.btn-outline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 13px 28px;
  background: none;
  color: var(--ink2);
  border: 1px solid var(--border2);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
}

.btn-outline:hover {
  color: var(--ink);
  border-color: var(--ink2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.hero-stat {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 16px;
  text-align: center;
}

.hero-stat-n {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-l {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-top: 6px;
  margin-top: 4px;
}

/* Hero right — featured cards */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px 60px 0;
  overflow: hidden;
}

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 420px;
  width: 100%;
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
  transition: transform .4s var(--ease-out);
}

.hero-cards:hover {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}

.hc {
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s;
}

.hc:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 0 1px var(--border2);
}

.hc-large { grid-column: span 2; }

.hc-art {
  aspect-ratio: 1;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hc-large .hc-art { aspect-ratio: 2/1; }

.hc-art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
}

.hc-play {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .2s, transform .2s;
  border: none;
  cursor: pointer;
}

.hc:hover .hc-play {
  opacity: 1;
  transform: scale(1);
}

.hc-play svg { width: 12px; height: 12px; fill: #fff; margin-left: 2px; }

.hc-info { padding: 10px 12px 12px; }

.hc-genre {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.hc-title { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 2px; }
.hc-artist { font-size: 11px; color: var(--ink3); }

/* ═══════════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════════ */
.section { padding: 80px 56px; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: .95;
}

.section-title span { color: var(--accent); }

.section-more {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink3);
  text-decoration: none;
  border-bottom: 1px solid var(--border2);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}

.section-more:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ═══════════════════════════════════════════
   TRACK CARDS (HOME / GRID)
═══════════════════════════════════════════ */
.track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.track-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}

.track-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}

.tc-art {
  aspect-ratio: 1;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.tc-body { padding: 12px; }
.tc-title { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.tc-artist { font-size: 11px; color: var(--ink3); }

.tc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.tc-genre {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,77,28,.1);
  border: 1px solid rgba(255,77,28,.2);
  border-radius: 2px;
  padding: 2px 5px;
}

.tc-dur {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink3);
}

/* ── Track cover gradients (fallback) ── */
.tc-art-grad-1 { background: linear-gradient(135deg,#110500,#FF4D1C 150%); }
.tc-art-grad-2 { background: linear-gradient(135deg,#050011,#4400cc 150%); }
.tc-art-grad-3 { background: linear-gradient(135deg,#001108,#00aa44 150%); }
.tc-art-grad-4 { background: linear-gradient(135deg,#110008,#cc0055 150%); }
.tc-art-grad-5 { background: linear-gradient(135deg,#080b11,#1144aa 150%); }
.tc-art-grad-6 { background: linear-gradient(135deg,#110a00,#aa6600 150%); }

/* ═══════════════════════════════════════════
   ARTIST CARDS
═══════════════════════════════════════════ */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.artist-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s var(--ease-out), border-color .25s;
}

.artist-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.ac-image {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  background-color: var(--bg3);
}

.ac-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--border2);
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
}

.ac-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 50%);
}

.ac-info { padding: 14px 16px; }

.ac-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.ac-genre {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink3);
  margin-top: 4px;
}

.ac-type-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  background: rgba(255,77,28,.1);
  border: 1px solid rgba(255,77,28,.3);
  border-radius: 2px;
  padding: 2px 6px;
  margin-top: 6px;
}

/* ═══════════════════════════════════════════
   ALBUM CARDS
═══════════════════════════════════════════ */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.album-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s var(--ease-out), border-color .2s;
}

.album-card:hover {
  transform: translateY(-2px);
  border-color: var(--border2);
}

.album-cover {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-color: var(--bg3);
}

.album-info { padding: 12px; }
.album-title { font-size: 13px; font-weight: 600; color: var(--ink); }
.album-meta { font-family: var(--font-mono); font-size: 10px; color: var(--ink3); margin-top: 4px; }

/* ═══════════════════════════════════════════
   TRACK LIST (ALBUM DETAIL)
═══════════════════════════════════════════ */
.track-list {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
  cursor: pointer;
}

.track-item:last-child { border-bottom: none; }
.track-item:hover { background: var(--bg3); }

.ti-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink3);
  width: 24px;
  flex-shrink: 0;
  text-align: right;
}

.ti-play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s, border-color .15s;
}

.ti-play-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.ti-play-btn svg { width: 10px; height: 10px; fill: currentColor; color: var(--ink3); margin-left: 2px; }
.ti-play-btn:hover svg { color: #fff; }

.ti-info { flex: 1; min-width: 0; }

.ti-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ti-artist {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink3);
  margin-top: 2px;
}

.ti-meta {
  display: flex;
  gap: 16px;
  color: var(--ink3);
  font-family: var(--font-mono);
  font-size: 11px;
}

.track-item.ti-active .ti-title { color: var(--accent); }
.track-item.ti-active .ti-no { color: var(--accent); }

/* ═══════════════════════════════════════════
   PLAYER BAR (bottom fixed)
═══════════════════════════════════════════ */
#player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--player-h);
  background: rgba(10,10,10,.95);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 20px;
  z-index: 90;
  transform: translateY(100%);
  transition: transform .4s var(--ease-out);
}

#player.show { transform: translateY(0); }

.player-art {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  background: linear-gradient(135deg,#220500,#FF4D1C);
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.player-info { flex: 1; min-width: 0; }

.player-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-artist {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink3);
  letter-spacing: .05em;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pc-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  color: var(--ink3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: color .15s;
  padding: 0;
}

.pc-btn:hover { color: var(--ink); }
.pc-btn svg { width: 16px; height: 16px; }

.pc-play {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
}

.pc-play:hover { background: var(--accent2); }
.pc-play svg { width: 14px; height: 14px; }

.player-progress {
  flex: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 380px;
}

.pp-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink3);
  width: 32px;
  flex-shrink: 0;
}

.pp-bar {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.pp-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 2px;
}

.pp-thumb {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--ink);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .15s;
  margin-left: -5px;
}

.pp-bar:hover .pp-thumb { opacity: 1; }

.player-vol {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vol-bar {
  width: 64px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.vol-fill {
  height: 100%;
  width: 70%;
  background: var(--border2);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════
   MARQUEE STRIP
═══════════════════════════════════════════ */
.marquee-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  background: var(--bg2);
}

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marqueeRun 28s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeRun {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.marquee-item b { color: var(--accent); }

.marquee-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border2);
  display: inline-block;
}

/* ═══════════════════════════════════════════
   FORMS
═══════════════════════════════════════════ */
.form-container {
  max-width: 440px;
  margin: 80px auto;
  padding: 0 24px;
}

.form-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: .95;
}

.form-subtitle {
  font-size: 14px;
  color: var(--ink3);
  margin-bottom: 32px;
}

.form-group { margin-bottom: 20px; }

.form-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink3);
  margin-bottom: 8px;
  display: block;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color .15s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--ink3);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7068' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-error {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: 4px;
  display: block;
}

.form-alert {
  background: rgba(255,77,28,.1);
  border: 1px solid rgba(255,77,28,.3);
  color: var(--accent);
  padding: 12px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
  font-size: 13px;
}

.form-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.form-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.form-divider span {
  position: relative;
  background: var(--bg2);
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.form-link {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink3);
  text-align: center;
  margin-top: 20px;
}

.form-link a {
  color: var(--accent);
  text-decoration: none;
}

.form-link a:hover { text-decoration: underline; }

/* Artist extra fields (register) */
.artist-extra { display: none; }
.artist-extra.visible { display: block; }

/* ═══════════════════════════════════════════
   UPLOAD FORM
═══════════════════════════════════════════ */
.upload-container {
  max-width: 680px;
  margin: 60px auto;
  padding: 0 24px;
}

.upload-steps {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.upload-step {
  flex: 1;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink3);
  background: var(--bg2);
  text-align: center;
  border-right: 1px solid var(--border);
  transition: all .2s;
}

.upload-step:last-child { border-right: none; }
.upload-step.active { background: var(--bg3); color: var(--accent); }
.upload-step.done { color: var(--ink2); }

.upload-panel { display: none; }
.upload-panel.active { display: block; }

.upload-dropzone {
  border: 2px dashed var(--border2);
  border-radius: 4px;
  padding: 48px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.upload-dropzone:hover,
.upload-dropzone.drag-over {
  border-color: var(--accent);
  background: rgba(255,77,28,.05);
}

.upload-dropzone-icon {
  font-size: 40px;
  color: var(--border2);
  margin-bottom: 16px;
}

.upload-dropzone-text {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink3);
  margin-bottom: 8px;
}

.upload-dropzone-sub {
  font-size: 12px;
  color: var(--ink3);
}

.upload-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 32px;
}

/* ═══════════════════════════════════════════
   ARTIST DETAIL
═══════════════════════════════════════════ */
.artist-banner {
  height: 240px;
  background-size: cover;
  background-position: center;
  background: linear-gradient(135deg, var(--bg3), var(--accent) 200%);
  position: relative;
}

.artist-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
}

.artist-profile-section {
  padding: 0 56px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 32px;
}

.artist-avatar {
  width: 120px;
  height: 120px;
  border-radius: 4px;
  border: 3px solid var(--bg);
  background: var(--bg3);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.artist-profile-info { padding-bottom: 8px; }

.artist-profile-name {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--ink);
  line-height: .95;
}

.artist-profile-meta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink3);
}

.artist-profile-bio {
  padding: 40px 56px 0;
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.7;
  max-width: 640px;
}

.band-members-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.band-members-table th {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink3);
  text-align: left;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.band-members-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--ink2);
}

.band-members-table tr:last-child td { border-bottom: none; }

/* Activity timeline */
.activity-list { display: flex; flex-direction: column; gap: 0; }

.activity-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.activity-item:last-child { border-bottom: none; }

.activity-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink3);
  width: 80px;
  flex-shrink: 0;
  padding-top: 2px;
}

.activity-type-badge {
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 2px 6px;
  border-radius: 2px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--ink3);
  flex-shrink: 0;
  height: fit-content;
}

.activity-content {}
.activity-title { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.activity-desc { font-size: 13px; color: var(--ink3); line-height: 1.5; }

/* ═══════════════════════════════════════════
   TRACK DETAIL — WEB PLAYER
═══════════════════════════════════════════ */
.track-detail-header {
  display: flex;
  gap: 40px;
  padding: 60px 56px 40px;
  align-items: flex-start;
}

.track-cover {
  width: 200px;
  height: 200px;
  border-radius: 4px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--bg3);
}

.track-detail-info { flex: 1; }

.track-detail-title {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--ink);
  line-height: .9;
  margin-bottom: 12px;
}

.track-detail-artist {
  font-size: 16px;
  color: var(--ink2);
  margin-bottom: 8px;
}

.track-detail-album {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink3);
  margin-bottom: 24px;
}

/* Inline player */
.inline-player {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
}

.ip-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ip-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.ip-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 2px;
}

.ip-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ip-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  color: #fff;
  flex-shrink: 0;
}

.ip-play:hover { background: var(--accent2); }
.ip-play svg { width: 16px; height: 16px; margin-left: 3px; }

.ip-vol-wrap { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.ip-vol-bar {
  width: 80px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.ip-vol-fill {
  height: 100%;
  width: 70%;
  background: var(--border2);
  border-radius: 2px;
}

.track-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink3);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 4px 8px;
  transition: color .15s, border-color .15s;
}

.tag-badge:hover { color: var(--accent); border-color: rgba(255,77,28,.3); }

.track-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.track-meta-item {}

.track-meta-label {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink3);
  margin-bottom: 4px;
}

.track-meta-value {
  font-size: 14px;
  color: var(--ink2);
}

.lyrics-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  font-size: 14px;
  color: var(--ink2);
  line-height: 2;
  white-space: pre-wrap;
}

.blockchain-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
  background: rgba(212,168,67,.1);
  border: 1px solid rgba(212,168,67,.3);
  border-radius: 2px;
  padding: 8px 14px;
  text-decoration: none;
  transition: background .15s;
}

.blockchain-badge:hover { background: rgba(212,168,67,.15); }

/* ═══════════════════════════════════════════
   FILTER BAR (Artist List)
═══════════════════════════════════════════ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 7px 14px;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: none;
  color: var(--ink3);
  cursor: pointer;
  transition: all .15s;
}

.filter-btn:hover { border-color: var(--border2); color: var(--ink2); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.filter-select {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 7px 32px 7px 12px;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--ink3);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A7068' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color .15s;
}

.filter-select:focus { border-color: var(--accent); }

/* ═══════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 48px;
}

.page-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: none;
  color: var(--ink3);
  text-decoration: none;
  transition: all .15s;
}

.page-btn:hover { border-color: var(--border2); color: var(--ink); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn.disabled { opacity: .3; pointer-events: none; }

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

.footer {
  padding: 48px 56px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: .04em;
}

.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink3);
  text-decoration: none;
  transition: color .15s;
}

.footer-links a:hover { color: var(--ink2); }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--ink3);
}

/* ═══════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════ */
.text-accent { color: var(--accent); }
.text-ink3   { color: var(--ink3); }

.badge {
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: 2px;
  padding: 2px 6px;
}

.badge-accent {
  background: rgba(255,77,28,.15);
  border: 1px solid rgba(255,77,28,.3);
  color: var(--accent);
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--ink3);
}

.empty-state-icon {
  font-size: 32px;
  margin-bottom: 16px;
  opacity: .4;
}

.empty-state-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink3);
  margin-bottom: 8px;
}

.empty-state-desc {
  font-size: 14px;
  color: var(--ink3);
}

/* Fade-in on scroll */
.fu {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}

.fu.vis {
  opacity: 1;
  transform: translateY(0);
}

/* Content section wrapper */
.content-section {
  padding: 60px 56px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — 768px
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-search { display: none; }
  .nav-right .nav-btn { padding: 6px 10px; font-size: 10px; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    z-index: 99;
    gap: 0;
  }

  .nav-links.mobile-open .nav-link {
    padding: 12px 24px;
    border-radius: 0;
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-text { padding: 48px 24px; }
  .hero-right { display: none; }

  .hero-stats { gap: 24px; }

  /* Sections */
  .section { padding: 48px 24px; }
  .content-section { padding: 40px 24px; }
  .section-title { font-size: 32px; }

  /* Grids */
  .artist-grid { grid-template-columns: 1fr 1fr; }
  .track-grid  { grid-template-columns: 1fr 1fr; }
  .album-grid  { grid-template-columns: 1fr 1fr; }

  /* Artist detail */
  .artist-profile-section { padding: 0 24px; flex-direction: column; align-items: flex-start; }
  .artist-avatar { width: 80px; height: 80px; }
  .artist-profile-bio { padding: 24px 24px 0; }

  /* Track detail */
  .track-detail-header { flex-direction: column; padding: 40px 24px 24px; }
  .track-cover { width: 160px; height: 160px; }
  .track-meta-grid { grid-template-columns: 1fr 1fr; }

  /* Forms */
  .form-container { margin: 40px auto; }
  .form-card { padding: 24px; }
  .form-title { font-size: 28px; }

  /* Upload */
  .upload-container { margin: 40px auto; }

  /* Footer */
  .footer { flex-direction: column; gap: 20px; text-align: center; padding: 32px 24px; }
  .footer-links { justify-content: center; }
  .divider { margin: 0 24px; }
}

@media (max-width: 480px) {
  .artist-grid { grid-template-columns: 1fr; }
  .track-grid  { grid-template-columns: 1fr; }
  .album-grid  { grid-template-columns: 1fr 1fr; }
  .hero-stats  { flex-wrap: wrap; gap: 20px; }
}

/* ═══════════════════════════════════════════
   PHASE 4 — SEARCH / EXPLORE / MYPAGE / EMBED / SHARE
═══════════════════════════════════════════ */

/* ─── SEARCH ─── */
.search-page {
  max-width: 960px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}
.search-hero {
  margin-bottom: 40px;
}
.search-form {
  width: 100%;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 0 16px;
  gap: 12px;
  transition: border-color .2s;
}
.search-input-wrap:focus-within {
  border-color: var(--accent);
}
.search-icon-svg {
  color: var(--ink3);
  flex-shrink: 0;
}
.search-input-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 0;
}
.search-input-field::placeholder { color: var(--ink3); }
.search-submit-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}
.search-submit-btn:hover { background: var(--accent2); }

.search-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.search-tab {
  padding: 10px 18px;
  font-size: 14px;
  color: var(--ink3);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.search-tab:hover { color: var(--ink); }
.search-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.search-empty {
  text-align: center;
  padding: 80px 24px;
}
.search-empty-icon { font-size: 48px; color: var(--ink3); margin-bottom: 16px; }
.search-empty-title { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.search-empty-desc { font-size: 14px; color: var(--ink3); margin-bottom: 32px; }

.search-section { margin-bottom: 48px; }
.search-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.search-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .05em;
}
.search-more-link { font-size: 13px; color: var(--accent); text-decoration: none; }
.search-more-link:hover { color: var(--accent2); }

/* 검색 트랙 리스트 */
.search-track-list { display: flex; flex-direction: column; gap: 2px; }
.str-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg2);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.str-item:hover { background: var(--bg3); border-color: var(--border); }
.str-cover {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.str-cover img { width: 100%; height: 100%; object-fit: cover; }
.str-cover-placeholder { font-size: 20px; color: var(--ink3); }
.str-info { flex: 1; min-width: 0; }
.str-title { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.str-artist { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.str-artist a { color: inherit; text-decoration: none; }
.str-artist a:hover { color: var(--accent); }
.str-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12px; color: var(--ink3); }
.str-dur { font-family: var(--font-mono); }
.str-play-btn {
  background: none;
  border: 1px solid var(--border2);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: var(--ink2);
  cursor: pointer;
  font-size: 10px;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.str-play-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* 검색 아티스트 그리드 */
.search-artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}
.sar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s;
}
.sar-card:hover { transform: translateY(-2px); }
.sar-img-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sar-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.sar-img-placeholder {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink3);
}
.sar-name { font-size: 13px; font-weight: 600; text-align: center; }
.sar-genre { font-size: 11px; color: var(--ink3); text-align: center; }

/* 검색 앨범 그리드 */
.search-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
}

.search-popular-wrap { margin-top: 32px; }
.search-popular-top { margin-top: 16px; }
.search-popular-label { font-size: 13px; color: var(--ink3); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .1em; }
.search-popular-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ─── EXPLORE ─── */
.explore-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}
.explore-header { margin-bottom: 48px; }
.explore-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 80px);
  letter-spacing: .05em;
}
.explore-desc { font-size: 16px; color: var(--ink3); margin-top: 8px; }

.explore-genres { margin-bottom: 64px; }
.explore-genre-section { margin-bottom: 40px; }
.explore-genre-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-radius: 8px 8px 0 0;
}
.explore-genre-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: .05em;
  color: #fff;
  text-decoration: none;
}
.explore-genre-name:hover { opacity: .85; }
.explore-genre-more { font-size: 13px; color: rgba(255,255,255,.7); text-decoration: none; }
.explore-genre-more:hover { color: #fff; }
.explore-genre-tracks {
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.explore-track-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .2s;
}
.explore-track-item:last-child { border-bottom: none; }
.explore-track-item:hover { background: var(--bg3); }
.eti-cover {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.eti-cover img { width: 100%; height: 100%; object-fit: cover; }
.eti-cover-ph { font-size: 16px; color: var(--ink3); }
.eti-info { flex: 1; min-width: 0; }
.eti-title { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eti-artist { font-size: 12px; color: var(--ink3); text-decoration: none; }
.eti-artist:hover { color: var(--accent); }
.eti-dur { font-family: var(--font-mono); font-size: 12px; color: var(--ink3); flex-shrink: 0; }
.eti-play {
  background: none;
  border: 1px solid var(--border2);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: var(--ink2);
  cursor: pointer;
  font-size: 9px;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.eti-play:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.explore-section { margin-bottom: 64px; }
.explore-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.explore-section-title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: .05em;
}
.explore-section-more { font-size: 13px; color: var(--accent); text-decoration: none; }
.explore-section-more:hover { color: var(--accent2); }

.explore-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
}
.explore-artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}
.ear-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s;
}
.ear-card:hover { transform: translateY(-2px); }
.ear-img-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ear-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ear-img-ph {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink3);
}
.ear-name { font-size: 13px; font-weight: 600; text-align: center; }
.ear-genre { font-size: 11px; color: var(--ink3); text-align: center; }

.explore-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.tag-pill {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--ink2);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
  line-height: 1;
}
.tag-pill:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ─── MYPAGE ─── */
.mypage {
  max-width: 960px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}
.mypage-profile {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 40px;
}
.mp-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mp-avatar-ph {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--ink3);
}
.mp-info { flex: 1; min-width: 0; }
.mp-nickname { font-size: 22px; font-weight: 700; }
.mp-type { font-size: 13px; color: var(--accent); text-transform: capitalize; margin-top: 4px; }
.mp-joined { font-size: 12px; color: var(--ink3); margin-top: 4px; }
.mp-stats {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}
.mp-stat { text-align: center; }
.mp-stat-n { font-family: var(--font-display); font-size: 28px; line-height: 1; }
.mp-stat-l { font-size: 11px; color: var(--ink3); margin-top: 4px; }

.mypage-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.mypage-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--ink3);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 18px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.mypage-tab:hover { color: var(--ink); }
.mypage-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.mypage-tab-content { display: none; }
.mypage-tab-content.active { display: block; }

.mypage-empty {
  text-align: center;
  padding: 60px 24px;
}
.mypage-empty-icon { font-size: 40px; color: var(--ink3); margin-bottom: 12px; }
.mypage-empty-text { font-size: 16px; color: var(--ink3); margin-bottom: 20px; }

.mypage-track-list { display: flex; flex-direction: column; gap: 2px; }

.mypage-artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
}
.mypage-artist-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mar-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}
.mar-img-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mar-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.mar-img-ph {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink3);
}
.mar-name { font-size: 13px; font-weight: 600; text-align: center; }
.mar-genre { font-size: 11px; color: var(--ink3); text-align: center; }

/* 플레이리스트 */
.mypage-pl-header { margin-bottom: 20px; }
.mypage-playlist-list { display: flex; flex-direction: column; gap: 8px; }
.pl-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  transition: border-color .2s;
}
.pl-card:hover { border-color: var(--border2); }
.pl-card-icon { font-size: 20px; color: var(--ink3); flex-shrink: 0; }
.pl-card-info { flex: 1; min-width: 0; }
.pl-card-title { font-size: 15px; font-weight: 600; }
.pl-card-meta { font-size: 12px; color: var(--ink3); margin-top: 4px; }
.pl-delete-form { flex-shrink: 0; }
.pl-delete-btn {
  background: none;
  border: 1px solid var(--border2);
  border-radius: 4px;
  color: var(--ink3);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 12px;
  transition: background .2s, color .2s;
}
.pl-delete-btn:hover { background: #FF4D1C22; color: var(--accent); border-color: var(--accent); }

/* 즐겨찾기 버튼 */
.btn-favorite {
  background: none;
  border: 1px solid var(--border2);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: var(--ink3);
  cursor: pointer;
  font-size: 13px;
  flex-shrink: 0;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-favorite:hover, .btn-favorite.active {
  background: #FF4D1C22;
  color: var(--accent);
  border-color: var(--accent);
}

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 28px;
  width: 100%;
  max-width: 400px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-title { font-size: 18px; font-weight: 700; }
.modal-close {
  background: none;
  border: none;
  color: var(--ink3);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: color .2s;
}
.modal-close:hover { color: var(--ink); }
.modal-form { display: flex; flex-direction: column; gap: 20px; }
.form-radio-group { display: flex; gap: 20px; }
.form-radio { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.btn-full { width: 100%; }

/* ─── ALERTS ─── */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-error { background: rgba(255,77,28,.12); border: 1px solid var(--accent); color: var(--accent); }
.alert-success { background: rgba(0,201,167,.12); border: 1px solid #00C9A7; color: #00C9A7; }

/* ─── SHARE BUTTONS ─── */
.share-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity .2s;
}
.share-btn:hover { opacity: .85; }
.share-btn-kakao { background: #FEE500; color: #3A1D1D; }
.share-btn-twitter { background: #1DA1F2; color: #fff; }
.share-btn-facebook { background: #1877F2; color: #fff; }

/* ─── EXPLORE / SEARCH RESPONSIVE ─── */
@media (max-width: 768px) {
  .mypage-profile { flex-direction: column; text-align: center; }
  .mp-stats { justify-content: center; }
  .search-artist-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .explore-genre-header { padding: 16px; }
  .explore-genre-name { font-size: 20px; }
}

@media (max-width: 480px) {
  .search-tabs { overflow-x: auto; }
  .mypage-tabs { overflow-x: auto; }
  .mp-stats { gap: 16px; }
}

/* ── 반응형 보완 ── */
@media (max-width: 1024px) {
  .hero-text { padding: 60px 32px; }
  .section { padding: 64px 32px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 52px; }
  .section { padding: 48px 20px; }
  .hero-stats { gap: 20px; }
  .footer { flex-direction: column; gap: 16px; text-align: center; }
}

/* ═══════════════════════════════════════════
   BROWSE SECTION
═══════════════════════════════════════════ */
.browse-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.browse-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--ink2);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 6px 14px;
  transition: background .2s, color .2s, border-color .2s;
}

.browse-tag:hover,
.browse-tag.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

/* ═══════════════════════════════════════════
   FEATURED ALBUM
═══════════════════════════════════════════ */
.featured-album {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  min-height: 320px;
}

.fa-cover {
  background-size: cover;
  background-position: center;
  background-color: var(--bg3);
  min-height: 320px;
}

.fa-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fa-genre {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.fa-title {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1.1;
}

.fa-artist {
  font-size: 14px;
  color: var(--ink2);
  margin-top: 8px;
}

.fa-year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink3);
  margin-top: 4px;
}

.fa-desc {
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.6;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .featured-album { grid-template-columns: 1fr; }
  .fa-cover { min-height: 240px; }
  .fa-info { padding: 24px; }
  .fa-title { font-size: 28px; }
}

/* ═══════════════════════════════════════════
   EXHIBITION STYLES
═══════════════════════════════════════════ */
.exh-list-active {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.exh-banner {
  display: block;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg3);
  transition: transform .3s var(--ease-out);
}

.exh-banner:hover {
  transform: translateY(-2px);
}

.exh-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
}

.exh-banner-content {
  position: relative;
  z-index: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
}

.exh-banner-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink2);
  letter-spacing: .05em;
  margin-bottom: 8px;
}

.exh-banner-title {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1.1;
}

.exh-banner-desc {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.6;
  margin-top: 10px;
  max-width: 500px;
}

.exh-banner-artists {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink3);
  margin-top: 10px;
}

.exh-status-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
  width: fit-content;
}

.exh-status-active {
  background: rgba(255,77,28,.15);
  color: var(--accent);
  border: 1px solid rgba(255,77,28,.4);
}

.exh-status-upcoming {
  background: rgba(212,168,67,.15);
  color: var(--gold);
  border: 1px solid rgba(212,168,67,.4);
}

.exh-status-ended {
  background: rgba(122,112,104,.15);
  color: var(--ink3);
  border: 1px solid rgba(122,112,104,.4);
}

.exh-section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink3);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.exh-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.exh-card {
  display: block;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .2s var(--ease-out), border-color .2s;
}

.exh-card:hover {
  transform: translateY(-2px);
  border-color: var(--border2);
}

.exh-card-ended { opacity: .6; }
.exh-card-ended:hover { opacity: .8; }

.exh-card-cover {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--bg3);
  position: relative;
  padding: 12px;
}

.exh-card-info { padding: 14px 16px; }

.exh-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.exh-card-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink3);
  margin-top: 4px;
}

.exh-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.exh-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 3px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--bg3);
  cursor: pointer;
}

.exh-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity .25s;
}

.exh-item:hover .exh-item-overlay { opacity: 1; }

.exh-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.exh-item-artist {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink2);
  margin-top: 2px;
}

/* Exhibition Detail */
.exh-detail-banner {
  position: relative;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg3);
  display: flex;
  align-items: flex-end;
}

.exh-detail-banner-content {
  position: relative;
  z-index: 1;
  padding: 48px;
  max-width: 700px;
}

.exh-detail-title {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1.05;
}

.exh-detail-desc {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 700px;
}

.exh-detail-back {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 768px) {
  .exh-banner-content { padding: 24px; min-height: 200px; }
  .exh-banner-title { font-size: 24px; }
  .exh-detail-banner { min-height: 240px; }
  .exh-detail-banner-content { padding: 24px; }
  .exh-detail-title { font-size: 32px; }
  .exh-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* ═══════════════════════════════════════════
   CONCERT STYLES
═══════════════════════════════════════════ */
.concert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.concert-card {
  display: block;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .2s var(--ease-out), border-color .2s;
}

.concert-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.concert-cover {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--bg3);
  position: relative;
}

.concert-date-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(0,0,0,.75);
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 2px;
  letter-spacing: .03em;
}

.concert-live {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: #e80000;
  color: #fff;
  padding: 3px 8px;
  border-radius: 2px;
  animation: livePulse 1.5s ease-in-out infinite;
}

.concert-vod-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--accent);
  color: #fff;
  padding: 3px 8px;
  border-radius: 2px;
}

.concert-info { padding: 14px 16px; }

.concert-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.concert-venue {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink3);
  margin-top: 4px;
}

.concert-price {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-top: 4px;
}

.concert-views {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink3);
  margin-top: 4px;
}

.concert-card-vod { opacity: .85; }
.concert-card-vod:hover { opacity: 1; }

/* Concert Live Banner */
.concert-live-banner {
  display: block;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg3);
  margin-bottom: 24px;
  transition: transform .3s var(--ease-out);
}

.concert-live-banner:hover { transform: translateY(-2px); }

.concert-live-banner-content {
  position: relative;
  z-index: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
}

.concert-live-banner-title {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1.1;
}

.concert-live-banner-artist {
  font-size: 14px;
  color: var(--ink2);
  margin-top: 6px;
}

.concert-live-banner-venue {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink3);
  margin-top: 4px;
}

/* Concert Video */
.concert-video {
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: #000;
  border-radius: 4px;
  overflow: hidden;
}

.concert-video-playable video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concert-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
  cursor: pointer;
  transition: background .2s;
}

.concert-video-overlay:hover { background: rgba(0,0,0,.2); }

.concert-play-icon {
  width: 56px;
  height: 56px;
  transition: transform .2s;
}

.concert-video-overlay:hover .concert-play-icon { transform: scale(1.1); }

/* Concert Chat */
.concert-chat {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  height: 420px;
}

.chat-header {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink2);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-empty {
  font-size: 12px;
  color: var(--ink3);
  text-align: center;
  margin: auto 0;
}

.chat-msg {
  font-size: 12px;
  line-height: 1.4;
}

.chat-msg-name {
  font-weight: 600;
  color: var(--accent);
  margin-right: 6px;
}

.chat-msg-text {
  color: var(--ink2);
}

.chat-input-wrap {
  display: flex;
  border-top: 1px solid var(--border);
  padding: 8px;
  gap: 6px;
}

.chat-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--ink);
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
}

.chat-input:focus { border-color: var(--accent); }
.chat-input:disabled { opacity: .5; cursor: not-allowed; }

.chat-send {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 8px 14px;
  cursor: pointer;
  transition: opacity .2s;
}

.chat-send:hover { opacity: .85; }
.chat-send:disabled { opacity: .4; cursor: not-allowed; }

/* Concert Detail Layout */
.concert-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

.concert-detail-main { min-width: 0; }

.concert-detail-info { margin-top: 20px; }

.concert-detail-title {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1.1;
}

.concert-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.concert-detail-meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink3);
}

.concert-detail-artist { color: var(--ink2) !important; }
.concert-detail-price { color: var(--accent) !important; }

.concert-detail-desc {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .concert-detail-layout { grid-template-columns: 1fr; }
  .concert-chat { max-height: 350px; }
}

@media (max-width: 768px) {
  .concert-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .concert-live-banner-content { padding: 24px; min-height: 200px; }
  .concert-live-banner-title { font-size: 24px; }
  .concert-detail-title { font-size: 28px; }
}

/* ═══════════════════════════════════════════
   COMMUNITY STATS
═══════════════════════════════════════════ */
.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.community-stat {
  background: rgba(26,26,26,.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color .2s;
}

.community-stat:hover { border-color: var(--accent); }

.community-stat-n {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1;
}

.community-stat-l {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink3);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .community-stat-n { font-size: 32px; }
}

@media (max-width: 480px) {
  .community-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .community-stat { padding: 20px 12px; }
  .community-stat-n { font-size: 28px; }
}

/* ═══════════════════════════════════════════
   LIVE SECTION
═══════════════════════════════════════════ */
.live-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
}

.live-main { min-width: 0; }

.live-badge-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.live-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: #e80000;
  color: #fff;
  padding: 3px 10px;
  border-radius: 2px;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}

.live-viewers {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink2);
  background: rgba(0,0,0,.6);
  padding: 3px 8px;
  border-radius: 2px;
}

.live-info { margin-top: 14px; }

.live-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  letter-spacing: .02em;
}

.live-artist {
  font-size: 13px;
  color: var(--ink2);
  margin-top: 4px;
}

.live-sidebar {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.live-sidebar-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink2);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.live-sidebar-item {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.live-sidebar-item:last-child { border-bottom: none; }
.live-sidebar-item:hover { background: var(--bg3); }

.live-sidebar-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.live-sidebar-item-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink3);
  margin-top: 3px;
}

@media (max-width: 900px) {
  .live-grid { grid-template-columns: 1fr; }
  .live-sidebar { max-height: 200px; overflow-y: auto; }
}

/* ── GOODS ── */
.goods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.goods-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; transition: all .2s; text-decoration: none; color: inherit; display: block; }
.goods-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.goods-cover { aspect-ratio: 1; background-size: cover; background-position: center; background-color: var(--bg3); }
.goods-info { padding: 14px; }
.goods-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.goods-type { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.goods-type.physical { color: #6A9FD8; }
.goods-type.digital { color: #A87AD8; }
.goods-price { font-family: var(--font-display); font-size: 16px; color: var(--accent); margin-top: 8px; }
.goods-stock { font-family: var(--font-mono); font-size: 10px; color: var(--ink3); margin-top: 4px; }

/* Sidebar goods (for live/concert) */
.sg-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; }
.sg-item:last-child { border-bottom: none; }
.sg-image { width: 42px; height: 42px; border-radius: 4px; background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; background-size: cover; background-position: center; }
.sg-info { flex: 1; min-width: 0; }
.sg-info h5 { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.sg-info p { font-size: 10px; color: var(--ink3); margin: 2px 0 0; }
.sg-price { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent); white-space: nowrap; }

.live-sidebar-section { background: var(--bg2); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.live-sidebar-section .live-sidebar-title { margin: 0; }
.live-sidebar-section .sg-item { padding: 10px 16px; }
