/* ═══════════════════════════════════════════════════════════════
   🏢 AGENCY — نظام إدارة المقالات
   التصميم الكامل
   ═══════════════════════════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --cyan: #00ffd5;
    --cyan-dark: #00a896;
    --bg-dark: #0a1628;
    --bg-black: #000;
    --text-light: #e5e7eb;
    --text-mid: #7fd8d0;
    --border: rgba(0,255,213,.25);
    --shadow-cyan: 0 8px 30px rgba(0,255,213,.3);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-black);
    color: #fff;
    min-height: 100vh;
    line-height: 1.7;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0,255,213,.05), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0,255,213,.05), transparent 40%);
}

/* ═══════════ Header ═══════════ */
.header {
    background: linear-gradient(135deg, rgba(10,22,40,.98), rgba(8,20,32,.98));
    border-bottom: 2px solid rgba(0,255,213,.3);
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
    gap: 12px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.header h1 {
    color: var(--cyan);
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 20px rgba(0,255,213,.5);
}
.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.lang-switch {
    display: flex;
    gap: 4px;
    background: rgba(0,20,30,.8);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(0,255,213,.25);
}
.lang-switch a {
    text-decoration: none;
    color: var(--text-mid);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    transition: all .2s;
}
.lang-switch a:hover { background: rgba(0,255,213,.1); color: var(--cyan); }
.lang-switch a.active {
    background: rgba(0,255,213,.2);
    color: var(--cyan);
    box-shadow: 0 0 12px rgba(0,255,213,.3);
}
.btn-login {
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    color: #000;
    text-decoration: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
    transition: all .2s;
}
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,255,213,.4);
}

/* ═══════════ Slider ═══════════ */
.slider-section {
    padding: 32px 20px;
    max-width: 1300px;
    margin: 0 auto;
}
#heroSwiper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,255,213,.15);
}
.slide-card {
    display: block;
    text-decoration: none;
    color: #fff;
    position: relative;
    aspect-ratio: 16/7;
    overflow: hidden;
    border-radius: 20px;
}
.slide-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}
.swiper-slide-active .slide-image { transform: scale(1.05); }
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,22,40,.95) 0%, rgba(10,22,40,.5) 60%, transparent 100%);
}
[dir="ltr"] .slide-overlay {
    background: linear-gradient(-90deg, rgba(10,22,40,.95) 0%, rgba(10,22,40,.5) 60%, transparent 100%);
}
.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    max-width: 65%;
    z-index: 2;
}
.slide-icon {
    font-size: 50px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 20px rgba(0,255,213,.6));
}
.slide-title {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0,0,0,.7);
}
.slide-excerpt {
    color: #ccfbf1;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
    opacity: 0.9;
}
.slide-meta {
    display: flex;
    gap: 20px;
    color: var(--text-mid);
    font-size: 13px;
    opacity: 0.85;
}
.swiper-pagination-bullet { background: var(--cyan) !important; opacity: 0.4; }
.swiper-pagination-bullet-active { opacity: 1 !important; }
.swiper-button-prev, .swiper-button-next { color: var(--cyan) !important; }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 24px; font-weight: 900; }

/* ═══════════ Categories ═══════════ */
.categories-bar {
    display: flex;
    gap: 8px;
    padding: 0 20px 32px;
    max-width: 1300px;
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
}
.categories-bar::-webkit-scrollbar { display: none; }
.cat-btn {
    padding: 10px 20px;
    background: rgba(255,255,255,.05);
    border: 1.5px solid rgba(0,255,213,.2);
    border-radius: 12px;
    color: var(--text-mid);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cat-btn:hover {
    background: rgba(0,255,213,.1);
    color: var(--cyan);
    transform: translateY(-2px);
}
.cat-btn.active {
    background: var(--cat-color, var(--cyan));
    color: #000;
    border-color: var(--cat-color, var(--cyan));
    box-shadow: 0 6px 20px rgba(0,255,213,.3);
}

/* ═══════════ Articles Grid ═══════════ */
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px 40px; }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
    margin-bottom: 40px;
}

.article-card {
    background: linear-gradient(135deg, rgba(10,22,40,.95), rgba(8,20,32,.95));
    border: 1px solid rgba(0,255,213,.25);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    transition: all .35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.article-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-color, var(--cyan));
    box-shadow: 0 20px 50px rgba(0,255,213,.2);
}

.card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}
.article-card:hover .card-image img { transform: scale(1.08); }
.card-emoji {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 32px;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--card-color, var(--cyan));
    filter: drop-shadow(0 4px 12px var(--card-color, var(--cyan)));
    z-index: 2;
}
[dir="ltr"] .card-emoji { right: auto; left: 12px; }
.card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(0deg, rgba(10,22,40,.95), transparent);
    pointer-events: none;
}

.card-body {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-body h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 10px;
}
.card-body p {
    color: var(--text-mid);
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.8;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px dashed rgba(0,255,213,.15);
    font-size: 11px;
    color: var(--text-mid);
    opacity: 0.7;
}

/* ═══════════ Pagination ═══════════ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.page-btn {
    padding: 10px 20px;
    background: rgba(0,255,213,.1);
    border: 1px solid rgba(0,255,213,.3);
    border-radius: 10px;
    color: var(--cyan);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all .2s;
}
.page-btn:hover { background: rgba(0,255,213,.2); transform: translateY(-2px); }
.page-info { color: var(--text-mid); font-size: 14px; opacity: 0.7; }

/* ═══════════ Empty State ═══════════ */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-mid);
}
.empty-state h2 { color: var(--cyan); font-size: 24px; margin: 20px 0 12px; }
.empty-state p { opacity: 0.7; }

/* ═══════════ Article Page ═══════════ */
.container-article { max-width: 900px; margin: 0 auto; padding: 32px 20px; }

.article-header {
    background: linear-gradient(135deg, rgba(10,22,40,.95), rgba(8,20,32,.95));
    border: 1px solid var(--article-color, var(--cyan));
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: var(--article-color, var(--cyan));
}
[dir="ltr"] .article-header::before { right: auto; left: 0; }
.article-emoji {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 20px var(--article-color, var(--cyan)));
}
.article-header h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 16px;
}
.article-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--text-mid);
    font-size: 13px;
    opacity: 0.8;
}

/* ═══════════ Share Bar ═══════════ */
.share-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(0,255,213,.04);
    border-radius: 14px;
    border: 1px solid rgba(0,255,213,.15);
    align-items: center;
    flex-wrap: wrap;
}
.share-label {
    color: var(--text-mid);
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
}
[dir="ltr"] .share-label { margin-left: 0; margin-right: 8px; }
.share-bar a, .share-bar button {
    padding: 8px 16px;
    border-radius: 10px;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.share-bar a:hover, .share-bar button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.share-twitter { background: #1d9bf0; }
.share-facebook { background: #1877f2; }
.share-whatsapp { background: #25d366; }
.share-linkedin { background: #0077b5; }
.share-copy {
    background: rgba(0,255,213,.2);
    border: 1px solid rgba(0,255,213,.4) !important;
    color: var(--cyan) !important;
}

/* ═══════════ Article Content ═══════════ */
.article-content {
    background: linear-gradient(135deg, rgba(10,22,40,.95), rgba(8,20,32,.95));
    border: 1px solid rgba(0,255,213,.2);
    border-radius: 20px;
    padding: 40px;
    font-size: 16px;
    line-height: 2;
}
.article-hero-image {
    margin-bottom: 28px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(0,255,213,.3);
}
.article-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}
.article-content h2 {
    color: var(--cyan);
    font-size: 24px;
    font-weight: 900;
    margin: 32px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,255,213,.2);
}
.article-content h3 {
    color: var(--text-mid);
    font-size: 20px;
    font-weight: 900;
    margin: 24px 0 12px;
}
.article-content p { color: var(--text-light); margin-bottom: 18px; }
.article-content strong { color: var(--cyan); font-weight: 900; }
.article-content ul, .article-content ol {
    padding-right: 28px;
    margin: 16px 0;
}
[dir="ltr"] .article-content ul,
[dir="ltr"] .article-content ol { padding-right: 0; padding-left: 28px; }
.article-content li { color: var(--text-light); margin-bottom: 10px; }
.article-content a {
    color: var(--cyan);
    text-decoration: none;
    border-bottom: 1px dashed rgba(0,255,213,.5);
}
.article-content a:hover { background: rgba(0,255,213,.1); }
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
}
.article-content blockquote {
    border-right: 4px solid var(--cyan);
    padding: 14px 20px;
    margin: 18px 0;
    background: rgba(0,255,213,.05);
    border-radius: 8px;
    color: var(--text-mid);
    font-style: italic;
}
[dir="ltr"] .article-content blockquote {
    border-right: none;
    border-left: 4px solid var(--cyan);
}

/* ═══════════ Tool CTA ═══════════ */
.tool-cta {
    margin-top: 32px;
    padding: 28px;
    background: linear-gradient(135deg, var(--tool-color, var(--cyan))22, var(--tool-color, var(--cyan))08);
    border: 2px solid var(--tool-color, var(--cyan))66;
    border-radius: 18px;
    text-align: center;
}
.tool-label {
    color: var(--text-mid);
    font-size: 13px;
    margin-bottom: 14px;
    opacity: 0.9;
}
.tool-cta a {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--tool-color, var(--cyan)), var(--tool-color, var(--cyan))cc);
    color: #000;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 900;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(0,255,213,.3);
    transition: all .3s;
}
.tool-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,255,213,.5);
}

/* ═══════════ AdSense ═══════════ */
.ads-wrap {
    margin-top: 28px;
    padding: 16px;
    background: rgba(255,255,255,.02);
    border: 1px dashed rgba(0,255,213,.15);
    border-radius: 14px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ═══════════ Related ═══════════ */
.related-section { margin-top: 40px; }
.section-title {
    color: var(--cyan);
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 20px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.related-card {
    background: linear-gradient(135deg, rgba(10,22,40,.95), rgba(8,20,32,.95));
    border: 1px solid rgba(0,255,213,.25);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: all .3s;
}
.related-card:hover {
    transform: translateY(-4px);
    border-color: var(--cyan);
    box-shadow: 0 12px 32px rgba(0,255,213,.2);
}
.related-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}
.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.related-body { padding: 14px; }
.related-body h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ═══════════ Footer ═══════════ */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-mid);
    font-size: 12px;
    opacity: 0.6;
    margin-top: 60px;
    border-top: 1px solid rgba(0,255,213,.1);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 700;
}
.footer-copy { opacity: 0.7; }
/* ═══ Wrapper الكارت (يحتوي على الكارت + الفيديو) ═══ */
.article-card-wrapper {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(10,22,40,.95), rgba(8,20,32,.95));
    border: 1px solid rgba(0,255,213,.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all .3s;
}

.article-card-wrapper:hover {
    border-color: var(--card-color, #00ffd5);
    box-shadow: 0 10px 40px rgba(0,255,213,.15);
    transform: translateY(-4px);
}

/* ═══ الفيديو جوه الكارت ═══ */
.card-video {
    border-top: 2px solid rgba(0,255,213,.3);
    background: rgba(0,0,0,.3);
    padding: 0;
}

.card-video-header {
    padding: 8px 12px;
    background: linear-gradient(90deg, rgba(0,255,213,.15), rgba(0,255,213,.05));
    color: #00ffd5;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    border-bottom: 1px solid rgba(0,255,213,.2);
}

.card-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; /* نسبة 9:16 للشورتس */
    height: 0;
    overflow: hidden;
}

.card-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ═══ الكارت نفسه (تأكد إن الـ CSS القديم شغال) ═══ */
.article-card {
    display: block;
    text-decoration: none;
    color: inherit;
}
/* ═══════════ Responsive ═══════════ */
@media (max-width: 768px) {
    .header { padding: 12px 16px; }
    .header h1 { font-size: 16px; }
    .slide-content { padding: 24px 20px; max-width: 90%; }
    .slide-title { font-size: 20px; }
    .slide-excerpt { font-size: 13px; display: none; }
    .slide-icon { font-size: 32px; }
    .articles-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
    .article-header { padding: 20px; }
    .article-header h1 { font-size: 22px; }
    .article-emoji { font-size: 48px; }
    .article-content { padding: 20px; font-size: 15px; }
    .article-content h2 { font-size: 20px; }
    .article-content h3 { font-size: 17px; }
    .cat-btn { padding: 8px 14px; font-size: 12px; }
}
@media (max-width: 480px) {
    .articles-grid { grid-template-columns: 1fr; }
    .card-body h3 { font-size: 15px; }
}

/* ═══════════ Scrollbar ═══════════ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(0,255,213,.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0,255,213,.5); }
/* ═══════════════════════════════════════════════════ */
/* 🎯 أزرار الهيدر الجديدة */
/* ═══════════════════════════════════════════════════ */
.header {
    background: linear-gradient(135deg, rgba(10,22,40,.98), rgba(8,20,32,.98)) !important;
    border-bottom: 2px solid rgba(0,255,213,.3) !important;
    padding: 16px 32px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}
.header h1 {
    color: #00ffd5;
    font-size: 1.4rem;
    margin: 0;
}
.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.header-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 0 12px !important;
    height: 32px !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-family: 'Tajawal', sans-serif !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform 0.25s ease !important;
}

.header-btn--gold {
    background: linear-gradient(135deg, #ffd700, #ff8c00) !important;
    color: #000 !important;
    box-shadow: 0 0 15px rgba(255,215,0,.4) !important;
}
.header-btn--gold:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 20px rgba(255,215,0,.7) !important;
}

.header-btn--teal {
    background: linear-gradient(135deg, #00ffd5, #00a896) !important;
    color: #000 !important;
    box-shadow: 0 0 15px rgba(0,255,213,.4) !important;
}
.header-btn--teal:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 20px rgba(0,255,213,.7) !important;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #00ffd5, #00a896);
    color: #000;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 900;
    font-size: 13px;
}

@media (max-width: 768px) {
    .header { padding: 12px 16px !important; }
    .header h1 { font-size: 1rem; }
    .header-btn { padding: 0 8px !important; height: 28px !important; font-size: 10px !important; }
}

/* ═══════════════════════════════════════════════════ */
/* 🎯 الفوتر */
/* ═══════════════════════════════════════════════════ */
.site-footer {
    margin-top: 60px !important;
    padding: 40px 20px 20px !important;
    border-top: 1px solid rgba(0,255,213,.2) !important;
    background: linear-gradient(180deg, transparent, rgba(0,255,213,.03)) !important;
    text-align: center !important;
    direction: rtl !important;
    font-family: 'Tajawal', sans-serif !important;
    color: #fff !important;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand { margin-bottom: 24px; }
.footer-logo { font-size: 22px; font-weight: 900; color: #00ffd5; margin-bottom: 8px; }
.footer-desc { font-size: 13px; color: #7fd8d0; opacity: .8; }

.footer-row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    align-items: center !important;
}
.footer-row a {
    color: #7fd8d0 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    transition: all .3s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.footer-row a:hover {
    color: #00ffd5 !important;
    background: rgba(0,255,213,.08) !important;
}

.footer-row .social-icon {
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
    background: rgba(0,255,213,.08) !important;
    border: 1px solid rgba(0,255,213,.25) !important;
    border-radius: 12px !important;
    font-size: 20px !important;
}
.footer-row .social-icon:hover {
    background: rgba(0,255,213,.2) !important;
    transform: translateY(-3px) !important;
}

.footer-row .app-btn {
    background: rgba(0,255,213,.08) !important;
    border: 1px solid rgba(0,255,213,.25) !important;
    font-weight: 700 !important;
}

.footer-copy {
    padding-top: 20px !important;
    border-top: 1px solid rgba(0,255,213,.1) !important;
    font-size: 12px !important;
    color: #7fd8d0 !important;
    opacity: .8 !important;
    line-height: 1.8 !important;
}

/* ═══════════════════════════════════════════════════ */
/* 🎯 كارت المواطن الصحفي — فوق الفوتر */
/* ═══════════════════════════════════════════════════ */
.citizen-card {
    position: fixed !important;
    bottom: 70px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 340px !important;
    max-height: 340px !important;
    background: linear-gradient(135deg, rgba(10,22,40,.98), rgba(8,20,32,.98)) !important;
    border: 2px solid rgba(0,255,213,.4) !important;
    border-radius: 20px !important;
    z-index: 99990 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0,255,213,.25) !important;
    backdrop-filter: blur(20px) !important;
    transition: all .5s cubic-bezier(.34, 1.56, .64, 1) !important;
}
.citizen-card.hidden {
    opacity: 0 !important;
    transform: translateX(-50%) translateY(120%) !important;
    pointer-events: none !important;
}
.citizen-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 14px !important;
    background: rgba(0,0,0,.3) !important;
    border-bottom: 1px solid rgba(0,255,213,.2) !important;
    flex-shrink: 0 !important;
}
.citizen-card-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #00ffd5 !important;
    font-weight: 900 !important;
    font-size: 13px !important;
}
.citizen-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: #ff2850;
    box-shadow: 0 0 12px #ff2850;
    animation: citizenPulse 1.5s infinite;
}
@keyframes citizenPulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(1.3);} }
.citizen-card-actions { display: flex; align-items: center; gap: 6px; }
.citizen-subscribe-btn {
    padding: 5px 12px !important;
    background: linear-gradient(135deg, #00ffd5, #00a896) !important;
    border-radius: 20px !important;
    color: #000 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}
.citizen-close {
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,80,80,.15);
    border: 1px solid rgba(255,80,80,.3);
    color: #ff7070; font-size: 13px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.citizen-card-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.citizen-item {
    display: flex !important;
    gap: 10px !important;
    padding: 10px !important;
    background: rgba(255,255,255,.03) !important;
    border: 1.5px solid rgba(0,255,213,.2) !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all .25s !important;
    color: #fff !important;
}
.citizen-item:hover {
    background: rgba(0,255,213,.06) !important;
    border-color: rgba(0,255,213,.6) !important;
    transform: translateX(-3px) !important;
}
.citizen-item-image {
    width: 70px !important; height: 70px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
}
.citizen-item-content { flex: 1; min-width: 0; }
.citizen-item-journalist { color: #00ffd5; font-size: 10px; font-weight: 900; margin-bottom: 4px; }
.citizen-item-title {
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.citizen-item-meta {
    color: #7fd8d0;
    font-size: 10px;
    opacity: .7;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed rgba(0,255,213,.15);
    display: flex;
    gap: 10px;
}
.citizen-card-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    background: linear-gradient(135deg, rgba(255,180,0,.08), rgba(255,120,0,.03)) !important;
    border-top: 1px solid rgba(255,180,0,.3) !important;
    flex-shrink: 0 !important;
    flex-wrap: wrap !important;
}
.citizen-footer-text { color: #ffb400; font-size: 12.5px; font-weight: 700; }
.citizen-footer-btn {
    padding: 10px 20px !important;
    background: linear-gradient(135deg, #ffb400, #ff7800) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #000 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

/* ═══════════════════════════════════════════════════ */
/* 🎯 كارت الأخبار العالمية */
/* ═══════════════════════════════════════════════════ */
.news-card {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.7) !important;
    z-index: 9999999 !important;
    max-width: 720px !important;
    width: 90% !important;
    background: linear-gradient(135deg, rgba(10,22,40,.98), rgba(5,10,18,.98)) !important;
    border: 2px solid rgba(0,255,213,.6) !important;
    border-radius: 20px !important;
    padding: 28px 32px !important;
    box-shadow: 0 0 60px rgba(0,255,213,.4), 0 20px 80px rgba(0,0,0,.8) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    transition: all .6s cubic-bezier(.34, 1.56, .64, 1) !important;
    direction: rtl !important;
    text-align: right !important;
    backdrop-filter: blur(20px) !important;
}
.news-card.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, -50%) scale(1) !important;
    pointer-events: auto !important;
}
.news-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(0,255,213,.2) !important;
}
.news-source {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #00ffd5 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}
.live-dot-small {
    width: 8px; height: 8px;
    background: #ff3b3b; border-radius: 50%;
    animation: livePulse 1s infinite;
}
@keyframes livePulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(1.3);} }
.news-badge {
    background: linear-gradient(135deg, #ff3b3b, #cc0000);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 900;
}
.news-title { color: #fff !important; font-size: 21px !important; font-weight: 900 !important; line-height: 1.5 !important; margin: 0 0 12px !important; }
.news-desc { color: #c8e6e0 !important; font-size: 15px !important; line-height: 1.75 !important; margin: 12px 0 0 !important; padding-right: 14px !important; border-right: 3px solid rgba(0,255,213,.6) !important; }
.news-footer {
    margin-top: 16px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(0,255,213,.15) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}
.news-time { color: #7fd8d0 !important; font-size: 12px !important; font-family: monospace !important; }
.news-link {
    color: #00ffd5 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 6px 14px !important;
    background: rgba(0,255,213,.1) !important;
    border: 1px solid rgba(0,255,213,.3) !important;
    border-radius: 10px !important;
}
.news-progress {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: rgba(0,255,213,.1) !important;
    border-radius: 0 0 20px 20px !important;
    overflow: hidden !important;
}
.news-progress-bar {
    height: 100% !important;
    background: linear-gradient(90deg, #00ffd5, #ff3b3b) !important;
    width: 0%;
    transition: width 6s linear !important;
}
/* ═══════════════════════════════════════════════════════════ */
/* 🌍 شريط الأخبار العالمية الماركي */
/* ═══════════════════════════════════════════════════════════ */

.world-news-ticker {
    position: relative;
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
    margin: 20px 0;
    background: transparent;
    direction: rtl;
}

.world-news-ticker .wnt-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    animation: wntScroll 60s linear infinite;
    will-change: transform;
    padding: 0 10px;
}

.world-news-ticker:hover .wnt-track {
    animation-play-state: paused;
}

@keyframes wntScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══ الكارت الواحد (بنفس تكوين news-card) ═══ */
.wnt-card {
    flex-shrink: 0;
    min-width: 380px;
    max-width: 480px;
    background: rgba(10, 22, 40, 0.55);
    border: 1px solid rgba(0, 255, 213, 0.15);
    border-radius: 14px;
    padding: 16px 20px;
    direction: rtl;
    text-align: right;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    color: inherit;
    display: block;
}

.wnt-card:hover {
    border-color: rgba(0, 255, 213, 0.6);
    background: rgba(10, 22, 40, 0.75);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 213, 0.15);
}

/* ═══ الهيدر (المصدر + الشارة) ═══ */
.wnt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 255, 213, 0.15);
}

.wnt-source {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00ffd5;
    font-size: 12px;
    font-weight: 900;
}

.wnt-live-dot {
    width: 7px;
    height: 7px;
    background: #ff3b3b;
    border-radius: 50%;
    animation: wntLivePulse 1s infinite;
}

@keyframes wntLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.3); }
}

.wnt-badge {
    background: linear-gradient(135deg, #ff3b3b, #cc0000);
    color: #fff;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 900;
}

/* ═══ العنوان ═══ */
.wnt-title {
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ═══ الوصف ═══ */
.wnt-desc {
    color: #c8e6e0;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-right: 10px;
    border-right: 2px solid rgba(0, 255, 213, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ═══ الفوتر (الوقت + الرابط) ═══ */
.wnt-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px dashed rgba(0, 255, 213, 0.15);
    font-size: 11px;
}

.wnt-time {
    color: #7fd8d0;
    opacity: 0.7;
}

.wnt-link {
    color: #00ffd5;
    font-weight: 700;
    font-size: 11px;
    text-decoration: none;
}

.wnt-link:hover {
    text-decoration: underline;
}

/* ═══ الموبايل ═══ */
@media (max-width: 768px) {
    .world-news-ticker {
        padding: 15px 0;
        margin: 15px 0;
    }
    
    .world-news-ticker .wnt-track {
        gap: 12px;
        animation-duration: 45s;
    }
    
    .wnt-card {
        min-width: 300px;
        max-width: 340px;
        padding: 12px 15px;
    }
    
    .wnt-title {
        font-size: 13px;
    }
    
    .wnt-desc {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 480px) {
    .wnt-card {
        min-width: 260px;
        max-width: 300px;
    }
    
    .wnt-title {
        font-size: 12px;
    }
}