/*!
 * Stylesheet for 1xslots Egypt one‑page website
 * تم تصميم هذا الملف ليمنح الموقع مظهراً عصرياً وخفيفاً باستخدام ألوان هادئة وتعريفات مناسبة للغة العربية (من اليمين إلى اليسار).
 */

/* Reset وبعض القواعد العامة */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fafafa;
  color: #333;
  line-height: 1.7;
  text-align: left;
}

/* عناصر مشتركة */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* رأس الموقع */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #d98e15;
}

/* قسم البطل */
.hero {
  position: relative;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  padding: 6rem 1rem;
  text-align: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: 2.5rem;
}

.hero p {
  margin: 0 0 2rem;
  font-size: 1.1rem;
}

/* أزرار */
.primary-btn,
.secondary-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  margin-top: 1rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.primary-btn {
  background-color: #f5a623;
  color: #fff;
}

.primary-btn:hover {
  background-color: #d98e15;
}

.secondary-btn {
  background-color: #fff;
  color: #f5a623;
  border: 2px solid #f5a623;
}

.secondary-btn:hover {
  background-color: #f5a623;
  color: #fff;
}

/* الأقسام الرئيسية */
main section {
  padding: 3rem 0;
  border-bottom: 1px solid #eee;
}

main section:last-of-type {
  border-bottom: none;
}

/* العناوين */
section h2 {
  margin: 0 0 1rem;
  font-size: 1.8rem;
  color: #222;
}

article h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  color: #333;
}

/* القوائم */
ul {
  padding-left: 1rem;
}

.feature-list li,
.bonus-list li,
.payment-list li,
.games-category-list li,
.support-list li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  position: relative;
}

.feature-list li::before,
.bonus-list li::before,
.payment-list li::before,
.games-category-list li::before,
.support-list li::before {
  content: '–';
  position: absolute;
  left: -1rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.table-header {
  font-weight: 700;
  background-color: #f2f2f2;
  display: contents;
}

.table-row:nth-child(odd) {
  background-color: #fcfcfc;
}

.table-row:nth-child(even) {
  background-color: #fff;
}

.table-row span,
.table-header span {
  padding: 0.5rem;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.table-header span:last-child,
.table-row span:last-child {
  border-right: none;
}

/* بطاقات الألعاب الفردية */
.individual-games .game-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.individual-games .game-card h3 {
  color: #f5a623;
}

/* تذييل الموقع */
.site-footer {
  background: #fff;
  color: #555;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
}

/* زر الرجوع إلى الأعلى */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: #f5a623;
  color: #fff;
  border: none;
  padding: 0.6rem 0.8rem;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* تسليط الضوء على المعلومات غير المكتملة */
.highlight {
  color: #d9534f;
  font-weight: bold;
}

.table-container {
  overflow-x: auto;
}

/* الوسائط */
@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav ul {
    gap: 1rem;
    margin-top: 1rem;
  }
  .hero-content {
    padding: 4rem 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .table-container {
    display: block;
  }
  .table-header,
  .table-row {
    display: flex;
    flex-wrap: wrap;
  }
  .table-header span,
  .table-row span {
    flex-basis: 50%;
    margin-bottom: 0.5rem;
  }
}

/* Force LTR layout globally to avoid host-level RTL overrides */
html,
body {
  direction: ltr !important;
  text-align: left !important;
}

h1, h2, h3, h4, h5, h6, p, span, div, li, td, th, a, button, input, textarea, label {
  text-align: left !important;
  direction: ltr !important;
}

/* Переопределение для таблиц */
table, tr, td, th {
  text-align: left !important;
}

/* Переопределение для списков */
ul, ol {
  padding-left: 1rem !important;
  padding-right: 0 !important;
}