html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden; /* hilangkan scroll */
}
body {
  font-family: "Poppins", sans-serif;
}
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  background-color: rgb(147, 233, 236);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.start-screen h1 {
  color: #ffd700; /* Kuning emas */
}
.start-screen select {
  padding: 10px 10px;
  font-size: 18px;
  border-radius: 10px;
  width: 200px;
  text-align: center;
}

.start-screen button {
  padding: 10px 70px;
  font-size: 22px;
  font-weight: 600;
  border-radius: 12px;
  background: #ffaa00;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}
.start-screen button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 170, 0, 0.8);
}
.start-screen {
  position: fixed; /* lebih stabil dari absolute */
  inset: 0; /* top:0 left:0 right:0 bottom:0 */
  display: flex;
  flex-direction: column;
  justify-content: center; /* center vertical */
  align-items: center; /* center horizontal */
  gap: 20px;
  background: radial-gradient(circle, #001a33 0%, #000000 100%);
  z-index: 9999;
  text-align: center;
}
.game-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 1100px;
  max-width: 95%;
}

.left {
  flex: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-area {
  margin: 20px 0;
}

.lifelines {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.lifeline {
  padding: 10px 15px;
  font-weight: bold;
  background: #ffaa00;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover effect */
.lifeline:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(255, 170, 0, 0.9);
}

/* Efek ditekan */
.lifeline:active {
  transform: scale(0.95);
}

/* Jika sudah digunakan */
.lifeline.used {
  background: #555;
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
#question {
  width: 80%;
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

#options {
  width: 80%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* === STYLE JAWABAN === */

.option {
  background: #4ef156;
  font-size: 20px;
  padding: 12px;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s ease;
  font-weight: 600;
  border-radius: 15px;
  border: 4px solid rgb(245, 94, 24); /* ← Border putih */
  transition: 0.3s ease;
  /* OUTER GLOW */
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.7);
  transition: 0.3s ease;
}
.option:hover {
  box-shadow:
    0 0 15px rgba(255, 170, 0, 0.8),
    0 0 25px rgba(255, 170, 0, 0.6);
  transform: scale(1.03);
}
/* Jawaban Benar */
.option.correct {
  background: #006400; /* Hijau tua */
  color: white;
}

/* Jawaban Salah */
.option.wrong {
  background: #cc0000; /* Merah */
  color: white;
}
.right {
  flex: 1;
}

#ladder li {
  list-style: none;
  background: #003366;
  margin: 5px 0;
  padding: 6px;
  text-align: right;
  border-radius: 5px;
  color: white; /* ← Tambahkan ini */
  font-weight: bold; /* opsional biar lebih tegas */
}
#ladder li.active {
  background: red; /* ← berubah jadi merah */
  color: white;
}

/* Animasi putar */
@keyframes rotateLogo {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotating-logo {
  animation: rotateLogo 10s linear infinite;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.modal-box {
  background: #001a33;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: white;
  width: 400px;
}

.modal-box button {
  margin-top: 20px;
  padding: 8px 20px;
  border: none;
  background: #ffaa00;
  cursor: pointer;
  border-radius: 6px;
}

.credit {
  margin-top: 20px;
  font-size: 12px;      /* kecil */
  opacity: 0.6;         /* samar */
  color: rgb(53, 52, 52);
  text-align: center;
  letter-spacing: 1px;
}

