/* DrawGamePlay — SEO & Content Pages Shared Design System */
:root {
  --bg-main: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #273549;
  --border-color: #334155;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --brand-cyan: #38bdf8;
  --brand-emerald: #34d399;
  --brand-amber: #fbbf24;
  --brand-rose: #f43f5e;
  --font-ar: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-en: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-ar);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.lang-en {
  font-family: var(--font-en);
}

a {
  color: var(--brand-cyan);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.site-header {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: var(--brand-cyan);
  text-decoration: none !important;
}

.logo-link img {
  height: 38px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.15s;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(51, 65, 85, 0.4);
  text-decoration: none;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none !important;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
}

.btn-cta-large {
  font-size: 18px;
  padding: 14px 32px;
}

.content-wrap {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 20px 60px;
  flex: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumbs a { color: var(--text-secondary); }

.hero-section {
  text-align: center;
  margin-bottom: 40px;
  padding: 24px 0;
}

.hero-section h1 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f8fafc, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #475569;
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.content-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 28px;
}

.content-block h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-cyan);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.content-block h3 {
  font-size: 17px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 20px 0 8px;
}

.content-block p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 15px;
}

.steps-list {
  list-style: none;
  counter-reset: step-counter;
  margin: 20px 0;
}

.steps-list li {
  counter-increment: step-counter;
  position: relative;
  padding-inline-start: 48px;
  margin-bottom: 20px;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: #0284c7;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
}

.cta-banner {
  text-align: center;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(52, 211, 153, 0.15));
  border: 1px solid var(--brand-cyan);
  border-radius: 20px;
  padding: 40px 24px;
  margin-top: 40px;
}

.cta-banner h2 {
  font-size: 26px;
  font-weight: 900;
  color: #f8fafc;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 24px;
}

.site-footer {
  background: #090d16;
  border-top: 1px solid var(--border-color);
  padding: 40px 20px 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 640px) {
  .hero-section h1 { font-size: 24px; }
  .hero-lead { font-size: 15px; }
  .content-block { padding: 20px 16px; }
  .header-inner { flex-direction: column; gap: 10px; }
}
