/* === Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif; /* Tukar ke Inter untuk vibe tech */
}

/* === Layout utama === */
body {
  background: #050505; /* Pitch Black ikut tema web */
  color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  /* Grid background subtle */
  background-image: linear-gradient(rgba(0, 255, 157, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 255, 157, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* === Bekas kuiz (Glassmorphism) === */
.quiz-container {
  width: 100%;
  max-width: 700px;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 28px;
  border: 1px solid rgba(0, 255, 157, 0.2);
  box-shadow: 0 0 40px rgba(0, 255, 157, 0.1);
  text-align: center;
}

/* === Tajuk & Timer === */
h1 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

#timer {
  font-size: 18px;
  font-weight: 700;
  color: #00ff9d; /* Neon Green */
  margin-bottom: 25px;
  font-family: 'Courier New', monospace; /* Vibe digital clock */
}

/* === Soalan === */
.question {
  display: none;
}

.question.active {
  display: block;
  animation: fadeZoomIn 0.6s cubic-bezier(0.6, 0, 0.2, 1) forwards;
}

.q-img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 15px;
  margin: 15px 0;
  border: 1px solid rgba(255,255,255,0.1);
}

/* === Pilihan (Style Butang Cyber) === */
.options label {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  color: #ccc;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}

.options label:hover {
  background: rgba(0, 255, 157, 0.1);
  border-color: #00ff9d;
  color: #fff;
  transform: translateX(5px);
}

/* Input radio asal kita sorok */
.options input[type="radio"] {
  display: none;
}

/* === Butang Utama === */
.btn, #startBtn {
  background: #00ff9d;
  color: #000;
  border: none;
  padding: 15px 35px;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.4s;
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
}

.btn:hover, #startBtn:hover {
  background: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

/* === Keputusan === */
#score {
  margin-top: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #00ff9d;
  text-shadow: 0 0 15px rgba(0, 255, 157, 0.5);
}

#score img {
  width: 150px;
  margin-top: 20px;
  border-radius: 20px;
  border: 2px solid #00ff9d;
}

/* === Animasi (Kekalkan logic asal kau) === */
@keyframes fadeZoomIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
