:root {
            /* Color Palette based on Reference */
            --bg-dark: #0f0f13;
            --bg-card: #181820;
            --primary: #6c5ce7; /* Purple */
            --primary-glow: rgba(108, 92, 231, 0.4);
            --accent: #00d2ff; /* Blue Cyan */
            --text-main: #ffffff;
            --text-muted: #a0a0b0;
            --border: rgba(255, 255, 255, 0.05);
            --gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Cairo', sans-serif;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-main);
            line-height: 1.6;
            overflow-x: hidden;
            background-image: radial-gradient(circle at 50% 0%, #1f1f2e 0%, var(--bg-dark) 70%);
        }

        /* --- Header Section --- */
        header {
            text-align: center;
            padding: 2rem 1rem;
            position: relative;
        }

        .logo-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 2rem;
        }

        .logo-img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 3px solid var(--primary);
            box-shadow: 0 0 20px var(--primary-glow);
            margin-bottom: 0.5rem;
            object-fit: cover;
            /* Placeholder background if no image is set */
            background: #222; 
        }
       
    

       .channel-info img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: 3px solid var(--accent);
            margin-bottom: 10px;
            box-shadow: 0 0 15px var(--primary);
        }
       

        /* Navigation Bar (Reference Style) */
        .nav-container {
            background: var(--bg-card);
            display: inline-flex;
            padding: 0.5rem;
            border-radius: 12px;
            border: 1px solid var(--border);
            gap: 0.5rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .nav-link {
            text-decoration: none;
            color: var(--text-muted);
            padding: 0.6rem 1.5rem;
            border-radius: 8px;
            font-weight: 700;
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }

        .nav-link:hover {
            color: var(--text-main);
            background: rgba(255,255,255,0.05);
        }

        .nav-link.active {
            background: var(--primary);
            color: white;
            box-shadow: 0 4px 15px var(--primary-glow);
        }

        /* --- Main Layout --- */
        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 2rem;
        }

        /* Generic Card Style */
        .card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transition: transform 0.3s ease, border-color 0.3s ease;
        }

        .card:hover {
            border-color: rgba(108, 92, 231, 0.3);
        }

        .section-title {
            font-size: 1.4rem;
            margin-bottom: 1.5rem;
            font-weight: 800;
            border-right: 4px solid var(--primary);
            padding-right: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* --- Video Section --- */
        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
            height: 0;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        /* --- Info Cards (Bonus) --- */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .stat-card {
            background: linear-gradient(145deg, #23232e, #1a1a24);
            padding: 1.5rem;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 1rem;
            border: 1px solid var(--border);
        }

        .stat-icon {
            font-size: 1.8rem;
            color: var(--accent);
            background: rgba(0, 210, 255, 0.1);
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
        }

        .stat-info h4 {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .stat-info p {
            font-size: 1.1rem;
            font-weight: 700;
        }

        .status-dot {
            width: 10px;
            height: 10px;
            background-color: #00ff88;
            border-radius: 50%;
            box-shadow: 0 0 10px #00ff88;
            display: inline-block;
            margin-left: 5px;
        }

        /* --- Description Section --- */
        .server-desc p {
            margin-bottom: 1rem;
            color: #dcdce6;
            font-size: 1.05rem;
        }

        .feature-list {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-top: 1rem;
        }

        .feature-list li {
            padding: 0.5rem 1rem;
            background: rgba(255,255,255,0.03);
            border-radius: 6px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .feature-list li i {
            color: var(--primary);
        }

              /* تنسيق معرض الصور */
        .gallery-slider {
            display: flex;
            overflow-x: auto;
            gap: 15px;
            margin-top: 20px;
            padding-bottom: 10px;
            scroll-snap-type: x mandatory;
            cursor: grab;
            user-select: none;
        }
        /* تخصيص شريط التمرير */
        .gallery-slider::-webkit-scrollbar {
            height: 8px;
        }
        .gallery-slider::-webkit-scrollbar-thumb {
            background: #6c5ce7;
            border-radius: 4px;
        }
        .gallery-slider::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 4px;
        }
        .gallery-slider.active {
            cursor: grabbing;
            scroll-snap-type: none;
        }
        .gallery-img {
            min-width: 280px;
            height: 200px;
            object-fit: cover;
            border-radius: 10px;
            border: 2px solid #333;
            transition: 0.3s;
            scroll-snap-align: start;
            -webkit-user-drag: none;
        }
        .gallery-img:hover {
            transform: scale(1.05);
            border-color: #6c5ce7;
        }
        /* تنسيق قسم الشرح */
        .tutorial-step {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 12px;
            padding: 20px;
            margin-top: 20px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }
        .tutorial-step h3 {
            color: #00d2ff;
            margin-bottom: 10px;
        }
        .tutorial-img {
            width: 100%;
            border-radius: 8px;
            margin-top: 15px;
            border: 1px solid #333;
        }

        /* --- CTA Button --- */
        .cta-container {
            text-align: center;
            margin-top: 1rem;
        }

        .btn-main {
            background: var(--gradient);
            color: white;
            padding: 1rem 3rem;
            font-size: 1.2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 800;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 4px 25px var(--primary-glow);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: none;
            cursor: pointer;
        }

        .btn-main:hover {
            transform: scale(1.05) translateY(-3px);
            box-shadow: 0 10px 40px var(--primary-glow);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .container { padding: 1rem; }
            .feature-list { grid-template-columns: 1fr; }
            .nav-link { padding: 0.5rem 1rem; font-size: 0.9rem; }
            .stats-grid { grid-template-columns: 1fr; }
        }
