/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body & Layout */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f7f9fc;
  min-height: 100vh;
  padding-bottom: 2rem;
}

/* Header */
header {
  background: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
  margin-bottom: 2rem;
}

/* Brand */
.brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007bff;
}

/* Divider Below Header */
.divider {
  border: none;
  height: 1px;
  background-color: #ddd;
  margin: 2rem auto;
  width: 90%;
}

/* Intro Text */
.intro-line {
  margin-top: 2rem;
  font-size: 1rem;
  font-weight: bold;
  color: #222;
  padding: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 2.5rem;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Wrapper */
.wrapper {
  max-width: 700px;
  margin: 0 auto 60px auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* Page Title */
.page-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Back Button */
.back-btn {
  margin-bottom: 1rem;
  background: none;
  border: none;
  font-size: 1rem;
  color: #007bff;
  cursor: pointer;
  display: inline-block;
  text-align: left;
}

.back-btn:hover {
  text-decoration: underline;
}

/* Level Buttons */
.level-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 30px 0;
}

.level-buttons button {
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
  min-width: 120px;
}

.level-buttons button:hover {
  background-color: #0056b3;
}

/* Questions */
.questions-container {
  text-align: left;
}

.question {
  background: #f1f3f5;
  margin: 10px 0;
  padding: 15px;
  border-radius: 8px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.question-text {
  flex: 1;
  margin-right: 10px;
}

/* Copy Button */
.copy-btn {
  padding: 6px 12px;
  background: #e0e0e0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.copy-btn:hover {
  background: #cfcfcf;
}

/* Load More */
#loadMore {
  margin-top: 20px;
  padding: 10px 20px;
  background: #28a745;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

#loadMore:hover {
  background: #218838;
}

/* Mobile Specific Adjustments */
@media (max-width: 600px) {
  .intro-line {
    font-size: 0.95rem;
    padding: 1.2rem 1rem;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .level-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .level-buttons button {
    width: 80%;
  }

  .wrapper {
    padding: 1.5rem 1rem;
    margin: 0 1rem 60px 1rem;
  }
}
