/* ==========================================================================
   ماراثون الروحية — موسم الميلاد المجيد (43 يوماً)
   تصميم مخصص لأجواء الميلاد: كحلي سماء بيت لحم، ذهبي النجمة، وأخضر الرجاء
   ========================================================================== */

:root {
  --bg-deep: #070e1b;
  --bg-surface: #0e1c31;
  --bg-card: #142744;
  --bg-card-hover: #1a335a;
  
  --gold-primary: #f5c518;
  --gold-light: #ffe57f;
  --gold-glow: rgba(245, 197, 24, 0.35);

  --ethiopia-green: #009a44;
  --ethiopia-red: #d92525;
  --ethiopia-gold: #ffcf00;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --peace-blue: #38bdf8;
  --peace-teal: #10b981;
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  
  --font-ui: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-holy: 'Amiri', 'Traditional Arabic', serif;
  
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(245, 197, 24, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

body {
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(245, 197, 24, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 90%, rgba(0, 154, 68, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-ui);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   الهيدر الرئيسي وشريط الحالة
   ========================================================================== */
.app-header {
  background: rgba(14, 28, 49, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(245, 197, 24, 0.4);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.star-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 8px var(--gold-primary));
  animation: pulseStar 3s ease-in-out infinite alternate;
}

@keyframes pulseStar {
  0% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 5px var(--gold-primary)); }
  100% { transform: scale(1.15) rotate(10deg); filter: drop-shadow(0 0 16px var(--gold-light)); }
}

.app-header h1 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold-primary);
  margin: 0;
  line-height: 1.2;
}

.tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* زر واحة الهدوء في الهيدر */
.btn-peace-trigger {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
  border: 1.5px solid var(--peace-blue);
  color: #e0f2fe;
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  transition: all 0.2s ease;
}

.btn-peace-trigger:hover {
  background: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .peace-btn-text {
    display: none;
  }
  .btn-peace-trigger {
    padding: 6px 10px;
  }
}

.user-pill {
  background: rgba(245, 197, 24, 0.15);
  border: 1px solid rgba(245, 197, 24, 0.4);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* شريط حالة الصوم التلقائي */
.marathon-status-bar {
  background: rgba(7, 14, 27, 0.95);
  border-bottom: 1px solid rgba(245, 197, 24, 0.2);
  padding: 8px 16px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.marathon-status-bar.upcoming {
  background: linear-gradient(90deg, rgba(245, 197, 24, 0.15), rgba(56, 189, 248, 0.15));
  color: var(--gold-light);
}

.marathon-status-bar.active {
  background: linear-gradient(90deg, rgba(0, 154, 68, 0.15), rgba(245, 197, 24, 0.15));
  color: #a7f3d0;
}

.marathon-status-bar.ended {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.15), rgba(245, 197, 24, 0.15));
  color: #fde68a;
}

/* ==========================================================================
   الحاوية والبطاقات
   ========================================================================== */
.main-container {
  max-width: 680px;
  width: 100%;
  margin: 20px auto;
  padding: 0 16px;
  flex: 1;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.view-card {
  animation: fadeIn 0.35s ease-out;
}

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

/* ==========================================================================
   النماذج وحقول الإدخال
   ========================================================================== */
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: var(--radius-sm);
}

.tab-btn {
  flex: 1;
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--gold-primary);
  color: #121f33;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.auth-notice {
  background: rgba(0, 154, 68, 0.15);
  border: 1px solid rgba(0, 154, 68, 0.4);
  color: #a7f3d0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 18px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 16px;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  background: rgba(7, 14, 27, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-ui);
  font-size: 1rem;
  transition: all 0.2s ease;
  min-height: 48px;
}

input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.2);
}

.input-hint {
  font-size: 0.78rem;
  color: var(--gold-light);
  margin-top: 6px;
  line-height: 1.5;
}

.captcha-wrapper {
  margin: 16px 0;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   الأزرار وتفاعلاتها
   ========================================================================== */
.btn {
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  min-height: 48px;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold-primary);
  color: #0b1524;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.btn-gold {
  background: linear-gradient(135deg, #f5c518 0%, #e5a900 100%);
  color: #0f1d33;
  box-shadow: 0 4px 14px rgba(245, 197, 24, 0.3);
}

.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-ghost {
  width: auto;
  background: transparent;
  color: var(--gold-primary);
  border: 1.5px solid rgba(245, 197, 24, 0.5);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 38px;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(245, 197, 24, 0.15);
  border-color: var(--gold-primary);
}

.btn:active, .btn-ghost:active {
  transform: scale(0.98);
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold-primary);
  outline-offset: 3px;
}

.alert-msg {
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
  min-height: 24px;
}

/* ==========================================================================
   بطاقات سفر اليوم والفعاليات
   ========================================================================== */
.hero-header {
  border-bottom: 2px dashed rgba(245, 197, 24, 0.3);
  padding-bottom: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.hero-header h2 {
  font-family: var(--font-holy);
  font-size: 1.9rem;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.hero-date {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.team-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 154, 68, 0.18);
  border: 1.5px solid var(--ethiopia-green);
  color: #6ee7b7;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 12px 0;
}

.guest-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.88rem;
  margin: 12px 0;
}

.verse-box {
  background: linear-gradient(145deg, rgba(20, 39, 68, 0.9), rgba(11, 23, 42, 0.95));
  border: 2px solid rgba(245, 197, 24, 0.4);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 18px 0;
  text-align: center;
  box-shadow: inset 0 0 20px rgba(245, 197, 24, 0.06);
}

.verse-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.verse-text {
  font-family: var(--font-holy);
  font-size: 1.35rem;
  line-height: 1.8;
  color: #fff9e6;
  margin: 10px 0;
}

.btn-copy-verse {
  background: rgba(245, 197, 24, 0.15);
  border: 1px solid rgba(245, 197, 24, 0.3);
  color: var(--gold-primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-copy-verse:hover {
  background: var(--gold-primary);
  color: #0b1524;
}

.activity-card {
  background: rgba(7, 14, 27, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-inline-start: 4px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 14px 0;
}

.activity-card.challenge {
  border-inline-start-color: var(--ethiopia-green);
  background: rgba(0, 154, 68, 0.06);
}

.activity-card.reflection {
  border-inline-start-color: #38bdf8;
  background: rgba(56, 189, 248, 0.06);
}

.activity-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.activity-card.challenge .activity-title { color: #6ee7b7; }
.activity-card.reflection .activity-title { color: #7dd3fc; }

.activity-desc {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

@media (max-width: 480px) {
  .links-grid { grid-template-columns: 1fr; }
}

.study-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  min-height: 48px;
  transition: all 0.2s ease;
}

.study-link:hover {
  background: rgba(245, 197, 24, 0.12);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.exam-banner-card {
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.15) 0%, rgba(20, 39, 68, 0.9) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin: 20px 0;
}

.score-display-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin: 18px 0;
  border: 1.5px solid rgba(245, 197, 24, 0.3);
}

.score-big {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold-primary);
  line-height: 1.2;
}

/* ==========================================================================
   شاشة الامتحان (10 أسئلة في 5 دقائق)
   ========================================================================== */
.exam-topbar {
  position: sticky;
  top: 65px;
  background: rgba(14, 28, 49, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(245, 197, 24, 0.3);
  padding: 12px 16px;
  margin: -24px -24px 20px -24px;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.timer-text {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: monospace;
  color: var(--gold-primary);
  letter-spacing: 2px;
}

.timer-text.danger {
  color: var(--danger);
  animation: pulseDanger 1s infinite alternate;
}

@keyframes pulseDanger {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px var(--danger)); }
  100% { transform: scale(1.1); filter: drop-shadow(0 0 10px var(--danger)); }
}

.progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-primary), var(--ethiopia-green));
  transition: width 0.3s ease;
}

.answered-counter {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 600;
}

.question-item {
  background: rgba(7, 14, 27, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
}

.question-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.question-num {
  background: var(--gold-primary);
  color: #0e1c31;
  font-weight: 900;
  font-size: 0.85rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.question-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
}

.options-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
}

.option-label:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 197, 24, 0.4);
}

.option-label input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold-primary);
  cursor: pointer;
}

.option-label.selected {
  background: rgba(245, 197, 24, 0.15);
  border-color: var(--gold-primary);
  color: #fff;
  font-weight: 700;
}

.exam-submit-bar {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   شاشة النتيجة ومراجعة السفر (Review)
   ========================================================================== */
.result-header { text-align: center; padding: 16px 0; }
.result-emoji { font-size: 3.5rem; margin-bottom: 8px; display: inline-block; }
.result-feedback { font-size: 1.15rem; font-weight: 700; color: var(--gold-light); margin: 12px 0; line-height: 1.6; }
.review-section-title { font-size: 1.1rem; font-weight: 800; color: var(--gold-primary); margin: 24px 0 14px 0; border-bottom: 2px solid rgba(245, 197, 24, 0.3); padding-bottom: 8px; }

.review-card {
  background: rgba(7, 14, 27, 0.6);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-card.correct { border-inline-start: 5px solid var(--success); }
.review-card.wrong { border-inline-start: 5px solid var(--danger); }
.review-q-text { font-weight: 700; margin-bottom: 8px; }
.review-ans-item { font-size: 0.9rem; padding: 4px 0; }
.review-badge-ok { color: #34d399; font-weight: 700; }
.review-badge-bad { color: #f87171; font-weight: 700; }
.review-explanation { background: rgba(245, 197, 24, 0.08); border-radius: 6px; padding: 8px 12px; font-size: 0.85rem; color: var(--gold-light); margin-top: 8px; }

/* ==========================================================================
   لوحة المتصدرين
   ========================================================================== */
.leaderboard-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.leaderboard-table th { background: rgba(0, 0, 0, 0.3); color: var(--gold-primary); padding: 10px 14px; text-align: right; font-size: 0.9rem; }
.leaderboard-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.95rem; }
.leaderboard-table tr:first-child td { background: rgba(245, 197, 24, 0.12); font-weight: 800; color: var(--gold-light); }

.rank-badge { display: inline-block; width: 26px; height: 26px; text-align: center; line-height: 26px; border-radius: 50%; font-weight: 800; font-size: 0.85rem; }
.rank-1 { background: #ffd700; color: #121f33; }
.rank-2 { background: #c0c0c0; color: #121f33; }
.rank-3 { background: #cd7f32; color: #121f33; }

/* ==========================================================================
   نافذة واحة الهدوء وسلام الفكر (Peace Modal)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 9, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

.modal-content {
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1.5px solid var(--peace-blue);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.25);
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.modal-header h3 {
  color: var(--peace-blue);
  font-size: 1.3rem;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.btn-close-modal:hover {
  color: #ffffff;
}

.modal-subtitle {
  font-family: var(--font-holy);
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 16px;
  text-align: center;
}

.peace-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.peace-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.peace-tab-btn.active {
  background: var(--peace-blue);
  color: #071527;
}

.peace-desc {
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.6;
}

/* دائرة التنفس الروحي مع صلاة يسوع */
.breathing-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}

.breathing-circle {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(16, 185, 129, 0.1) 70%);
  border: 3px solid var(--peace-blue);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 16px;
  transition: transform 4s ease-in-out, border-color 4s ease-in-out;
}

.breathing-circle.inhale {
  transform: scale(1.28);
  border-color: #38bdf8;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.6);
}

.breathing-circle.exhale {
  transform: scale(0.9);
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.breathing-action {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--peace-blue);
  margin-bottom: 4px;
}

.breathing-prayer {
  font-family: var(--font-holy);
  font-size: 1.15rem;
  color: #ffffff;
  line-height: 1.4;
}

.breathing-controls {
  text-align: center;
  margin-top: 10px;
}

/* زر الطوارئ الروحي السريع */
.btn-sos {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
  margin: 10px 0 16px 0;
}

.btn-sos:hover {
  filter: brightness(1.15);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
}

.sos-card {
  background: rgba(239, 68, 68, 0.08);
  border: 1.5px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-sm);
  padding: 16px;
  animation: fadeIn 0.3s ease-out;
}

.sos-sword-title { color: #f87171; font-weight: 800; font-size: 0.95rem; margin-bottom: 4px; }
.sos-verse { font-family: var(--font-holy); font-size: 1.3rem; color: #fee2e2; margin-bottom: 12px; }
.sos-prayer-title { color: var(--gold-primary); font-weight: 800; font-size: 0.95rem; margin-bottom: 4px; }
.sos-prayer { font-family: var(--font-holy); font-size: 1.2rem; color: var(--gold-light); margin-bottom: 14px; }
.sos-action-title { color: #38bdf8; font-weight: 800; font-size: 0.95rem; margin-bottom: 6px; }
.sos-steps { padding-inline-start: 20px; font-size: 0.9rem; line-height: 1.7; color: #e2e8f0; }

/* بطاقات صوم الحواس */
.senses-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0;
}

.sense-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sense-item:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
}

.sense-item input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--peace-blue);
  cursor: pointer;
  margin-top: 3px;
  flex-shrink: 0;
}

.sense-item strong { display: block; color: var(--peace-blue); font-size: 0.95rem; margin-bottom: 2px; }
.sense-item span { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; display: block; }

.senses-status-msg {
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  color: #34d399;
  min-height: 24px;
}

/* ==========================================================================
   الفوتر
   ========================================================================== */
.app-footer {
  text-align: center;
  padding: 24px 16px;
  color: var(--text-dim);
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: auto;
}

.footer-team { color: var(--text-muted); font-weight: 600; margin-top: 4px; }
