.card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.card-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 0.8rem;
    margin-bottom: 1rem;
}

.card-text {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
    min-height: 60px; /* Ensure consistent height regardless of content */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    border-radius: 30px;
    padding: 8px 0;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.price:hover {
    transform: scale(1.02);
    background-color: #0b5ed7;
}

.price i {
    margin-left: 5px;
    color: #FFD700;
}

.shop-card {
    border-radius: 15px;
    padding: 2rem 1.5rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    background-color: white;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure full height */
    justify-content: space-between;
}

/* More subtle card hover - small lift and shadow */
.shop-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.item-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.item-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.currency-badge {
    background-color: #f8f9fa;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: inline-block;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.currency-badge i {
    font-size: 1.1rem;
    color: #FFD700;
}

/* Set consistent height for cards in the same row */
.row.g-3.mb-5 {
    margin-top: 1.5rem;
}

.row.g-3.mb-5 .col-6, 
.row.g-3.mb-5 .col-md-4 {
    display: flex;
    margin-bottom: 20px;
}

/* Purchase animation */
@keyframes purchaseSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 0 15px rgba(13, 110, 253, 0.5); }
    100% { transform: scale(1); }
}

.purchase-animation {
    animation: purchaseSuccess 0.6s ease;
}

/* Add disabled state for items that can't be afforded */
.shop-card.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shop-card {
        padding: 1.5rem 1rem;
    }
    
    .card-title {
        font-size: 1.2rem;
        margin-top: 0.5rem;
    }
    
    .item-icon {
        width: 60px;
        height: 60px;
    }
    
    .item-icon i {
        font-size: 24px;
    }
    
    .card-text {
        min-height: 50px;
    }
}

@media (max-width: 576px) {
    .item-icon {
        width: 50px;
        height: 50px;
    }
    
    .item-icon i {
        font-size: 20px;
    }
    
    .card-title {
        font-size: 1rem;
        margin-top: 0.4rem;
        margin-bottom: 0.6rem;
    }
    
    .card-text {
        font-size: 0.8rem;
        min-height: 40px;
    }
    
    .price {
        font-size: 0.9rem;
        padding: 6px 0;
    }
}
