/* CSS Variables */
:root {
  --bg:        #0d0d0d;
  --surface:   #161616;
  --surface-2: #1f1f1f;
  --border:    #2a2a2a;
  --accent:    #b800ae;       
  --accent-dim:#7c0076;
  --text:      #f0ece4;
  --muted:     #666;
  --sidebar-w: 220px;
  --header-h:  72px;
  --player-h:  56px;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Mono', monospace;
}

/*CONTACT PAGE*/
.contact-info {
  padding: 40px 40px;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 4px;
  color: var(--text);
  margin-bottom: 16px;
}

.contact-info p {
  font-family: var(--font-body);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.contact-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info ul li a {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 1px;
  color: #b800ae;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info ul li a:hover {
  color: #7c0076;
}


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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  display: flex;
  min-height: 100vh;
  overflow: hidden;         
}

/*ABOUT*/
.about-info {
  padding: 40px 40px;
}

.about-info h2 {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 4px;
  color: var(--text);
  margin-bottom: 16px;
}

.about-info p {
  font-family: var(--font-body);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1.8;
}

/*SIDEBAR*/
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  z-index: 100;
}

.sidebar__logo {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  letter-spacing: 2px;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 10px 14px;
  display: inline-block;
  margin-bottom: 48px;
  text-shadow: 0 0 20px rgba(232, 255, 71, 0.3);
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

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

.sidebar__footer {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
}

/*MAIN LAYOUT*/
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* Header*/
.main__header {
  height: var(--header-h);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 40px 12px;
  flex-shrink: 0;
  background: var(--bg);
  position: relative;
  z-index: 10;
}

.site-title {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 6px;
  color: var(--text);
  line-height: 1;
}

.header-line {
  margin-top: 10px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 80%);
}

/* TRACK LIST  */
.track-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px 40px calc(var(--player-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 12px;

  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.track-list::-webkit-scrollbar { width: 4px; }
.track-list::-webkit-scrollbar-track { background: transparent; }
.track-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* TRACK CARD*/
.track-card {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
  cursor: default;
}

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

.track-card.is-playing {
  border-color: var(--accent);
  background: var(--surface-2);
}

/* Cover Art */
.cover-art {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  background: var(--bg);
  overflow: hidden;
}

.cover-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--muted);
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
}

/* Play Button*/
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.18s;
  color: var(--accent);
}

.play-btn svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 6px var(--accent));
}

.track-card:hover .play-btn,
.track-card.is-playing .play-btn {
  opacity: 1;
}

.track-card.is-playing .play-btn svg polygon {
}

/*Track Inf*/
.track-info {
  flex: 1;
  padding: 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.track-title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.track-card.is-playing .track-title {
  color: var(--accent);
}

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

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.meta-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Waveform Progress Bar */
.waveform-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.waveform-progress {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.5s linear;
  box-shadow: 0 0 8px var(--accent);
}

/* NOW PLAYING BAR */
.now-playing {
  position: fixed;
  bottom: 0;
  left: var(--sidebar-w);
  right: 0;
  height: var(--player-h);
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  z-index: 200;
}

.now-playing__label {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  white-space: nowrap;
}

.now-playing__title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--accent);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing__controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.now-playing__controls button {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.15s, color 0.15s;
  line-height: 1;
}

.now-playing__controls button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

#playPauseBtn {
  font-size: 14px;
  padding: 5px 14px;
}

.now-playing__time {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  white-space: nowrap;
  min-width: 90px;
  text-align: right;
}

/* ANIMATIONS*/
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.track-card {
  animation: fadeSlideIn 0.35s ease both;
}

.track-card:nth-child(1) { animation-delay: 0.05s; }
.track-card:nth-child(2) { animation-delay: 0.10s; }
.track-card:nth-child(3) { animation-delay: 0.15s; }
.track-card:nth-child(4) { animation-delay: 0.20s; }
.track-card:nth-child(5) { animation-delay: 0.25s; }
.track-card:nth-child(6) { animation-delay: 0.30s; }
.track-card:nth-child(7) { animation-delay: 0.35s; }
.track-card:nth-child(8) { animation-delay: 0.40s; }

/*RESPONSIVE */
@media (max-width: 680px) {
  :root { --sidebar-w: 0px; }
  .sidebar { display: none; }
  .main__header { padding: 0 20px 12px; }
  .track-list { padding: 16px 20px 80px; }
  .now-playing { left: 0; padding: 0 20px; }
}
