.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 .carousel-viewport{
    display: block;
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    padding: 0 350px 0 265px;
    box-sizing: border-box;
    position: relative;
    margin-left: 85px;
    isolation: isolate;
}

.qv-how-section.features-section .features-grid{
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap; /* fuerza una sola fila */
    width: fit-content; /* Ancho exacto del contenido */
    box-sizing: border-box;
    margin-top: 35px;
    margin-bottom: 60px;
    margin-left: -230px;
    margin-right: 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    /* Ocultar barra de scroll */
    scrollbar-width: none;
    position: relative;
}
.qv-how-section.features-section .features-grid::-webkit-scrollbar {
    display: none;
}
.qv-how-section.features-section .features-box{
    /* cada caja ocupa exactamente 1/4, compensando los gaps */
    flex: 0 0 calc(35% - 0px); /* 4 cards per viewport */
    box-sizing: border-box;
    padding: 1px;
    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 */
    scroll-snap-align: start;
}

/* 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;
    max-height: 190px;
    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;
}

/* Botones de navegación del carrusel */
.qv-how-section.features-section .features-carousel-controls {
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    height: 200px;
    width: 100%;
    z-index: 30;
    pointer-events: none;
    box-sizing: border-box;
    isolation: isolate;
}

.features-carousel-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(102, 240, 255, 0.2);
    border: 2px solid rgba(102, 240, 255, 0.5);
    border-radius: 50%;
    color: #66f0ff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    top: 50%;
    transform: translateY(-50%);
}

.features-carousel-btn.features-carousel-prev {
    left: 1px;
}

.features-carousel-btn.features-carousel-next {
    right: 1px;
}

.features-carousel-btn:hover {
    background: rgba(102, 240, 255, 0.4);
    border-color: #66f0ff;
    box-shadow: 0 0 8px rgba(102, 240, 255, 0.3);
}

.features-carousel-btn:active {
    /* transform: scale(0.95); */
}

.features-carousel-btn i {
    pointer-events: none;
}

.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;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}
/* 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 .carousel-viewport {
        width: 100%;
        padding: 0 60px;
        margin-left: 0;
    }

    .qv-how-section.features-section .features-carousel-controls {
        top: 35px;
    }

    .qv-how-section.features-section .features-carousel-btn.features-carousel-prev {
        left: 10px;
    }

    .qv-how-section.features-section .features-carousel-btn.features-carousel-next {
        right: 10px;
    }

    .qv-how-section.features-section .features-grid{
        display: flex;
        flex-wrap: nowrap;
        width: fit-content;
        margin-left: -100px;
        margin-top: 35px;
        margin-bottom: 60px;
        gap: 0px;
    }

    .qv-how-section.features-section .features-box{
        flex: 0 0 calc(50% - 0px);
        min-width: 0;
        transform: translateY(-8px);
        margin-bottom: 0;
        padding: 6px;
    }

    .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;
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 420px) {
    .qv-how-section.features-section .carousel-viewport {
        width: 100%;
        padding: 0 45px;
        margin-left: 0;
        overflow-x: hidden;
    }

    .qv-how-section.features-section .features-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .qv-how-section.features-section .features-carousel-btn.features-carousel-prev {
        left: 5px;
    }

    .qv-how-section.features-section .features-carousel-btn.features-carousel-next {
        right: 5px;
    }

    .qv-how-section.features-section .features-grid{
        margin-left: 0;
        margin-top: 30px;
        margin-bottom: 40px;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: calc(-50vw + 45px);
    }

    .qv-how-section.features-section .features-box{
        flex: 0 0 calc(100vw - 90px);
        padding: 4px;

    }

    .qv-how-section.features-section .features-box img {
        max-height: 150px;
    }

    .qv-how-section.features-section .features-desc {
        font-size: 12px;
    }

    .qv-how-section.features-section .features-subdesc {
        font-size: 11px;
        max-width: 90%;
    }
}
