body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: url('mymelody.gif') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  color: white;
  text-shadow: 1px 1px 4px #000;
}

.header {
  font-size: 2rem;
  margin: 40px 0 30px 0;
  color: inherit;
  text-align: center;
}

.button-container,
.game-links,
.social-links {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 300px;
  justify-content: center;
}

.button {
  padding: 14px 28px;
  background-color: #ff8ad8;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.button:hover {
  background-color: #ff5bc6;
}

.footer {
  margin-top: 40px;
  color: white;
  font-style: italic;
  text-align: center;
}

@media (max-width: 600px) {
  .player {
    padding: 20px;
    max-width: 90vw;
    width: 90vw;
  }

  .song-title {
    font-size: 1.3rem;
  }

  .control-btn {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .controls,
  .extra-controls {
    gap: 16px;
  }

  .back-button {
    font-size: 1rem;
    padding: 10px 14px;
    top: 12px;
    right: 12px;
  }

  .time-display {
    font-size: 0.95rem;
  }

  input[type="range"] {
    height: 28px;
  }

  #playlist li {
    padding: 14px;
    font-size: 1rem;
  }
}
