* {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff, #f5e9e9);
}

.container {
  max-width: 720px;
  margin: auto;
  padding: 15px;
}

.header {
  width: 100%;
  max-width: 150px;
  display: block;
  margin: 0 auto 12px;
  border-radius: 12px;
}

h2 {
  text-align: center;
  font-family: "Poppins", sans-serif;
  color: #800000; /* MAROON NEXA */
}

/* INPUT */
.info input,
select {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 10px;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
}

.info input:focus,
select:focus {
  outline: none;
  border-color: #800000;
  box-shadow: 0 0 0 2px rgba(128, 0, 0, 0.15);
}

/* BUTTON */
.info button,
.nav-btn button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #800000, #5a0000);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(128, 0, 0, 0.35);
}

button:active {
  transform: scale(0.97);
}

.hidden {
  display: none;
}

/* TIMER */
.timer {
  text-align: center;
  font-weight: bold;
  color: #800000;
  margin: 10px 0;
}

/* CARD SOAL */
.question {
  background: #ffffff;
  padding: 15px;
  border-radius: 14px;
  margin-bottom: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* OPTION */
.question label {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.question label:hover {
  background: #ffecec;
}

/* NAV BUTTON */
.nav-btn {
  display: flex;
  gap: 10px;
}

/* PROGRESS BAR */
.progress {
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}

#progressBar {
  height: 8px;
  width: 0%;
  background: linear-gradient(90deg, #800000, #c00000);
}

/* NAV SOAL */
.nav-soal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.nav-soal button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  font-weight: bold;
  cursor: pointer;
  background: #e5e7eb;
}

.nav-soal button.answered {
  background: #800000;
  color: white;
}

.nav-soal button.active {
  border: 2px solid #800000;
}

/* MOBILE */
@media (max-width: 480px) {
  .header {
    max-width: 300px;
  }
}
