* {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #ff512f, #dd2476);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* HEADER */
.top-header {
  width: 100%;
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #24c6dc, #514a9d);
  color: white;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.top-header h1 {
  font-size: 32px;
}

/* QUIZ CARD */
.quiz-container {
  background: white;
  width: 90%;
  max-width: 450px;
  margin-top: 40px;
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  animation: slideUp 0.8s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* PROGRESS BAR */
.progress-box {
  width: 100%;
  height: 12px;
  background: #eee;
  border-radius: 20px;
  margin-bottom: 15px;
  overflow: hidden;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, #00f260, #0575e6);
  transition: 0.4s;
}

#score {
  margin-bottom: 10px;
  color: #333;
}

#question {
  margin: 15px 0;
  color: #444;
}

/* OPTIONS */
.options-box {
  display: flex;
  flex-direction: column;
}

.option {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 12px;
  margin: 8px 0;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.option:hover {
  transform: scale(1.05);
}

.correct {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}

.wrong {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

/* BUTTONS */
.btn-box {
  margin-top: 20px;
}

button {
  padding: 10px 18px;
  margin: 5px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, #ff9966, #ff5e62);
  color: white;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.1);
}

/* FOOTER */
.footer {
  color: white;
  margin-top: 40px;
  margin-bottom: 20px;
}
