* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

.body {
    align-items: center;
    background: linear-gradient(135deg, rgba(28, 218, 212, 0.28), rgba(132, 61, 255, 0.36)), url('./../img/bg.png') center / cover no-repeat fixed;
    display: flex;
    justify-content: center;
    margin: 0;
    min-height: 100vh;
    padding: 24px 14px;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
}

.mains {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 48px);
    position: relative;
    width: 100%;
}

.section {
    align-items: center;
    background: linear-gradient(145deg, rgba(34, 226, 220, 0.2), rgba(139, 92, 246, 0.24));
    border: 1px solid rgba(211, 250, 250, 0.42);
    border-radius: 22px;
    box-shadow: 0 22px 60px rgba(74, 28, 137, 0.28);
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 420px;
    padding: 24px;
    position: relative;
    text-align: center;
    width: min(90vw, 420px);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.titulo {
    font-size: clamp(1.35rem, 6vw, 2rem);
    line-height: 1.15;
    margin: 0;
}

.texto {
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 0;
}

.img,
.placeholder {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    width: 100%;
}


.img {
    background: rgba(237, 233, 254, 0.2);
    display: block;
    height: min(78vw, 330px);
    max-height: 330px;
    object-fit: contain;
    object-position: center;
}

.tamimg2 {
    display: block;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.placeholder {
    align-items: center;
    background: rgba(34, 226, 220, 0.16);
    border: 2px dashed rgba(196, 181, 253, 0.75);
    color: rgba(255, 255, 255, 0.86);
    display: flex;
    font-weight: 700;
    justify-content: center;
}

.botones {
    display: flex;
    gap: 12px;
    justify-content: center;
    min-height: 46px;
    width: 100%;
}

.btn {
    border: 0;
    border-radius: 999px;
    color: #1d1721;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    min-height: 44px;
    min-width: 94px;
    padding: 12px 20px;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
    box-shadow: 0 12px 24px rgba(74, 28, 137, 0.24);
    transform: translateY(-1px);
}

.btnSi,
.btnPrincipal {
    background: linear-gradient(135deg, #2dd4bf, #a78bfa);
    color: #fff;
}

.btnNo {
    background: #ede9fe;
    color: #4c1d95;
}

.btnNo.movible {
    position: absolute;
    z-index: 2;
}

.opciones {
    display: grid;
    gap: 10px;
    width: 100%;
}

.opcion {
    align-items: center;
    background: rgba(45, 212, 191, 0.16);
    border: 1px solid rgba(167, 139, 250, 0.42);
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    min-height: 48px;
    padding: 12px 14px;
    text-align: left;
}

.opcion input {
    accent-color: #8b5cf6;
    height: 18px;
    width: 18px;
}

.mensajeLabel {
    align-self: flex-start;
    font-weight: 700;
}

.mensaje {
    background: rgba(237, 233, 254, 0.94);
    border: 0;
    border-radius: 14px;
    color: #1d1721;
    font: inherit;
    min-height: 120px;
    padding: 14px;
    resize: vertical;
    width: 100%;
}

.respuesta {
    background: rgba(45, 212, 191, 0.18);
    border-radius: 12px;
    margin: 0;
    padding: 12px 14px;
    width: 100%;
}

.oculto {
    display: none;
}

@media (max-width: 380px) {
    .section {
        padding: 18px;
    }

    .botones {
        gap: 8px;
    }

    .btn {
        min-width: 82px;
        padding-inline: 16px;
    }
}
