/* شاشة الترحيب - تصميم بسيط */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    font-family: 'Cairo', sans-serif;
    gap: 40px;
}

.welcome-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-out;
}

/* اللوجو - بدون إطار */
.welcome-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-logo img {
    width: 500px;
    height: auto;
    object-fit: contain;
}

/* إخفاء النصوص */
.welcome-content {
    display: none;
}

/* النقاط المتحركة */
.welcome-loading {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-dots-welcome {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.loading-dots-welcome span {
    width: 12px;
    height: 12px;
    background: #1f2937;
    border-radius: 50%;
    animation: dotBounce 1.4s infinite ease-in-out;
}

.loading-dots-welcome span:nth-child(1) { animation-delay: 0s; }
.loading-dots-welcome span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots-welcome span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.5); opacity: 0.3; }
    40% { transform: scale(1.2); opacity: 1; }
}

/* إخفاء العناصر القديمة */
.loading-circle,
.loading-message {
    display: none !important;
}

/* الاستجابة للموبايل */
@media (max-width: 768px) {
    .welcome-logo img {
        width: 360px;
    }
    
    .loading-dots-welcome span {
        width: 10px;
        height: 10px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .welcome-logo img {
        width: 300px;
    }
    
    .loading-dots-welcome span {
        width: 8px;
        height: 8px;
    }
}

/* منع السكرول */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.welcome-screen {
    overflow: hidden;
}
