/* Estilos compartidos por las páginas de juego */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 15px;
    box-sizing: border-box;
}

.home-link {
    display: block;
    text-align: center;
    margin-top: 25px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.home-link:hover {
    color: #fff;
    transform: scale(1.05);
}

.credit {
    margin: 4px 0 0;
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.6);
}

.credit a {
    color: inherit;
}

/* --- Guías de contenido (SEO) --- */
.guia {
    width: 100%;
    max-width: 700px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

.guia-bloque {
    background: #fff;
    color: #1c1e21;
    border-radius: 15px;
    padding: 22px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
    box-sizing: border-box;
    text-align: left;
}

.guia-bloque h2 {
    margin: 0 0 12px;
    font-size: 1.25em;
    color: #1c1e21;
}

.guia-bloque h3 {
    margin: 0 0 6px;
    font-size: 1.05em;
    color: #1c1e21;
}

.guia-bloque p {
    line-height: 1.65;
    margin: 0 0 12px;
    color: #333;
}

.guia-bloque p:last-child {
    margin-bottom: 0;
}

.guia-bloque ul {
    line-height: 1.65;
    margin: 0;
    padding-left: 20px;
    color: #333;
}

.guia-bloque li {
    margin-bottom: 6px;
}

.guia-bloque a {
    color: #2980b9;
    font-weight: 700;
    text-decoration: none;
}

.guia-bloque a:hover {
    text-decoration: underline;
}

.faq-item {
    margin-bottom: 18px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .guia-bloque {
        padding: 32px;
    }

    .guia-bloque h2 {
        font-size: 1.5em;
    }
}
