/* ==========================================================================
   UNICITY DESIGN SYSTEM — INVERTED EDITION (WHITE CANVAS / BLACK TYPOGRAPHY)
   Exact Unicity Stylesheet & Layout
   ========================================================================== */

*{margin:0;padding:0;box-sizing:border-box}

:root {
  --black: #ffffff;                /* Canvas Background: Pure White */
  --white: #000000;                /* Primary Foreground & Text: Pure Deep Black */
  --gray: #666666;                 /* Muted Text & Labels */
  --dark: #f1f5f9;                 /* Card Surface & Thumbnails */
  --border: #e2e8f0;               /* Border Lines */
  --accent: #000000;               /* Main Accent: Black */
  --accent2: #475569;              /* Secondary Accent */
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 70px;
}

/* --- NAV / HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0;
}

.logo-text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--white);
}

/* --- SEARCH --- */
.search-box {
  position: relative;
  flex: 0 1 320px;
}

.search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.06);
}

.search-box input::placeholder {
  color: var(--gray);
}

.search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--gray);
  pointer-events: none;
}

/* --- HERO --- */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(1000px 500px at 80% 20%, rgba(0,0,0,0.03), transparent 70%), #ffffff;
  border-bottom: 1px solid var(--border);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  font-size: clamp(44px, 7.5vw, 84px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -3px;
  margin-bottom: 24px;
  color: var(--white);
}

.hero p {
  font-size: 16px;
  color: #475569;
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-fill {
  background: var(--white);
  color: var(--black);
}

.btn-fill:hover {
  background: #27272a;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

/* --- SECTION --- */
.section {
  padding: 90px 48px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.section-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
}

.section-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

.section-link:hover {
  color: var(--white);
}

/* --- ALBUM GRID (UNICITY SHOWCASE) --- */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.album-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  text-decoration: none;
  color: var(--white);
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
}

.album-card:hover {
  border-color: rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

.album-card .cover {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.album-card .play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: var(--transition);
  font-size: 18px;
  color: var(--black);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.album-card:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1);
}

.album-card .info {
  padding: 20px;
}

.album-card .info h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--white);
}

.album-card .info .role-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 10px;
}

.album-card .info .desc-text {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 14px;
}

.meta-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--dark);
  color: #334155;
}

/* --- TRACKLIST (UNICITY STYLE) --- */
.tracklist {
  width: 100%;
}

.track {
  display: grid;
  grid-template-columns: 32px 48px 40px 1fr auto 90px;
  gap: 16px;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.track:hover {
  background: rgba(0, 0, 0, 0.03);
}

.track-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--dark);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.track-num {
  font-size: 14px;
  color: var(--gray);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.track:hover .track-num {
  color: var(--white);
}

.track-play {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.track-play:hover {
  background: var(--white);
  color: var(--black);
  transform: scale(1.05);
}

.track-info .title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.track-info .title a {
  color: var(--white);
  text-decoration: none;
}

.track-info .title a:hover {
  text-decoration: underline;
}

.track-info .artist {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.4;
}

.track-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}

.track-dur {
  font-size: 13px;
  color: var(--gray);
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.dl-link {
  color: var(--white);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: var(--transition);
  background: #ffffff;
}

.dl-link:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: var(--white);
}

.lyrics-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* --- ARTISTS / TEAM GRID --- */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.artist-card {
  text-align: center;
  text-decoration: none;
  color: var(--white);
  padding: 24px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
}

.artist-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid var(--border);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  transition: var(--transition);
}

.artist-card:hover .artist-avatar {
  border-color: var(--white);
  transform: scale(1.06);
}

.artist-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--white);
}

.artist-card p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
}

/* --- MUSIC BANNER --- */
.music-banner {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
}

/* --- EQUALIZER --- */
.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.eq-bar {
  width: 3px;
  background: var(--white);
  border-radius: 1px;
  animation: eq 1.2s ease-in-out infinite;
}

.eq-bar:nth-child(1) { animation-delay: 0s; }
.eq-bar:nth-child(2) { animation-delay: .15s; }
.eq-bar:nth-child(3) { animation-delay: .3s; }
.eq-bar:nth-child(4) { animation-delay: .1s; }
.eq-bar:nth-child(5) { animation-delay: .25s; }

@keyframes eq {
  0%, 100% { height: 3px; }
  50% { height: 16px; }
}

/* --- CTA --- */
.cta {
  padding: 100px 48px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

/* --- MINI PLAYER (BOTTOM STATUS BAR) --- */
.mini-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 48px;
  z-index: 1500;
  gap: 20px;
}

.mini-player .mp-cover {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--dark);
  overflow: hidden;
  flex-shrink: 0;
}

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

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

.mini-player .mp-artist {
  font-size: 11px;
  color: var(--gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player .mp-bar-wrap {
  flex: 2;
  max-width: 300px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-player .mp-bar {
  flex: 1;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  position: relative;
}

.mini-player .mp-bar-fill {
  height: 100%;
  background: var(--white);
  border-radius: 2px;
}

.mini-player .mp-time {
  font-size: 10px;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* --- RESPONSIVE --- */
@media(max-width: 768px) {
  .header { padding: 0 20px; }
  .nav { display: none; }
  .search-box { flex: 1; margin: 0 12px; }
  .hero { padding: 100px 20px 60px; }
  .section { padding: 60px 20px; }
  .album-grid { grid-template-columns: 1fr; }
  .track { grid-template-columns: 24px 40px 1fr 60px; }
  .track-play, .track-meta { display: none; }
  .mini-player { padding: 0 16px; }
  .mini-player .mp-bar-wrap { display: none; }
}
