* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #1abc9c, #9b59b6); /* تدرج بين الأزرق التركوازي والبنفسجي */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 10px;
}

.container {
    background: rgba(255, 255, 255, 0.2); /* خلفية شفافة */
    backdrop-filter: blur(10px); /* تأثير الزجاج */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px; /* العرض الأقصى للصندوق */
    width: 100%; /* العرض الكامل للشاشات الصغيرة */
    border: 1px solid rgba(255, 255, 255, 0.3); /* إطار خفيف */
}

.logo {
    width: 150px;
    margin-bottom: 20px;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

.logo:hover {
    transform: rotate(360deg);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-link {
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    background-color: rgba(255, 255, 255, 0.2); /* جعل الروابط شفافة قليلاً */
    backdrop-filter: blur(5px); /* تأثير الزجاج على الروابط */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.3); /* تغيير الخلفية عند التمرير */
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-link img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-link:hover img {
    transform: scale(1.1);
}

.social-link i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.social-link[title="snapchat"] {
    color: #FFFC00;
}

.social-link[title="instagram"] {
    color: #E1306C;
}

.social-link[title="tiktok"] {
    color: #010101;
}

.social-link[title="facebook"] {
    color: #4267B2;
}

.social-link[title="whatsapp"] {
    color: #25D366;
}

.social-link[title="website"] {
    color: #333;
}

/* Footer Styling */
.footer {
    background-color: rgba(0, 0, 0, 0.5); /* جعل التذييل شفافًا قليلاً */
    color: #fff;
    text-align: center;
    padding: 10px;
    width: 100%;
    margin-top: 20px;
    border-radius: 10px;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Media Queries for responsive design */
@media (max-width: 768px) {
    .container {
        max-width: 90%; /* تصغير الصندوق في الشاشات المتوسطة */
    }

    .logo {
        width: 120px; /* تقليل حجم الشعار */
    }

    .social-link {
        padding: 10px 15px; /* تقليل الحواف */
    }

    .social-link img {
        width: 35px; /* تقليل حجم الصور */
        height: 35px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 100px; /* تقليل الشعار أكثر للشاشات الصغيرة */
    }

    .social-link {
        padding: 8px 10px; /* تقليل الحواف أكثر */
    }

    .social-link img {
        width: 30px; /* تصغير الأيقونات */
        height: 30px;
    }

    .social-links {
        gap: 15px; /* تقليل المسافات بين الروابط */
    }

    .footer p {
        font-size: 0.8rem; /* تصغير النص في التذييل للشاشات الصغيرة */
    }
}





#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* يمنع تداخل المستخدم مع الكانفاس */
   
}
/* تنسيق النافذة الترحيبية */
.popup {
    display: none; /* مخفية افتراضيًا */
    position: fixed;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000; /* أعلى من الكانفاس */
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    text-align: center;
}

.popup-content {
    position: relative;

}

.popup .close {
    position: absolute;
    top: 1px;
    right: 5px;
    font-size: 30px; /* زيادة حجم الخط */
    font-weight: bold; /* جعله عريضًا */
    color: #1abc9c; /* اللون الأزرق التركوازي */
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.popup .close:hover {
    transform: scale(1.2); /* تكبير عند التمرير */
    color: #16a085; /* لون أغمق قليلاً عند التمرير */
}


.popup h2 {
    margin-bottom: 10px;
    color: #333;
}

.popup p {
    color: #555;
    font-size: 1rem;
}
