/* ========================================
   GAME INFO CARD - Fiche Jeu
======================================== */

.game-info-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 4px 20px rgba(227, 6, 19, 0.2);
}

.game-info-inner {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

/* ========================================
   COUVERTURE
======================================== */
.game-cover {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.game-cover:hover {
    transform: scale(1.05);
}

.game-cover img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 2rem;
}

/* ========================================
   HEADER (TITRE + NOTE)
======================================== */
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #FFD700;
}

.game-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #FFD700;
    margin: 0;
}

.game-score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #E30613;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.5);
}

.game-score-circle a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.score-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.score-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   MÉTADONNÉES
======================================== */
.game-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.game-meta-item {
    background: #2a2a2a;
    padding: 0.75rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.game-meta-item svg {
    color: #FFD700;
    flex-shrink: 0;
}

.meta-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================
   DESCRIPTION
======================================== */
.game-description {
    margin-bottom: 1.5rem;
}

.game-description p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   LIENS D'ACHAT
======================================== */
.game-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.game-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.game-link svg {
    width: 16px;
    height: 16px;
}

/* Couleurs par plateforme */
.game-link.steam {
    background: #171a21;
    color: #c7d5e0;
}

.game-link.steam:hover {
    background: #1b2838;
    transform: translateY(-2px);
}

.game-link.eshop {
    background: #e60012;
    color: white;
}

.game-link.eshop:hover {
    background: #cc0010;
    transform: translateY(-2px);
}

.game-link.psn {
    background: #003087;
    color: white;
}

.game-link.psn:hover {
    background: #0047ab;
    transform: translateY(-2px);
}

.game-link.xbox {
    background: #107c10;
    color: white;
}

.game-link.xbox:hover {
    background: #128712;
    transform: translateY(-2px);
}

.game-link.epic {
    background: #313131;
    color: white;
}

.game-link.epic:hover {
    background: #4a4a4a;
    transform: translateY(-2px);
}

.game-link.gog {
    background: #86328a;
    color: white;
}

.game-link.gog:hover {
    background: #9e3ba2;
    transform: translateY(-2px);
}

.game-link.meta {
    background: #0467df;
    color: white;
}

.game-link.meta:hover {
    background: #0573f5;
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE
======================================== */

/* Tablette */
@media (max-width: 1024px) {
    .game-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablette portrait */
@media (max-width: 768px) {
    .game-info-inner {
        grid-template-columns: 1fr;
    }
    
    .game-cover {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .game-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .game-links {
        flex-direction: column;
    }
    
    .game-link {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .game-info-card {
        padding: 1.5rem 1rem;
    }
    
    .game-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .game-score-circle {
        width: 70px;
        height: 70px;
    }
    
    .score-value {
        font-size: 1.5rem;
    }
}

