/* Game Card Styles - Moved from inline styles for better performance */

.game-card-new {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-card, #23272f);
    border: 1px solid #2a3a4f;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.game-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.game-card-new-image-container {
    height: 170px; /* Consistent height for the image area */
    background-color: #1b2838;
}

.game-card-new-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #005404 !important;
    color: #00cd9b !important;
    padding: 3px 8px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 4px;
}

.wishlist-icon-container-new {
    position: absolute;
    top: 10px;
    right: 10px;
}

.wishlist-icon-container-new .wishlist-btn-card {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.wishlist-icon-container-new .wishlist-btn-card .fa-heart {
    transition: all 0.2s;
}

.wishlist-icon-container-new .wishlist-btn-card.active .fa-heart {
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* This makes the 'far' icon solid, like 'fas' */
    color: #ff6b81; /* Filled heart color */
    transform: scale(1.1);
}

.wishlist-icon-container-new .wishlist-btn-card:hover {
    background: rgba(0, 0, 0, 0.9);
}

.game-card-new .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* This is key for the footer buttons */
    padding: 1rem;
}

.game-title-new {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e6eaf3;
    text-align: center;
}

.star-rating-new {
    font-size: 0.9rem;
}

.star-rating-new .fa-star {
    color: #4a5568; /* Visible empty star color */
}

.star-rating-new .fa-star.filled {
    color: #ffc107; /* Yellow for filled stars */
}

.price-container-new {
    display: flex;
    align-items: baseline;
}

.original-price-new {
    font-size: 0.9rem;
    color: #8f98a0;
    text-decoration: line-through;
}

.current-price-new {
    font-size: 1.2rem;
    font-weight: bold;
    color: #66c0f4;
}

.current-price-new.discounted {
    color: #a9cf54; /* Green for discounted price */
}

.game-card-new .d-grid .btn {
    font-size: 0.95rem;
} 