/* --- Configuración Global --- */
:root {
    --bg-color: #ffffff;
    --text-main: #0d0d0d;
    --text-secondary: #444746; 
    --transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Google Sans Flex', sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* --- HEADER (Copia exacta de Nación Escrito) --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: clamp(1rem, 3vw, 1.5rem) clamp(5%, 8vw, 10%); 
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
}

.logo-brand {
    text-decoration: none;
    color: var(--text-main);
    font-size: clamp(1.1rem, 2.5vw, 1.25rem); 
    font-weight: 400;  
    letter-spacing: -0.5px;
    white-space: nowrap;
    /* Alineación perfecta con el nav */
    display: flex;
    align-items: center;
}

.nav-date {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    opacity: 0.8;
    letter-spacing: 0.2px;
    text-transform: capitalize;
}

/* --- CUERPO DEL DEVOCIONAL --- */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: clamp(100px, 15vh, 140px) clamp(1.5rem, 5vw, 8%) 4rem;
}

.devocional-content {
    width: 100%;
    max-width: 720px; /* Un poco más ancho para lectura cómoda */
    animation: fadeIn 0.8s ease-out;
}

h1 {
    font-size: clamp(2.2rem, 8vw, 4rem); 
    font-weight: 400; 
    letter-spacing: -1.5px; 
    margin-bottom: 1.5rem;
    line-height: 1.15; 
    color: #1f1f1f;
}

.cita-biblica {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    border-left: 2px solid #000;
    padding-left: 1.25rem;
}

.content-body p {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    margin-bottom: 1.8rem;
    color: #1f1f1f;
    line-height: 1.7;
}

/* --- BOTÓN NEGRO MINIMALISTA --- */
.actions {
    margin-top: 3.5rem;
}

.btn-main {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--text-main);
    color: var(--bg-color);
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px; 
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    max-width: 320px;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- FOOTER --- */
footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #9aa0a6;
    margin-top: auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ajuste móvil */
@media (max-width: 768px) {
    header {
        padding-left: 6%;
        padding-right: 6%;
    }
}