:root {
  --bg: #0b0b0b;
  --surface: #161616;
  --surface-2: #1f1f1f;
  --line: #2a2a2a;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --orange: #f06a28;
  --orange-2: #e2381c;
  --gold: #f6b54a;
  --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Cairo", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
/* خطوط طبوغرافية مستوحاة من هوية البث */
.topo {
  position: fixed; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' fill='none' stroke='%23fff' stroke-width='1.5'%3E%3Cpath d='M-20 80c60-40 120 30 180-10s120-50 260 10'/%3E%3Cpath d='M-20 140c80-30 110 40 190 0s130-40 250 20'/%3E%3Cpath d='M-20 220c50-50 140 20 200-20s100-30 240 30'/%3E%3Cpath d='M-20 300c70-30 120 50 200 10s140-50 240 0'/%3E%3Ccircle cx='300' cy='90' r='40'/%3E%3Ccircle cx='300' cy='90' r='22'/%3E%3Ccircle cx='90' cy='330' r='36'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.accent { color: var(--orange); }

.hero { position: relative; max-width: 1200px; margin: 0 auto; padding: 24px 20px 0; }
.hero-banner {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  border: 3px solid var(--line);
  box-shadow: 0 20px 60px rgba(240,106,40,.15);
}
.hero-text { text-align: center; padding: 28px 0 8px; }
.hero-text h1 { font-weight: 900; font-size: clamp(1.8rem, 5vw, 3rem); }
.hero-text p { color: var(--muted); font-size: 1.1rem; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 20px; display: grid; gap: 40px; }
.section-title {
  font-weight: 900; font-size: 1.4rem; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-title::before {
  content: ""; width: 6px; height: 24px; border-radius: 3px;
  background: linear-gradient(var(--gold), var(--orange-2));
}

.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-socials { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--orange); background: var(--surface-2); }

.stream { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-inline-start: 4px solid var(--brand); }
.stream img { width: 34px; height: 34px; }
.stream div { flex: 1; display: flex; flex-direction: column; }
.stream strong { font-size: 1.2rem; }
.stream small { color: var(--muted); direction: ltr; text-align: right; }
.stream .arrow { color: var(--muted); font-size: 1.3rem; transition: transform .15s; }
.stream:hover .arrow { color: var(--brand); transform: translateX(-4px); }

.social { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; font-weight: 700; }

/* بانر المتجر */
.store-ad {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: linear-gradient(110deg, #1a0d06 0%, #3a1608 40%, var(--orange-2) 100%);
  border: 1px solid #5a2410;
}
.store-ad-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(#000 1.6px, transparent 1.8px);
  background-size: 14px 14px;
  mask-image: linear-gradient(to left, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to left, #000, transparent 70%);
}
.store-ad > * { position: relative; }
.store-ad-body { flex: 1; min-width: 200px; }
.store-ad h2 { font-weight: 900; font-size: 1.7rem; }
.store-ad p { color: #ffd9c2; }
.badge {
  display: inline-block; margin-bottom: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .5px;
  padding: 2px 10px; border-radius: 999px;
  background: rgba(0,0,0,.45); color: #ffcfb3;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 999px; font-weight: 900; font-size: 1.05rem;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-solid { background: #0b0b0b; color: #fff; border: 2px solid #0b0b0b; }
.btn-solid:hover { transform: scale(1.04); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.btn-outline { border: 2px solid var(--orange); color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: #0b0b0b; }
.support { text-align: center; }

.disabled { opacity: .4; pointer-events: none; }

footer { text-align: center; color: var(--muted); padding: 30px 0 40px; font-size: .9rem; }

@media (max-width: 600px) {
  .hero { padding: 12px 12px 0; }
  .store-ad { padding: 26px 20px 22px; }
  .store-ad .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
