/* إعدادات الخلفية */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #000000, #1a1a1a, #333333);
    font-family: 'Poppins', sans-serif;
    color: #fff;
    overflow: hidden;
    background-size: 200% 200%;
    animation: gradientAnimation 15s ease infinite;
}

/* أنيميشن الخلفية */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* تأثير الخلفية */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* الصندوق الرئيسي */
.container {
    text-align: center;
    margin: 10% auto;
    padding: 40px 30px;
    background: rgba(25, 25, 25, 0.95);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.1);
    width: 50%;
    max-width: 600px;
    animation: fadeIn 1.5s ease-in-out;
}

/* النصوص */
.neon-text {
    font-size: 2.8rem;
    color: #ffffff;
    text-shadow: 0 0 10px #ffffff, 0 0 20px #cccccc, 0 0 30px #ffffff;
    animation: neonPulse 2.5s infinite alternate;
}

.version, .last-update, .description {
    font-size: 1.1rem;
    margin: 15px 0;
    color: #bbbbbb;
    line-height: 1.5;
}

/* الأزرار */
.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
}

#download-button, .button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #333333, #4d4d4d, #666666);
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 5px #444444, 0 0 10px #999999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#download-button:hover, .button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px #999999, 0 0 15px #666666;
}

/* الفوتر */
.footer {
    margin-top: 30px;
    color: #bbbbbb;
    font-size: 1rem;
}

.social-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.circle {
    border-radius: 50%;
}

.social-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px #999999, 0 0 15px #666666;
}

/* التأثير على التلميحات */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltiptext {
    visibility: hidden;
    width: 180px;
    background-color: #333333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 150%; /* تظهر فوق العنصر */
    left: 50%;
    margin-left: -90px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* النافذة المنبثقة */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.popup-content {
    position: relative;
    background: rgba(25, 25, 25, 0.95);
    border: 3px solid #666666;
    border-radius: 10px;
    padding: 20px;
    color: #dddddd;
    box-shadow: 0 0 10px #999999, 0 0 15px #666666;
    text-align: center;
    width: 90%;
    max-width: 600px;
    animation: popupFade 0.5s ease-in-out;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: #dddddd;
    cursor: pointer;
    transition: color 0.3s;
}

.close-popup:hover {
    color: #ffffff;
}

.popup-content a {
    color: #cccccc;
    text-decoration: none;
    font-weight: bold;
}

.popup-content a:hover {
    text-decoration: underline;
}

/* أنيميشن */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes neonPulse {
    0% {
        text-shadow: 0 0 10px #ffffff, 0 0 20px #cccccc, 0 0 30px #ffffff;
    }
    100% {
        text-shadow: 0 0 15px #ffffff, 0 0 25px #cccccc, 0 0 35px #ffffff;
    }
}

@keyframes popupFade {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
