/* 🌌 Background */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: white;
  text-align: center;
}

/* 🧱 Container */
.container {
  padding: 20px;
}

/* 👑 Title */
h1 {
  margin-top: 20px;
  font-size: 32px;
  letter-spacing: 1px;
}

/* 🔘 Buttons */
button {
  padding: 12px 25px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(45deg, #00f2fe, #4facfe);
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

button:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #4facfe, #00f2fe);
}

/* 🧾 Input */
input {
  padding: 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  margin-right: 10px;
  width: 200px;
}

/* 🪟 Glass Card */
.card {
  backdrop-filter: blur(15px);
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 20px;
  margin: 20px auto;
  width: 300px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

/* 👥 Player Section */
.players {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.player {
  width: 120px;
  height: 140px;
  border-radius: 15px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.player:hover {
  transform: translateY(-5px);
}

/* 🧠 Role Text */
#role {
  font-size: 24px;
  margin-top: 20px;
}

/* 🟢 Status */
#status {
  font-size: 18px;
  margin-top: 10px;
}

/* 🎯 Guess Box */
#guessBox {
  margin-top: 20px;
}

/* 🏆 Result */
#result {
  margin-top: 20px;
  font-size: 24px;
  font-weight: bold;
}

/* 📱 Mobile Responsive */
@media (max-width: 600px) {
  .players {
    flex-direction: column;
    align-items: center;
  }

  input {
    width: 150px;
  }
}
/* 👥 Characters Section (Front Page) */
.characters {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

/* 🎴 Character Card */
.char {
  width: 100px;
  height: 120px;
  border-radius: 15px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* ✨ Hover Animation */
.char:hover {
  transform: translateY(-8px) scale(1.08);
}

/* 😀 Emoji */
.char .emoji {
  font-size: 32px;
  margin-bottom: 5px;
}

/* 📝 Text */
.char p {
  margin: 0;
  font-size: 14px;
}

/* 🌈 Role Colors (Pro Look 🔥) */
.char:nth-child(1) { border: 2px solid gold; }     /* Raja */
.char:nth-child(2) { border: 2px solid #00f2fe; }  /* Mantri */
.char:nth-child(3) { border: 2px solid red; }      /* Chor */
.char:nth-child(4) { border: 2px solid green; }    /* Sipahi */
