/* أكاديمية تايرو — تخطيط الصفحة الرئيسية (2026-09-20): نفس الهوية، تنقّل أوضح.
   يُحمَّل من index.html فقط — لا يمس صفحات اللاعب/المدرب/الإدارة. كل الألوان والخطوط والزخارف من style.css:
   الكحلي + السماوي + الذهبي + أخضر واتساب · Changa/Tajawal · الشرطة السماوية المائلة · بطاقات متدرجة بحد رفيع · أزرار كبسولية. */

section[id], #schedule { scroll-margin-top: 78px; }
.skip { position: fixed; top: -60px; inset-inline-start: 12px; z-index: 99; background: #fff; color: #081326; font-family: 'Changa'; font-weight: 800; padding: 8px 18px 10px; border-radius: 99px; transition: top .2s; }
.skip:focus { top: calc(10px + env(safe-area-inset-top)); }

/* ---------- الشريط العلوي: ست وجهات + دخول مميّز ---------- */
#topbar { gap: 12px; }
.top-nav { display: none; align-items: center; gap: 4px; margin-inline: auto; }
.top-nav a {
  position: relative; color: var(--ink); font-family: 'Changa'; font-weight: 700; font-size: .98rem;
  padding: 6px 13px 9px; border-radius: 99px; opacity: .86; text-shadow: 0 1px 12px rgba(0, 0, 0, .7);
  transition: opacity .2s, color .2s, background .2s;
}
.top-nav a::after {   /* نفس الشرطة المائلة في عناوين الأقسام — هنا تحت الرابط النشط */
  content: ''; position: absolute; inset-inline: 30%; bottom: 2px; height: 4px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), #1877B8); transform: skewX(-24deg) scaleX(0); transition: transform .25s;
}
.top-nav a:hover, .top-nav a:focus-visible { opacity: 1; color: var(--accent-soft); background: rgba(56, 198, 244, .08); }
.top-nav a.on { opacity: 1; color: #fff; }
.top-nav a.on::after { transform: skewX(-24deg) scaleX(1); }
#topbar.solid .top-nav a { text-shadow: none; }
button.top-login {   /* «تسجيل الدخول»: زر سماوي ممتلئ — يتميز عن روابط التنقل */
  cursor: pointer; border: 0; background: var(--accent); color: #04121F; font-size: .92rem; padding: 7px 18px 9px;
  box-shadow: 0 6px 22px rgba(56, 198, 244, .28); transition: transform .15s, box-shadow .2s;
}
button.top-login:hover { box-shadow: 0 8px 28px rgba(56, 198, 244, .45); }
button.top-login:active { transform: scale(.95); }
.top-burger {
  cursor: pointer; width: 42px; height: 38px; border-radius: 14px; flex: none;
  border: 1px solid rgba(140, 180, 230, .4); background: rgba(6, 13, 26, .35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.top-burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.top-burger i:nth-child(2) { width: 12px; background: var(--accent); align-self: center; margin-inline-end: 6px; }
.top-en {   /* النسخة الإنجليزية — صغير ومحايد حتى لا ينافس «تسجيل الدخول» */
  font-family: 'Changa'; font-weight: 700; font-size: .82rem; letter-spacing: .5px; color: var(--ink);
  border: 1px solid rgba(140, 180, 230, .4); border-radius: 99px; padding: 5px 11px 6px;
  background: rgba(6, 13, 26, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .2s, color .2s;
}
.top-en:hover { border-color: var(--accent); color: var(--accent-soft); }
#topbar .top-en { display: none; }   /* على الهاتف: داخل القائمة — حتى لا يزدحم الشريط */
.brand span { white-space: nowrap; }
button.top-login { white-space: nowrap; }
.top-cta { display: none; }   /* على الهاتف يكفي زر واتساب العائم — لا نزحم الشريط */

/* ---------- الهيرو: أبسط — هوية + رسالة + زرّان ---------- */
#hero { min-height: 88svh; }
.hero-eyebrow {
  margin: 0 0 2px; font-family: 'Changa'; font-weight: 700; font-size: clamp(.9rem, 3.6vw, 1.05rem); color: var(--accent-soft);
  display: inline-flex; align-items: center; gap: 10px; text-shadow: 0 2px 14px rgba(0, 0, 0, .7);
}
.hero-eyebrow { background: rgba(6, 13, 26, .42); padding: 3px 14px 6px; border-radius: 99px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; width: 8px; height: 18px; border-radius: 3px; background: linear-gradient(180deg, var(--accent), #1877B8); transform: skewX(14deg); }
.hero-tag { margin: 2px 0 16px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-cta .btn-join { font-size: 1.2rem; padding: 12px 34px 15px; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font-family: 'Changa'; font-weight: 800; font-size: 1.1rem; color: var(--ink);
  padding: 11px 28px 14px; border-radius: 99px; border: 1.5px solid rgba(234, 242, 251, .6);
  background: rgba(6, 13, 26, .4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .15s, border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(56, 198, 244, .12); }
.btn-ghost:active { transform: scale(.96); }
.hero-hint { display: inline-flex; align-items: center; gap: 8px; }
.reg-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); flex: none; animation: regPulse 1.8s ease-in-out infinite; }
.hero-down { margin-top: 14px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(140, 180, 230, .35); }
.hero-down i { width: 9px; height: 9px; border-inline-end: 2px solid var(--accent-soft); border-bottom: 2px solid var(--accent-soft); transform: rotate(45deg) translate(-2px, -2px); animation: heroDown 1.8s ease-in-out infinite; }
[dir="rtl"] .hero-down i { transform: rotate(-45deg) translate(2px, -2px); animation-name: heroDownR; }
@keyframes heroDown { 50% { transform: rotate(45deg) translate(1px, 1px); } }
@keyframes heroDownR { 50% { transform: rotate(-45deg) translate(-1px, 1px); } }
.hero-inner { padding-bottom: calc(26px + env(safe-area-inset-bottom)); }

/* ---------- الدليل السريع «وين تبي تروح؟» ---------- */
#dir {
  position: relative; padding-block: 30px 8px;
  background:   /* دائرة منتصف الملعب بخط رفيع — لمسة كروية بألوان الموقع نفسها */
    radial-gradient(circle at 50% -40px, transparent 139px, rgba(56, 198, 244, .13) 140px, rgba(56, 198, 244, .13) 141.5px, transparent 142.5px),
    linear-gradient(180deg, var(--bg0), rgba(10, 27, 54, .55) 60%, var(--bg0));
}
.dir-t { text-align: center; font-size: clamp(1.9rem, 7.5vw, 2.7rem); font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 14px; }
.dir-t::before, .dir-t::after { content: ''; width: 12px; height: 32px; border-radius: 4px; background: linear-gradient(180deg, var(--accent), #1877B8); transform: skewX(14deg); flex: none; }
.dir-s { text-align: center; color: var(--mut); margin: 2px 0 20px; font-size: 1rem; }
.dir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dir-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1px;
  min-height: 138px; padding: 16px 16px 14px; color: var(--ink);
  background: linear-gradient(160deg, var(--card), var(--bg1)); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .18s, border-color .18s, box-shadow .25s, opacity .7s;
}
.dir-tile::before {   /* الشرطة السماوية المائلة — نفس زخرفة عناوين الأقسام */
  content: ''; position: absolute; top: 0; inset-inline-start: 18px; width: 9px; height: 22px; border-radius: 0 0 4px 4px;
  background: linear-gradient(180deg, var(--accent), #1877B8); transform: skewX(14deg); transform-origin: top; transition: height .25s;
}
.dir-tile .dn {   /* رقم كبير باهت — مثل أرقام نجوم الأكاديمية */
  position: absolute; top: 4px; inset-inline-end: 12px; font-family: 'Changa'; font-weight: 800; font-size: 2.5rem; line-height: 1;
  color: rgba(255, 255, 255, .08); transition: color .25s;
}
.dir-tile .di { font-size: 1.65rem; margin-top: 14px; line-height: 1.3; }
.dir-tile b { font-family: 'Changa'; font-weight: 800; font-size: 1.1rem; line-height: 1.3; }
.dir-tile small { color: var(--mut); font-size: .8rem; line-height: 1.5; }
.dir-tile .da { position: absolute; bottom: 10px; inset-inline-end: 14px; font-style: normal; font-weight: 700; color: var(--accent); transition: transform .2s; }
.dir-tile:hover, .dir-tile:focus-visible { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 34px rgba(56, 198, 244, .16); outline: none; }
.dir-tile:hover::before, .dir-tile:focus-visible::before { height: 34px; }
.dir-tile:hover .dn { color: rgba(56, 198, 244, .22); }
.dir-tile:hover .da { transform: translateX(-5px); }
.dir-tile:active { transform: scale(.98); }
.dir-tile.hot { border-color: rgba(37, 211, 102, .45); }
.dir-tile.hot::before { background: linear-gradient(180deg, var(--wa), #128C4A); }
.dir-tile .dh { position: absolute; bottom: 12px; inset-inline-start: 14px; font-style: normal; font-weight: 700; font-size: .68rem; color: #A8F5C4; background: rgba(37, 211, 102, .16); border: 1px solid rgba(37, 211, 102, .5); border-radius: 99px; padding: 0 9px 2px; }
.dir-tile.hot small { margin-bottom: 20px; }

/* ---------- عناوين فرعية + «اعرف أكثر» ---------- */
.sub-t { font-family: 'Changa'; font-weight: 700; font-size: 1.3rem; color: var(--accent-soft); margin: 26px 0 12px; display: flex; align-items: center; gap: 10px; }
.sub-t::before { content: ''; width: 8px; height: 22px; border-radius: 3px; background: linear-gradient(180deg, var(--accent), #1877B8); transform: skewX(14deg); flex: none; }
.lead, .sec-lead { color: #C9D8EC; max-width: 62ch; margin: 0 0 14px; }
#aboutBody .facts { margin-top: 16px; }
details.more { margin-top: 16px; }
details.more > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--accent); color: var(--accent-soft); font-family: 'Changa'; font-weight: 700;
  padding: 8px 22px 10px; border-radius: 99px; transition: background .2s;
}
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: '＋'; font-weight: 800; }
details.more[open] > summary::after { content: '－'; }
details.more > summary:hover { background: rgba(56, 198, 244, .1); }
details.more[open] > summary { margin-bottom: 14px; }
details.more > .kit-grid { margin-top: 0; }

/* ---------- الفئات والمواعيد ---------- */
.grp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.grp { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--card), var(--bg1)); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.grp .gn { position: absolute; top: 2px; inset-inline-end: 12px; font-family: 'Changa'; font-weight: 800; font-size: 2.3rem; color: rgba(255, 255, 255, .08); }
.grp h3 { font-size: 1.15rem; font-weight: 800; }
.grp .ga { margin: 2px 0 8px; color: var(--accent-soft); font-weight: 700; font-size: .92rem; }
.grp .gt { margin: 0; color: var(--mut); font-size: .88rem; }
.grp:last-child { border-color: rgba(233, 194, 74, .4); }   /* الكبار: حد ذهبي خفيف */
.sch-note { color: var(--mut); font-size: .88rem; margin: 12px 0 0; }
.sch-note a { font-weight: 700; white-space: nowrap; }

/* ---------- التسجيل ---------- */
.join-steps { margin: 0; padding: 0; list-style: none; counter-reset: j; display: grid; gap: 10px; }
.join-steps li { counter-increment: j; display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; }
.join-steps li::before { content: counter(j); font-family: 'Changa'; font-weight: 800; font-size: 1.25rem; color: var(--accent); background: var(--bg1); border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; }
.join-steps b { display: block; font-family: 'Changa'; font-weight: 700; font-size: 1.05rem; }
.join-steps span { color: var(--mut); font-size: .9rem; line-height: 1.6; }
.join-price { margin: 14px 0 0; color: var(--gold); }
.join-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.join-cta .btn-join, .ct-acts .btn-join { font-size: 1.1rem; padding: 11px 30px 14px; }
.join-cta .btn-ghost { font-size: 1rem; border-color: rgba(140, 180, 230, .45); }

.join-banner { position: relative; margin: 0 0 14px; overflow: hidden; border-radius: var(--r); border: 1px solid rgba(37, 211, 102, .4); background: var(--card); aspect-ratio: 1080 / 501; }
.join-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.join-banner::after { content: ''; position: absolute; inset: auto 0 0 0; height: 16%; background: linear-gradient(180deg, transparent, rgba(8, 19, 38, .6)); pointer-events: none; }
.join-banner figcaption { position: absolute; z-index: 1; top: 10px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 5px; font-family: 'Changa'; font-weight: 700; font-size: .68rem; color: #A8F5C4; background: rgba(11, 42, 24, .9); border: 1px solid rgba(37, 211, 102, .55); border-radius: 99px; padding: 0 9px 2px; }
.join-banner figcaption .reg-dot { width: 7px; height: 7px; }
.ev-none { margin-top: 0; }

/* ---------- لحظات تايرو ---------- */
.ad-card h3 { font-size: clamp(1.3rem, 5vw, 1.7rem); font-weight: 800; }
#adS { padding-block: 46px 0; }
#starsS, #kitS { padding-block: 8px 6px; }
.give-none.slim { padding: 14px 16px; margin-top: 18px; font-size: .92rem; }

/* ---------- تواصل معنا ---------- */
.ct { display: grid; gap: 16px; background: linear-gradient(160deg, var(--card), var(--bg1)); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.ct-l { color: var(--mut); font-size: .85rem; margin: 0; }
.ct-v { font-family: 'Changa'; font-weight: 700; margin: 0 0 12px; line-height: 1.7; }
.ct-v:last-child { margin-bottom: 0; }
.ct-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ct-acts .map-btn { margin-top: 0; }
#foot { margin-top: 46px; }

/* ---------- الورقة السفلية: قائمة الهاتف + اختيار نوع الدخول (نفس لغة أوراق الموقع) ---------- */
#navSheet { position: fixed; inset: 0; z-index: 90; }
#navSheet[hidden] { display: none !important; }
.ns-back { position: absolute; inset: 0; background: rgba(3, 8, 18, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .22s; }
.ns {
  position: absolute; inset-inline: 0; bottom: 0; max-height: 92svh; overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(170deg, var(--card), var(--bg1)); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 24px 24px 0 0; padding: 18px 18px calc(20px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .26s cubic-bezier(.3, .8, .3, 1); max-width: 560px; margin-inline: auto;
}
#navSheet.in .ns-back { opacity: 1; } #navSheet.in .ns { transform: none; }
.ns-x { position: absolute; top: 12px; inset-inline-end: 14px; background: var(--card2); border: 1px solid var(--line); color: var(--mut); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: .9rem; }
.ns-k { color: var(--accent-soft); font-weight: 700; font-size: .8rem; margin: 0; }
.ns h3 { font-size: 1.5rem; font-weight: 800; margin: 2px 0 10px; }
.ns-links { display: grid; }
.ns-links a { display: flex; justify-content: space-between; align-items: center; color: var(--ink); font-family: 'Changa'; font-weight: 700; font-size: 1.18rem; padding: 13px 6px 15px; border-bottom: 1px solid var(--line); }
.ns-links a em { font-style: normal; color: var(--accent); opacity: .7; }
.ns-links a.on { color: var(--accent-soft); }
.ns-links a:active { background: rgba(56, 198, 244, .08); }
.ns-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ns-acts .btn-join, .ns-acts .btn-ghost { flex: 1 1 150px; font-size: 1.05rem; padding: 11px 18px 14px; box-shadow: none; }
.ns-big { display: flex; align-items: center; gap: 14px; color: var(--ink); background: rgba(10, 27, 54, .6); border: 1px solid var(--accent); border-radius: 16px; padding: 14px 16px; transition: background .2s; }
.ns-big:hover { background: rgba(56, 198, 244, .12); }
.ns-big i { font-style: normal; font-size: 1.9rem; }
.ns-big span { flex: 1; display: grid; }
.ns-big b { font-family: 'Changa'; font-weight: 800; font-size: 1.2rem; }
.ns-big small { color: var(--mut); font-size: .85rem; }
.ns-big em { font-style: normal; color: var(--accent); font-weight: 700; }
.ns-staff { color: var(--mut); font-size: .88rem; text-align: center; margin: 14px 0 0; }
.ns-staff a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .ns, .ns-back, .dir-tile, .top-nav a::after { transition: none; }
  .reg-dot, .hero-down i { animation: none; }
}

/* الهاتف فقط:
   ▸ شعار الهيرو الكبير يُخفى — كان يقع فوق وجه اللاعب (والخلفية فيديو متحرك فلا يوجد موضع آمن ثابت). هوية تايرو باقية في الشريط العلوي واسم الأكاديمية.
   ▸ إعلان الأكاديمية: معاينة مدمجة بنسبة 4/5 بدل 9/16 كاملة — القص بـ object-fit بلا تمطيط، وملء الشاشة يعرض الفيديو كاملًا. */
@media (max-width: 759px) {
  .hero-crest { display: none; }
  #about .ad-card { padding: 14px; }
  #about .ad-card .al { margin: 2px 0 10px; }
  #about .ad-card video { max-width: 272px; aspect-ratio: 4 / 5; max-height: 46svh; object-fit: cover; object-position: center 50%; }
  #aboutBody .facts .fact:last-child:nth-child(odd), #trainCards .tcard:last-child:nth-child(even) { grid-column: 1 / -1; }
}

/* ---------- شاشات أوسع ---------- */
@media (min-width: 760px) {
  .dir-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .dir-tile { min-height: 150px; padding: 18px; }
  .grp-grid { grid-template-columns: repeat(4, 1fr); }
  .join-steps { grid-template-columns: repeat(3, 1fr); }
  .join-banner { max-width: 600px; }
  .join-banner figcaption { font-size: .78rem; padding: 1px 12px 4px; }
  .join-steps li { align-items: flex-start; }
  .ct { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 24px; }
  .ct-acts { justify-content: flex-end; }
  #dir { padding-block: 40px 10px; }
}
@media (min-width: 560px) { .disc-grid { grid-template-columns: repeat(2, 1fr); } .disc { min-height: 230px; } }
@media (min-width: 940px) {
  #topbar .top-en { display: inline-block; }
  /* الهيرو صار أقصر قليلًا ليظهر الدليل تحته؛ نكبّر الخلفية قليلًا ليبقى تأطير الصورة كما كان (ولا تظهر حافة الصورة) */
  #hero .hero-bg img, #heroVid { transform: scale(1.16); transform-origin: center 30%; }
  #hero { overflow: hidden; }
  #topbar { padding-inline: 28px; }
  .top-nav { display: flex; }
  .top-burger { display: none; }
  .top-cta { display: inline-block; }
}
@media (min-width: 1100px) {
  .dir-grid { grid-template-columns: repeat(6, 1fr); }
  .dir-tile { min-height: 168px; padding: 18px 14px 16px; }
  .dir-tile b { font-size: 1.02rem; }
}

/* حجز مساحة الصور قبل تحميلها الكسول — حتى لا تقفز الصفحة أثناء الانتقال إلى قسم أسفلها */
.fpl-hero { aspect-ratio: 840 / 1121; background: var(--card); }
.fpl-hero img { width: 100%; height: 100%; object-fit: cover; }
.kit-cat img { aspect-ratio: 1; background: var(--card); }

/* ---------- بلاطات الدليل: صورة باهتة من صور تايرو خلف كل وجهة عامة ---------- */
.dir-tile .dbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: saturate(.85); transition: opacity .35s, transform .6s; z-index: 0; }
.dir-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(14, 33, 64, .35), rgba(6, 13, 26, .9) 78%); z-index: 0; }
.dir-tile > *:not(.dbg) { position: relative; z-index: 1; }
.dir-tile .dn, .dir-tile .da, .dir-tile .dh, .dir-tile .dp { position: absolute; }
.dir-tile::before { z-index: 2; }
.dir-tile:hover .dbg, .dir-tile:focus-visible .dbg { opacity: .42; transform: scale(1.06); }
/* الوجهة الخاصة (دخول اللاعب): ذهبية ومقفلة — مفصولة بصريًا عن معلومات الأكاديمية العامة */
.dir-tile.priv { border-color: rgba(233, 194, 74, .5); background: linear-gradient(160deg, #1A1808, var(--bg1) 70%); }
.dir-tile.priv::before { background: linear-gradient(180deg, var(--gold), #9A7A1C); }
.dir-tile.priv::after { background: none; }
.dir-tile.priv .da { color: var(--gold); }
.dir-tile.priv:hover, .dir-tile.priv:focus-visible { border-color: var(--gold); box-shadow: 0 12px 34px rgba(233, 194, 74, .16); }
.dir-tile .dp { bottom: 12px; inset-inline-start: 14px; font-style: normal; font-weight: 700; font-size: .66rem; color: var(--gold); background: rgba(233, 194, 74, .1); border: 1px solid rgba(233, 194, 74, .4); border-radius: 99px; padding: 0 9px 2px; }
.dir-tile.priv small { margin-bottom: 20px; }

/* ---------- تعرف على تايرو: بطاقات مصوّرة بأسلوب بطاقات التدريبات ---------- */
.disc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.disc { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 176px; color: var(--ink); border-radius: var(--r); border: 1px solid var(--line); background: var(--card); transition: border-color .2s, transform .18s, opacity .7s; }
.disc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.disc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 22, .25) 0%, rgba(5, 11, 22, .72) 45%, rgba(5, 11, 22, .97) 82%); }
.disc .dcn { position: absolute; top: 6px; inset-inline-end: 12px; z-index: 1; font-family: 'Changa'; font-weight: 800; font-size: 2rem; color: rgba(255, 255, 255, .3); }
.disc .dcb { position: relative; z-index: 1; padding: 14px; }
.disc h3 { font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.disc h3::before { content: ''; width: 7px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, var(--accent), #1877B8); transform: skewX(14deg); flex: none; }
.disc p { margin: 4px 0 0; color: #C9D8EC; font-size: .88rem; line-height: 1.6; }
.disc .dcm { display: inline-block; margin-top: 8px; color: var(--accent-soft); font-family: 'Changa'; font-weight: 700; font-size: .88rem; }
.disc:hover img { transform: scale(1.05); }
a.disc:hover, a.disc:focus-visible { border-color: var(--accent); transform: translateY(-3px); outline: none; }
#about .ad-card { margin: 0 0 18px; }

/* ---------- الفعاليات: شارة الحالة ---------- */
.ev .badge.done { background: var(--card2); color: var(--mut); border: 1px solid var(--line); }

@media (min-width: 760px) {
  .disc-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .disc { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) { .disc img, .dir-tile .dbg { transition: none; } }
.ns-links a.ns-en { font-family: 'Changa'; color: var(--mut); font-size: 1rem; border-bottom: 0; }
