/* ===============================
   GK QUIZ STYLE (Hindi GK Quiz)
   =============================== */

#gk-quiz {
  max-width: 1280px;
  max-height: 720px;
  margin: 20px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-family: 'Noto Sans Devanagari', sans-serif;
  color: #000;
  text-align: center;
}

#gk-quiz h2 {
  font-size: 28px;
  margin-bottom: 12px;
   padding: 20px 14px;
  background-color: #4caf50;
  border: 1px;
   color: #fff;
  border-radius: 10px;
}

#gk-quiz img {
  width: 300px;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
  margin: 10px auto;
  display: block;
}

.option-btn {
  display: block;
  width: 100%;
  margin: 6px 0;
  padding: 10px 14px;
  background-color: #800000;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.option-btn:hover {
  background-color: #fdd835;
}

.option-btn.correct {
  background: linear-gradient(to right, #4caf50 0%, #4caf50 100%);
  color: #fff;
  animation: fillGreen 2s forwards;
}

@keyframes fillGreen {
  0% {
    background: linear-gradient(to right, #4caf50 0%, #ffeb3b 0%);
  }
  100% {
    background: linear-gradient(to right, #4caf50 100%, #4caf50 100%);
  }
}


/* Timer Circle */
.timer {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 20px auto;
}

.timer svg {
  transform: rotate(-90deg);
}

.timer circle {
  fill: none;
  stroke-width: 10;
}

.timer circle.bg {
  stroke: #eee;
}

.timer circle.progress {
  stroke: #009688;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1s linear;
}

.timer span {
  position: absolute;
  top: 35%;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
}

/* Navigation Buttons */
.nav-buttons {
  margin-top: 10px;
}

.nav-buttons button {
  background-color: #009688;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 18px;
  margin: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.nav-buttons button:hover {
  background-color: #00796b;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
