

#contentUltimosJuegos {
    padding: 2rem 0;
    margin: 0;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
    justify-content: center;
}

@media (max-width: 768px) {
    #contentUltimosJuegos {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}


.enlace-card {
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.enlace-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.card-full {
    width: 100%;
    height: 100%;
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.enlace-card:hover .card-full {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
}

.card-img-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.enlace-card:hover .card-img {
    transform: scale(1.05);
}

.etiqueta-empresa {
    background: rgba(212, 175, 55, 0.9);
    color: #1a1a1a;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    box-sizing: border-box;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.title-game {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3em;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    gap: 8px;
}

.card-company {
    flex: 1;
    min-width: 0;
    max-width: 60%;
    overflow: hidden;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.card-precio {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f1c40f;
    margin: 0;
}

.card-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-bottom {
    padding: 0 1.5rem 1.5rem;
}

.card-bottom .btn {
    width: 100%;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #d4af37 0%, #f1c40f 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card-bottom .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Progress bar styles */
.progress-container {
    width: 100%;
    margin: 0.5rem 0;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #f1c40f);
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.75rem;
    color: #b3b3b3;
    text-align: right;
    margin-top: 0.25rem;
}
