/* ==========================================================================
   نظام التصميم الفاخر - الثيم المظلم (Mawsuaa Pro - Luxury Dark Theme)
   متجاوب بالكامل | Mobile-First | يدعم RTL و LTR
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
    --bg-dark: #070a13;
    --bg-card: #0f172a;
    --bg-card-hover: #162238;
    --bg-surface: #1e293b;
    --primary-color: #d4af37; /* ذهبي ملكي */
    --primary-hover: #e6c35c;
    --primary-glow: rgba(212, 175, 55, 0.25);
    --secondary-color: #38bdf8;
    --accent-color: #f59e0b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.28);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Tajawal', 'Cairo', sans-serif;
    --header-height: 80px;
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 25px var(--primary-glow);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* RTL / LTR Adjustments */
[dir="rtl"] {
    text-align: right;
}
[dir="ltr"] {
    text-align: left;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 10, 19, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.brand-logo-img {
    height: 40px;
    width: auto;
    max-width: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px var(--primary-glow));
    transition: var(--transition);
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 4px 14px var(--primary-color));
}

.brand-logo-text {
    font-size: 1.45rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.logo-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #070a13;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 900;
    box-shadow: 0 2px 10px var(--primary-glow);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    display: none;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    position: relative;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .nav-menu {
        gap: 20px;
    }
    .nav-link {
        display: block;
    }
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Switcher */
.lang-switcher {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-switcher:hover {
    background: var(--primary-color);
    color: #070a13;
    box-shadow: var(--shadow-glow);
}

/* Mobile Toggle */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

@media (min-width: 992px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-toggle span {
    width: 100%;
    height: 2.5px;
    background: var(--primary-color);
    border-radius: 4px;
    transition: var(--transition);
}

/* Mobile Dropdown */
.mobile-nav-panel {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 10, 19, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px 20px;
    z-index: 999;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
    border-top: 1px solid var(--border-color);
}

.mobile-nav-panel.open {
    display: flex;
}

.mobile-nav-panel .nav-link {
    font-size: 1.15rem;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #c29d2b);
    color: #070a13;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e5bf43, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-gold);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    color: var(--primary-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    width: 100%;
}

/* Typography & Section Titles */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.8rem;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 80px 0 100px 0;
    background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-gold);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.9;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.hero-visual img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-visual:hover img {
    transform: scale(1.03);
}

/* Cards & Grid Systems */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Card Component */
.luxury-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.luxury-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.8), 0 0 20px rgba(212,175,55,0.15);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--border-gold);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
}

[dir="ltr"] .card-badge {
    right: auto;
    left: 20px;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 22px;
    flex-grow: 1;
}

/* Feature Checklists in Cards */
.feature-list {
    margin: 18px 0 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.feature-check {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1rem;
    line-height: 1;
}

/* Pricing Display */
.price-tag {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 16px 0 24px 0;
}

.price-val {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.price-old {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: var(--text-dim);
}

.price-sub {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.product-img-box {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #000;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-box img {
    transform: scale(1.06);
}

.product-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.82rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* Blog Cards */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
}

.blog-img {
    height: 210px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Stats Counter Section */
.stats-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.4);
}

.stat-box {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 6px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 13px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

/* Alerts */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 600;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* Modal Popup */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    max-width: 550px;
    width: 100%;
    padding: 35px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.9);
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 1.5rem;
    cursor: pointer;
}

[dir="ltr"] .modal-close {
    left: auto;
    right: 20px;
}

.modal-close:hover {
    color: #fff;
}

/* Footer */
.site-footer {
    background: #04060c;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 25px 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
    }
}

.footer-col h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 22px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 35px;
    height: 2.5px;
    background: var(--primary-color);
    margin-top: 8px;
    border-radius: var(--radius-full);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-inline-start: 6px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.social-btn:hover {
    background: var(--primary-color);
    color: #070a13;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

/* ==========================================================================
   القائمة الجانبية القابلة للطي (Collapsible Sidebar / Mobile Menu)
   ========================================================================== */
.site-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.site-sidebar-overlay.active,
.site-sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.site-collapsible-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 300px;
    max-width: 100%;
    background: var(--sb-bg, #0d131f);
    color: var(--sb-text, #f8fafc);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
    box-shadow: none;
    visibility: hidden;
    right: -300px;
    left: auto;
    transform: translateX(100%);
}

/* في الوضع العربي (RTL) - إخفاء القائمة بالكامل خارج الشاشة من اليمين */
[dir="rtl"] .site-collapsible-sidebar,
html[dir="rtl"] .site-collapsible-sidebar,
body[dir="rtl"] .site-collapsible-sidebar {
    right: -300px;
    left: auto;
    transform: translateX(100%);
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* في الوضع الإنجليزي (LTR) - إخفاء القائمة بالكامل خارج الشاشة من اليسار */
[dir="ltr"] .site-collapsible-sidebar,
html[dir="ltr"] .site-collapsible-sidebar,
body[dir="ltr"] .site-collapsible-sidebar {
    left: -300px;
    right: auto;
    transform: translateX(-100%);
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

/* عند فتح وتفعيل القائمة (Active / Open State) */
.site-collapsible-sidebar.open,
.site-collapsible-sidebar.active,
[dir="rtl"] .site-collapsible-sidebar.open,
[dir="rtl"] .site-collapsible-sidebar.active {
    right: 0 !important;
    left: auto !important;
    transform: translateX(0) !important;
    visibility: visible !important;
    box-shadow: -5px 0 35px rgba(0, 0, 0, 0.7);
}

[dir="ltr"] .site-collapsible-sidebar.open,
[dir="ltr"] .site-collapsible-sidebar.active {
    left: 0 !important;
    right: auto !important;
    transform: translateX(0) !important;
    visibility: visible !important;
    box-shadow: 5px 0 35px rgba(0, 0, 0, 0.7);
}

.sidebar-header {
    padding: 22px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sidebar-brand-box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.sidebar-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--sb-accent, #d4af37);
}

.sidebar-title-text {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--sb-text, #f8fafc);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--sb-text, #f8fafc);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.sidebar-close-btn:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
    transform: rotate(90deg);
}

.sidebar-body {
    padding: 20px 14px;
    overflow-y: auto;
    flex-grow: 1;
}

.sidebar-nav-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: var(--sb-text, #f8fafc);
    opacity: 0.88;
    border-radius: var(--radius-md);
    font-size: 0.96rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
}

.sidebar-nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sb-accent, #d4af37);
    font-size: 0.95rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.sidebar-arrow {
    margin-inline-start: auto;
    font-size: 0.75rem;
    opacity: 0.4;
    transition: transform 0.2s ease;
}

[dir="ltr"] .sidebar-arrow {
    transform: rotate(180deg);
}

.sidebar-nav-link:hover,
.sidebar-nav-link.active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.3);
    opacity: 1;
    color: #fff;
    padding-inline-start: 20px;
}

.sidebar-nav-link.active {
    border-color: var(--sb-accent, #d4af37);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), transparent);
}

.sidebar-nav-link:hover .sidebar-nav-icon,
.sidebar-nav-link.active .sidebar-nav-icon {
    background: var(--sb-accent, #d4af37);
    color: #070a13;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.sidebar-quick-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.sidebar-contact-item {
    font-size: 0.85rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-contact-item i {
    color: var(--sb-accent, #d4af37);
}

.sidebar-contact-item:hover {
    color: var(--sb-text, #f8fafc);
}

/* Sidebar Toggle Trigger Button in Header */
.sidebar-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.05rem;
    transition: var(--transition);
    flex-shrink: 0;
    margin-inline-start: 10px; /* يفصله عن جهة الشعار */
    margin-inline-end: 8px;   /* يفصله عن رابط الرئيسية */
}

.sidebar-toggle-btn:hover {
    background: var(--primary-color);
    color: #070a13;
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .nav-menu {
        margin-inline-start: 12px;
        margin-inline-end: auto;
    }
    .sidebar-toggle-btn {
        margin-inline-start: 0;
        margin-inline-end: 0;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   شاشة الدخول التفاعلية (Fast Luxury Splash Screen Overlay)
   تظهر لمحة سريعة (500ms - 800ms) ثم تختفي فوراً وتكشف محتوى الموقع
   ========================================================================== */
.site-splash-screen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: #060911;
    background-image: 
        radial-gradient(circle at 50% 45%, rgba(212, 175, 55, 0.16) 0%, transparent 60%),
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    /* حماية أمان CSS: تختفي تلقائياً بعد 750 ملي ثانية حتى لو توقف أي سكربت */
    animation: splashAutoDismiss 0.35s 0.75s forwards cubic-bezier(0.4, 0, 0.2, 1);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-splash-screen.fade-out {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(1.02);
    pointer-events: none !important;
}

.splash-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    z-index: 2;
}

.splash-logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.splash-glow-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    animation: splashPulse 1.2s infinite alternate ease-in-out;
}

.splash-orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(212, 175, 55, 0.35);
    animation: splashRotate 4s linear infinite;
}

.splash-logo-img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    z-index: 3;
    filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.6));
    animation: splashLogoDraw 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-site-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 30%, var(--primary-color) 80%, #fff4cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: splashFadeIn 0.35s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-loader-bar {
    width: 160px;
    height: 3.5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.splash-loader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #dfb743, #fff4cc, var(--primary-color));
    border-radius: 9999px;
    box-shadow: 0 0 12px var(--primary-color);
    animation: splashProgress 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes splashLogoDraw {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(10px);
        filter: drop-shadow(0 0 0px transparent);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.6));
    }
}

@keyframes splashFadeIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes splashProgress {
    0% { width: 0%; }
    50% { width: 60%; }
    100% { width: 100%; }
}

@keyframes splashPulse {
    0% { transform: scale(0.92); opacity: 0.4; }
    100% { transform: scale(1.1); opacity: 0.85; }
}

@keyframes splashRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* إخفاء ذاتي وتلقائي عبر CSS */
@keyframes splashAutoDismiss {
    0% {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    99% {
        opacity: 0;
        visibility: visible;
        pointer-events: none;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        display: none !important;
    }
}

/* ==========================================================================
   تنسيقات أقسام الصفحة الرئيسية الديناميكية (100% Dynamic Homepage Sections)
   ========================================================================== */
.section-dynamic {
    padding: 90px 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.section-dynamic:nth-child(even) {
    background: rgba(15, 23, 42, 0.45);
}

/* 1. التوزيع الثنائي المتجاوب (Dynamic Two Column Layout) */
.dynamic-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 45px;
    align-items: center;
}

@media (min-width: 992px) {
    .dynamic-two-col {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    /* في الواجهة العربية RTL */
    [dir="rtl"] .layout-image_left .dynamic-text { order: 1; }
    [dir="rtl"] .layout-image_left .dynamic-visual { order: 2; }
    [dir="rtl"] .layout-image_right .dynamic-visual { order: 1; }
    [dir="rtl"] .layout-image_right .dynamic-text { order: 2; }

    /* في الواجهة الإنجليزية LTR */
    [dir="ltr"] .layout-image_left .dynamic-visual { order: 1; }
    [dir="ltr"] .layout-image_left .dynamic-text { order: 2; }
    [dir="ltr"] .layout-image_right .dynamic-text { order: 1; }
    [dir="ltr"] .layout-image_right .dynamic-visual { order: 2; }
}

.dynamic-img-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), var(--shadow-glow);
    transition: var(--transition);
}

.dynamic-img-frame:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.9), 0 0 35px var(--primary-glow);
}

.dynamic-img-frame img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.dynamic-content-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.dynamic-action-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

/* 2. تنسيق بطاقات الشبكة (Grid Cards Layout) */
.layout-grid_cards .dynamic-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .layout-grid_cards .dynamic-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .layout-grid_cards .dynamic-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 3. تنسيق المحتوى المركزي الفاخر (Center Content Layout) */
.layout-center_content .center-box {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.layout-center_content .center-card-showcase {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 45px 35px;
    box-shadow: var(--shadow-card);
    margin-top: 30px;
}

/* 4. تنسيق بانر الدعوة لاتخاذ إجراء (CTA Banner Layout) */
.layout-cta_banner {
    padding: 100px 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.16) 0%, transparent 70%), #070a13;
    text-align: center;
}

.layout-cta_banner .cta-container {
    max-width: 820px;
    margin: 0 auto;
}

.layout-cta_banner .section-title {
    font-size: 2.6rem;
    margin-bottom: 20px;
}

.layout-cta_banner .section-subtitle {
    font-size: 1.15rem;
    margin-bottom: 35px;
}

.layout-cta_banner .dynamic-action-btns {
    justify-content: center;
}

/* ==========================================================================
   قسم خدماتنا المخصص بالصفحة الرئيسية (Homepage Custom Services Section)
   ========================================================================== */
.homepage-services-section {
    padding: 95px 0;
    position: relative;
    background: linear-gradient(180deg, rgba(13, 19, 33, 0.75) 0%, rgba(7, 10, 19, 0.98) 100%);
    border-bottom: 1px solid var(--border-color);
}

.homepage-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
    width: 100%;
}

@media (max-width: 640px) {
    .homepage-services-grid {
        grid-template-columns: 1fr;
    }
}

.homepage-service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    position: relative;
    height: 100%;
}

.homepage-service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.85), 0 0 25px rgba(212, 175, 55, 0.18);
}

.service-card-media {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #090e18;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.homepage-service-card:hover .service-card-img {
    transform: scale(1.08);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(13, 19, 31, 0.85) 100%);
    pointer-events: none;
}

.service-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, #070b14 75%);
    color: var(--primary-color);
    font-size: 3rem;
}

.service-card-body {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.homepage-service-card:hover .service-card-title {
    color: var(--primary-color);
}

.service-card-desc {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.8;
    margin-bottom: 22px;
}

.service-card-footer {
    margin-top: auto;
    padding-top: 8px;
}

.service-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.service-card-btn:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

[dir="ltr"] .service-card-body {
    text-align: left;
}

[dir="rtl"] .service-card-body {
    text-align: right;
}

/* ==========================================================================
   باقات التسويق الإلكتروني الديناميكية (Dynamic Marketing Packages & Features)
   ========================================================================== */
.marketing-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 45px auto 70px auto;
}

.marketing-package-card {
    background: #141c2b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    position: relative;
}

.marketing-package-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
}

/* هيدر الباقة بخلفية خضراء داكنة */
.package-header {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    padding: 22px 20px;
    text-align: center;
    border-bottom: 2px solid #10b981;
    position: relative;
}

.package-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* صندوق الأسعار */
.package-pricing-box {
    padding: 24px 20px 20px 20px;
    text-align: center;
    background: rgba(10, 14, 23, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.package-old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.85;
}

.package-new-price {
    color: #d4af37;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.package-period {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 6px;
}

/* قائمة المميزات والخصائص */
.package-features-list {
    padding: 10px 0;
    margin: 0;
    list-style: none;
    flex-grow: 1;
}

.package-feature-item {
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
    gap: 12px;
}

.package-feature-item:last-child {
    border-bottom: none;
}

.package-feature-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.feature-item-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}

.feature-icon {
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    flex-shrink: 0;
}

.feature-icon.avail {
    color: #10b981;
}

.feature-icon.not-avail {
    color: #ef4444;
}

.feature-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.4;
}

.package-feature-item.unavailable .feature-name {
    color: #64748b;
}

/* الشارة الزرقاء المخصصة للكمية/الحد */
.feature-limit-badge {
    background: #0284c7;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
    flex-shrink: 0;
}

.package-feature-item.unavailable .feature-limit-badge {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    box-shadow: none;
}

/* فوتر الكارت وزر الاشتراك العريض */
.package-card-footer {
    padding: 22px;
    margin-top: auto;
    background: rgba(10, 14, 23, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.package-subscribe-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
    color: #000000;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 15px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-decoration: none;
}

.package-subscribe-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d4af37 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.package-subscribe-btn:hover {
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
    filter: brightness(1.08);
    color: #000000;
}

/* ==========================================================================
   قائمة خدمات السوشيال ميديا (SMM Services Table & Categories)
   ========================================================================== */
.smm-page-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.smm-category-container {
    background-color: #24272e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.smm-category-container:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.smm-category-header {
    background-color: #1e2026;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: right;
}

[dir="ltr"] .smm-category-header {
    text-align: left;
}

.smm-category-header i {
    font-size: 1.25rem;
    color: #d4af37;
    width: 24px;
    text-align: center;
}

.smm-category-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.3px;
}

.smm-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.smm-services-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    min-width: 780px;
}

[dir="ltr"] .smm-services-table {
    text-align: left;
}

.smm-services-table th {
    background-color: #1e2026;
    color: #d4af37;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 15px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.25);
    white-space: nowrap;
}

.smm-services-table td {
    padding: 12px 15px;
    color: #f1f5f9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.92rem;
    vertical-align: middle;
}

.smm-services-table tbody tr {
    transition: background-color 0.2s ease;
}

.smm-services-table tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

.smm-service-id {
    font-weight: 700;
    color: #94a3b8;
    font-size: 0.88rem;
}

.smm-service-name {
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}

.smm-service-price {
    color: #d4af37;
    font-weight: 800;
    font-size: 1.05rem;
    white-space: nowrap;
}

.smm-service-limits {
    color: var(--text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

.smm-service-time {
    color: #38bdf8;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* زر عرض الوصف المنبثق */
.smm-btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    background: transparent;
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.smm-btn-view:hover {
    background: var(--primary-color);
    color: #000000;
    box-shadow: 0 0 12px var(--primary-glow);
}

/* نافذة الوصف المنبثقة (SMM Description Modal) */
.smm-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.smm-modal.active {
    display: flex;
    opacity: 1;
}

.smm-modal-content {
    background: #0f172a;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 620px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), var(--shadow-glow);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.smm-modal.active .smm-modal-content {
    transform: translateY(0);
}

.smm-modal-header {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.smm-modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.smm-modal-title i {
    color: var(--primary-color);
}

.smm-modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.smm-modal-close:hover {
    color: #ffffff;
}

.smm-modal-body {
    padding: 25px;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.9;
    max-height: 65vh;
    overflow-y: auto;
}

.smm-modal-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.smm-modal-meta-item {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.smm-modal-meta-item strong {
    color: #ffffff;
}

.smm-modal-footer {
    padding: 18px 25px;
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}





