body {
  font-family: Arial, sans-serif;
  background: linear-gradient(90deg,  rgba(57, 2, 116, 1) 0%, rgb(166, 203, 239) 100%);
  padding: 20px;
  max-width: 600px;
  margin: auto;
  color: #222;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 96%;
  background: #000;
  color: #fff;
  border-radius: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-left .logo {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.nav-left .site-desc {
  font-size: 1.2em;
  font-weight: bold;
  background: linear-gradient(135deg, #5a25d4, #a8edea);
  width: 220px;
  height: 30px;
  border-radius: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.nav-left .site-desc:hover {
  background: rgb(18, 18, 143);
  color: yellow;
}

.nav-right a {
  background: linear-gradient(135deg, #5a25d4, #a8edea);
  color: white;
  padding: 10px 16px;
  margin: 0 5px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-right a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  background: rgb(18, 18, 143);
  color: yellow;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
  .nav-right {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #5a25d4;
    text-align: center;
    margin-top: 10px;
    border-radius: 8px;
    padding: 8px 0;
  }

  .nav-right a {
    display: block;
    margin: 10px 12px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-right.active {
    display: flex;
  }
}

/* Başlık ve metin */
h1 {
  text-align: center;
  margin-bottom: 10px;
  color: white;
  background: #28a745;
}

p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 20px;
  color: yellow;
  background: rgb(57, 2, 116);
}

/* Soru ve seçenekler */
.question {
  background: rgb(57, 2, 116);
  color: white;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 25px;
  box-shadow: 0 0 18px rgba(0,0,0,0.1);
  text-align: center;
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity:1; transform: translateY(0);}
}

.btn-play {
  cursor: pointer;
  background-color: #ce2929;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 8px 15px;
  font-size: 16px;
  transition: background-color 0.3s ease;
  margin-bottom: 15px;
}

.btn-play:hover {
  background-color: rgb(57, 2, 116);
}

.btn-check, .btn-next, .btn-finish {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  margin: 5px 10px;
  transition: background-color 0.3s ease;
}

.btn-check:hover, .btn-next:hover, .btn-finish:hover {
  background-color: rgb(57, 2, 116);
}

.option-btn {
  background-color: #ce2929;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px;
  margin: 8px 0;
  width: 80%;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.option-btn:hover {
  background-color: rgb(57, 2, 116);
}

/* 🔹 Doğru ve yanlış seçenekler 🔹 */
.option-btn.correct {
  background-color: #28a745 !important; /* yeşil */
  color: white !important;
  border: 1.5px solid #256029 !important;
}

.option-btn.incorrect {
  background-color: #ff4d4d !important; /* kırmızı */
  color: white !important;
  border: 1.5px solid #7a1c1c !important;
}

.feedback {
  font-weight: bold;
  padding: 12px;
  border-radius: 6px;
  font-size: 18px;
  user-select: none;
  white-space: pre-wrap;
  margin-bottom: 12px;
}

#creator {
    text-align: center;
    font-size: 12px;
    font-style: italic;
    font-weight: bold;
    color: white;
    background-color: #28a745;
    border: 8px solid #256029;
    margin-top: 20px;
}
