/* استيراد الخطوط العربية */
@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', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Almarai', 'Noto Sans Arabic', 'Tajawal', sans-serif;
    --font-heading: 'Tajawal', 'Almarai', 'Noto Sans Arabic', sans-serif;
    --font-body: 'Noto Sans Arabic', 'IBM Plex Sans Arabic', 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 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;
}
.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;
}
.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-secondary);
    font-weight: 700;
    letter-spacing: 0.3px;
}
.action-btn:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}
.back-btn {
     background-color: #4a9fdf;
}
.back-btn:hover {
    background-color: #555;
}

.game-details h2 {
    color: #66c0f4;
    border-bottom: 1px solid #2a475e;
    padding-bottom: 10px;
    margin-top: 30px;
}

.requirements {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap; /* Add wrapping for smaller screens */
}

.req-section {
    flex: 1;
    min-width: 250px; /* Ensure sections don't get too squished */
    background-color: #2a475e;
    padding: 15px;
    border-radius: 5px;
}

.req-section h3 {
    margin-top: 0;
    color: #c7d5e0;
    border-bottom: 1px solid #1b2838;
    padding-bottom: 5px;
}

.req-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.req-section li {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.req-section li strong {
    color: #66c0f4;
}
