/* استيراد الخطوط العربية */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

/* تعريف الخطوط العربية */
:root {
    --font-primary: 'Noto Sans Arabic', 'Almarai', 'Tajawal', sans-serif;
    --font-heading: 'Tajawal', 'Almarai', 'Noto Sans Arabic', sans-serif;
    --font-body: 'Noto Sans Arabic', 'Almarai', sans-serif;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
}

.game-detail-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.game-detail-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-detail-header img {
    max-width: 100%;
    border-radius: 10px;
}

.game-detail-header h1 {
    font-size: 3rem;
    margin-top: 1rem;
    color: #ffc107;
    font-family: var(--font-heading);
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.game-detail-content h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
}

.game-detail-content h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #ffc107;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.game-detail-content p,
.game-detail-content ul {
    font-size: 1.1rem;
    line-height: 1.8;
    font-family: var(--font-body);
    font-weight: 400;
    color: #e0e0e0;
}

.game-detail-content ul {
    list-style: none;
    padding-right: 0;
    margin-bottom: 1.5rem;
}

.game-detail-content li {
    margin-bottom: 0.75rem;
    padding-right: 1.5rem;
    position: relative;
    font-family: var(--font-body);
    font-weight: 400;
    color: #cccccc;
}

.game-detail-content li::before {
    content: '◆';
    position: absolute;
    right: 0;
    top: 0;
    color: #ffc107;
    font-size: 0.8rem;
}

.game-detail-content strong {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #ffc107;
}

.buttons-container {
    text-align: center;
    margin-top: 3rem;
}

.action-btn {
    display: inline-block;
    margin: 0 10px;
    padding: 12px 25px;
    background-color: #ffc107;
    color: #121212;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.2s;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.action-btn:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.back-btn {
    background-color: #4a9fdf;
    color: #ffffff;
}

.back-btn:hover {
    background-color: #3a8fcf;
}

/* تحسين عرض النصوص في الهاتف */
@media (max-width: 768px) {
    .game-detail-header h1 {
        font-size: 2.5rem;
    }
    
    .game-detail-content h2 {
        font-size: 1.8rem;
    }
    
    .game-detail-content h3 {
        font-size: 1.3rem;
    }
    
    .game-detail-content p,
    .game-detail-content ul {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .game-detail-content li {
        font-size: 0.95rem;
    }
    
    .action-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}
