/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(120deg, #74ebd5, #acb6e5);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Container */
.quiz-container {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.quiz-container h1 {
  margin-bottom: 20px;
  color: #333;
}

/* Buttons */
button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 20px;
  margin-top: 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Options */
#options {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.option-btn:hover {
  background-color: #e0e0e0;
}

/* Timer */
#timer {
  font-weight: bold;
  margin-bottom: 15px;
  color: #444;
}

/* Results */
#result-box h2 {
  color: #28a745;
}

/* Utility */
.hidden {
  display: none;
}

/* Responsive Design */
@media screen and (max-width: 500px) {
  .quiz-container {
    padding: 20px 15px;
  }

  button {
    padding: 10px 15px;
    font-size: 14px;
  }

  .option-btn {
    font-size: 14px;
  }
}
