body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(120deg, #74ebd5, #ACB6E5, #f39c12, #2980b9);
    background-size: 400% 400%;
    animation: gradientBG 12s ease-in-out infinite;
    transition: background-color 0.5s ease;
    position: relative;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

.top-left-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 125px; /* هذا هو الحجم الحالي */
    height: auto;
    z-index: 10;
}


/* باقي أنماط CSS الخاصة بك */
header {
    background: rgba(44, 62, 80, 0.95);
    color: white;
    text-align: center;
    padding: 1.5em 0 1em 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1.5em;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s, text-shadow 0.3s;
    text-shadow: 0 2px 8px #2980b9a0;
    position: relative;
    z-index: 1;
}

nav ul li a.active {
    border-bottom: 2px solid #f39c12;
}

nav a:hover {
    color: #f39c12;
    text-shadow: 0 4px 16px #f39c12a0;
}

main {
    padding: 40px 0 20px 0;
    min-height: 60vh;
}

section {
    background: transparent; /* Changed from rgba(255,255,255,0.25) to transparent */
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.25);
    margin: 0 auto 30px auto;
    padding: 32px 24px;
    max-width: 700px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s, border-color 0.4s;
}

h2 {
    color: #34495e;
    text-align: center;
    font-size: 2.2em;
    letter-spacing: 1px;
    text-shadow: 2px 2px 12px #b0c4de;
    animation: fadeIn 1.2s;
    margin-bottom: 18px;
}

p {
    color: #222;
    line-height: 1.7;
    font-size: 1.15em;
    text-align: center;
    text-shadow: 0 1px 8px #fff8;
}

footer {
    text-align: center;
    padding: 1.2em 0;
    background: rgba(44, 62, 80, 0.95);
    color: white;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.18);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    font-size: 1em;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأثير ظل للنص */
h1, h2, h3, h4, h5, h6 {
    color: #222;
    text-shadow: 2px 2px 8px #b0c4de;
    transition: text-shadow 0.3s;
}

/* تأثير ظل للصناديق */
.card, .box, .container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.15);
    padding: 24px;
    margin: 16px 0;
    transition: box-shadow 0.3s;
}

/* تأثير عند تمرير الفأرة */
.card:hover, .box:hover, .container:hover {
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.25);
    transform: translateY(-4px) scale(1.02);
}

/* تأثير للأزرار */
button, .btn {
    background: linear-gradient(90deg, #74ebd5 0%, #ACB6E5 100%);
    color: #222;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.10);
    transition: background 0.3s, transform 0.2s;
}

button:hover, .btn:hover {
    background: linear-gradient(90deg, #ACB6E5 0%, #74ebd5 100%);
    transform: scale(1.05);
}

button:active, .btn:active {
    box-shadow: 0 0 0 8px #74ebd540;
    transition: box-shadow 0.2s;
}

/* تأثير ظهور تدريجي للعناصر */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 700px) {
    .game-icon {
        padding-top: 18px !important; /* جرب قيمة أكبر ولاحظ الفرق */
    }
}

.game-icon img:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.18);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* جزيئات متحركة */
.particles-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    background: radial-gradient(circle, #fff 0%, #74ebd5 100%);
    animation: float 10s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); opacity: 0.5;}
    50% { opacity: 1;}
    100% { transform: translateY(-80px) scale(1.2); opacity: 0.3;}
}

/* PlayStation Banner Styling */
.ps-banner {
    display: flex;
    flex-direction: column;   /* اجعل العناصر عمودية */
    align-items: center;
    justify-content: center;
    gap: 24px;                /* قلل الفراغ قليلاً */
    margin: 32px auto 24px auto;
    padding: 12px 0;
    z-index: 2;
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
}

.ps-buttons {
    display: flex;
    gap: 16px;
}

.ps-btn {
    font-family: 'Noto Sans Symbols', 'Segoe UI Symbol', 'Arial Unicode MS', Arial, sans-serif !important;
    font-size: 1.6em;
    width: 1.1em;
    height: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 2px;
    box-shadow: 0 2px 8px #2222;
    background: #3b2f2f;
    color: #222;
    border: 2px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.ps-btn.circle { color: #e74c3c; border-color: #696767; }
.ps-btn.cross { color: #0689e0; border-color: #696767; }
.ps-btn.triangle { color: #27ae60; border-color: #696767; }
.ps-btn.square { color: #ac3ddb; border-color: #696767; }

.ps-btn:hover {
    transform: scale(1.15) rotate(-6deg);
    box-shadow: 0 6px 24px #2224;
    background: #393131;
}

/* PlayStation Logo Styling */
.ps-logo {
    width: 200px;
    max-width: 90vw;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: none;
    padding: 0;
    margin: 0 auto;
}

/* حجم أصغر على الجوال */
@media (max-width: 600px) {
    .ps-logo {
        width: 140px;      /* اجعلها أكبر حسب رغبتك */
        max-width: 95vw;
        padding: 4px;
    }
}

/* Responsive for small screens */
@media (max-width: 600px) {
    .ps-banner {
        flex-direction: column;
        gap: 12px;
    }
    .ps-logo {
        width: 60px;
        padding: 4px;
    }
    .ps-btn {
        font-size: 1.5em;
        width: 1.2em;
        height: 1.2em;
    }
}

.game-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(90deg, #74ebd5 0%, #ACB6E5 100%);
    color: #222;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 1.1em;
    font-weight: bold;
    min-height: 48px;
    min-width: 120px;
    box-sizing: border-box;
    cursor: pointer;
    box-shadow: 0 2px 8px #2221;
    transition: background 0.3s, transform 0.2s;
}

.game-btn .btn-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

/* تأثير الوميض للنصوص */
.pulse {
    animation: pulse-glow 1.2s ease-in-out infinite;
    color: #f39c12;
    text-shadow:
        0 0 8px #f39c12,
        0 0 16px #74ebd5,
        0 1px 0 #fff;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        text-shadow:
            0 0 8px #f39c12,
            0 0 16px #74ebd5,
            0 1px 0 #fff;
    }
    50% {
        transform: scale(1.08);
        text-shadow:
            0 0 24px #f39c12,
            0 0 32px #74ebd5,
            0 2px 4px #fff;
    }
    100% {
        transform: scale(1);
        text-shadow:
            0 0 8px #f39c12,
            0 0 16px #74ebd5,
            0 1px 0 #fff;
    }
}
.glow-title {
    font-size: 2.8em;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(90deg, #74ebd5, #f39c12, #ACB6E5, #2980b9);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 6s ease infinite, pulse-glow 1.8s ease-in-out infinite;
    text-shadow: 0 0 10px #fff4, 0 0 20px #f39c12a0;
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* ----- START: New style for Report Issue Button ----- */
        .report-issue-button {
            display: inline-block;
            background-color: #dc3545; /* لون أحمر/تحذيري */
            color: white;
            padding: 10px 20px; /* أصغر قليلاً من زر التحميل */
            border-radius: 8px;
            text-decoration: none;
            font-size: 1em; /* حجم خط أصغر قليلاً */
            font-weight: bold;
            margin-top: 15px; /* مسافة بين الزرين */
            transition: background-color 0.3s ease, transform 0.2s ease;
            box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
        }

        .report-issue-button:hover {
            background-color: #c82333; /* لون أحمر أغمق عند التمرير */
            transform: translateY(-2px);
        }
        /* ----- END: New style for Report Issue Button ----- */
.download-button-inner {
    display: flex; /* يجعل المحتوى داخل الرابط مرناً */
    flex-direction: column; /* يرتب العناصر عمودياً */
    align-items: center; /* يوسط العناصر أفقياً */
    justify-content: center; /* يوسط العناصر عمودياً */
    text-align: center; /* يضمن توسيط النص */
    line-height: 1.2; /* يضبط تباعد الأسطر */
    /* باقي الأنماط الخاصة بـ download-button-inner */
    color: white;
    text-decoration: none;
    font-size: 1.3em; /* حجم الخط الرئيسي للزر */
    font-weight: bold;
    padding: 0;
    margin: 0;
    height: 100%; /* تأكد من أن الرابط يملأ حاويته */
    width: 100%; /* تأكد من أن الرابط يملأ حاويته */
}

.button-note-in-button {
    display: block; /* تأكد من أن الملاحظة تظهر في سطر جديد داخل الزر */
    font-size: 0.65em; /* اجعل حجم الخط أصغر بالنسبة لحجم خط الزر الرئيسي */
    color: rgba(255, 255, 255, 0.8); /* لون أفتح للملاحظة */
    margin-top: 3px; /* مسافة صغيرة بين النص الرئيسي والملاحظة */
    font-weight: normal; /* تأكد من أن الملاحظة ليست غامقة */
}

.download-button-container {
    /* هذه الأنماط ستبقى كما هي تقريباً، أو يمكنك تعديلها لتحديد الحجم الكلي للزر */
    display: block;
    background-color: #28a745;
    color: white;
    padding: 10px 20px; /* هذا يحدد الحجم الكلي للزر */
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
    text-align: center;
    cursor: pointer;
    position: relative;
    width: 100%;
    max-width: 200px; /* يمكنك تعديل هذا لتغيير عرض الزر */
    margin-left: auto;
    margin-right: auto;
}