body {
  margin: 0;
  padding: 0;
  background-color: black;
  color: white;
  font-family: Arial, sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  text-align: center;
  margin-top: 50px;
  font-size: 3rem;
}

.nav-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.nav-item {
  color: red;
  border: 2px solid red;
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1.2rem;
}

.nav-item:hover {
  background-color: rgba(255, 0, 0, 0.2);
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  padding: 0 20px;
  margin-bottom: 50px;
}

.music-box {
  border: 1px solid red;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
  height: fit-content;
}

.music-box:hover {
  transform: scale(1.02);
}

.music-image {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.music-title {
  color: red;
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-align: center;
}

.music-description {
  color: white;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.4;
}

.music-date {
  color: red;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
}

.back-link {
  margin-top: 30px;
  color: red;
  text-decoration: none;
  font-size: 1.2rem;
  align-self: center;
}

.back-link:hover {
  text-decoration: underline;
}

.mix-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  flex-grow: 1;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.mix-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-bottom: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.mix-content {
  display: flex;
  width: 100%;
  gap: 40px;
  height: 100%;
}

.mix-description {
  flex: 3;
  color: white;
  font-size: 1.2rem;
  line-height: 1.6;
  padding-right: 20px;
}

.tracklist-container {
  flex: 1;
  border-left: 1px solid red;
  padding-left: 20px;
  height: 400px;
  overflow-y: auto;
  position: sticky;
  top: 20px;
}

.tracklist-title {
  color: red;
  font-size: 1.5rem;
  margin-bottom: 15px;
  position: sticky;
  top: 0;
  background-color: black;
  padding-bottom: 10px;
}

.tracklist {
  list-style-type: none;
  padding: 0;
  color: white;
  font-size: 1.1rem;
  line-height: 1.8;
}

.player-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  border-top: 1px solid red;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.play-button {
  background: none;
  border: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  position: relative;
  flex-shrink: 0;
}

.play-button:hover {
  opacity: 0.8;
}

.play-button::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.play-button.play::before {
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}

.play-button.pause::before {
  width: 8px;
  height: 20px;
  background: white;
  border: none;
  position: absolute;
  left: 12px;
}

.play-button.pause::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 20px;
  background: white;
  left: 30px;
}

.player-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.player-title {
  color: red;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.player-time {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background-color: #333;
  position: relative;
  cursor: pointer;
  border-radius: 6px;
}

.progress-fill {
  height: 100%;
  width: 30%;
  background-color: red;
  border-radius: 6px;
}