:root {
    --gold: #b28422;
    --orange: #df6434;
    --blue-dark: #0f172a;
    --glass: rgba(255, 255, 255, 0.05);
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.cuerpo {
    background-color: var(--blue-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(223, 100, 52, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(178, 132, 34, 0.1) 0px, transparent 50%);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

/* --- LOGO ANIMADO --- */
.img1 {
    height: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- TÍTULO PRINCIPAL --- */
.tituloEncabezado {
    font-family: 'Rubik Doodle Shadow', cursive;
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--gold);
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* --- CONTENEDOR DE TEXTO (GLASS) --- */
.contenedortext {
    max-width: 900px;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    margin-bottom: 40px;
    /* Para que el texto largo no canse, limitamos altura y ponemos scroll si es necesario */
    max-height: 70vh;
    overflow-y: auto;
}

/* Personalización del Scrollbar (Barra de desplazamiento) */
.contenedortext::-webkit-scrollbar {
    width: 8px;
}
.contenedortext::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.contenedortext::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 10px;
}

/* --- BLOQUES DE TEXTO --- */
.boxtext, .boxtext1 {
    margin-bottom: 40px;
}

#titulobox, #titulobox1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--orange);
    border-bottom: 2px solid var(--orange);
    display: inline-block;
    margin-bottom: 20px;
    padding-right: 20px;
}

p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #cbd5e1; /* Color gris suave para lectura prolongada */
    text-align: justify;
}

/* Resaltar el check de los puntos */
p::first-letter {
    color: var(--gold);
    font-weight: bold;
}

/* --- BOTÓN DE CIERRE --- */
.boton {
    background: linear-gradient(135deg, var(--orange), #8e3e21);
    color: white;
    border: none;
    padding: 15px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(223, 100, 52, 0.3);
}

.boton:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(223, 100, 52, 0.5);
    letter-spacing: 2px;
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 600px) {
    .contenedortext {
        padding: 20px;
        max-height: none; /* En móviles mejor que fluya todo el texto */
    }
    .tituloEncabezado { font-size: 1.5rem; }
    #titulobox, #titulobox1 { font-size: 1.2rem; }
}