/* ==========================================
   تنسيقات مخصصة وتصميم متوافق مع اللغة العربية
   ========================================== */

body {
  font-family: 'Cairo', sans-serif;
  user-select: none;
  -webkit-user-select: none;
}

/* عناوين مميزة بخط عريض وفخم */
h1, h2, h3, h4, .font-serif {
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
}

/* شريط تمرير مخصص ونحيف */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0c0b0a;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* هوامش الأمان للهواتف الذكية */
.safe-top {
  padding-top: calc(12px + env(safe-area-inset-top));
}
.safe-bottom {
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

/* تأثير متوهج بطيء في الخلفية */
@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.15;
    transform: scale(1);
  }
  50% {
    opacity: 0.25;
    transform: scale(1.05);
  }
}

.animate-pulse-slow {
  animation: pulse-slow 8s ease-in-out infinite;
}

/* تأثيرات النقر السريع والتفاعلات */
.active-scale-95:active {
  transform: scale(0.95);
}
.active-scale-98:active {
  transform: scale(0.98);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-duration: 300ms;
}

button, select, input {
  -webkit-tap-highlight-color: transparent;
}