/* 🔧 Reset & Basics */
body {
  margin: 0;
  background: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  font-family: 'Arial', sans-serif;
  color: white;
}

/* 🎵 Music Controls */
.music-controls {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.music-controls h2 {
  margin: 0;
  font-size: 1.2rem;
}

.music-controls .buttons {
  margin-top: 8px;
}

.music-controls button {
  font-size: 1rem;
  background: #222;
  color: white;
  border: none;
  padding: 5px 12px;
  margin: 0 5px;
  border-radius: 4px;
  cursor: pointer;
}

.music-controls button:hover {
  background: #444;
}

/* 📖 Comic Reader Area */
.reader {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 180px; /* Leaves space for music controls */
}

/* 🖼️ Frame around comic image */
.comic-frame {
  width: 600px;
  height: 900px;
  background: #000;
  border: 6px solid #444;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Comic Image */
.comic-frame img {
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.6s ease-in-out;
  object-fit: contain;
}

/* ⬅️➡️ Nav Buttons */
.reader button {
  font-size: 2rem;
  background: #222;
  color: white;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 5px;
}

.reader button:hover {
  background: #444;
}
