body {
  font-family: 'Poppins', sans-serif;
  background-color: #f0f4f8;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

.container {
  text-align: center;
  width: 90%;
  max-width: 500px;
  background-color: #fff;
  padding: 40px 20px;
  border-radius: 20px;
  border: 4px solid #ff69b4;
  box-shadow: 0 8px #ff69b4;
}

@font-face {
  font-family: 'HollywoodFont';
  src: url('Extras/hollywood_hills/SF Hollywood Hills.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.title {
  font-family: 'HollywoodFont', sans-serif;
  font-size: 3rem;
  font-weight: bold;
  color: #ff69b4;
  margin-bottom: 30px;
  text-shadow: 2px 2px #ffd700;
}

.section-heading {
  color: #ff69b4;
  margin-top: 25px;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.inputs {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.inputs input {
  font-size: 1.6rem;
  padding: 16px 20px;
  border-radius: 12px;
  border: 3px solid #ff69b4;
  outline: none;
  text-align: center;
  background-color: #ffe4e1;
  color: #333;
  transition: all 0.2s ease;
}

.inputs input:focus {
  border-color: #ffd700;
  background-color: #fff0f5;
}

.pink-btn {
  font-size: 1.6rem;
  padding: 18px 40px;
  border-radius: 16px;
  border: 4px solid #ff69b4;
  background-color: #ffb6c1;
  color: #333;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.1s ease, background-color 0.2s ease, color 0.2s ease;
  margin-top: 15px;
  box-shadow: 0 4px 0 #ff69b4;
}

.pink-btn:hover {
  transform: translateY(-2px);
  background-color: #ff69b4;
  color: white;
}

.pink-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

#statusArea,
#waitingArea {
  margin-bottom: 20px;
}

#roomText,
#turnText,
#waitingText,
#countdownText {
  font-size: 1.1rem;
  margin: 8px 0;
  color: #555;
}

#turnText {
  font-weight: 700;
  color: #ff69b4;
}

#countdownText {
  color: #c06;
  font-weight: 600;
}

#rollContainer {
  text-align: center;
  margin-top: 15px;
}

#characters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
}

.character-btn {
  background: linear-gradient(145deg, #ffe4f0, #ffd1e6);
  border: 3px solid #ff69b4;
  color: #333;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 4px 0 #ff69b4;
  transition: all 0.15s ease;
  cursor: pointer;
  min-width: 140px;
  text-align: center;
}

.character-btn:hover {
  background: linear-gradient(145deg, #ffb6c1, #ffcce5);
  transform: translateY(-3px);
  box-shadow: 0 6px 0 #ff69b4;
  color: white;
}

.character-btn.selected {
  background: linear-gradient(145deg, #ff69b4, #ff85c2);
  color: white;
  border-color: #ffd700;
  box-shadow: 0 6px 0 #ffd700;
}

.character-btn.taken {
  background: linear-gradient(145deg, #adadad, #adadad);
  color: white;
  border-color: #ffd700;
  box-shadow: 0 6px 0 #ffd700;
  cursor: not-allowed;
}

#playerList {
  list-style: none;
  padding: 0;
  margin: 0;
}

#playerList li {
  background-color: #fff0f5;
  border: 2px solid #ffb6c1;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
}

@media (max-width: 480px) {
  .title {
    font-size: 2.2rem;
  }

  .inputs input {
    font-size: 1.4rem;
    padding: 14px 16px;
  }

  .pink-btn {
    width: 100%;
    font-size: 1.4rem;
    padding: 16px 0;
  }

  .character-btn {
    min-width: 100%;
    font-size: 1rem;
  }
}