/* ═══════════════════════════════════════
   إعادة التعيين والأساسيات
   ═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    background: #050505;
    color: #fff;
    font-family: 'Cairo', 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(to bottom, #ffffff, #737373);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grain-overlay {
    position: fixed; inset: 0; pointer-events: none; z-index: 9998; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}


/* ═══════════════════════════════════════
   شريط الأخبار العاجلة
   ═══════════════════════════════════════ */
.ticker-bar {
    background: linear-gradient(90deg, #7c2d12, #c2410c, #7c2d12);
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
    overflow: hidden;
}
.ticker-label {
    background: #000;
    color: #f97316;
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    flex-shrink: 0;
    z-index: 2;
}
[dir="rtl"] .ticker-label { border-left: 1px solid rgba(249,115,22,0.25); }
[dir="ltr"] .ticker-label { border-right: 1px solid rgba(249,115,22,0.25); }

.live-dot-sm {
    width: 7px; height: 7px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-dot 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

.ticker-track-wrap { overflow: hidden; flex: 1; }
.ticker-track {
    display: flex;
    animation: ticker-scroll 45s linear infinite;
    will-change: transform;
}
[dir="ltr"] .ticker-track { animation: ticker-scroll-ltr 45s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
    padding: 0 36px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.ticker-item .dot {
    width: 4px; height: 4px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes ticker-scroll  { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes ticker-scroll-ltr { 0%{transform:translateX(-50%)} 100%{transform:translateX(0)} }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.4)} }


/* ═══════════════════════════════════════
   شريط التنقل
   ═══════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 40px;
    left: 0; right: 0;
    height: 68px;
    z-index: 90;
    transition: all 0.35s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(5,5,5,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(255,255,255,0.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: #fff;
}
.nav-logo-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 0 24px rgba(249,115,22,0.25);
    flex-shrink: 0;
}
.nav-logo-text { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-links a {
    color: rgb(163,163,163);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 10px;
    transition: all 0.2s ease;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.05); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%; transform: translateX(-50%);
    width: 18px; height: 2px;
    background: #f97316;
    border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #f97316;
    padding: 7px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    transition: all 0.2s ease;
    font-family: inherit;
    text-decoration: none;
}
.lang-btn:hover { background: rgba(249,115,22,0.1); border-color: rgba(249,115,22,0.25); }

.mobile-toggle {
    display: none;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
}


/* ═══════════════════════════════════════
   قسم البث المباشر
   ═══════════════════════════════════════ */
.home-main { padding-top: 108px; }

.stream-section {
    position: relative;
    padding: 0 24px 56px;
    max-width: 1280px;
    margin: 0 auto;
}

/* توهج خلفي */
.stream-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%; transform: translateX(-50%);
    width: 900px; height: 500px;
    background: radial-gradient(ellipse, rgba(249,115,22,0.08), transparent 65%);
    pointer-events: none;
}

.stream-header { margin-bottom: 28px; }
.stream-title { line-height: 1.1; margin: 0; }
.stream-title .gradient-text {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 600;
    letter-spacing: -0.03em;
}


/* ─── المشغل ─── */
.player-outer { position: relative; }

.player-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow:
        0 25px 80px -12px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.03);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.player-wrapper.is-playing {
    border-color: rgba(249,115,22,0.15);
    box-shadow:
        0 25px 80px -12px rgba(0,0,0,0.7),
        0 0 80px -20px rgba(249,115,22,0.15);
}

.player-glow {
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(249,115,22,0.2) 60deg,
        transparent 120deg,
        rgba(249,115,22,0.1) 200deg,
        transparent 260deg,
        rgba(249,115,22,0.15) 320deg,
        transparent 360deg
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: glow-rotate 8s linear infinite;
}
.player-wrapper.is-playing .player-glow { opacity: 1; }

@keyframes glow-rotate { to { transform: rotate(360deg); } }

.player-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #080808;
}

/* شارة مباشر */
.live-badge {
    position: absolute;
    top: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #f97316;
    border: 1px solid rgba(249,115,22,0.25);
}
[dir="rtl"] .live-badge { left: 16px; }
[dir="ltr"] .live-badge { right: 16px; }

.live-dot {
    width: 7px; height: 7px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-dot 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

.quality-badge {
    position: absolute;
    top: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
}
[dir="rtl"] .quality-badge { right: 16px; }
[dir="ltr"] .quality-badge { left: 16px; }

/* طبقة التغطية */
.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    cursor: pointer;
    transition: opacity 0.4s ease;
}
.player-overlay.is-hidden { opacity: 0; pointer-events: none; }

.player-overlay-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.7) 0%,
        rgba(0,0,0,0.3) 40%,
        rgba(0,0,0,0.2) 100%
    );
}

.player-overlay-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.play-btn-ring {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(249,115,22,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ring-pulse 2.5s ease-in-out infinite;
}
@keyframes ring-pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0.7; }
}

.play-btn-large {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #ea580c);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 40px rgba(249,115,22,0.35);
}
.play-btn-large svg { width: 28px; height: 28px; color: #fff; }
[dir="ltr"] .play-btn-large svg { margin-left: 3px; }
[dir="rtl"] .play-btn-large svg { margin-right: 3px; }

.player-overlay:hover .play-btn-large {
    transform: scale(1.08);
    box-shadow: 0 0 60px rgba(249,115,22,0.5);
}

.player-overlay-text {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    margin-top: 4px;
}

.player-overlay-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    margin-top: 2px;
}


/* ═══════════════════════════════════════
   قسم المحتوى (تردد + أخبار)
   ═══════════════════════════════════════ */
.content-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.content-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    align-items: start;
}


/* ─── بطاقة التردد ─── */
.freq-aside { position: relative; }

.freq-card {
    background: rgb(23,23,23);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.35s ease;
}

.freq-card.is-stuck {
    position: sticky;
    top: 128px;
    border-color: rgba(249,115,22,0.12);
    box-shadow: 0 20px 60px -15px rgba(0,0,0,0.5);
}

.freq-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.freq-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
}
.freq-icon {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: rgba(249,115,22,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f97316;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(249,115,22,0.08);
    border: 1px solid rgba(249,115,22,0.15);
    color: #f97316;
    padding: 7px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.25s ease;
    font-family: inherit;
    white-space: nowrap;
}
.copy-btn:hover { background: rgba(249,115,22,0.16); border-color: rgba(249,115,22,0.3); }
.copy-btn.copied {
    background: rgba(34,197,94,0.1);
    border-color: rgba(34,197,94,0.25);
    color: #22c55e;
}

.freq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.freq-item {
    background: rgba(255,255,255,0.025);
    border-radius: 12px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: all 0.2s ease;
}
.freq-item:hover { border-color: rgba(255,255,255,0.07); }

.freq-item-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgb(100,100,100);
    margin-bottom: 5px;
    font-weight: 700;
}
.freq-item-value {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}
.freq-item-highlight {
    background: rgba(249,115,22,0.04);
    border-color: rgba(249,115,22,0.08);
}
.freq-big {
    font-size: 26px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #fff, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.freq-item-full { grid-column: 1 / -1; }

.freq-visual {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: rgb(80,80,80);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.freq-visual-bar {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.04);
    border-radius: 3px;
    overflow: hidden;
}
.freq-visual-bar::after {
    content: '';
    display: block;
    width: var(--w, 80%);
    height: 100%;
    background: linear-gradient(90deg, #f97316, #22c55e);
    border-radius: 3px;
}


/* ─── الأخبار ─── */
.section-header { margin-bottom: 24px; }
.section-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #f97316;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
    white-space: nowrap;
}
.view-all-link:hover { gap: 8px; }
[dir="rtl"] .view-all-link svg { transform: scaleX(-1); }

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgb(80,80,80);
}
.empty-state p { margin-top: 12px; font-size: 14px; }


/* ─── بطاقة الخبر ─── */
.news-card {
    display: flex;
    flex-direction: column;
    background: rgb(23,23,23);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-card:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px -15px rgba(0,0,0,0.5);
}

.news-card-img-wrap {
    position: relative;
    overflow: hidden;
}
.news-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-card:hover .news-card-img { transform: scale(1.06); }

.news-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 50%);
    pointer-events: none;
}

.news-card-cat {
    position: absolute;
    top: 12px;
    z-index: 2;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #f97316;
    border: 1px solid rgba(249,115,22,0.2);
}
[dir="rtl"] .news-card-cat { right: 12px; }
[dir="ltr"] .news-card-cat { left: 12px; }

.news-card-body { padding: 18px 18px 0; flex: 1; }

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgb(100,100,100);
    margin-bottom: 8px;
    font-weight: 500;
}

.news-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    color: #fff;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.news-card:hover .news-card-title { color: #f97316; }

.news-card-excerpt {
    font-size: 13px;
    color: rgb(120,120,120);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-foot {
    padding: 14px 18px 16px;
}
.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #f97316;
    font-size: 12px;
    font-weight: 600;
    transition: gap 0.2s ease;
}
.news-card:hover .read-more-link { gap: 10px; }
[dir="rtl"] .read-more-link svg { transform: scaleX(-1); }


/* ═══════════════════════════════════════
   الفوتر
   ═══════════════════════════════════════ */
.site-footer {
    background: rgb(12,12,12);
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 56px 24px 28px;
    margin-top: 40px;
}
.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 36px;
}
.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 18px;
}
.footer-col a, .footer-col span {
    display: block;
    color: rgb(100,100,100);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: #f97316; }
.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgb(80,80,80);
}
.social-links { display: flex; gap: 10px; }
.social-link {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(100,100,100);
    text-decoration: none;
    transition: all 0.2s ease;
}
.social-link:hover { background: rgba(249,115,22,0.12); color: #f97316; transform: translateY(-2px); }


/* ═══════════════════════════════════════
   أدوات عامة
   ═══════════════════════════════════════ */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249,115,22,0.07);
    border: 1px solid rgba(249,115,22,0.12);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f97316;
    margin-bottom: 16px;
}

.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgb(20,20,20);
    border: 1px solid rgba(34,197,94,0.25);
    color: #22c55e;
    padding: 11px 26px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    z-index: 9999;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    font-family: inherit;
}
.toast.show { transform: translateX(-50%) translateY(0); }

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ═══════════════════════════════════════
   التجاوب — تابلت
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    .freq-card.is-stuck {
        position: static;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}


/* ═══════════════════════════════════════
   التجاوب — جوال
   ═══════════════════════════════════════ */
@media (max-width: 768px) {

    /* التنقل */
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0; right: 0;
        background: rgba(5,5,5,0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        gap: 2px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 16px; font-size: 15px; border-radius: 12px; }
    .mobile-toggle { display: flex; }

    /* البث */
    .home-main { padding-top: 108px; }
    .stream-section { padding: 0 16px 40px; }
    .stream-title .gradient-text { font-size: 28px; }

    .player-wrapper { border-radius: 14px; }
    .live-badge { top: 10px; padding: 5px 10px; font-size: 10px; }
    [dir="rtl"] .live-badge { left: 10px; }
    [dir="ltr"] .live-badge { right: 10px; }
    .quality-badge { top: 10px; padding: 4px 9px; font-size: 10px; }
    [dir="rtl"] .quality-badge { right: 10px; }
    [dir="ltr"] .quality-badge { left: 10px; }

    .play-btn-ring { width: 76px; height: 76px; }
    .play-btn-large { width: 54px; height: 54px; }
    .play-btn-large svg { width: 22px; height: 22px; }
    .player-overlay-text { font-size: 13px; }
    .player-overlay-hint { display: none; }

    /* التردد */
    .content-section { padding: 0 16px 60px; }
    .content-grid { gap: 24px; }
    .freq-card { padding: 18px; border-radius: 16px; }
    .freq-card-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .freq-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .freq-item { padding: 12px; }
    .freq-item-value { font-size: 15px; }
    .freq-big { font-size: 22px !important; }

    /* الأخبار */
    .news-grid { grid-template-columns: 1fr; gap: 14px; }
    .news-card { border-radius: 14px; }
    .news-card-body { padding: 14px 14px 0; }
    .news-card-title { font-size: 14px; -webkit-line-clamp: 2; }
    .news-card-excerpt { -webkit-line-clamp: 2; font-size: 12px; }
    .news-card-foot { padding: 10px 14px 14px; }
    .section-header-row { flex-direction: column; align-items: flex-start; gap: 8px; }

    /* الفوتر */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }

    /* الشريط */
    .ticker-bar { height: 36px; }
    .ticker-label { padding: 0 12px; font-size: 10px; }
    .ticker-item { padding: 0 24px; font-size: 12px; }
}


/* ═══════════════════════════════════════
   شاشات صغيرة جداً
   ═══════════════════════════════════════ */
@media (max-width: 400px) {
    .nav-container { padding: 0 14px; }
    .stream-section { padding: 0 12px 32px; }
    .content-section { padding: 0 12px 48px; }
    .freq-grid { grid-template-columns: 1fr; }
    .freq-item-full { grid-column: auto; }
}


/* ═══════════════════════════════════════
   Scrollbar
   ═══════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #444; }


/* ═══════════════════════════════════════
   تحسين controls الفيديو
   ═══════════════════════════════════════ */
video::-webkit-media-controls-panel {
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}