body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #6e6e66;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 20px;
}

.start-button {
  font-size: 1.25rem;
  padding: 0.75rem 2rem;
  background: #ffffff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  cursor: pointer;
}

.start-button {
  font-size: 1.5rem;
  padding: 1rem 2rem;
  background: #ffffff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  cursor: pointer;
}

.quiz-container {
  display: grid;
  grid-template-rows: repeat(10, auto);
  width: 100%;
  max-width: 400px;
  background: linear-gradient(to bottom, #b600f4, #fdf33d, #1f7e00);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  box-sizing: border-box;
}

.quiz-container2 {
  display: grid;
  grid-template-rows: repeat(10, auto);
  width: 100%;
  max-width: 400px;
  background: linear-gradient(to bottom, #000000, #bbbbbb 40%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  box-sizing: border-box;
}

.row {
  margin: 0.5rem 0;
  text-align: center;
}

.title {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.score {
  color: white;
  font-weight: bold;
}

.question {
  font-size: 1.2rem;
  font-weight: bold;
  background: white;
  padding: 0.75rem;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.pattern {
  background-image: url("assets/pattern-diamond.png");
  background-size: cover;           /* Fill the screen */
  background-position: center;      /* Center the image */
  background-repeat: no-repeat;     /* No tiling */
  background-attachment: fixed;     /* Keeps image static on scroll */
}

.answer-button {
  width: 100%;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.75rem;
  margin: 0.25rem 0;
  background: white;
  border: none;
  border-radius: 25px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: 0.2s ease;
}

.answer-button:hover {
  background: #f0f0f0;
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.nav-buttons button {
  flex: 1;
  padding: 0.75rem;
  border-radius: 10px;
  border: none;
  background: #4444ff;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.restart-button {
  width: 100%;
  padding: 0.75rem;
  border-radius: 10px;
  border: none;
  background: #222;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.spacer {
  height: 20px;
}