:root {
  --bg: #0c0e1c;
  --bg-2: #131628;
  --card: #171a2f;
  --line: #262a45;
  --text: #f2f3fa;
  --muted: #9aa0c0;
  --hot: #ff3d6e;
  --gold: #ffb23b;
  --grad: linear-gradient(90deg, var(--hot), var(--gold));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* ===== الشريط العلوي ===== */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(12, 14, 28, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad); color: #1a0b12;
  font-weight: 900; font-size: 16px; letter-spacing: .5px;
  box-shadow: 0 6px 20px rgba(255, 61, 110, .35);
}
.brand-text b { font-weight: 900; letter-spacing: .5px; }
.nav-links { display: flex; gap: 22px; color: var(--muted); font-weight: 600; }
.nav-links a:hover { color: var(--text); }

/* ===== الواجهة ===== */
.hero {
  position: relative;
  padding: 72px 0 56px;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(255, 61, 110, .18), transparent 70%),
    radial-gradient(500px 300px at 10% 90%, rgba(255, 178, 59, .12), transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.pill {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  background: rgba(255, 178, 59, .12); color: var(--gold);
  font-weight: 700; font-size: 14px; border: 1px solid rgba(255, 178, 59, .3);
}
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 900; line-height: 1.2; margin: 14px 0 12px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 1px; }
.hero p { color: var(--muted); font-size: 18px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 14px; font-weight: 700; font-size: 17px; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #1a0b12; box-shadow: 0 10px 30px rgba(255, 61, 110, .35); }
.btn-ghost { border: 1px solid var(--line); background: var(--bg-2); }

.hero-art { position: relative; height: 300px; }
.tile { position: absolute; border-radius: 18px; box-shadow: 0 14px 0 rgba(0, 0, 0, .28); animation: float 6s ease-in-out infinite; }
.t1 { width: 150px; height: 110px; top: 20px; right: 30px; background: #ef5b6a; box-shadow: 0 12px 0 #a5303c; }
.t2 { width: 110px; height: 150px; top: 90px; right: 200px; background: #5a8ef0; box-shadow: 0 12px 0 #2c5bb8; animation-delay: -1.5s; }
.t3 { width: 120px; height: 90px; top: 170px; right: 60px; background: #4fcf78; box-shadow: 0 12px 0 #2d8a4c; animation-delay: -3s; }
.t4 { width: 60px; height: 60px; top: 10px; right: 230px; background: #ffc94a; box-shadow: 0 10px 0 #b98516; animation-delay: -2s; }
.t5 { width: 44px; height: 44px; top: 230px; right: 230px; background: #b47cf5; box-shadow: 0 8px 0 #7444b4; animation-delay: -4s; }
.t6 { width: 36px; height: 36px; top: 140px; right: 12px; background: #3fd0c9; box-shadow: 0 8px 0 #1f8c87; animation-delay: -.8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== الأقسام ===== */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2, .about h2 { font-size: 30px; font-weight: 900; }
.section-head p { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
a.card:hover { transform: translateY(-4px); border-color: rgba(255, 61, 110, .6); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.thumb { aspect-ratio: 16 / 10; background: #eef1f8; }
.thumb svg { display: block; width: 100%; height: 100%; }
.thumb-soon { display: grid; place-items: center; font-size: 54px; filter: saturate(.7); }
.thumb-soon.s1 { background: linear-gradient(135deg, #1f5a3a, #2c8a55); }
.thumb-soon.s2 { background: linear-gradient(135deg, #24203f, #4b3b8a); }
.thumb-soon.s3 { background: linear-gradient(135deg, #5a2a1f, #b0503a); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card h3 { font-size: 20px; font-weight: 800; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.badge { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--grad); color: #1a0b12; }
.badge.muted { background: var(--line); color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.meta { font-size: 13px; color: var(--muted); }
.play { font-weight: 800; color: var(--gold); }
.card.soon { opacity: .7; }

/* ===== عن الموقع ===== */
.about { background: var(--bg-2); border-block: 1px solid var(--line); }
.about-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.about p { color: var(--muted); margin-top: 8px; }
.features { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.features li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.features span { color: var(--muted); font-size: 14px; }

.footer { padding: 28px 0; color: var(--muted); text-align: center; font-size: 14px; }

@media (max-width: 820px) {
  .hero { padding: 44px 0 32px; }
  .hero-inner, .about-inner { grid-template-columns: 1fr; }
  .hero-art { height: 220px; transform: scale(.75); transform-origin: top right; margin-bottom: -50px; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nav-links { gap: 14px; font-size: 14px; }
  .brand-text { font-size: 16px; }
}
