﻿/* تنسيقات عامة */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2b2b2b;  /* خلفية داكنة لتمثل أجواء اللعبة */
    color: #000000	;  /* اللون الأبيض للنصوص */
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* تصميم العد التنازلي */
.online-count {
    font-weight: bold;
    color: #f39c12;  /* لون ذهبي متناسق مع العناصر الأخرى */
    font-size: 24px;
    margin-left: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);  /* تأثير الظل */
    padding: 5px 10px;
    border-radius: 5px;
    background-color: rgba(243, 156, 18, 0.1);  /* خلفية خفيفة */
    transition: all 0.3s ease-in-out;
}

.online-count:hover {
    color: #000000;
    background-color: #f39c12;
    transform: scale(1.1);
}

/* تصميم الروابط الاجتماعية */
.social-links {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
}

.social-links img {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: bounce 2s infinite ease-in-out;
}

/* تأثير عند التفاعل */
.social-links img:hover {
    transform: scale(1.2) rotate(5deg);
    opacity: 0.8;
}

/* حركة الأيقونات */
@keyframes bounce {
    0%, 100% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(10px);
    }
}

/* الشريط العلوي (Navbar) */
.navbar {
    background-color: #000000;
    color: white;
    padding: 20px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: slideDown 1s ease-out; /* حركة الشريط العلوي عند الظهور */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    display: inline-block;
    margin-right: 40px;
}

.navbar a {
    color: f39c12;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 25px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s ease-in-out, box-shadow 0.3s ease;
    border-radius: 5px;
}

.navbar a:hover {
    background-color: #f39c12;
    color: white;
    transform: scale(1.05) rotate(5deg); /* إضافة تأثير دوران مع التكبير */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
/* تنسيق صفحة الدفع */
.payment-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px;
    background-color: #000000;  /* خلفية داكنة */
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.payment-section h2 {
    color: #f39c12;  /* اللون الذهبي */
    font-size: 28px;
    margin-bottom: 20px;
}

.payment-categories {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
}

.payment-category {
    width: 30%;
    padding: 20px;
    background-color: #f39c12;  /* خلفية داكنة */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.payment-category:hover {
    background-color: #000000;  /* اللون الذهبي عند التفاعل */
}

.payment-category h3 {
    font-size: 22px;
    color: #f39c12;
    margin-bottom: 20px;
}

.payment-category p {
    font-size: 16px;
    color: #ddd;
}

.payment-form-container {
    display: none;
    margin-top: 30px;
    text-align: left;
    background-color: #f39c12;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.payment-form {
    margin-top: 20px;
}

.payment-form label {
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
    color: #f39c12;
}

.payment-form input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #555;
    color: #000000;
    margin-bottom: 20px;
}

.payment-button {
    background-color: #f39c12;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.payment-button:hover {
    background-color: #45a049;
}

/* رسالة النجاح */
.success {
    background-color: #f39c12;
    color: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
}

/* تنسيق جزئية الترحيب */
.welcome {
    font-size: 18px;
    font-weight: bold;
    background-color: #f39c12;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    margin-left: 30px;
    text-align: center;
}

.welcome a {
    color: white;
    text-decoration: none;
}

.welcome a:hover {
    text-decoration: underline;
}

/* قسم التحميلات */
.download-section {
    background-color: #333;
    padding: 60px 20px;
    text-align: center;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1.5s forwards;
}

.download-section h2 {
    font-size: 2.5rem;
    color: #f39c12;
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
}

/* المربعات الخاصة بالتحميلات (باتشات / كلينت) */
.download-boxes {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

/* مربع التحميلات (كلينت أو باتش) */
.download-box {
    background-color: #000000;
    padding: 40px;
    width: 45%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.download-box h3 {
    font-size: 2rem;
    color: #f39c12;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.download-box p {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 30px;
}

/* الأزرار الخاصة بكل مربع */
.download-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #f39c12;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.download-button:hover {
    background-color: #000000;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.download-button:active {
    background-color: #f39c12;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* صورة الهيدر المتحركة (Header Slideshow) */
header {
    position: relative;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    animation: slide-animation 15s infinite;
    overflow: hidden;
}

/* تحسينات حركة الـ Parallax على الهيدر */
header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    animation: parallax 15s infinite linear;
}

/* تأثير الحركة على الصور (parallax) */
@keyframes parallax {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(30px); /* تقليل التحرك قليلاً لزيادة التناسق */
    }
}

/* تحسين تأثير انزلاق الصور (slide-animation) */
@keyframes slide-animation {
    0% {
        background-image: url('images/header2.jpg'); /* الصورة 2 */
        transform: scale(1.1); /* إضافة تكبير بسيط في البداية */
    }
    50% {
        background-image: url('images/header3.jpg'); /* الصورة 3 */
        transform: scale(1); /* تقليص التكبير عند منتصف الحركة */
    }
    70% {
        background-image: url('images/header4.jpg'); /* الصورة 4 */
        transform: scale(1.1); /* تقليص التكبير عند منتصف الحركة */
    }
    100% {
        background-image: url('images/header1.jpg'); /* العودة للصورة 2 */
        transform: scale(1.1); /* تكبير الصورة مرة أخرى */
    }
}

/* تحسين الخطوط في الهيدر */
header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem; /* تكبير الحجم لجعل النص أكثر بروزًا */
    font-weight: 800; /* زيادة وزن الخط للحصول على تأثير أقوى */
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5); /* تحسين تأثير الظل */
    animation: fadeIn 2s ease-out; /* حركة النص */
}

/* حركة النص في الهيدر */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تحسين الفقرات داخل الهيدر */
header p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem; /* زيادة الحجم قليلاً */
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 2s ease-out 0.5s; /* حركة النص مع تأخير */
}

/* تحسين محتوى الصفحة (Main Content) */
main {
    padding: 120px 20px 80px; /* إضافة مساحة أكبر لجعل الصفحة أكثر اتساعًا */
    text-align: center;
}

/* تحسين العناوين داخل المحتوى */
h2 {
    font-size: 3rem; /* تكبير العناوين */
    color: #f39c12;
    margin-bottom: 30px; /* زيادة المسافة أسفل العنوان */
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0;
    animation: fadeInUp 1.8s forwards 0.5s; /* حركة عناوين أكثر سلاسة */
}

/* حركة ظهور العناوين */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* الأقسام الدعائية (CTA) */
.cta {
    background-color: #000000;
    color: white;
    padding: 60px 20px;
    border-radius: 10px;
    margin-top: 50px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
    animation: fadeInUp 1.5s forwards;
}

.cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #000000;
    color: white;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #f39c12;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* الفوتر */
footer {
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 50px;
    font-size: 1.1rem;
    animation: fadeIn 2s ease-out;
}

/* تحسين تصميم قسم التسجيل والدخول */
form {
    background-color: #000000;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 450px;
    margin: 100px auto;
    text-align: center;
    transition: transform 0.3s ease;
}

form:hover {
    transform: scale(1.02);
}

form h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.3rem;
    color: #333;
    margin-bottom: 25px;
}

label {
    font-size: 1.1rem;
    color: #666;
    text-align: left;
    margin-top: 10px;
}

input[type="text"], input[type="password"], input[type="email"] {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    background-color: #f4f4f4;
    transition: all 0.3s ease;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus {
    border-color: #f39c12;
    background-color: #f39c12;
}

/* تحسين الزر */
button {
    padding: 15px 30px;
    background-color: #f39c12;
    color: white;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #000000;
    transform: scale(1.05);
}

/* إضافة تأثيرات إضافية للنماذج */
input[type="checkbox"] {
    margin: 10px 0;
}
