/* ==========================================================================
   قالب كورة اون لاين — التصميم الأحدث
   هوية أخضر الملعب + زجاج ضبابي — RTL عربي، خفيف وسريع الأرشفة
   ========================================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg:      #050d0a;
    --bg2:     #0a1712;
    --bg3:     #0e2019;
    --bg4:     #143026;
    --acc:     #00e58a;
    --acc2:    #2ee6c5;
    --accd:    #00b96e;
    --gold:    #ffc95c;
    --red:     #ff445c;
    --text:    #e8f3ee;
    --muted:   #8fa79d;
    --line:    rgba(255,255,255,0.075);
    --line2:   rgba(0,229,138,0.28);
    --glass:   rgba(10,23,18,0.72);
    --max:     1380px;
    --r:       16px;
    --shadow:  0 18px 44px rgba(0,0,0,0.45);
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    direction: rtl;
    overflow-x: hidden;
    background-image:
        radial-gradient(900px 520px at 88% -8%, rgba(0,229,138,0.10), transparent 62%),
        radial-gradient(760px 460px at 6% 4%, rgba(46,230,197,0.07), transparent 60%);
    background-repeat: no-repeat;
}

img { max-width: 100%; height: auto; }
a { color: var(--acc); text-decoration: none; transition: color .2s; }
a:hover { color: var(--acc2); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
/* لا يختفي عنوان القسم تحت الهيدر الملتصق عند القفز برابط داخلي */
section[id], div[id], article[id] { scroll-margin-top: 84px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@keyframes blink   { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(1.55)} }
@keyframes glowbar { 0%,100%{opacity:.35} 50%{opacity:1} }
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes tickrtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes rise    { from { opacity:0; transform: translateY(14px); } to { opacity:1; transform:none; } }

/* ── شريط النتائج المتحرك ───────────────────────────────────────────── */
.ticker {
    background: linear-gradient(90deg, var(--bg3), var(--bg4), var(--bg3));
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}
.ticker::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--bg) 0%, transparent 7%, transparent 93%, var(--bg) 100%);
    pointer-events: none;
}
.ticker-label {
    flex-shrink: 0; z-index: 2;
    background: var(--red); color: #fff;
    font-size: .72rem; font-weight: 900;
    padding: 0 14px; height: 100%;
    display: flex; align-items: center; gap: 6px;
    letter-spacing: .4px;
}
.ticker-label::before { content: ''; width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: blink 1.4s infinite; }
.ticker-track { display: flex; white-space: nowrap; animation: tickrtl 46s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 700; color: var(--muted);
    padding: 0 20px; border-left: 1px solid var(--line);
}
.ticker-item b { color: var(--text); font-weight: 800; }
.ticker-item .tk-score { color: var(--gold); font-weight: 900; }
.ticker-item .tk-live  { color: var(--red); font-weight: 900; font-size: .7rem; }

/* ── الهيدر الزجاجي ─────────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 200;
    background: var(--glass);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 26px rgba(0,0,0,.45);
}
.site-header::after {
    content: ''; position: absolute; bottom: -1px; right: 0; left: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--acc), var(--acc2), transparent);
    opacity: .85;
}
.header-inner {
    max-width: var(--max); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; padding: 11px 20px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
    width: 44px; height: 44px; border-radius: 13px;
    background: linear-gradient(140deg, var(--acc), var(--accd) 70%, #067a4a);
    display: grid; place-items: center;
    font-size: 1.35rem; line-height: 1;
    box-shadow: 0 6px 18px rgba(0,229,138,.35), inset 0 0 0 1px rgba(255,255,255,.18);
}
.brand-text strong { display: block; font-size: 1.22rem; font-weight: 900; color: #fff; line-height: 1.25; }
.brand-text strong em { font-style: normal; color: var(--acc); }
.brand-text small { display: block; font-size: .68rem; font-weight: 700; color: var(--muted); letter-spacing: .6px; }

.site-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.site-nav a {
    display: block; padding: 8px 13px;
    font-size: .87rem; font-weight: 800; color: var(--text);
    border-radius: 9px; white-space: nowrap;
    transition: background .2s, color .2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(0,229,138,.12); color: var(--acc); }

.menu-btn { display: none; background: rgba(0,229,138,.1); border: 1px solid var(--line2); border-radius: 10px; cursor: pointer; padding: 9px 10px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--acc); border-radius: 2px; }
.menu-btn span + span { margin-top: 5px; }

.scroll-bar { position: absolute; bottom: -1px; right: 0; height: 2px; width: 0; background: var(--gold); z-index: 3; transition: width .1s linear; }

/* ── البطل ──────────────────────────────────────────────────────────── */
.hero {
    position: relative; overflow: hidden;
    padding: 52px 20px 42px; text-align: center;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(5,13,10,.82) 0%, rgba(5,13,10,.92) 55%, var(--bg) 100%),
        url('../img/hero-pitch.webp') center 35% / cover no-repeat;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 2px, transparent 2px 92px),
        radial-gradient(600px 300px at 50% 120%, rgba(0,229,138,.16), transparent 70%);
    pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,68,92,.14); border: 1px solid rgba(255,68,92,.4);
    color: #ff8b9c; font-size: .8rem; font-weight: 900;
    padding: 6px 16px; border-radius: 30px; margin-bottom: 18px;
}
.hero-badge::before { content: ''; width: 7px; height: 7px; background: var(--red); border-radius: 50%; animation: blink 1.4s infinite; }
.hero h1 { font-size: clamp(1.55rem, 4.4vw, 2.75rem); font-weight: 900; line-height: 1.32; color: #fff; margin-bottom: 14px; text-shadow: 0 3px 18px rgba(0,0,0,.6); }
.hero h1 .a { color: var(--acc); }
.hero h1 .b { color: var(--gold); }
.hero p.hero-sub { font-size: clamp(.92rem, 2vw, 1.08rem); color: #c6d8d0; max-width: 880px; margin: 0 auto 24px; line-height: 1.95; }
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 40px;
    font-size: .95rem; font-weight: 900; font-family: inherit;
    border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-main { background: linear-gradient(135deg, var(--acc), var(--accd)); color: #04150e; box-shadow: 0 8px 26px rgba(0,229,138,.34); }
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(0,229,138,.5); color: #04150e; }
.btn-ghost { background: rgba(255,255,255,.05); border-color: var(--line2); color: var(--text); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(0,229,138,.1); color: var(--acc); }

.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; max-width: 780px; margin: 0 auto; }
.hstat {
    background: rgba(10,23,18,.62); border: 1px solid var(--line); border-radius: 14px;
    padding: 14px 10px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hstat strong { display: block; font-size: 1.4rem; font-weight: 900; color: var(--acc); line-height: 1.2; }
.hstat span { font-size: .72rem; font-weight: 700; color: var(--muted); }

/* ── ترويسة قسم ─────────────────────────────────────────────────────── */
.sec { padding: 38px 0 8px; }
.sec-hd { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.sec-hd h2, .sec-hd h3 {
    position: relative; font-size: clamp(1.08rem, 3vw, 1.45rem); font-weight: 900; color: #fff;
    padding-right: 14px;
}
.sec-hd h2::before, .sec-hd h3::before {
    content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 5px; height: 74%; border-radius: 4px;
    background: linear-gradient(180deg, var(--acc), var(--acc2));
}
.sec-hd p { flex: 1 1 100%; font-size: .9rem; color: var(--muted); }
.chip-date {
    margin-right: auto; font-size: .76rem; font-weight: 800; white-space: nowrap;
    background: rgba(0,229,138,.1); border: 1px solid var(--line2); color: var(--acc);
    padding: 5px 13px; border-radius: 8px;
}

/* ── تبويبات الأيام ─────────────────────────────────────────────────── */
.day-tabs {
    display: flex; gap: 6px; padding: 6px;
    background: var(--bg2); border: 1px solid var(--line); border-radius: 14px;
    margin-bottom: 14px;
}
.day-tab {
    flex: 1; min-width: 96px; position: relative;
    background: transparent; border: 0; border-radius: 10px;
    color: var(--muted); font-family: inherit; font-size: .9rem; font-weight: 800;
    padding: 11px 10px; cursor: pointer; transition: background .2s, color .2s;
}
.day-tab:hover { background: rgba(255,255,255,.04); color: var(--text); }
.day-tab[aria-selected="true"] {
    background: linear-gradient(135deg, var(--acc), var(--accd)); color: #04150e;
    box-shadow: 0 6px 18px rgba(0,229,138,.3);
}
.day-tab small { display: block; font-size: .66rem; font-weight: 700; opacity: .75; }

/* ── فلاتر الدوريات ─────────────────────────────────────────────────── */
.lg-filter { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.lg-filter::-webkit-scrollbar { height: 5px; }
.lg-filter::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 4px; }
.lg-chip {
    flex-shrink: 0; background: var(--bg3); border: 1px solid var(--line);
    color: var(--muted); font-family: inherit; font-size: .8rem; font-weight: 800;
    padding: 7px 14px; border-radius: 30px; cursor: pointer; white-space: nowrap;
    transition: all .2s;
}
.lg-chip:hover { border-color: var(--line2); color: var(--acc); }
.lg-chip[aria-pressed="true"] { background: rgba(0,229,138,.14); border-color: var(--acc); color: var(--acc); }
.lg-chip b { opacity: .7; font-weight: 700; margin-inline-start: 4px; }

/* ── شبكة المباريات ─────────────────────────────────────────────────── */
.matches-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 15px; }
.match-card {
    position: relative; display: flex; flex-direction: column;
    background: linear-gradient(170deg, var(--bg3), var(--bg2));
    border: 1px solid var(--line); border-radius: var(--r);
    padding: 15px 15px 0; overflow: hidden;
    color: var(--text); animation: rise .35s ease both;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.match-card:hover { transform: translateY(-5px); border-color: var(--acc); box-shadow: 0 16px 38px rgba(0,229,138,.16); color: var(--text); }
.match-card.is-live { border-color: rgba(255,68,92,.42); box-shadow: 0 0 0 1px rgba(255,68,92,.16), 0 14px 36px rgba(255,68,92,.13); }
.match-card.is-live::before {
    content: ''; position: absolute; top: 0; right: 0; left: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    animation: glowbar 1.8s ease-in-out infinite;
}
.match-card.is-done { opacity: .6; }
.match-card.is-done:hover { transform: none; border-color: var(--line); box-shadow: none; }

.mc-top { display: flex; align-items: center; gap: 8px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.mc-league { display: flex; align-items: center; gap: 7px; min-width: 0; }
.mc-league img { width: 24px; height: 24px; object-fit: contain; border-radius: 5px; flex-shrink: 0; }
.mc-league span { font-size: .74rem; font-weight: 800; color: var(--acc); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-status {
    margin-right: auto; flex-shrink: 0;
    font-size: .66rem; font-weight: 900; color: #fff;
    padding: 4px 10px; border-radius: 20px;
}
.st-live { background: var(--red); }
.st-soon { background: linear-gradient(135deg, var(--acc), var(--accd)); color: #04150e; }
.st-next { background: rgba(255,255,255,.09); color: var(--text); }
.st-done { background: #35564a; }

.mc-teams { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; padding: 15px 0 12px; }
.mc-team { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mc-badge {
    width: 56px; height: 56px; min-height: 56px; border-radius: 50%;
    background: rgba(255,255,255,.045); border: 1px solid var(--line);
    display: grid; place-items: center; padding: 7px; flex-shrink: 0;
    overflow: hidden; line-height: 1;
}
/* مقاس ثابت بالبكسل + object-fit: بعض شعارات الفرق طويلة جدًا (مثل 77×164)
   والنِسَب المئوية لا تُقيّدها داخل حاوية grid فتغطي اسم الفريق. */
.mc-badge img { display: block; width: 40px; height: 40px; object-fit: contain; }
.mc-badge.txt { font-size: 1.3rem; font-weight: 900; color: var(--acc); }
.mc-team span {
    font-size: .78rem; font-weight: 800; text-align: center; line-height: 1.4; color: var(--text);
    max-width: 100%; overflow-wrap: anywhere;
}

.mc-mid { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 74px; padding-top: 10px; }
.mc-score {
    font-size: 1.5rem; font-weight: 900; color: var(--gold);
    background: rgba(255,201,92,.09); border: 1px solid rgba(255,201,92,.24);
    border-radius: 10px; padding: 2px 12px; letter-spacing: 1px; line-height: 1.4;
}
.mc-time { font-size: .95rem; font-weight: 900; color: #fff; }
.mc-vs { font-size: .64rem; font-weight: 800; color: var(--muted); letter-spacing: 1px; }

.mc-foot {
    margin: 0 -15px; padding: 10px 15px;
    border-top: 1px dashed var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    font-size: .74rem; font-weight: 800; color: var(--muted);
}
.mc-foot .go { color: var(--acc); display: inline-flex; align-items: center; gap: 5px; }
a.match-card:hover .mc-foot { background: rgba(0,229,138,.07); }

/* ── حالات ──────────────────────────────────────────────────────────── */
.state {
    text-align: center; padding: 52px 20px; color: var(--muted);
    background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r);
}
.state .ic { font-size: 2.6rem; display: block; margin-bottom: 12px; }
.state b { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: 6px; }
.state.err { border-color: rgba(255,68,92,.3); background: rgba(255,68,92,.07); color: #ffa8b4; }
.spinner { width: 42px; height: 42px; margin: 0 auto 14px; border: 3px solid var(--line); border-top-color: var(--acc); border-radius: 50%; animation: spin .8s linear infinite; }
.upd { text-align: center; font-size: .74rem; color: var(--muted); margin-top: 14px; }

/* ── بطاقات معلومات ─────────────────────────────────────────────────── */
.cards3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.icard {
    background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r);
    padding: 24px; transition: border-color .25s, transform .25s;
}
.icard:hover { border-color: var(--acc); transform: translateY(-4px); }
.icard .ic {
    width: 46px; height: 46px; border-radius: 12px; margin-bottom: 12px;
    background: rgba(0,229,138,.1); border: 1px solid var(--line2);
    display: grid; place-items: center; font-size: 1.35rem;
}
.icard h3 { font-size: 1.02rem; font-weight: 900; color: #fff; margin-bottom: 7px; }
.icard p { font-size: .89rem; color: var(--muted); line-height: 1.85; }

/* ── جدول القنوات ───────────────────────────────────────────────────── */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg2); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 520px; }
table.tbl caption { text-align: right; padding: 14px 18px 0; font-size: .84rem; color: var(--muted); }
table.tbl th, table.tbl td { padding: 12px 16px; text-align: right; font-size: .88rem; border-bottom: 1px solid var(--line); }
table.tbl thead th { background: rgba(0,229,138,.07); color: var(--acc); font-weight: 900; font-size: .82rem; }
table.tbl tbody tr:hover { background: rgba(255,255,255,.025); }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl td b { color: #fff; font-weight: 800; }

/* ── مزايا ──────────────────────────────────────────────────────────── */
.pills { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(0,229,138,.08); border: 1px solid var(--line2);
    color: var(--acc); border-radius: 10px; padding: 8px 14px;
    font-size: .85rem; font-weight: 800;
}

/* ── مقالات ─────────────────────────────────────────────────────────── */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 16px; }
.post-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r);
    transition: border-color .25s, transform .25s;
}
.post-card:hover { border-color: var(--acc); transform: translateY(-5px); }
.post-card > a.thumb { display: block; position: relative; }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.post-card .tagline {
    position: absolute; top: 10px; right: 10px;
    background: rgba(5,13,10,.8); border: 1px solid var(--line2); color: var(--acc);
    font-size: .68rem; font-weight: 900; padding: 4px 10px; border-radius: 20px;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.post-body { padding: 16px 17px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body h3 { font-size: 1rem; font-weight: 900; line-height: 1.55; }
.post-body h3 a { color: #fff; }
.post-body h3 a:hover { color: var(--acc); }
.post-body p { font-size: .85rem; color: var(--muted); line-height: 1.8; flex: 1; }
.post-meta { display: flex; gap: 12px; font-size: .73rem; color: var(--muted); font-weight: 700; }
.post-more { font-size: .84rem; font-weight: 900; color: var(--acc); }

/* ── الأسئلة الشائعة ────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; }
.faq details {
    background: var(--bg2); border: 1px solid var(--line); border-radius: 13px;
    padding: 0 18px; transition: border-color .2s;
}
.faq details[open] { border-color: var(--line2); background: var(--bg3); }
.faq summary {
    cursor: pointer; list-style: none; padding: 15px 0;
    font-size: .95rem; font-weight: 800; color: #fff;
    display: flex; align-items: center; gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
    content: '+'; flex-shrink: 0;
    width: 24px; height: 24px; border-radius: 7px;
    background: rgba(0,229,138,.12); color: var(--acc);
    display: grid; place-items: center; font-size: 1.05rem; font-weight: 900;
}
.faq details[open] summary::before { content: '−'; background: var(--acc); color: #04150e; }
.faq .ans { padding: 0 34px 16px 0; font-size: .89rem; color: var(--muted); line-height: 1.95; }

/* ── نداء الحث ──────────────────────────────────────────────────────── */
.cta {
    margin: 40px 0 8px; padding: 42px 30px; text-align: center;
    border-radius: 22px; border: 1px solid var(--line2);
    background: linear-gradient(135deg, var(--bg3), rgba(0,229,138,.07));
    box-shadow: var(--shadow);
}
.cta h2 { font-size: clamp(1.25rem, 3vw, 1.85rem); font-weight: 900; color: #fff; margin-bottom: 12px; }
.cta p { font-size: .98rem; color: var(--muted); max-width: 660px; margin: 0 auto 22px; }

/* ── تواصل / وسوم ───────────────────────────────────────────────────── */
.contact { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; text-align: center; margin-top: 34px; }
.contact h2 { font-size: 1.15rem; font-weight: 900; color: var(--acc); margin-bottom: 9px; }
.contact p { font-size: .9rem; color: var(--muted); margin-bottom: 15px; }
.mail { display: inline-block; background: rgba(0,229,138,.09); border: 1px solid var(--line2); color: var(--acc); padding: 11px 26px; border-radius: 30px; font-size: .92rem; font-weight: 800; }
.mail:hover { transform: translateY(-2px); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.tags span { background: var(--bg3); border: 1px solid var(--line); color: var(--muted); padding: 5px 13px; border-radius: 20px; font-size: .78rem; font-weight: 700; }

/* ── الإعلانات ──────────────────────────────────────────────────────── */
.ad-slot { margin: 20px 0; text-align: center; }
.ad-slot:empty { display: none; }
.client-ad { max-width: 100%; overflow: hidden; margin: 0 auto 10px; }
.client-ad img, .client-ad iframe { max-width: 100%; height: auto; }

/* ── الفوتر ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg2); border-top: 1px solid var(--line); margin-top: 54px; padding: 42px 20px 22px; position: relative; }
.site-footer::before { content: ''; position: absolute; top: -1px; right: 0; left: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--acc), transparent); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; max-width: var(--max); margin: 0 auto; }
.foot-grid h3 { font-size: .95rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.foot-brand strong { display: block; font-size: 1.4rem; font-weight: 900; color: var(--acc); margin-bottom: 8px; }
.foot-brand p { font-size: .87rem; color: var(--muted); line-height: 1.9; }
.foot-list { list-style: none; display: grid; gap: 8px; }
.foot-list a { font-size: .86rem; font-weight: 700; color: var(--muted); }
.foot-list a:hover { color: var(--acc); }
.foot-copy { max-width: var(--max); margin: 26px auto 0; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; font-size: .82rem; color: var(--muted); }

/* ── زر للأعلى ──────────────────────────────────────────────────────── */
.totop {
    position: fixed; bottom: 22px; left: 22px; z-index: 300;
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line2);
    background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    color: var(--acc); font-size: 1.15rem; cursor: pointer;
    display: grid; place-items: center;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .25s, transform .25s, visibility .25s;
}
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--acc); color: #04150e; }

/* ── صفحة مقال ──────────────────────────────────────────────────────── */
.crumbs { font-size: .8rem; color: var(--muted); margin: 18px 0 4px; }
.crumbs a { font-weight: 700; }
.crumbs span[aria-current] { color: var(--text); }
.art-hero { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); margin: 14px 0 22px; box-shadow: var(--shadow); }
.art-hero img { display: block; width: 100%; height: auto; }
.art {
    background: var(--bg2); border: 1px solid var(--line); border-radius: 18px;
    padding: 30px; margin-bottom: 28px;
}
.art h1 { font-size: clamp(1.45rem, 4vw, 2.15rem); font-weight: 900; color: #fff; line-height: 1.42; margin-bottom: 10px; }
.art-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); font-weight: 700; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.art h2 { font-size: clamp(1.12rem, 3vw, 1.45rem); font-weight: 900; color: var(--acc); margin: 28px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.art h3 { font-size: 1.06rem; font-weight: 900; color: #fff; margin: 20px 0 8px; }
.art p { font-size: 1rem; line-height: 2.05; margin-bottom: 14px; color: var(--text); }
.art ul, .art ol { margin: 8px 22px 18px; line-height: 2.05; }
.art li { margin-bottom: 6px; }
.art strong { color: var(--acc2); }
.note {
    background: rgba(0,229,138,.07); border: 1px solid var(--line2); border-radius: 13px;
    padding: 14px 18px; color: var(--acc); font-weight: 800; font-size: .9rem; margin: 10px 0 20px;
}
.art .tbl-wrap { margin: 16px 0 22px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { background: var(--bg3); border: 1px solid var(--line); border-radius: 11px; padding: 10px 16px; font-size: .87rem; font-weight: 800; color: var(--text); }
.related a:hover { border-color: var(--acc); color: var(--acc); }

/* ── استجابة ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .site-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: var(--bg2); border-bottom: 2px solid var(--acc); padding: 12px 16px; }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 3px; }
    .menu-btn { display: block; }
    .hero { padding: 36px 14px 30px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .matches-grid, .cards3, .posts { grid-template-columns: 1fr; }
    .cta { padding: 30px 18px; }
    .art { padding: 22px 17px; }
    .ticker-track { animation-duration: 30s; }
}
@media (max-width: 480px) {
    .header-inner { padding: 10px 12px; }
    .brand-mark { width: 38px; height: 38px; border-radius: 11px; font-size: 1.15rem; }
    .brand-text strong { font-size: 1.05rem; }
    .hero h1 { font-size: 1.42rem; }
    .mc-badge { width: 48px; height: 48px; min-height: 48px; }
    .mc-badge img { width: 34px; height: 34px; }
    .mc-team span { font-size: .72rem; }
    .mc-score { font-size: 1.25rem; }
    .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .ticker-track { animation: none; }
}
@media print {
    .ticker, .site-header, .totop, .ad-slot, .site-footer { display: none !important; }
    body { background: #fff; color: #000; }
}
