body {
  font-family: Arial, sans-serif;
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem;
  line-height: 1.6;
  background-color: #fff;
  color: #000;
}

/* Soru blokları */
.soru {
  margin-bottom: 2rem;
}

/* Görseller */
.soru-gorseli {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  margin: 1rem auto;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
}


/* Seçenek stili */
.secenek {
  display: block;
  margin: 0.5rem 0;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
  font-size: 1rem;
  cursor: pointer;
  background-color: white;
  position: relative; /* emoji için gerekli */
}

/* Seçildiğinde uygulanan efekt */
input[type="radio"]:checked + label.secenek {
  background-color: #f0f9ff;
  border-color: #4db8ff;
  transform: scale(1.02);
  box-shadow: 0 0 8px rgba(77, 184, 255, 0.3);
  animation: secenekSecildi 0.3s ease;
}

/* Seçildiğinde emoji göster */
input[type="radio"]:checked + label.secenek::after {
  content: " 🔘"; /* Emoji burada değiştirilebilir */
  font-size: 1.2rem;
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  animation: emojiHopla 0.4s ease;
}

/* Hafif zıplama efekti (seçenek kutusu) */
@keyframes secenekSecildi {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1.02); }
}

/* Emoji için hoplama animasyonu */
@keyframes emojiHopla {
  0%   { transform: translateY(-50%) scale(0.8); opacity: 0; }
  50%  { transform: translateY(-55%) scale(1.2); opacity: 1; }
  100% { transform: translateY(-50%) scale(1);   opacity: 1; }
}

#detay-aciklama {
  display: none;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #d0e4ff;
  border-radius: 8px;
  background-color: #eef6ff;
  color: #004085;
  font-size: 1.05rem;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

/* Yumuşak geçiş animasyonu */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}



/* Açıklamalar */
.aciklama {
  font-style: italic;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  display: none;
}

/* Genel buton */
button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
}

button:hover {
  background-color: #218838;
}

/* Detay göster butonu */
#detay-btn {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#detay-btn:hover {
  background-color: #0056b3;
}

/* Sonuç kutusu alanı (ortalanmış) */
#sonuc {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 2rem;
}

/* Sonuç kartı */
.sonuc-kart {
  width: 100%;
  max-width: 400px;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.sonuc-kart h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #333;
}

.sonuc-kart p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

/* Yüzde animasyonu */
#puanAnimasyon {
  font-weight: bold;
  color: #28a745;
}

/* Sonuç görseli */
#sonucGorsel {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  margin: 1rem auto;
  object-fit: contain;
}


/* Mobil uyum */
@media (max-width: 360px) {
  body {
    padding: 0.8rem;
    font-size: 16px;
  }

  button {
    width: 100%;
  }
}
.sonuc-mesaj {
  background-color: #eef6ff;
  color: #004085;
  border: 1px solid #b8daff;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 1.05rem;
  font-weight: 500;
}
.button-group {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 300px;

  /* YATAY ORTALAMA */
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}


/* Ortak stil */
.btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  color: white;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
  cursor: pointer;
  border: none;
}

/* Renkli stiller */
.btn-blue {
  background-color: #3f51b5;
}
.btn-blue:hover {
  background-color: #3646a3;
}

.btn-teal {
  background-color: #009688;
}
.btn-teal:hover {
  background-color: #007d70;
}

.btn-green {
  background-color: #25D366;
}
.btn-green:hover {
  background-color: #1EBE5D;
}

/* Yeni eklenen butonlar */
.btn-dark-green {
  background-color: #2e7d32; /* koyu yeşil */
}
.btn-dark-green:hover {
  background-color: #276a2b;
}

.btn-orange {
  background-color: #ff9800;
}
.btn-orange:hover {
  background-color: #e68900;
}

/* YouTube iframe için responsive kutu */
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 1rem auto;
  aspect-ratio: 16 / 9; /* modern tarayıcılar */
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.video-wrap > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Dosya tabanlı videolar (mp4/webm) */
.soru-video {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 6px;
  background: #000;
}
