
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --left-pad: 96px;
  --top-pad: 34px;
  --title-size: 44px;

  --row-h: 64px;
  --radius: 14px;
  --glass: rgba(255,255,255,0.06);
  --glass2: rgba(255,255,255,0.10);
  --bd: rgba(255,255,255,0.12);
  --shadow: 0 18px 40px rgba(0,0,0,0.35);
  --text-shadow: 0 3px 0 rgba(0,0,0,0.7);
}

html, body{
  height: 100%;
  background: #000;
}

body{
  min-height: 100vh;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}


.logo-link{
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 50;
}
.logo-img{
  width: 120px;
  height: auto;
  image-rendering: pixelated;
  transition: transform 0.18s ease;
}
.logo-link:hover .logo-img{ transform: scale(1.10); }


.topbar{
  padding-top: var(--top-pad);
  padding-left: var(--left-pad);
  padding-right: 28px;
}

.page-title{
  font-family: "Press Start 2P", monospace;
  font-size: var(--title-size);
  letter-spacing: 1px;
  line-height: 1;
  text-shadow: var(--text-shadow);
}

.subline{
  margin-top: 16px;
  font-size: 12px;
  opacity: 0.85;
}

.content{
  padding-left: var(--left-pad);
  padding-right: 28px;
  padding-top: 46px;
  padding-bottom: 90px;
  max-width: 1200px;
}


.section{
  margin-bottom: 28px;
}

.section-title{
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
  opacity: 0.9;
  margin: 18px 0 14px 0;
}

.track{
  height: var(--row-h);
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--bd);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 54px 1fr 120px 44px;
  align-items: center;
  padding: 0 10px;
  gap: 12px;
  margin-bottom: 12px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.track:hover{
  transform: scale(1.01);
  background: var(--glass2);
}

.play-btn{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: transform 0.12s ease;
}
.play-btn:hover{ transform: scale(1.06); }

.track-name{
  font-size: 14px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-time{
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  opacity: 0.9;
  text-align: right;
}

.more-btn{
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.more-btn:hover{
  background: rgba(255,255,255,0.08);
}

.progress{
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
  margin-top: -6px;
}
.progress > div{
  height: 100%;
  width: 0%;
  background: rgba(255,255,255,0.55);
}

.popup-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  z-index: 999;
  padding: 24px;
  align-items: center;
  justify-content: center;
}

.popup-overlay.open{ display: flex; }

.popup{
  width: min(720px, 92vw);
  border-radius: 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 28px 80px rgba(0,0,0,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 22px 22px 18px 22px;
  position: relative;
}

.popup-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.popup-close:hover{ transform: scale(1.06); }

.popup-title{
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
  margin-bottom: 14px;
}

.popup-text{
  font-family: "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.95;
  white-space: pre-wrap;
}

@media (max-width: 1100px){
  :root{ --left-pad: 48px; --title-size: 38px; }
}

@media (max-width: 820px){
  :root{ --left-pad: 28px; --title-size: 32px; }
  .track{
    grid-template-columns: 54px 1fr 92px 44px;
  }
}