.qv-how-section.features-section {
     /* Exclusive rules for CARACTERÍSTICAS DEL JUEGO section
         Two-layer background: top = guardian_home.png (left), bottom = estrellas.png
         - guardian_home.png (top): left-aligned, natural size (no stretch), visible above stars
         - estrellas.png (bottom): use same placement as Hero (repeatable tile at bottom center)
         No background-attachment or parallax. */
     background-image: url('/assets/images/guardian_home.png'), url('/assets/images/estrellas.png');
     /* guardian: no-repeat; estrellas: repeat like Hero */
     background-repeat: no-repeat, repeat;
    /* guardian: reduced to half of previous visual size (no stretch) -> 12.5% auto; estrellas: auto so it tiles at its intrinsic size */
    background-size: 22% auto, auto;
    /* guardian occupies ~22vw of the section (useful for layout calculations) */
    --guardian-width: 22vw;
     /* guardian: left center; estrellas: bottom center (same as Hero) */
     background-position: left center, bottom center;
    /* fondo oscuro levemente sobre todo el ancho de la sección */
    background-color: rgba(0,0,0,0.25);
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    /* Aumentar altura del contenedor para que la imagen de guardian se vea completa */
    min-height: 600px;
    position: relative;
    z-index: 0;
    margin-top: 60px;
}
.qv-how-section.features-section .qv-how-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 0 20px;
    padding-bottom: 0;
    position: relative;
    z-index: 1;
}
/* Texto descriptivo inmediatamente debajo del título: centrado y color específico */
.qv-how-section.features-section .qv-how-section-inner > p {
    text-align: center;
    color: #2fd1ff;
    margin: 0 auto 18px auto;
}
/* Centrar título únicamente en esta sección */
.qv-how-section.features-section .qv-section-title {
    text-align: center;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 1.7rem;
}
/* Grid exclusivo de 6 cajas para la sección de características */
.qv-how-section.features-section .features-grid{
    /* full-bleed grid so boxes can span the whole page width */
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap; /* force single row */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    /* leave space on the left equal to guardian width so boxes don't overlap it */
    padding-left: calc(var(--guardian-width) + 24px);
    /* más espacio a la derecha para que la última caja no quede pegada */
    padding-right: 64px;
    box-sizing: border-box;
    margin-top: 35px; /* separación respecto guardian (reducida) */
    margin-bottom: 60px; /* respiro visual movido del padding inferior del contenedor */
    overflow: hidden;
}
.qv-how-section.features-section .features-box{
    /* aumentar tamaño un 30% manteniendo una sola fila */
    flex: 0 0 calc((100% - var(--guardian-width)) / 6 * 1.3);
    box-sizing: border-box;
    padding: 20px;
    /* min-width aumentado un 30% */
    min-width: 182px;
    background: transparent;
    border-radius: 8px;
    text-align: center;
    transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms cubic-bezier(.2,.9,.2,1);
    transform: translateY(-8px); /* elevar levemente cada caja */
}

/* Alinear título y párrafo a la izquierda, al nivel de la primera caja (respetando guardian) */
.qv-how-section.features-section .qv-section-title,
.qv-how-section.features-section .qv-how-section-inner > p{
    width: calc(100vw - (var(--guardian-width) + 88px));
    margin-left: calc(-50vw + 50% + var(--guardian-width) + 24px);
    text-align: left;
    max-width: none;
    text-shadow: 1px 2px 10px black;
    color: #ecdfd2;
}
.qv-how-section.features-section .features-box img{
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 8px auto;
    transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms cubic-bezier(.2,.9,.2,1);
}
.qv-how-section.features-section .features-desc{
    font-size: 14px;
    color: inherit;
    text-shadow: 1px 2px 10px black;
    color: #efad62;
    font-weight: bold;
}

.qv-how-section.features-section .features-box:hover img{
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

.qv-how-section.features-section .features-subdesc{
    margin-top: 8px;
    font-size: 13px;
    color: #ffffff;
    text-shadow: 1px 2px 10px black;
}
/* Imagen dentro de la sección de características: responsiva y sin efectos de parallax/movimiento */
.qv-how-section.features-section .features-img-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 24px 0;
    box-sizing: border-box;
}
.qv-how-section.features-section .features-img-wrap .features-img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Pseudo-elementos de fade eliminados por solicitud: la sección se muestra sin overlays ni degradados */

/* Responsive: mantener escritorio intacto; adaptar a tablets/móviles */
@media (max-width: 768px) {
    .qv-how-section.features-section {
        /* ocultar el guardian en móviles: dejar solo las estrellas como fondo */
        background-image: url('/assets/images/estrellas.png');
        background-repeat: repeat;
        background-position: bottom center;
        background-size: auto;
        --guardian-width: 0;
    }

    .qv-how-section.features-section .features-grid{
        flex-wrap: wrap; /* permitir varias filas */
        width: auto;
        margin-left: 0;
        padding-left: 16px; /* retirar la gran reserva izquierda */
        padding-right: 16px;
        justify-content: center;
        gap: 12px;
        margin-top: 40px;
    }

    .qv-how-section.features-section .features-box{
        flex: 0 0 calc(50% - 12px); /* dos columnas */
        min-width: 140px;
        transform: translateY(0); /* no elevar para evitar solapamientos */
        margin-bottom: 12px;
    }

    .qv-how-section.features-section .qv-section-title,
    .qv-how-section.features-section .qv-how-section-inner > p{
        width: auto;
        margin-left: 0;
        text-align: center; /* centrar título y bajada en móvil */
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 420px) {
    .qv-how-section.features-section .features-box{
        flex: 0 0 100%; /* una sola columna en móviles pequeños */
        min-width: 0;
        padding-left: 12px;
        padding-right: 12px;
    }

    .qv-how-section.features-section .features-grid{
        padding-left: 8px;
        padding-right: 8px;
        gap: 10px;
    }
}
