@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&display=swap');

:root {
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --card-bg: #ffffff;
    --card-border: rgba(56, 189, 248, 0.2);
    --primary-color: #0284c7;
    --accent-color: #38bdf8;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

body.dark-mode {
    --bg-color: #030712;
    --text-color: #f8fafc;
    --card-bg: rgba(15, 23, 42, 0.7);
    --card-border: rgba(56, 189, 248, 0.25);
    --primary-color: #38bdf8;
    --accent-color: #818cf8;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* الهيدر الرئيسي */
.page-header {
    width: 100%;
    max-height: 320px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 2;
}

.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transform: scale(1.02);
    animation: headerZoom 15s ease-in-out infinite alternate;
}

@keyframes headerZoom {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.08); }
}

/* الحاوية الرئيسية */
.main-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px;
    flex: 1;
    position: relative;
    z-index: 10;
}

/* شريط التحكم (اللغة والوضع الداكن) */
.controls-bar {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    padding: 12px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px !important;
}

.lang-btn, .theme-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border: none;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover, .theme-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

/* شبكة الرياضات */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* بطاقات الرياضات والحصص */
.sport-card, .sport-card-privet, .sport-card-soon {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    position: relative;
}

.sport-card:hover, .sport-card-privet:hover, .sport-card-soon:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px -15px rgba(56, 189, 248, 0.3);
}

.coach-img {
    width: 100%;
    height: 210px;
    overflow: hidden;
    position: relative;
}

.coach-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; 
    transition: transform 0.6s ease;
}

.sport-card:hover .coach-img img,
.sport-card-privet:hover .coach-img img,
.sport-card-soon:hover .coach-img img {
    transform: scale(1.08);
}

.sport-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sport-brand {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-color);
}

.sport-specs {
    list-style: none;
    margin-bottom: 20px;
    flex: 1;
}

.sport-specs li {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 6px;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.more-btn, .registration-btn, .opinion-btn {
    display: inline-block;
    text-align: center;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.more-btn {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--card-border);
}

.more-btn:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--accent-color);
}

.registration-btn {
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.registration-btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(56, 189, 248, 0.4);
}

.opinion-btn {
    background: linear-gradient(135deg, #818cf8, #c084fc);
    color: #fff;
    border: none;
    padding: 14px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(129, 140, 248, 0.3);
}

.opinion-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(192, 132, 252, 0.5);
}

/* ==========================================
   خلفية الأمواج والإضاءات الهادئة والمرتبة
   ========================================== */
.waves-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

/* إضاءات خلفية هادئة وناعمة (تتنفّس ببطء شديد بدون أي ومضات) */
.waves-wrapper .particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.15;
    animation: smoothGlow 12s ease-in-out infinite alternate;
}

.waves-wrapper .particle:nth-child(1) {
    width: 350px;
    height: 350px;
    top: 10%;
    left: 15%;
    background: #38bdf8;
    animation-delay: 0s;
}

.waves-wrapper .particle:nth-child(2) {
    width: 450px;
    height: 450px;
    top: 30%;
    right: 10%;
    background: #0284c7;
    animation-duration: 16s;
    animation-delay: 4s;
}

.waves-wrapper .particle:nth-child(3) {
    width: 300px;
    height: 300px;
    bottom: 20%;
    left: 30%;
    background: #818cf8;
    animation-duration: 14s;
    animation-delay: 2s;
}

@keyframes smoothGlow {
    0% {
        transform: scale(0.9) translate(0, 0);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1) translate(20px, -15px);
        opacity: 0.22;
    }
    100% {
        transform: scale(1) translate(-15px, 20px);
        opacity: 0.12;
    }
}

/* الأمواج المتحركة بانسيابية عالية ووضوح جميل */
.wave {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 200%;
    height: 220px;
    background-repeat: repeat-x;
}

.wave-one {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0,20 C150,110 350,-20 500,40 C650,100 900,0 1200,30 L1200,120 L0,120 Z" fill="%2338bdf8" fill-opacity="0.20"/></svg>');
    animation: waveFlow 18s linear infinite;
    z-index: 1;
}

.wave-two {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0,40 C200,10 400,90 600,50 C800,10 1000,80 1200,40 L1200,120 L0,120 Z" fill="%230284c7" fill-opacity="0.16"/></svg>');
    animation: waveFlowReverse 24s linear infinite;
    bottom: -75px;
    z-index: 2;
}

.wave-three {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0,10 C180,80 360,20 540,60 C720,100 960,30 1200,50 L1200,120 L0,120 Z" fill="%23818cf8" fill-opacity="0.12"/></svg>');
    animation: waveFlow 30s linear infinite;
    bottom: -90px;
    z-index: 3;
}

.wave-four {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 C250,20 450,110 700,40 C950,-20 1050,90 1200,60 L1200,120 L0,120 Z" fill="%2338bdf8" fill-opacity="0.10"/></svg>');
    animation: waveFlowReverse 14s linear infinite;
    bottom: -45px;
    z-index: 4;
}

@keyframes waveFlow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes waveFlowReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* الفوتر */
footer {
    text-align: center;
    padding: 25px;
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    position: relative;
    z-index: 10;
    margin-top: auto;
    font-size: 0.95rem;
    opacity: 0.85;
}

.intro-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #2e1147 0%, #120521 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 99999;
            transition: opacity 0.8s ease, visibility 0.8s ease;
        }

        .bg-lines {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
            opacity: 0.15;
        }

        .bg-lines span {
            position: absolute;
            display: block;
            width: 200px;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            animation: moveLines 6s linear infinite;
        }

        .bg-lines span:nth-child(1) { left: 10%; animation-delay: 0s; }
        .bg-lines span:nth-child(2) { left: 50%; animation-delay: 2s; }
        .bg-lines span:nth-child(3) { left: 80%; animation-delay: 4s; }

        @keyframes moveLines {
            0% { transform: translateY(-100%); }
            100% { transform: translateY(100%); }
        }

        /* تم تكبير مقاسات اللوجو هنا */
        .logo-box {
            position: relative;
            z-index: 2;
            width: 180px;
            height: 180px;
            border: 4px dashed rgba(168, 85, 247, 0.7);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 30px;
            animation: logoSpinAndPulse 3s ease-in-out infinite;
            background: rgba(46, 17, 71, 0.6);
            box-shadow: 0 0 35px rgba(147, 51, 234, 0.5);
        }

        .logo-box img {
            width: 130px;
            height: 130px;
            object-fit: contain;
            border-radius: 50%;
        }

        @keyframes logoSpinAndPulse {
            0% {
                transform: scale(0.95) rotate(0deg);
                box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
            }
            50% {
                transform: scale(1.08) rotate(180deg);
                box-shadow: 0 0 50px rgba(168, 85, 247, 0.8);
            }
            100% {
                transform: scale(0.95) rotate(360deg);
                box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
            }
        }

        .text-content {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 0 20px;
        }

        .intro-title {
            font-family: 'Cairo', sans-serif;
            font-size: 2.2rem;
            color: #ffffff;
            margin-bottom: 10px;
            text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
            letter-spacing: 1px;
            transition: opacity 0.4s ease;
        }

        .welcome-text {
            font-family: 'Cairo', sans-serif;
            font-size: 1.4rem;
            color: #d8b4fe;
            font-weight: 700;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 1s forwards 0.5s;
            transition: opacity 0.4s ease;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

                .intro-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #2e1147 0%, #120521 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 99999;
            transition: opacity 0.6s ease, visibility 0.6s ease;
        }

        .bg-lines {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
            opacity: 0.15;
        }

        .bg-lines span {
            position: absolute;
            display: block;
            width: 200px;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            animation: moveLines 6s linear infinite;
        }

        .bg-lines span:nth-child(1) { left: 10%; animation-delay: 0s; }
        .bg-lines span:nth-child(2) { left: 50%; animation-delay: 2s; }
        .bg-lines span:nth-child(3) { left: 80%; animation-delay: 4s; }

        @keyframes moveLines {
            0% { transform: translateY(-100%); }
            100% { transform: translateY(100%); }
        }

        /* تم تكبير مقاسات اللوجو هنا */
        .logo-box {
            position: relative;
            z-index: 2;
            width: 180px;
            height: 180px;
            border: 4px dashed rgba(168, 85, 247, 0.7);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 30px;
            animation: logoSpinAndPulse 3s ease-in-out infinite;
            background: rgba(46, 17, 71, 0.6);
            box-shadow: 0 0 35px rgba(147, 51, 234, 0.5);
        }

        .logo-box img {
            width: 130px;
            height: 130px;
            object-fit: contain;
            border-radius: 50%;
        }

        @keyframes logoSpinAndPulse {
            0% {
                transform: scale(0.95) rotate(0deg);
                box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
            }
            50% {
                transform: scale(1.08) rotate(180deg);
                box-shadow: 0 0 50px rgba(168, 85, 247, 0.8);
            }
            100% {
                transform: scale(0.95) rotate(360deg);
                box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
            }
        }

        .text-content {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 0 20px;
        }

        .intro-title {
            font-family: 'Cairo', sans-serif;
            font-size: 2.2rem;
            color: #ffffff;
            margin-bottom: 10px;
            text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
            transition: opacity 0.3s ease;
        }

        .welcome-text {
            font-family: 'Cairo', sans-serif;
            font-size: 1.4rem;
            color: #d8b4fe;
            font-weight: 700;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s forwards 0.3s;
            transition: opacity 0.3s ease;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

            /* التحكم بظهور النصوص العربية والإنجليزية بناءً على لغة الصفحة الحالية */
    html[dir="rtl"] .en-text,
    html[dir="ltr"] .ar-text {
        display: none !important;
    }

    /* التثبيت في زاوية الصفحة العلوية (يمين للعرّبية، يسار للإنجليزية) */
    .side-info-container {
        position: fixed;
        top: 20px;
        z-index: 99999;
        font-family: 'Cairo', sans-serif;
    }

    html[dir="rtl"] .side-info-container {
        right: 20px;
    }

    html[dir="ltr"] .side-info-container {
        left: 20px;
    }

    /* تصميم الزر الرئيسي */
    .side-main-btn {
        background: linear-gradient(135deg, #9333ea, #6b21a8);
        color: white;
        border: none;
        padding: 10px 14px;
        border-radius: 30px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
        transition: background 0.3s ease, transform 0.2s ease;
    }

    .menu-icon-symbol {
        font-size: 16px;
        font-weight: bold;
    }

    .side-main-btn:hover {
        background: linear-gradient(135deg, #a855f7, #7e22ce);
        transform: scale(1.05);
    }

    .arrow-icon {
        font-size: 8px;
        transition: transform 0.3s ease;
    }

    /* القائمة المنسدلة */
    .side-submenu {
        position: absolute;
        top: 125%;
        background: rgba(26, 11, 46, 0.98);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(168, 85, 247, 0.3);
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
        width: 190px;
        display: none;
        flex-direction: column;
        overflow: hidden;
        animation: fadeInSubSide 0.3s ease;
    }

    html[dir="rtl"] .side-submenu {
        right: 0;
        text-align: right;
    }

    html[dir="ltr"] .side-submenu {
        left: 0;
        text-align: left;
    }

    @keyframes fadeInSubSide {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* عناصر القائمة الرئيسية */
    .side-submenu-item {
        padding: 11px 15px;
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: background 0.2s ease, padding-inline-start 0.2s ease;
    }

    .side-submenu-item:hover {
        background: rgba(147, 51, 234, 0.4);
    }

    /* مجموعة الرياضات المتوفرة */
    .submenu-group {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: rgba(0, 0, 0, 0.2);
    }

    /* العنوان الرئيسي للرياضات (بخط أصغر) */
    .side-submenu-title {
        padding: 8px 15px;
        color: #c084fc;
        font-size: 12px; /* خط أصغر كما طلبت */
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* عناصر الرياضات الفرعية الأربع */
    .side-submenu-subitem {
        padding: 7px 15px 7px 25px; /* مسافة أعمق قليلاً للتمييز */
        color: #e2e8f0;
        text-decoration: none;
        font-size: 12px; /* خط أصغر ومناسب */
        display: block;
        transition: background 0.2s ease, color 0.2s ease;
    }

    html[dir="ltr"] .side-submenu-subitem {
        padding: 7px 25px 7px 15px;
    }

    .side-submenu-subitem:hover {
        background: rgba(147, 51, 234, 0.25);
        color: #ffffff;
    }

    /* تفعيل القائمة وإدارة السهم */
    .side-info-container.active .side-submenu {
        display: flex;
    }

    .side-info-container.active .arrow-icon {
        transform: rotate(180deg);
    }

            /* التحكم بظهور النصوص العربية والإنجليزية بناءً على لغة الصفحة الحالية */
        html[dir="rtl"] .en-text,
        html[dir="ltr"] .ar-text {
            display: none !important;
        }

        /* التثبيت في زاوية الصفحة العلوية (يمين للعربية، يسار للإنجليزية) */
        .side-info-container {
            position: fixed;
            top: 20px;
            z-index: 99999;
            font-family: 'Cairo', sans-serif;
        }

        html[dir="rtl"] .side-info-container {
            right: 20px;
        }

        html[dir="ltr"] .side-info-container {
            left: 20px;
        }

        /* تصميم الزر الرئيسي */
        .side-main-btn {
            background: linear-gradient(135deg, #9333ea, #6b21a8);
            color: white;
            border: none;
            padding: 10px 14px;
            border-radius: 30px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
            transition: background 0.3s ease, transform 0.2s ease;
        }

        .menu-icon-symbol {
            font-size: 16px;
            font-weight: bold;
        }

        .side-main-btn:hover {
            background: linear-gradient(135deg, #a855f7, #7e22ce);
            transform: scale(1.05);
        }

        .arrow-icon {
            font-size: 8px;
            transition: transform 0.3s ease;
        }

        /* القائمة المنسدلة */
        .side-submenu {
            position: absolute;
            top: 125%;
            background: rgba(26, 11, 46, 0.98);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(168, 85, 247, 0.3);
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
            width: 190px;
            display: none;
            flex-direction: column;
            overflow: hidden;
            animation: fadeInSubSide 0.3s ease;
        }

        html[dir="rtl"] .side-submenu {
            right: 0;
            text-align: right;
        }

        html[dir="ltr"] .side-submenu {
            left: 0;
            text-align: left;
        }

        @keyframes fadeInSubSide {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* تنسيق عنوان القائمة في البداية */
        .submenu-header-title {
            padding: 10px 15px 4px 15px;
            color: #d8b4fe;
            font-size: 13px;
            font-weight: bold;
            text-align: center;
        }

        /* الخط الفاصل */
        .submenu-divider {
            height: 1px;
            background: rgba(168, 85, 247, 0.4);
            margin: 4px 10px 8px 10px;
        }

        /* عناصر القائمة الرئيسية */
        .side-submenu-item {
            padding: 10px 15px;
            color: #ffffff;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            display: block;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            transition: background 0.2s ease;
        }

        .side-submenu-item:hover {
            background: rgba(147, 51, 234, 0.4);
        }

        /* مجموعة الرياضات المتوفرة */
        .submenu-group {
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            background: rgba(0, 0, 0, 0.2);
        }

        /* العنوان الرئيسي للرياضات (بخط أصغر) */
        .side-submenu-title {
            padding: 8px 15px;
            color: #c084fc;
            font-size: 12px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* عناصر الرياضات الفرعية الأربع */
        .side-submenu-subitem {
            padding: 6px 15px 6px 25px;
            color: #e2e8f0;
            text-decoration: none;
            font-size: 12px;
            display: block;
            transition: background 0.2s ease, color 0.2s ease;
        }

        html[dir="ltr"] .side-submenu-subitem {
            padding: 6px 25px 6px 15px;
        }

        .side-submenu-subitem:hover {
            background: rgba(147, 51, 234, 0.25);
            color: #ffffff;
        }

        /* تفعيل القائمة وإدارة السهم */
        .side-info-container.active .side-submenu {
            display: flex;
        }

        .side-info-container.active .arrow-icon {
            transform: rotate(180deg);
        }

   /*
   ======================================================
   إضافات زر الواتساب و زر الانستاجرام زر العودة للأعلى
   ======================================================
    */

/* زر الواتساب العائم */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    left: 10px;
    background-color: #25d366;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

/* زر الانستجرام العائم */
.floating-instagram {
    position: fixed;
    bottom: 25px;
    left: 85px; /* تم تعديل المسافة لتكون مريحة للشاشة */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 20px rgba(214, 36, 159, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-instagram:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 25px rgba(214, 36, 159, 0.6);
}

/* زر الانتقال للأعلى */
#scrollToTopBtn {
    position: fixed;
    bottom: 95px;
    left: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTopBtn:hover {
    transform: translateY(-3px) scale(1.05);
}

/* ==========================================================================
   تنسيقات زر وقائمة الأسئلة الشائعة الفاخرة (Luxury FAQ Menu Item Styles)
   ========================================================================== */

.side-submenu .faq-menu-item {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.85) 0%, rgba(35, 20, 50, 0.7) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.35); /* لمسة ذهبية أو بنفسجية ملكية، اخترنا هنا الذهبي الملكي المائل للفخامة مع البنفسجي */
    border-radius: 12px;
    margin: 10px 14px;
    padding: 12px 18px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* خط إضاءة نيون فاخر متحرك على الحافة */
.side-submenu .faq-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #d4af37, #9333ea);
    transition: width 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

[dir="ltr"] .side-submenu .faq-menu-item::before {
    right: auto;
    left: 0;
}

/* تأثير لمعة الضوء العابر (Shimmer Effect) */
.side-submenu .faq-menu-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.06) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.7s ease;
}

.side-submenu .faq-menu-item:hover::after {
    transform: translateX(100%);
}

.side-submenu .faq-menu-item:hover {
    background: linear-gradient(135deg, rgba(30, 20, 45, 0.95) 0%, rgba(55, 25, 80, 0.85) 100%);
    border-color: rgba(212, 175, 55, 0.8);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 30px rgba(147, 51, 234, 0.35), 0 0 15px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.side-submenu .faq-menu-item:hover::before {
    width: 6px;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.9);
}

/* تنسيق النصوص لتكون أنيقة وفخمة */
.side-submenu .faq-menu-item .ar-text {
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #f3e8ff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.side-submenu .faq-menu-item .en-text {
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #d8b4fe;
    transition: all 0.3s ease;
}

.side-submenu .faq-menu-item:hover .ar-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.side-submenu .faq-menu-item:hover .en-text {
    color: #f3e8ff;
}

.shop-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border: none;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.shop-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
    color: #fff;
}