/* ==========================================
   سندباد Hub - التنسيقات المخصصة (Premium Design)
   ========================================== */

* { font-family: 'Cairo', sans-serif; }

body {
    background: linear-gradient(135deg, #050505 0%, #0a0a0a 50%, #111118 100%);
    min-height: 100vh;
    color: #e5e7eb;
    transition: background 0.3s ease, color 0.3s ease;
}

/* الوضع النهاري */
body.light-mode { background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #f0f0f5 100%); color: #1a1a1a; }
body.light-mode .text-white { color: #1a1a1a !important; }
body.light-mode .text-gray-100 { color: #2a2a2a !important; }
body.light-mode .text-gray-300 { color: #4a4a4a !important; }
body.light-mode .text-gray-400 { color: #5a5a5a !important; }
body.light-mode .text-gray-500 { color: #6a6a6a !important; }
body.light-mode .bg-card { background: #ffffff !important; border-color: #e5e7eb !important; }
body.light-mode .glass-effect { background: rgba(255, 255, 255, 0.9) !important; border-color: rgba(0, 0, 0, 0.1) !important; }
body.light-mode .border-white\/10 { border-color: rgba(0, 0, 0, 0.1) !important; }
body.light-mode .border-white\/5 { border-color: rgba(0, 0, 0, 0.05) !important; }
body.light-mode .bg-white\/5 { background: rgba(0, 0, 0, 0.03) !important; }
body.light-mode .bg-white\/10 { background: rgba(0, 0, 0, 0.05) !important; }
body.light-mode select option { background-color: #ffffff !important; color: #1a1a1a !important; }
body.light-mode select { background-color: rgba(0, 0, 0, 0.05) !important; color: #1a1a1a !important; border-color: rgba(0, 0, 0, 0.1) !important; }
body.light-mode .appearance-none + div { color: #6b7280 !important; }
body.light-mode .nav-link-inactive { color: #374151 !important; }
body.light-mode .nav-link-inactive:hover { color: #FF6B00 !important; }
body.light-mode .nav-link-active { color: #FF6B00 !important; }

/* ==========================================
   عناصر بصرية عامة - عمق وفخامة
   ========================================== */

/* Gradient Text محسّن */
.gradient-text {
    background: linear-gradient(135deg, #FF6B00 0%, #FFA500 50%, #FF6B00 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ==========================================
   شريط التنقل - Navbar Premium
   ========================================== */

.nav-link { position: relative; }
.nav-link-active {
    color: #FF6B00 !important;
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}
.nav-link-inactive {
    color: #ffffff !important;
    transition: all 0.3s ease;
}
.nav-link-inactive:hover {
    color: #FF6B00 !important;
    text-shadow: 0 0 15px rgba(255, 107, 0, 0.3);
}

/* ==========================================
   القسم الرئيسي - Hero Premium
   ========================================== */

.hero-gradient {
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 107, 0, 0.15), transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 165, 0, 0.1), transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.05), transparent 60%);
    position: relative;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 107, 0, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255, 165, 0, 0.2), transparent),
        radial-gradient(2px 2px at 60% 20%, rgba(139, 92, 246, 0.2), transparent),
        radial-gradient(2px 2px at 80% 60%, rgba(59, 130, 246, 0.2), transparent);
    animation: sparkle 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ==========================================
   التأثير الزجاجي - Glass Effect Premium
   ========================================== */

.glass-effect {
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.glass-effect:hover {
    background: rgba(17, 17, 17, 0.8);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ==========================================
   بطاقات الإحصائيات - Stat Cards
   ========================================== */

.stat-card {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(255, 165, 0, 0.03));
    border: 1px solid rgba(255, 107, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.15);
}

/* ==========================================
   الشعار - Logo Premium
   ========================================== */

.sindbad-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF6B00, #FFA500);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(255, 107, 0, 0.3),
        0 0 0 1px rgba(255, 107, 0, 0.1);
    transition: all 0.3s ease;
}

.sindbad-logo::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #FF6B00, #FFA500, #FF6B00);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.sindbad-logo:hover::before {
    opacity: 1;
}

.sindbad-logo:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 6px 25px rgba(255, 107, 0, 0.4),
        0 0 0 1px rgba(255, 107, 0, 0.2);
}

/* ==========================================
   بطاقات الأدوات - Tool Cards Premium
   ========================================== */

.tool-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.tool-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.tool-card:hover .tool-icon-wrapper {
    transform: scale(1.1) translateY(-5px);
}

.tool-card:hover .tool-icon-wrapper::before {
    opacity: 0.5;
}

/* تأثير توهج ملون لكل أداة */
.tool-card {
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, var(--card-color, rgba(255, 107, 0, 0.3)) 50%, transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover::before {
    opacity: 1;
    animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 200% 50%; }
}

/* ألوان توهج مختلفة لكل أداة */
.tool-card[data-color="orange"] { --card-color: rgba(249, 115, 22, 0.4); }
.tool-card[data-color="purple"] { --card-color: rgba(168, 85, 247, 0.4); }
.tool-card[data-color="blue"] { --card-color: rgba(59, 130, 246, 0.4); }
.tool-card[data-color="emerald"] { --card-color: rgba(16, 185, 129, 0.4); }
.tool-card[data-color="pink"] { --card-color: rgba(236, 72, 153, 0.4); }

/* ==========================================
   الأزرار - Buttons Premium
   ========================================== */

/* زر رئيسي مع توهج */
.btn-primary-glow {
    position: relative;
    background: linear-gradient(135deg, #FF6B00, #FFA500);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #FF6B00, #FFA500);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.3s ease;
}

.btn-primary-glow:hover::before {
    opacity: 1;
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.4);
}

/* زر ثانوي */
.btn-secondary {
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 165, 0, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:hover {
    border-color: rgba(255, 107, 0, 0.5);
    transform: translateY(-2px);
}

/* ==========================================
   مكتبة الإلهام - Inspiration Library
   ========================================== */

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

.card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: inherit;
    transition: border-color 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.gallery-item:hover::before {
    border-color: rgba(255, 107, 0, 0.5);
}

.gallery-item:hover .card-overlay { opacity: 1; }

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ==========================================
   أنيميشنات - Animations
   ========================================== */

/* ظهور تدريجي */
.animate-fade-in-up { 
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* تأثير نبض */
.animate-pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 0, 0.2); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 0, 0.4); }
}

/* تأثير عدّاد */
.count-up {
    display: inline-block;
    animation: countUp 1s ease-out forwards;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* تأثير Shimmer */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ==========================================
   بطاقات "قريباً" - Coming Soon
   ========================================== */

.tool-card.coming-soon { cursor: not-allowed; opacity: 0.55; }
.tool-card.coming-soon:hover { transform: none; }
.coming-soon-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #d1d5db;
}

/* ==========================================
   Prompt Generator Wizard
   ========================================== */

.category-btn.active,
.category-btn:active { transform: scale(0.97); }
.type-pill:active { transform: scale(0.95); }

@keyframes toastBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}
#copyToast:not(.hidden) {
    animation: toastBounce 0.4s ease, fadeInUp 0.3s ease-out;
}

/* ==========================================
   تحسينات الوضع النهاري - Light Mode
   ========================================== */

body.light-mode .category-btn { background: rgba(0,0,0,0.03) !important; border-color: rgba(0,0,0,0.08) !important; }
body.light-mode .category-btn:hover { border-color: rgba(255,107,0,0.3) !important; }
body.light-mode .type-pill { background: rgba(0,0,0,0.03) !important; border-color: rgba(0,0,0,0.08) !important; }
body.light-mode .complexity-btn,
body.light-mode .lang-btn { background: rgba(0,0,0,0.03) !important; border-color: rgba(0,0,0,0.08) !important; color: #555 !important; }
body.light-mode #finalPrompt { color: #222 !important; }

/* ==========================================
   Footer Premium
   ========================================== */

.footer-premium {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(10, 10, 10, 0.8) 50%, rgba(17, 17, 17, 1) 100%);
    position: relative;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.3), transparent);
}

/* ==========================================
   Scroll Reveal - ظهور عند التمرير
   ========================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ==========================================
   جسيمات عائمة - Floating Particles
   ========================================== */

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 107, 0, 0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 5s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 7s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 6s; }
.particle:nth-child(4) { left: 40%; animation-delay: 0.5s; animation-duration: 8s; }
.particle:nth-child(5) { left: 50%; animation-delay: 1.5s; animation-duration: 5.5s; }
.particle:nth-child(6) { left: 60%; animation-delay: 2.5s; animation-duration: 7.5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 0.8s; animation-duration: 6.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 1.8s; animation-duration: 5.8s; }
.particle:nth-child(9) { left: 90%; animation-delay: 2.8s; animation-duration: 7.2s; }

@keyframes float {
    0%, 100% { 
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* ==========================================
   مودالات - Modals Premium
   ========================================== */

.modal-content {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content:not(.hidden) {
    transform: translate(-50%, -50%) scale(1) !important;
}

/* ==========================================
   إضافات عامة للعمق
   ========================================== */

/* ظل محسّن */
.shadow-premium {
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 10px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* حدود متحركة */
.border-animated {
    position: relative;
}

.border-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #FF6B00, #FFA500, #8B5CF6, #FF6B00);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* نص متوهج */
.text-glow {
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

/* خلفية متحركة */
.bg-animated {
    background: linear-gradient(-45deg, #050505, #0a0a0a, #111118, #0a0a0a);
    background-size: 400% 400%;
    animation: bgMove 15s ease infinite;
}

@keyframes bgMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================
   شاشة الترحيب الفاخرة - Premium Welcome Overlay
   ========================================== */

@media (max-width: 768px) {
    .welcome-overlay {
        display: none !important;
    }
}

.welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.welcome-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.welcome-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* توهج خلف الشعار */
.welcome-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.4) 0%, rgba(255, 165, 0, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: welcomeGlow 2s ease-in-out infinite alternate;
    opacity: 0;
    animation: welcomeGlowFadeIn 1s ease forwards, welcomeGlow 2s ease-in-out 1s infinite alternate;
}

@keyframes welcomeGlowFadeIn {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes welcomeGlow {
    0% { transform: scale(1); filter: blur(60px); }
    100% { transform: scale(1.2); filter: blur(80px); }
}

/* الشعار */
.welcome-logo {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: scale(0.5);
    animation: logoReveal 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s forwards;
    filter: drop-shadow(0 0 30px rgba(255, 107, 0, 0.6));
}

@keyframes logoReveal {
    0% { opacity: 0; transform: scale(0.5) rotateY(90deg); }
    50% { opacity: 1; transform: scale(1.1) rotateY(0deg); }
    100% { opacity: 1; transform: scale(1) rotateY(0deg); }
}

/* اسم الموقع */
.welcome-title {
    position: relative;
    z-index: 2;
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FF6B00 0%, #FFA500 50%, #FF6B00 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 0.6s ease 0.8s forwards;
    text-shadow: 0 0 40px rgba(255, 107, 0, 0.5);
}

@keyframes titleReveal {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* الشعار الفرعي */
.welcome-subtitle {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    color: #9ca3af;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: subtitleReveal 0.5s ease 1.2s forwards;
}

@keyframes subtitleReveal {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* خط فاصل متحرك */
.welcome-divider {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FF6B00, #FFA500, #FF6B00, transparent);
    margin-top: 1.5rem;
    animation: dividerReveal 0.8s ease 1.5s forwards;
}

@keyframes dividerReveal {
    0% { width: 0; opacity: 0; }
    100% { width: 200px; opacity: 1; }
}

/* جسيمات متحركة */
.welcome-particles {
    position: absolute;
    width: 300px;
    height: 300px;
    z-index: 1;
}

.welcome-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #FF6B00;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 3s ease-in-out infinite;
}

.welcome-particles span:nth-child(1) { top: 10%; left: 50%; animation-delay: 0s; }
.welcome-particles span:nth-child(2) { top: 20%; left: 80%; animation-delay: 0.2s; background: #FFA500; }
.welcome-particles span:nth-child(3) { top: 50%; left: 90%; animation-delay: 0.4s; }
.welcome-particles span:nth-child(4) { top: 80%; left: 80%; animation-delay: 0.6s; background: #FFA500; }
.welcome-particles span:nth-child(5) { top: 90%; left: 50%; animation-delay: 0.8s; }
.welcome-particles span:nth-child(6) { top: 80%; left: 20%; animation-delay: 1s; background: #FFA500; }
.welcome-particles span:nth-child(7) { top: 50%; left: 10%; animation-delay: 1.2s; }
.welcome-particles span:nth-child(8) { top: 20%; left: 20%; animation-delay: 1.4s; background: #FFA500; }
.welcome-particles span:nth-child(9) { top: 5%; left: 35%; animation-delay: 0.3s; width: 4px; height: 4px; }
.welcome-particles span:nth-child(10) { top: 95%; left: 65%; animation-delay: 0.7s; width: 4px; height: 4px; background: #FFA500; }
.welcome-particles span:nth-child(11) { top: 35%; left: 5%; animation-delay: 1.1s; width: 4px; height: 4px; }
.welcome-particles span:nth-child(12) { top: 65%; left: 95%; animation-delay: 0.5s; width: 4px; height: 4px; background: #FFA500; }

@keyframes particleFloat {
    0%, 100% { 
        opacity: 0; 
        transform: translateY(0) scale(0); 
    }
    50% { 
        opacity: 1; 
        transform: translateY(-20px) scale(1); 
    }
}

/* تأثير وداع الشاشة */
.welcome-overlay.fade-out .welcome-logo {
    animation: logoFadeOut 0.5s ease forwards;
}

@keyframes logoFadeOut {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.welcome-overlay.fade-out .welcome-title {
    animation: titleFadeOut 0.4s ease forwards;
}

@keyframes titleFadeOut {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-30px); opacity: 0; }
}

/* ==========================================
   أنيميشن ترحيبي للشريط العلوي - Nav Reveal
   ========================================== */

.nav-reveal {
    opacity: 0;
    transform: translateY(-20px);
}

.nav-reveal.nav-reveal-active {
    animation: navRevealFlash 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: calc(var(--reveal-delay, 0) * 0.08s + 0.2s);
}

@keyframes navRevealFlash {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
        filter: blur(4px);
    }
    50% {
        opacity: 1;
        transform: translateY(5px) scale(1.05);
        filter: blur(0);
        text-shadow: 0 0 30px rgba(255, 107, 0, 0.8), 0 0 60px rgba(255, 107, 0, 0.4);
    }
    70% {
        transform: translateY(-2px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
        text-shadow: none;
    }
}

/* ==========================================
   فلاش مزدوج لعناصر الشريط العلوي
   ========================================== */

.navbar-flash-item.navbar-flash-active {
    animation: navbarFlashDouble 0.8s ease-in-out;
}

@keyframes navbarFlashDouble {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
        filter: brightness(1);
    }
    15% {
        box-shadow: 0 0 20px 5px rgba(255, 107, 0, 0.6), 0 0 40px 10px rgba(255, 165, 0, 0.3);
        filter: brightness(1.4);
    }
    30% {
        box-shadow: 0 0 5px 2px rgba(255, 107, 0, 0.2);
        filter: brightness(1.1);
    }
    50% {
        box-shadow: 0 0 25px 8px rgba(255, 107, 0, 0.7), 0 0 50px 15px rgba(255, 165, 0, 0.4);
        filter: brightness(1.5);
    }
    70% {
        box-shadow: 0 0 10px 3px rgba(255, 107, 0, 0.3);
        filter: brightness(1.2);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
        filter: brightness(1);
    }
}

/* تأثير مخصص للogo */
.navbar-flash-item.navbar-flash-active .sindbad-logo {
    animation: logoFlashDouble 0.8s ease-in-out;
}

@keyframes logoFlashDouble {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3), 0 0 0 0 rgba(255, 107, 0, 0);
    }
    15% {
        box-shadow: 0 4px 30px rgba(255, 107, 0, 0.8), 0 0 0 10px rgba(255, 107, 0, 0.3);
    }
    30% {
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3), 0 0 0 3px rgba(255, 107, 0, 0.1);
    }
    50% {
        box-shadow: 0 4px 35px rgba(255, 107, 0, 0.9), 0 0 0 15px rgba(255, 107, 0, 0.4);
    }
    70% {
        box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4), 0 0 0 5px rgba(255, 107, 0, 0.15);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3), 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

(End of file - total 972 lines)
