body {
  background: #111111;
  color: #f4f4f4;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

#progressContainer {
  width: 100%;
  background: #2c2c2c;
  border-radius: 999px;
  overflow: hidden;
  height: 12px;
  margin: 15px 0 20px 0;
  box-shadow: inset 0 0 5px #000;
}

#progressBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff4d4d, #ffcc00);
  border-radius: 999px;
  transition: width linear;
}


.container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  max-width: 800px;
  margin: auto;
  margin-top: 10px;
  animation: fadeIn 0.8s ease-in-out;
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(45deg, #ff4d4d, #ffcc00);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

button {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  transition: 0.2s all ease-in-out;
}

.btn-primary {
  background: #ff4d4d;
  color: white;
}

.btn-primary:hover {
  background: #ff1a1a;
  transform: scale(1.05);
}

.btn-secondary {
  background: #888;
  color: white;
}

.btn-secondary:hover {
  background: #666;
  transform: scale(1.05);
}

#guessInput {
  background: #222;
  border: none;
  color: white;
  border-radius: 10px;
  padding: 12px 20px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  width: 100%; 
  max-width: none; 
}

#guessButton {
  background: #00c2ff;
  color: white;
  padding: 12px 24px;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 999px;
  transition: all 0.2s ease-in-out;
}

#guessButton:hover {
  background: #00a6d6;
  transform: scale(1.05);
}

#filteredResults {
  max-height: 300px;
  overflow-y: auto;
  margin-top: 10px;
  border-radius: 12px;
  background: #1b1b1b;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  padding: 5px;
}

#filteredResults li {
  cursor: pointer;
  padding: 12px 20px;
  font-size: 1rem;
  border-bottom: 1px solid #333;
  color: #fff;
  background: #2b2b2b;
  transition: all 0.2s ease-in-out;
  border-radius: 8px;
  margin: 5px 0;
}

#filteredResults li:hover {
  background-color: #444;
  transform: scale(1.02);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

#playRandom,
#skipButton,
#guessButton {
  margin-top: 10px;
  margin-bottom: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 600px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 20px 15px;
    margin: 0 auto;
    box-shadow: none;
    border-radius: 0;
  }

  h1 {
    font-size: 2.2rem;
  }

  #guessInput {
    font-size: 1rem;
    padding: 10px 14px;
  }

  #guessButton,
  #playRandom,
  #skipButton {
    font-size: 1rem;
    padding: 10px 20px;
    width: 100%;
    margin: 5px 0;
  }

  .mb-3 {
    flex-direction: column;
    gap: 8px;
  }

  #filteredResults li {
    font-size: 0.95rem;
    padding: 10px;
  }

  #progressContainer {
    height: 10px;
    margin-bottom: 15px;
  }

  audio {
    width: 100%;
  }
}

