/* Reset and base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #0a0a0a;
  color: #e8e8e8;
  font-family: "JetBrains Mono", "SF Mono", Consolas, monospace;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header — full-width image */
.header {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 72vh;
  min-height: 280px;
  overflow: hidden;
  background: #000;
}

.header__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
  display: block;
}

.header__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: clamp(1rem, 5vw, 2.5rem);
  pointer-events: none;
  color: #ff000f;
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  mix-blend-mode: screen;
  opacity: 0.85;
}

.header__symbol {
  font-size: clamp(1rem, 3vw, 1.5rem);
  letter-spacing: 0.15em;
}

/* Main content — song list */
.main {
  flex: 1;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 5vw, 4rem);
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.site-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #ff000f;
  margin: 0 0 1.5rem;
  letter-spacing: 0.08em;
}

.song-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.song-item {
  margin: 0;
}

/* Red rectangular frame per song (like reference image) */
.song-item__frame {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid #ff000f;
  background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.song-item__frame:hover {
  background: rgba(255, 0, 15, 0.08);
  border-color: #ff000f;
}

.song-item__frame.playing {
  background: rgba(255, 0, 15, 0.12);
  border-color: #ff000f;
}

.song-item__play {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 2px solid #ff000f;
  background: transparent;
  color: #ff000f;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 1rem;
}

.song-item__play:hover {
  background: #ff000f;
  color: #0a0a0a;
}

.song-item__play.playing .song-item__icon {
  font-size: 0.75rem;
}

.song-item__play .song-item__icon {
  display: block;
  margin-left: 2px;
}

.song-item__play.playing .song-item__icon {
  font-size: 0.75rem;
  margin-left: 0;
  letter-spacing: 0.05em;
}

.song-item__title {
  font-weight: 600;
  font-size: 0.95rem;
  flex: 1;
}

.song-item__meta {
  font-size: 0.85rem;
  color: #888;
}

.audio {
  display: none;
}

@media (max-width: 480px) {
  .header {
    aspect-ratio: 16 / 9;
    max-height: 68vh;
    min-height: 240px;
  }

  .song-item__frame {
    padding: 0.85rem 1rem;
  }

  .song-item__play {
    width: 40px;
    height: 40px;
  }
}
