/* ============================================================
   AL-SIR ACADEMY — الثيم الملكي (ذهب على ليل)
   ============================================================ */
:root {
  --bg: #07090f;
  --bg-2: #0c1019;
  --bg-3: #121828;
  --panel: rgba(255,255,255,.035);
  --panel-brd: rgba(201,162,39,.16);
  --gold: #c9a227;
  --gold-2: #e8c95c;
  --gold-3: #f6e7ae;
  --ink: #eef1f7;
  --ink-dim: #aab3c6;
  --ink-faint: #6b7488;
  --green: #37b26c;
  --red: #e05a4e;
  --radius: 16px;
  --shadow-gold: 0 0 40px rgba(201,162,39,.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  background:
    radial-gradient(1100px 500px at 85% -5%, rgba(201,162,39,.10), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(38,64,140,.14), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.9;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
main { flex: 1; }
h1,h2,h3,h4 { font-family: 'Cairo', sans-serif; line-height: 1.45; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold-3); }
.container { width: min(1180px, 92%); margin: 0 auto; }
.muted { color: var(--ink-faint); font-size: .9em; }

/* ===== شريط البيتا ===== */
.beta-bar {
  background: linear-gradient(90deg, #2b2109, #3a2c0c 50%, #2b2109);
  border-bottom: 1px solid rgba(201,162,39,.35);
  color: #f0dfa8; text-align: center; font-size: .82rem;
  padding: 8px 14px; letter-spacing: .2px;
}
.beta-bar a { text-decoration: underline; color: var(--gold-3); }

/* ===== الهيدر ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,9,15,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,162,39,.14);
}
.topbar-in { display: flex; align-items: center; gap: 26px; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #2a2410, #14120a);
  border: 1px solid rgba(201,162,39,.5); border-radius: 12px;
  font-size: 20px; box-shadow: var(--shadow-gold);
}
.logo-text { font-family: 'Cairo'; font-weight: 900; font-size: 1.25rem; color: #fff; letter-spacing: 1px; line-height: 1.1; display: flex; flex-direction: column; }
.logo-text span { color: var(--gold-2); display: inline; }
.logo-text small { font-size: .55rem; letter-spacing: 5px; color: var(--ink-faint); font-weight: 600; }
.mainnav { display: flex; gap: 22px; margin-inline-start: 10px; flex: 1; }
.mainnav a { color: var(--ink-dim); font-weight: 500; font-size: .95rem; position: relative; padding: 4px 2px; }
.mainnav a:hover { color: var(--gold-3); }
.mainnav a::after {
  content: ''; position: absolute; bottom: -2px; right: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent); transition: width .3s;
}
.mainnav a:hover::after { width: 100%; }
.nav-strong { color: var(--gold-2) !important; font-weight: 700 !important; }
.topbar-cta { display: flex; gap: 9px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--panel-brd); color: var(--ink); font-size: 1.2rem; border-radius: 8px; padding: 4px 10px; cursor: pointer; }

/* ===== الأزرار ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Cairo'; font-weight: 700; cursor: pointer; border: none;
  border-radius: 12px; padding: 13px 26px; font-size: 1rem; transition: all .25s;
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: .85rem; border-radius: 10px; }
.btn-lg { padding: 16px 38px; font-size: 1.1rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #a07f1a);
  color: #16120a;
  box-shadow: 0 6px 24px rgba(201,162,39,.35), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(201,162,39,.5); color: #000; }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--ink); border: 1px solid rgba(201,162,39,.25); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-3); background: rgba(201,162,39,.07); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ===== الهيرو ===== */
.hero { padding: 84px 0 70px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(115deg, transparent 0 120px, rgba(201,162,39,.025) 120px 121px);
}
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,162,39,.09); border: 1px solid rgba(201,162,39,.3);
  color: var(--gold-3); border-radius: 100px; padding: 6px 18px;
  font-size: .82rem; font-weight: 700; letter-spacing: .5px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 900; color: #fff; margin-bottom: 18px; }
.hero h1 .shine {
  background: linear-gradient(100deg, var(--gold-3), var(--gold-2) 40%, var(--gold-3) 60%, var(--gold-2));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }
.hero p.lead { color: var(--ink-dim); font-size: 1.12rem; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: 'Cairo'; font-size: 1.55rem; color: var(--gold-2); }
.hero-stats span { color: var(--ink-faint); font-size: .85rem; }

/* بطاقة الكتاب في الهيرو */
.hero-card {
  position: relative;
  background: linear-gradient(160deg, #131826, #0b0e17 70%);
  border: 1px solid rgba(201,162,39,.35);
  border-radius: 22px; padding: 40px 34px; text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), var(--shadow-gold);
  transform: rotate(-2deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(-2deg) translateY(-10px); } }
.hero-card .medal {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%;
  border: 2px solid var(--gold); display: grid; place-items: center;
  font-size: 38px; background: rgba(201,162,39,.08);
  box-shadow: 0 0 34px rgba(201,162,39,.3);
}
.hero-card h3 { font-size: 1.5rem; font-weight: 900; color: #fff; }
.hero-card .sub { color: var(--gold-2); font-size: .92rem; margin-bottom: 16px; }
.hero-card .facts { display: flex; justify-content: center; gap: 18px; color: var(--ink-dim); font-size: .8rem; border-top: 1px dashed rgba(201,162,39,.25); padding-top: 16px; margin-top: 6px; }

/* ===== الأقسام ===== */
.section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .kicker { color: var(--gold); font-weight: 700; letter-spacing: 3px; font-size: .8rem; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; color: #fff; margin-top: 6px; }
.section-head .rule { width: 70px; height: 2px; margin: 16px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ===== بطاقات الدورات ===== */
.grid-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; }
.card-course {
  background: var(--panel); border: 1px solid var(--panel-brd);
  border-radius: var(--radius); overflow: hidden; position: relative;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.card-course:hover { transform: translateY(-6px); border-color: rgba(201,162,39,.45); box-shadow: 0 20px 50px rgba(0,0,0,.45), var(--shadow-gold); }
.card-cover {
  height: 150px; display: grid; place-items: center; font-size: 54px;
  background:
    radial-gradient(circle at 70% 20%, rgba(201,162,39,.22), transparent 55%),
    linear-gradient(150deg, #171d2e, #0d1120);
  border-bottom: 1px solid var(--panel-brd); position: relative;
}
.card-badge {
  position: absolute; top: 12px; right: 12px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #17130a; font-family: 'Cairo'; font-weight: 800; font-size: .72rem;
  border-radius: 100px; padding: 4px 13px;
}
.card-badge.soon { background: rgba(255,255,255,.12); color: var(--ink-dim); border: 1px solid rgba(255,255,255,.15); }
.card-body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card-body h3 { font-size: 1.15rem; font-weight: 800; color: #fff; }
.card-body .sub { color: var(--ink-dim); font-size: .88rem; flex: 1; }
.card-meta { display: flex; gap: 12px; color: var(--ink-faint); font-size: .76rem; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 14px; border-top: 1px dashed rgba(201,162,39,.2); }
.price { font-family: 'Cairo'; font-weight: 900; font-size: 1.3rem; color: var(--gold-2); }
.price small { font-size: .75rem; color: var(--ink-faint); font-weight: 400; }

/* ===== الميزات ===== */
.grid-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.feat {
  background: var(--panel); border: 1px solid var(--panel-brd); border-radius: var(--radius);
  padding: 26px 22px; transition: border-color .3s;
}
.feat:hover { border-color: rgba(201,162,39,.4); }
.feat .ico { font-size: 30px; margin-bottom: 12px; display: block; }
.feat h3 { color: var(--gold-3); font-size: 1.02rem; margin-bottom: 6px; }
.feat p { color: var(--ink-dim); font-size: .88rem; }

/* ===== صفحة الدورة ===== */
.course-hero { padding: 56px 0 40px; }
.course-hero-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: start; }
.course-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 900; color: #fff; margin: 10px 0; }
.course-hero .sub { color: var(--ink-dim); font-size: 1.08rem; margin-bottom: 18px; }
.buy-card {
  background: linear-gradient(165deg, #141a2b, #0b0e17);
  border: 1px solid rgba(201,162,39,.35); border-radius: 20px; padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), var(--shadow-gold);
  position: sticky; top: 90px;
}
.buy-card .big-emoji { font-size: 56px; text-align: center; display: block; margin-bottom: 10px; }
.buy-card .price-line { text-align: center; margin-bottom: 18px; }
.buy-card .price-line .price { font-size: 2.2rem; }
.terms-check { display: flex; gap: 10px; align-items: flex-start; background: rgba(201,162,39,.06); border: 1px solid rgba(201,162,39,.25); border-radius: 12px; padding: 12px 14px; margin: 14px 0; font-size: .82rem; color: var(--ink-dim); }
.terms-check input { margin-top: 5px; accent-color: var(--gold); width: 17px; height: 17px; flex-shrink: 0; }
.included { list-style: none; margin-top: 18px; }
.included li { padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,.07); color: var(--ink-dim); font-size: .88rem; }
.included li::before { content: '✦ '; color: var(--gold); }
.desc-block { background: var(--panel); border: 1px solid var(--panel-brd); border-radius: var(--radius); padding: 26px; margin-top: 22px; color: var(--ink-dim); white-space: pre-line; }

/* منهج الدورة */
.curriculum { margin-top: 26px; }
.curriculum .les {
  display: flex; align-items: center; gap: 14px;
  background: var(--panel); border: 1px solid var(--panel-brd);
  border-radius: 12px; padding: 13px 18px; margin-bottom: 9px;
}
.curriculum .les .n {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-family: 'Cairo'; font-weight: 800; font-size: .8rem;
  background: rgba(201,162,39,.12); color: var(--gold-2); border: 1px solid rgba(201,162,39,.3);
}
.curriculum .les .t { flex: 1; font-weight: 500; font-size: .95rem; }
.curriculum .les .d { color: var(--ink-faint); font-size: .78rem; }

/* ===== النماذج ===== */
.auth-wrap { display: grid; place-items: center; padding: 70px 0; }
.auth-card {
  width: min(430px, 94vw);
  background: linear-gradient(165deg, #131a2b, #0b0e17);
  border: 1px solid rgba(201,162,39,.3); border-radius: 20px; padding: 36px;
  box-shadow: 0 24px 70px rgba(0,0,0,.55), var(--shadow-gold);
}
.auth-card h1 { font-size: 1.5rem; font-weight: 900; color: #fff; text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--ink-faint); font-size: .88rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; color: var(--ink-dim); margin-bottom: 6px; font-weight: 500; }
.field input {
  width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px; padding: 12px 15px; color: var(--ink); font-family: inherit; font-size: .95rem;
  transition: border-color .25s;
}
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15); }
.auth-alt { text-align: center; margin-top: 18px; font-size: .87rem; color: var(--ink-faint); }

/* ===== التنبيهات ===== */
.alert { border-radius: 12px; padding: 13px 18px; margin: 18px 0; font-size: .92rem; }
.alert-ok { background: rgba(55,178,108,.1); border: 1px solid rgba(55,178,108,.4); color: #7fd7a5; }
.alert-err { background: rgba(224,90,78,.1); border: 1px solid rgba(224,90,78,.4); color: #f0a49c; }
.alert-warn { background: rgba(201,162,39,.08); border: 1px solid rgba(201,162,39,.35); color: var(--gold-3); }

/* ===== دوراتي ===== */
.my-course {
  display: flex; gap: 20px; align-items: center;
  background: var(--panel); border: 1px solid var(--panel-brd);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 16px;
}
.my-course .emoji { font-size: 42px; }
.my-course .info { flex: 1; }
.my-course h3 { color: #fff; font-size: 1.1rem; }
.progress-bar { height: 8px; background: rgba(255,255,255,.08); border-radius: 100px; overflow: hidden; margin-top: 8px; }
.progress-bar > div { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 100px; transition: width .5s; }

/* ===== مشغل الدورة (نمط يودمي) ===== */
.player { display: grid; grid-template-columns: 320px 1fr; min-height: calc(100vh - 120px); }
.player-side {
  background: var(--bg-2); border-inline-end: 1px solid var(--panel-brd);
  padding: 22px 0; overflow-y: auto; max-height: calc(100vh - 60px); position: sticky; top: 60px;
}
.player-side h3 { padding: 0 22px 12px; font-size: 1rem; color: var(--gold-3); border-bottom: 1px solid var(--panel-brd); }
.player-side .les-link {
  display: flex; gap: 12px; align-items: center; padding: 13px 22px;
  color: var(--ink-dim); font-size: .88rem; border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .2s;
}
.player-side .les-link:hover { background: rgba(201,162,39,.06); color: var(--ink); }
.player-side .les-link.active { background: rgba(201,162,39,.11); color: var(--gold-3); border-inline-start: 3px solid var(--gold); }
.player-side .les-link .st { flex-shrink: 0; }
.player-main { padding: 40px clamp(20px, 5vw, 70px); max-width: 980px; }
.player-main .lesson-title { font-size: 1.6rem; font-weight: 900; color: #fff; margin-bottom: 8px; }
.player-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--panel-brd); }

/* محتوى الدرس (يستوعب تنسيقات الكتاب) */
.lesson-content { color: #d7dce8; }
.lesson-content .part { border-radius: 18px; background: linear-gradient(150deg, #131a2b, #0b0e17); border: 1px solid rgba(201,162,39,.3); padding: 40px 26px; text-align: center; margin-bottom: 30px; height: auto; display: block; page-break-before: auto; }
.lesson-content .part .num { color: var(--gold); font-weight: 700; letter-spacing: 4px; font-size: .85rem; }
.lesson-content .part h1 { font-size: 1.8rem; font-weight: 900; color: #fff; margin: 8px 0; text-align: center; }
.lesson-content .part .desc { color: var(--ink-dim); font-size: .95rem; max-width: 600px; margin: 0 auto; }
.lesson-content .part .rule { width: 70px; height: 2px; margin: 14px auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.lesson-content .chapter { margin-bottom: 44px; }
.lesson-content .chapter-head { border-right: 4px solid var(--gold); padding-right: 16px; margin: 30px 0 18px; }
.lesson-content .chapter-head .kicker { color: var(--gold); font-size: .8rem; font-weight: 700; }
.lesson-content .chapter-head h1 { font-size: 1.45rem; font-weight: 900; color: #fff; }
.lesson-content h2 { font-size: 1.15rem; font-weight: 800; color: var(--gold-3); margin: 26px 0 10px; border-bottom: 1px solid rgba(201,162,39,.25); padding-bottom: 6px; }
.lesson-content h3 { font-size: 1rem; color: #cfd6e4; margin: 18px 0 6px; }
.lesson-content p { margin-bottom: 12px; }
.lesson-content ul, .lesson-content ol { margin: 0 24px 14px 0; }
.lesson-content li { margin-bottom: 7px; }
.lesson-content strong { color: #fff; }
.lesson-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .85rem; display: block; overflow-x: auto; }
.lesson-content th { background: #1a2133; color: var(--gold-3); padding: 9px 12px; text-align: right; white-space: nowrap; }
.lesson-content td { border: 1px solid rgba(255,255,255,.09); padding: 8px 12px; }
.lesson-content .golden, .lesson-content .tip, .lesson-content .warn, .lesson-content .story {
  border-radius: 12px; padding: 16px 18px; margin: 18px 0; font-size: .93rem;
}
.lesson-content .golden { background: rgba(201,162,39,.08); border: 1px solid rgba(201,162,39,.35); }
.lesson-content .golden .t { color: var(--gold-2); font-weight: 800; margin-bottom: 4px; }
.lesson-content .tip { background: rgba(55,178,108,.07); border: 1px solid rgba(55,178,108,.3); }
.lesson-content .tip .t { color: #6fcf97; font-weight: 800; margin-bottom: 4px; }
.lesson-content .warn { background: rgba(224,90,78,.07); border: 1px solid rgba(224,90,78,.3); }
.lesson-content .warn .t { color: #ef8a80; font-weight: 800; margin-bottom: 4px; }
.lesson-content .story { background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.15); }
.lesson-content .story .t { color: var(--ink-dim); font-weight: 800; margin-bottom: 4px; }
.lesson-content .kpi { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0; }
.lesson-content .kpi > div { flex: 1; min-width: 130px; background: rgba(201,162,39,.06); border: 1px solid rgba(201,162,39,.25); border-radius: 12px; padding: 12px; text-align: center; }
.lesson-content .kpi b { display: block; color: var(--gold-2); font-size: 1.3rem; font-family: 'Cairo'; }

/* ===== الشروط ===== */
.terms-doc { max-width: 860px; margin: 0 auto; background: var(--panel); border: 1px solid var(--panel-brd); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); }
.terms-doc h1 { color: #fff; font-size: 1.7rem; margin-bottom: 4px; }
.terms-doc h2 { color: var(--gold-3); font-size: 1.1rem; margin: 26px 0 8px; }
.terms-doc p, .terms-doc li { color: var(--ink-dim); font-size: .93rem; }
.terms-doc ul { margin: 0 22px 12px 0; }
.terms-doc .accent-box { background: rgba(201,162,39,.07); border: 1px solid rgba(201,162,39,.3); border-radius: 12px; padding: 16px 20px; margin: 16px 0; }

/* ===== الأدمن ===== */
.admin-table { width: 100%; border-collapse: collapse; font-size: .85rem; margin: 14px 0 30px; }
.admin-table th { background: #161d30; color: var(--gold-3); padding: 10px 12px; text-align: right; }
.admin-table td { border-bottom: 1px solid rgba(255,255,255,.07); padding: 9px 12px; color: var(--ink-dim); }
.pill { border-radius: 100px; padding: 2px 12px; font-size: .74rem; font-weight: 700; }
.pill-paid { background: rgba(55,178,108,.15); color: #6fcf97; }
.pill-pending { background: rgba(201,162,39,.15); color: var(--gold-2); }
.pill-canceled { background: rgba(224,90,78,.15); color: #ef8a80; }
.pill-failed { background: rgba(224,90,78,.15); color: #ef8a80; }

/* ===== الفوتر ===== */
.footer { border-top: 1px solid var(--panel-brd); background: rgba(10,13,21,.6); margin-top: 60px; }
.footer-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; padding: 44px 0 30px; }
.footer-brand p { color: var(--ink-faint); font-size: .85rem; margin-top: 12px; max-width: 300px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4 { color: var(--gold-3); font-size: .95rem; margin-bottom: 6px; }
.footer-links a, .footer-links span { color: var(--ink-faint); font-size: .87rem; }
.footer-links a:hover { color: var(--gold-2); }
.footer-base { border-top: 1px solid rgba(255,255,255,.06); padding: 16px 0; text-align: center; color: var(--ink-faint); font-size: .8rem; }

/* ===== تجاوب ===== */
@media (max-width: 920px) {
  .hero-in, .course-hero-in { grid-template-columns: 1fr; }
  .buy-card { position: static; }
  .player { grid-template-columns: 1fr; }
  .player-side { position: static; max-height: none; border-inline-end: none; border-bottom: 1px solid var(--panel-brd); }
  .footer-in { grid-template-columns: 1fr; }
  .mainnav {
    display: none; position: absolute; top: 100%; right: 0; left: 0;
    background: var(--bg-2); flex-direction: column; padding: 18px 24px; gap: 14px;
    border-bottom: 1px solid var(--panel-brd);
  }
  .mainnav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ظهور تدريجي */
.reveal { animation: rise .7s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
