/* استيراد الخطوط العربية */
@import url('../../css/style.css');
@import url('../../css/arabic-fonts.css');

/* تعريف الخطوط العربية */
: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-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: #ffdb4d;
    transform: translateY(-2px);
}

/* تنسيق قسم الفيديو */
.game-video-section {
    margin: 3rem 0;
    text-align: center;
}

.game-video-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
}

/* تنسيق متجاوب للفيديو */
@media (max-width: 768px) {
    .video-container iframe {
        height: 250px;
    }
    
    .game-video-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .video-container iframe {
        height: 200px;
    }
}
.back-btn {
     background-color: #4a9fdf;
}
.back-btn:hover {
    background-color: #555;
}

.detail-hero {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 3rem;
    margin: 0 auto 2rem;
    max-width: 1200px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1220, #1f2937 60%, #05080d);
    box-shadow: 0 30px 60px rgba(2, 6, 23, 0.6);
}

.detail-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.35), transparent 55%),
      radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.25), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.detail-hero-media {
    background-image: url('https://images.unsplash.com/photo-1505740420928-5e560c06d30e?auto=format&fit=crop&w=900&q=80');
    background-size: cover;
    background-position: center;
    min-height: 300px;
    border-radius: 18px;
    z-index: 1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-tagline {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.75rem;
    color: #34d399;
    margin: 0;
}

.detail-hero h1 {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    margin: 0;
    font-family: var(--font-heading);
    color: #f8fafc;
}

.hero-lede {
    font-size: 1.1rem;
    max-width: 520px;
    color: #cbd5f5;
    margin: 0;
}

.hero-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    color: #e5e7eb;
    font-size: 0.95rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #d1d5db;
}

.action-btn.primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.detail-info {
    background: rgba(10, 15, 25, 0.85);
    padding-bottom: 2.5rem;
}

.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;
}


