body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
}

.Music-btcontainer {
  width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.Music-btcontainer h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
  color: #d84315;
}

.toggle-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.toggle-buttons button {
  background: #ff7043;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-buttons button:hover {
  background: #e64a19;
}

.music-section {
  display: none;
  background: #fff3e0;
  padding: 20px;
  border-radius: 12px;
  border-left: 5px solid #ff7043;
  animation: fadeIn 0.5s ease-in-out;
}

.music-section h2 {
  margin-top: 0;
  color: #bf360c;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Base Container */
.rap-quiz-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-family: 'Noto Sans Sinhala', sans-serif;
  text-align: center;
}

/* Image Row */
.rap-image-row img {
  border-radius: 10px;
  margin: 5px;
  transition: transform 0.3s ease;
}

.rap-image-row img:hover {
  transform: scale(1.05);
}

/* Input Field */
#rapPlayerName {
  padding: 10px;
  width: 80%;
  max-width: 300px;
  margin-top: 10px;
  font-size: 16px;
  border: 2px solid #333;
  border-radius: 8px;
}

/* Button Styles */
.rap-quiz-button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 12px 24px;
  margin: 15px 8px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.rap-quiz-button:hover {
  background-color: #444;
}

/* Timer */
#rapQuizTimer {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  color: red;
}

/* Question/Answer Container */
#rapQuestionContainer {
  margin-top: 20px;
  text-align: left;
}

/* Result Display */
#rapResultContainer {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  color: green;
}

/* Hide Element */
.hidden {
  display: none;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .rap-image-row {
    flex-direction: column;
    align-items: center;
  }

  .rap-image-row img {
    width: 90%;
    height: auto;
  }

  #rapPlayerName {
    width: 90%;
  }

  .rap-quiz-button {
    width: 90%;
    max-width: 300px;
  }
}

