/* خلفية ووسط الصفحة للأسئلة */
.question-container {
  background: linear-gradient(to bottom right, #b0e0e6, #f0f8ff);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

/* صندوق السؤال */
.question-box {
  background-color: #ffffffee;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  width: 100%;
  text-align: center;
  border-top: 6px solid #ffd700;
}

/* عنوان السؤال */
.question-box h2 {
  color: #005fa3;
  margin-bottom: 25px;
  font-size: 24px;
}

/* نص السؤال */
.question-box p {
  font-size: 22px;
  color: #003366;
  line-height: 1.8;
  margin-bottom: 35px;
}

/* أزرار الإجابة */
.options button {
  background-color: #87ceeb;
  color: #003366;
  border: none;
  padding: 16px 0;
  width: 100%;
  margin: 10px 0;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}
.options button:hover {
  background-color: #00bfff;
  color: #fff;
}

/* أزرار التنقل */
.nav-buttons {
  margin-top: 25px;
}
.nav-buttons button {
  background-color: #ffd700;
  color: #333;
  padding: 12px 24px;
  margin: 5px;
  font-size: 17px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.nav-buttons button:hover {
  background-color: #f0c300;
}
/* خلفية كاملة */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(to bottom right, #d0f4ff, #fffbe6);
  min-height: 100vh;
}

/* حاوية البطل */
.hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  min-height: 100vh;
}

.hero-box {
  background-color: #ffffffdd;
  padding: 50px 30px;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(255, 204, 0, 0.3);
  max-width: 700px;
  width: 100%;
  text-align: center;
  border-top: 6px solid #ffcc00;
  border-bottom: 6px solid #87ceeb;
}

/* العنوان الرئيسي */
.main-title {
  font-size: 30px;
  color: #005fa3;
  margin-bottom: 20px;
}

/* الوصف */
.description {
  font-size: 18px;
  color: #333;
  margin-bottom: 30px;
}

/* الحديث */
.hadith-box {
  background: linear-gradient(to left, #fffde7, #e3f2fd);
  border: 1px dashed #ffcc00;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
}
.hadith {
  font-size: 18px;
  color: #004d66;
  line-height: 1.8;
}
.hadith .ref {
  font-size: 14px;
  color: #777;
}

/* زر البدء */
.start-btn {
  background-color: #007acc;
  color: #fff;
  font-size: 20px;
  padding: 14px;
  width: 100%;
  border: none;
  border-radius: 12px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: 0.3s ease;
}
.start-btn:hover {
  background-color: #005fa3;
}

/* زر التبرع */
.donate-btn {
  display: inline-block;
  background-color: #ffcc00;
  color: #333;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s ease;
}
.donate-btn:hover {
  background-color: #f0b800;
}

/* الفوتر */
.footer {
  margin-top: 40px;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}
/* صفحة النتائج */
.results-container {
  background: linear-gradient(to bottom right, #d0f0ff, #fffde7);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}
.results-box {
  background-color: #ffffffee;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 600px;
  width: 100%;
  border-top: 5px solid #ffd700;
  border-bottom: 5px solid #87ceeb;
}
.results-title {
  color: #005fa3;
  font-size: 26px;
  margin-bottom: 20px;
}
.score-text {
  font-size: 20px;
  color: #003366;
  margin-bottom: 15px;
}
.result-text {
  font-size: 18px;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.8;
}
.back-btn {
  display: inline-block;
  background-color: #007acc;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}
.back-btn:hover {
  background-color: #005fa3;
}
.results-container {
  background: linear-gradient(to bottom right, #d0f0ff, #fffbe6);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}
.results-box {
  background-color: #ffffffee;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 700px;
  width: 100%;
  border-top: 5px solid #ffd700;
  border-bottom: 5px solid #87ceeb;
}
.results-title {
  color: #005fa3;
  font-size: 28px;
  margin-bottom: 20px;
}
.score-text {
  font-size: 20px;
  color: #003366;
  margin-bottom: 20px;
}
.analysis-box {
  background: #f9fcff;
  padding: 20px;
  border: 1px dashed #87ceeb;
  border-radius: 12px;
  margin-bottom: 30px;
}
.message {
  font-size: 20px;
  margin-bottom: 15px;
  color: #222;
}
.recommendation {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
}
.back-btn {
  display: inline-block;
  background-color: #007acc;
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}
.back-btn:hover {
  background-color: #005fa3;
}
