
.game-card img {
    border-radius: 10px;
    transition: transform 0.5s ease;
}
.game-card img:hover {
    transform: scale(1.05);
}

/* estilos mínimos añadidos para el banner */
.hero {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
.hero img {
    display: block;
    width: 100%;
    height: auto;        /* <- importante: altura automática */
    object-fit: unset;
    transition: transform 0.5s ease;
    
}

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

@media (max-width: 576px) {
    .hero img { max-height: 300px; } /* opcional: limitar altura en móviles */
}


/* Título Featured Games */
.featured-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.featured-link {
    color: inherit;          /* usa el color del título original */
    text-decoration: none;   /* sin subrayado */
    cursor: pointer;         /* indica que es clicable */
}

.view-more-btn {
    position: relative;
    display: inline-block;
    color: #f2c94c;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 20px;
    overflow: hidden;
    border-radius: 4px;
    transition: color 0.3s ease;
}

/* Subrayado inicial */
.view-more-btn::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f2c94c;
    transition: all 0.3s ease;
}

/* Fondo amarillo que se expande desde abajo hacia arriba */
.view-more-btn::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: #f2c94c;
    z-index: -1;
    transition: height 0.3s ease;
}

/* Al pasar el ratón: el fondo crece desde el subrayado */
.view-more-btn:hover::before {
    height: 100%;
}

/* Al pasar el ratón: el texto cambia a negro */
.view-more-btn:hover {
    color: #000;
}
