/* لعبة السيجا — الأنماط المشتركة */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: #FFF8EC;
  color: #3B2314;
  line-height: 1.8;
}
a { color: #8A5129; }
img { max-width: 100%; display: block; }
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* الترويسة */
header {
  background: #3B2314;
  color: #FFF8EC;
  padding: 14px 0;
  position: sticky; top: 0; z-index: 10;
}
header .container { display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #FFF8EC; }
.brand img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #E58A1F; }
.brand b { font-size: 1.4rem; }
nav { margin-inline-start: auto; display: flex; gap: 20px; }
nav a { color: #F5D9A8; text-decoration: none; font-size: 0.95rem; }
nav a:hover { color: #fff; text-decoration: underline; }

/* البطل */
.hero {
  text-align: center;
  padding: 56px 20px 48px;
  background: radial-gradient(circle at 50% 0%, #FBEED3 0%, #FFF8EC 60%);
}
.hero .logo {
  width: 190px; height: 190px; margin: 0 auto 18px;
  border-radius: 50%;
  border: 6px solid #E58A1F;
  box-shadow: 0 10px 30px rgba(59, 35, 20, 0.25);
}
.hero h1 { font-size: 3rem; line-height: 1.2; color: #3B2314; }
.hero .tagline { font-size: 1.25rem; color: #8A5129; margin: 10px 0 6px; }
.hero p.lead { max-width: 640px; margin: 0 auto 26px; color: #5D4037; }
.btn {
  display: inline-block;
  background: #AE0A1B;
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem; font-weight: bold;
  padding: 14px 42px;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(174, 10, 27, 0.35);
}
.btn:hover { background: #8E0816; }
.btn-secondary {
  background: #8A5129;
  box-shadow: 0 6px 18px rgba(138, 81, 41, 0.35);
  margin-inline-start: 10px;
}
.btn-secondary:hover { background: #6F3F1F; }
.download-note { margin-top: 14px; font-size: 0.9rem; color: #8D6E63; }

/* الأقسام */
section { padding: 44px 0; }
section h2 {
  text-align: center; font-size: 1.8rem; margin-bottom: 8px; color: #3B2314;
}
section .sub { text-align: center; color: #8D6E63; margin-bottom: 28px; }
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid #EAD9BE;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(59, 35, 20, 0.06);
}
.card h3 { font-size: 1.15rem; margin-bottom: 6px; color: #8A5129; }
.card p { color: #5D4037; font-size: 0.98rem; }

/* كيف تلعب */
.steps { counter-reset: step; max-width: 680px; margin: 0 auto; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid #EAD9BE; border-radius: 16px;
  padding: 18px 22px; margin-bottom: 14px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 42px; height: 42px; line-height: 42px; text-align: center;
  background: #E58A1F; color: #fff; font-weight: bold; font-size: 1.2rem;
  border-radius: 50%;
}
.step h3 { font-size: 1.1rem; margin-bottom: 2px; }
.step p { color: #5D4037; font-size: 0.98rem; }

/* لقطات */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px; max-width: 640px; margin: 0 auto;
}
.shots figure {
  background: #fff; border: 1px solid #EAD9BE; border-radius: 16px;
  overflow: hidden; box-shadow: 0 4px 16px rgba(59, 35, 20, 0.10);
}
.shots img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; }
.shots figcaption { text-align: center; padding: 12px; font-weight: bold; color: #8A5129; }

/* الملاحظات */
.feedback {
  text-align: center;
  background: #3B2314; color: #FFF8EC; border-radius: 20px;
  padding: 36px 24px;
}
.feedback h2 { color: #FFF8EC; }
.feedback p { color: #F5D9A8; margin-bottom: 22px; }

/* التذييل */
footer {
  background: #3B2314; color: #D7CCC8;
  text-align: center; padding: 26px 20px; font-size: 0.95rem;
}
footer a { color: #F5D9A8; }

/* صفحة السياسة */
.policy { background: #fff; border: 1px solid #EAD9BE; border-radius: 16px; padding: 30px 34px; margin: 30px auto 50px; }
.policy h1 { font-size: 1.9rem; margin-bottom: 4px; }
.policy .meta { color: #8D6E63; margin-bottom: 22px; }
.policy h2 { font-size: 1.25rem; margin: 24px 0 6px; color: #8A5129; text-align: start; }
.policy ul { padding-inline-start: 22px; }
.policy li { margin-bottom: 4px; }

@media (max-width: 600px) {
  header .container { flex-wrap: wrap; row-gap: 6px; }
  nav { margin-inline-start: 0; flex-wrap: wrap; gap: 6px 14px; }
  .hero h1 { font-size: 2.2rem; }
  .hero .logo { width: 150px; height: 150px; }
  nav { gap: 12px; }
  nav a { font-size: 0.85rem; }
  .btn-secondary { margin-inline-start: 0; margin-top: 10px; }
  .policy { padding: 22px 20px; }
}
