* { box-sizing: border-box; }
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 24px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #0b1020;
}
.quiz-container { max-width: 960px; margin: 0 auto; }

.screen.hidden { display: none; }

.card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
  color: #fff;
}

h1, h2 { text-align: center; color: #fff; margin-top: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin: 12px 0 6px;
}
input[type="text"], input[type="number"], input, select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
  color: #fff;
  outline: none;
}
input::placeholder { color: rgba(255,255,255,0.85); }

button {
  background: #ff9800;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  transition: transform .06s ease, filter .2s ease;
}
button:hover { filter: brightness(1.05); }
button:active { transform: translateY(1px); }
.actions { display: flex; gap: 10px; justify-content: center; margin: 16px 0 6px; }

.paragraph { margin-bottom: 16px; }
.paragraph-note { margin: 8px 0 0; }

.question {
  margin: 16px 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  transition: transform .2s ease;
}
.question:hover { transform: scale(1.03); }

.question-title { margin: 0 0 8px; color: #fff; font-weight: bold; }
.q-image {
  display: block;
  max-width: 320px;
  width: 100%;
  border-radius: 45px;
  margin: 6px 0 10px 0; 
  transform-origin: left top;
  transition: transform .2s ease;
}
.question:hover .q-image { transform: scale(1.03); }

.option {
  display: block;
  margin: 6px 0;
  color: #fff;
}

#result {
  text-align: center;
  font-weight: bold;
  color: #fff;
  margin: 8px 0 0;
}

/* Kutlama bandı */
#congrats {
  margin: 14px auto 0;
  max-width: 960px;
  padding: 14px 16px;
  border-radius: 14px;
  text-align: center;
  font-weight: bold;
  color: #0b1020;
  background: rgba(255,255,255,0.85);
  display: none;
}

/* sonuçlar tablosu */
#resultsTable table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  color: #fff;
}
#resultsTable th, #resultsTable td {
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  text-align: left;
}
#resultsTable th { background: rgba(255,255,255,0.14); }
#resultsTable tr:hover { background: rgba(255,255,255,0.08); }