/* ========================================
   BANNIÈRE D'INFORMATIONS DU JEU
   ======================================== */

.game-info-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #E6B800;
    border-radius: 12px;
    margin: 2rem 0;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.game-info-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E6B800 0%, #FFD700 50%, #E6B800 100%);
}

.game-info-container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    align-items: flex-start;
}

/* Image de couverture du jeu */
.game-cover {
    flex-shrink: 0;
    width: 200px;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    border: 2px solid #E6B800;
}

.game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Détails du jeu */
.game-details {
    flex: 1;
    color: #ffffff;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.game-title {
    font-family: var(--font-family-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #E6B800;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.game-score {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    background: rgba(230, 184, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #E6B800;
    backdrop-filter: blur(10px);
}

.score-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #E6B800;
}

.score-label {
    font-size: 1rem;
    color: #cccccc;
    font-weight: 600;
}

/* Métadonnées du jeu */
.game-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.game-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(230, 184, 0, 0.3);
    transition: all 0.3s ease;
}

.game-meta-item:hover {
    background: rgba(230, 184, 0, 0.1);
    border-color: #E6B800;
    transform: translateY(-2px);
}

.game-meta-item .meta-icon {
    font-size: 1.25rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E6B800;
    color: #000000;
    border-radius: 50%;
    flex-shrink: 0;
}

.game-meta-item .meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #E6B800;
    min-width: 80px;
}

.game-meta-item .meta-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    flex: 1;
}

/* Description du jeu */
.game-description {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 4px solid #E6B800;
}

.game-description p {
    margin: 0;
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Liens d'achat */
.game-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.game-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(230, 184, 0, 0.1);
    color: #E6B800;
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid #E6B800;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.game-link:hover {
    background: #E6B800;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 184, 0, 0.3);
}

.game-link .link-icon {
    font-size: 1rem;
}

.game-link .link-text {
    font-weight: 700;
}

/* Styles spécifiques par plateforme */
.game-link.steam:hover {
    background: #1b2838;
    color: #ffffff;
    border-color: #1b2838;
}

.game-link.eshop:hover {
    background: #e60012;
    color: #ffffff;
    border-color: #e60012;
}

.game-link.psn:hover {
    background: #003791;
    color: #ffffff;
    border-color: #003791;
}

.game-link.xbox:hover {
    background: #107c10;
    color: #ffffff;
    border-color: #107c10;
}

/* Responsive design */
@media (max-width: 768px) {
    .game-info-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .game-cover {
        width: 150px;
        height: 210px;
        align-self: center;
    }
    
    .game-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .game-title {
        font-size: 1.6rem;
    }
    
    .game-meta {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .game-meta-item {
        padding: 0.5rem;
    }
    
    .game-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .game-info-banner {
        margin: 1rem 0;
        border-radius: 8px;
    }
    
    .game-info-container {
        padding: 1rem;
    }
    
    .game-cover {
        width: 120px;
        height: 168px;
    }
    
    .game-title {
        font-size: 1.4rem;
    }
    
    .game-meta-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .game-meta-item .meta-label {
        min-width: auto;
    }
}

/* Animation d'entrée */
.game-info-banner {
    animation: gameBannerFadeIn 0.8s ease-out;
}

@keyframes gameBannerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation des éléments */
.game-meta-item {
    animation: gameMetaItemFadeIn 0.6s ease-out both;
}

.game-meta-item:nth-child(1) { animation-delay: 0.1s; }
.game-meta-item:nth-child(2) { animation-delay: 0.2s; }
.game-meta-item:nth-child(3) { animation-delay: 0.3s; }
.game-meta-item:nth-child(4) { animation-delay: 0.4s; }
.game-meta-item:nth-child(5) { animation-delay: 0.5s; }
.game-meta-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes gameMetaItemFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
