/* Static Gamers Paradise — shared styles */
:root {
  --primary: #61b4e5;
  --primary-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #262626;
  --muted: #f5f5f5;
  --muted-foreground: #666666;
  --border: #e0e0e0;
  --radius: 8px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.5;
}
html[dir="rtl"] body { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: #242424;
  color: var(--primary-foreground);
  padding:10px 0;
  position: relative;
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand { font-size: 24px; font-weight: bold; color: #fff; }
.nav-desktop { display: flex; align-items: center; gap: 24px; }
.nav-desktop a, .nav-desktop button.lang-btn {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  background: transparent; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-desktop a:hover, .nav-desktop button.lang-btn:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; cursor: pointer;
  border: none;
}
.btn-secondary { background: #f5f5f5; color: #262626; }
.btn-secondary:hover { background: #eaeaea; }
.btn-primary { background: var(--primary); color: #fff; padding: 12px 36px; font-size: 16px; }
.btn-primary:hover { filter: brightness(0.95); }

.mobile-actions { display: none; align-items: center; gap: 12px; }
.hamburger {
  background: transparent; border: none; color: #fff; cursor: pointer; padding: 4px;
}
.mobile-menu {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 50;
}
.mobile-menu.open { display: block; }
.mobile-menu nav {
  display: flex; flex-direction: column; gap: 16px;
  padding: 16px 24px;
}
.mobile-menu a, .mobile-menu button.lang-btn {
  color: rgba(255,255,255,0.9); font-size: 14px;
  background: transparent; border: none; padding: 0; text-align: start; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .mobile-actions { display: flex; }
}

/* Sections */
section { padding: 64px 24px; }
.hero { padding: 80px 24px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1100px; margin: 0 auto; }
.hero h1 { font-size: 48px; margin: 0 0 24px; line-height: 1.15; }
.hero p { font-size: 18px; color: var(--muted-foreground); margin: 0 0 32px; }
.hero-card {
  background: rgba(97,180,229,0.05);
  border: 2px solid rgba(97,180,229,0.2);
  border-radius: 16px;
  padding: 48px; text-align: center;
}
.hero-stat { font-size: 36px; font-weight: bold; color: var(--primary); margin-bottom: 12px; }
@media (max-width: 768px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 36px; } }

.features { background: var(--muted); }
.features-list { display: flex; flex-direction: column; gap: 24px; max-width: 900px; margin: 0 auto; }
.feature-card {
  background: #fff; border-radius: 12px; padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
}
.feature-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  background: rgba(97,180,229,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 24px;
}
.feature-card h3 { margin: 0 0 4px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted-foreground); font-size: 14px; }

.steps { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps h2 { font-size: 28px; margin: 0 0 8px; }
.steps .lead { color: var(--muted-foreground); margin: 0 0 32px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.step-card {
  background: rgba(97,180,229,0.05);
  border-inline-start: 4px solid var(--primary);
  border-radius: 12px; padding: 24px;
}
.step-num { font-size: 28px; font-weight: bold; color: var(--primary); margin-bottom: 12px; }
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }

.contact { text-align: center; }
.contact h2 { font-size: 24px; margin: 0 0 24px; }
.contact .email-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--muted); padding: 14px 24px; border-radius: 8px;
}
.contact a { color: var(--foreground); font-weight: 500; }
.contact a:hover { color: var(--primary); }

footer.site-footer {
  background: var(--muted);
  padding: 32px 24px; text-align: center;
}
footer.site-footer nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; font-size: 14px;
}
footer.site-footer a { color: var(--muted-foreground); }
footer.site-footer a:hover { color: var(--primary); }
footer.site-footer .sep { color: rgba(0,0,0,0.2); }

/* Article pages */
.article { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.article h1 { font-size: 36px; margin: 0 0 8px; }
.article .lead { color: var(--muted-foreground); margin: 0 0 40px; }
.article h2 { font-size: 22px; margin: 32px 0 8px; }
.article p, .article li { color: rgba(38,38,38,0.9); line-height: 1.7; }
.article ul { padding-inline-start: 24px; }
.article code { background: var(--muted); padding: 2px 8px; border-radius: 4px; }
.article a.link { color: var(--primary); }
.article a.link:hover { text-decoration: underline; }
.back-home { display: inline-block; margin-top: 24px; color: var(--primary); }
.back-home:hover { text-decoration: underline; }
