/* --- Background setup --- */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;

  background-color: #f4f0fa; /* very light pastel purple */
  color: #111; /* dark text for readability */
}

/* Remove overlay */
body::before {
  display: none;
}

/* --- Pages --- */
.page {
  text-align: center;
  padding: 30px 15px;
  position: relative;
  z-index: 1;

  background: #fff; /* white card background */
  border-radius: 12px;
  max-width: 700px;
  margin: 40px auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* --- Headings --- */
h1, h2 {
  margin-bottom: 20px;
  color: #111; /* dark headings */
}

/* --- Buttons --- */
button {
  padding: 12px 25px;
  margin: 6px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

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

/* Gradient buttons for modes */
.btn-word { background: linear-gradient(45deg, #6a11cb, #2575fc); color: #fff; }
.btn-synonym { background: linear-gradient(45deg, #10b981, #06b6d4); color: #fff; }
.btn-antonym { background: linear-gradient(45deg, #f97316, #facc15); color: #fff; }

.btn-outline-primary { background: rgba(255,255,255,0.2); border: 2px solid #111; color: #111; }
.btn-outline-secondary { background: rgba(255,255,255,0.1); border: 2px solid #111; color: #111; }

.btn-success { background-color: #28a745 !important; color: #fff; }
.btn-danger { background-color: #dc3545 !important; color: #fff; }

.btn-primary { background-color: #6366f1; color: #fff; }

.d-none { display: none; }

/* --- Dashboard --- */
.dashboard { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-bottom: 20px; }

.progress-info { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.progress-bar { width: 100%; max-width: 400px; height: 12px; background: rgba(0,0,0,0.1); border-radius: 6px; overflow: hidden; }
#progress-fill { width: 0%; height: 100%; background: #6366f1; transition: width 0.5s ease; }

/* --- Questions & Options --- */
.question {
  font-size: 1.5em;
  margin: 20px 0;
  color: #111; /* dark question text */
}

.options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 15px;
}

.options button {
  min-width: 120px;
  font-size: 16px;
  border-radius: 10px;
  color: #111; /* dark text on buttons */
  background-color: #e2e0f7; /* light pastel button background */
  border: none;
  cursor: pointer;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.options button:hover {
  background-color: #d0c8f0; /* slightly darker on hover */
  transform: scale(1.05);
}

/* --- Feedback --- */
.feedback {
  font-size: 20px;
  min-height: 28px;
  margin-top: 10px;
  font-weight: bold;
  color: #111;
}

/* --- Home button --- */
.home-btn {
  background: #6366f1; /* accent color */
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}

/* --- Mode & Range lists --- */
.mode-list, .range-list {
  margin: 15px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
