body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.quiz-container {
  background-color: #fff;
  border-radius: 12px;
  padding: 22px;
  width: 380px;
  text-align: center;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

h1 {
  margin: 0 0 16px;
  color: #333;
  font-size: 22px;
}

.timer-wrap {
  margin: 8px 0 18px;
  text-align: left;
}

.timer-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.timer-bar {
  width: 100%;
  height: 8px;
  background: #ececff;
  border-radius: 9px;
  overflow: hidden;
}

#timer-fill {
  height: 100%;
  width: 100%;
  background: #ffb703;
  transform-origin: left center;
  transition: width 0.2s linear;
}

#question {
  font-size: 18px;
  margin: 16px 0 18px;
  min-height: 48px;
}

.answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.answer-btn {
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #667eea;
    color: white;
    cursor: pointer;
    transition: transform 0.05s ease, background 0.25 ease;
}

.answer-btn:hover {
    transform: translateY(-1px);
}

.answer-btn:disabled {
    cursor: not-allowed;
    opacity: 0.95;
}

#next-btn {
    margin-top: 18px;
    padding: 10px;
    border: none;
    background:#764ba2;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    display: none;
}

.btn-correct {
    background: #28a745 !important;
}

.btn-wrong {
    background: #e63946 !important;
}

