
        body {
            margin: 0;
            padding: 0;
            height: 100vh;
            /*overflow: hidden;*/
            background: linear-gradient(135deg, #ff7a00, #1a1a1a, #000000);
            background-size: 300% 300%;
            animation: gradientMove 10s ease infinite;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow-y: auto; /* en vez de hidden */
        }



        @keyframes gradientMove {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        .center-box {
            text-align: center;
            position: relative;
        }

        .intro-img {
            width: 100%;
            max-width: 150px;
            height: auto;
            animation: fadeIn 1.3s ease;
            user-select: none;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .col-10 col-md-4 {
            width: 100%;
            /* Se asegura de que ocupe el 100% del espacio en pantallas pequeñas */
            max-width: 250px;
            /* Limita el tamaño máximo en pantallas grandes */
            margin: 10px;
            /* Agrega un pequeño margen entre las tarjetas */
        }

        .btn-start {
            margin-top: 25px;
            padding: 10px 30px;
            font-size: 1rem;
            border-radius: 35px;
            animation: fadeIn 1.6s ease;
        }

        /* Fondo negro degradado translucido detrás de la imagen */
        .soft-shadow {
            position: absolute;
            width: 340px;
            height: 340px;
            max-width: 85vw;
            background: radial-gradient(circle, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 70%);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            filter: blur(20px);
            z-index: -1;
        }

        @media (max-width: 768px) {
            .intro-img {
                max-width: 120px;
                /* Ajusta el tamaño de la imagen en pantallas pequeñas */
            }

            .col-6 {
                flex: 1 0 45%;
                /* Asegura que las tarjetas tengan un ancho adecuado en pantallas pequeñas */
            }

            .btn-start {
                padding: 10px 25px;
                /* Ajusta el tamaño del botón en pantallas pequeñas */
                font-size: 1rem;
            }


            /* Pie de tarjeta */
             .card-footer-custom {
                padding: 8px 12px; /* más compacto */
                font-size: 0.82rem; /* reducción suave */
            }
        }


        @media (min-width: 992px) {
            .card {
                max-width: 240px;
                /* Tamaño tipo quiz profesional */
                border-radius: 20px !important;
            }

            .intro-img {
                max-height: 220px;
                object-fit: cover;
            }

            .row {
                max-width: 550px;
                /* Alineación centrada como en la web de referencia */
                margin: 0 auto;
            }

            .intro-title {
                font-size: 2.2rem;
            }

            .intro-subtitle {
                font-size: 1.05rem;
            }
        }

        @media (min-width: 768px) and (max-width: 991px) {
            .card {
                max-width: 260px;
            }

            .intro-img {
                max-height: 240px;
            }
        }


        .card img {
            border-bottom: 0;
        }

        .card div {
            padding: 14px !important;
        }



        .intro-text {
            max-width: 520px;
            margin: 0 auto 25px auto;
        }

        .intro-title {
            color: #ffffff;
            font-size: 1.9rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .intro-subtitle {
            color: #f1f1f1;
            font-size: 1rem;
            opacity: 0.9;
            margin: 0;
        }


        #audioControlBtn {
            position: absolute;
            top: 20px;
            right: 20px;
            background-color: #ff7f32;
            color: white !important;
            border: none;
           padding: 9px 10px;
            border-radius: 50%;          
            font-size: 18px;
            cursor: pointer;
            z-index: 999;
            transition: background-color 0.3s ease;
            /* Suaviza el cambio de color */
        }

        #audioControlBtn:hover {
            background-color: #ddbc9fff;
        }

         .fa {
            font-size: 2.5rem;
        }

        audio {
            display: none;
        }


        .footer-text {
            position: fixed;
            bottom: 10px;
            width: 100%;
            text-align: center;
            font-size: 0.85rem;
            color: #ffffffcc; /* blanco suave */
            letter-spacing: 0.5px;
            pointer-events: none; /* Para que no estorbe */
        }

    /* =============== NUEVOS EFECTOS PARA LOS BOTONES TIPO DE TEST ==== */

    /* --- Tarjetas animadas --- */
.card.test-card {
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: all .28s ease;
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    position: relative;
}

.card.test-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 35px rgba(0,0,0,0.25);
}

/* Borde brillante al pasar el mouse */
.card.test-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 2px solid transparent;
    transition: border-color .3s ease;
}

.card.test-card:hover::after {
    border-color: #ff7f27; /* tu naranja */
}

/* Pie de tarjeta */
.card-footer-custom {
    background: linear-gradient(90deg, #28a745, #34ce57);
    color: #fff;
    font-weight: bold;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

/* --- Botón Sociodemográfico --- */
/* Botón discreto y elegante */
#goFinalso {
    display: inline-block;        /* evita el 100% de ancho */
    width: auto;                  /* se ajusta al texto */
    background: transparent;
    color: #999999;
    border: 2px solid #d9d9d9; /* borde suave */
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: all .25s ease;
    box-shadow: none;
}

/* Hover: transición a naranja suave */
#goFinalso:hover {
    background: #ff7f27;
    color: white;
    border-color: #ff7f27;
    transform: translateY(-2px);
}

/* Acción de clic */
#goFinalso:active {
    transform: scale(0.96);
}
