/* ========== RESET Y BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0a1628 0%, #1a2847 25%, #2d3e5f 50%, #1a2847 75%, #0a1628 100%);
    font-family: 'Georgia', 'Times New Roman', serif;
    min-height: 100vh;
    padding: 20px;
    color: #f0f4f8;
    line-height: 1.7;
    position: relative;
}

/* Efecto de nieve cayendo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent);
    background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
    animation: snowfall 20s linear infinite;
    pointer-events: none;
    opacity: 0.6;
    z-index: 1;
}

@keyframes snowfall {
    0% { background-position: 0 0, 40px 60px, 130px 270px, 70px 100px; }
    100% { background-position: 0 400px, 40px 460px, 130px 670px, 70px 500px; }
}

/* ========== NAVEGACIÓN - BOTÓN VOLVER ========== */
.nav-volver {
    max-width: 1200px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 10;
}

.btn-volver {
    display: inline-block;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.9), rgba(230, 230, 250, 0.9));
    color: #1a2847;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3), 0 0 20px rgba(192, 192, 192, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-volver:hover {
    background: linear-gradient(135deg, rgba(230, 230, 250, 0.95), rgba(255, 255, 255, 0.95));
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(192, 192, 192, 0.4);
    border-color: #ffffff;
}

/* ========== HERO / ENCABEZADO ========== */
.hero {
    background: linear-gradient(135deg, rgba(26, 40, 71, 0.8), rgba(45, 62, 95, 0.85));
    border-radius: 30px;
    padding: 60px 40px;
    margin: 0 auto 50px;
    max-width: 1200px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(192, 192, 192, 0.2);
    border: 3px solid rgba(192, 192, 192, 0.4);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(192, 192, 192, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.hero::after {
    content: '❄';
    position: absolute;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.05);
    top: 10px;
    right: 30px;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.15; }
}

.hero-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: float 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(192, 192, 192, 0.5));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.titulo {
    color: #e6e6fa;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(192, 192, 192, 0.4);
    margin-bottom: 15px;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.subtitulo {
    color: #c0c0c0;
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
}

.hero-descripcion {
    color: #f0f4f8;
    font-size: 1.2rem;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* ========== INTRODUCCIÓN ========== */
.introduccion {
    max-width: 1000px;
    margin: 50px auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 244, 248, 0.98));
    border-radius: 20px;
    padding: 45px 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(192, 192, 192, 0.2);
    border-left: 6px solid #4a5f7f;
    border-right: 6px solid #4a5f7f;
    position: relative;
    z-index: 10;
}

.texto-intro {
    color: #1a2847;
    font-size: 1.2rem;
    line-height: 2;
    text-align: justify;
    font-weight: 400;
}

/* ========== SECCIONES DE CONTENIDO ========== */
.seccion-contenido {
    max-width: 1100px;
    margin: 60px auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 244, 248, 0.96));
    border-radius: 25px;
    padding: 50px 45px;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(192, 192, 192, 0.15);
    border: 2px solid rgba(74, 95, 127, 0.3);
    position: relative;
    z-index: 10;
}

.icono-seccion {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 15px rgba(192, 192, 192, 0.3));
}

.titulo-seccion {
    color: #2d3e5f;
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 35px;
    font-weight: 700;
    border-bottom: 4px solid #c0c0c0;
    padding-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.subseccion {
    margin: 35px 0;
}

.subtitulo-seccion {
    color: #4a5f7f;
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-left: 5px solid #c0c0c0;
    padding-left: 20px;
}

.texto-contenido {
    color: #2d3e5f;
    font-size: 1.15rem;
    line-height: 1.9;
    text-align: justify;
    margin: 20px 0;
}

.texto-contenido strong {
    color: #1a2847;
    font-weight: 700;
}

/* ========== LISTA ELEGANTE ========== */
.lista-elegante {
    margin: 40px 0;
}

.item-lista {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.08), rgba(230, 230, 250, 0.08));
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid #4a5f7f;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 0 10px rgba(192, 192, 192, 0.1);
    transition: all 0.3s ease;
}

.item-lista:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(74, 95, 127, 0.2), 0 0 20px rgba(192, 192, 192, 0.2);
}

.numero-item {
    background: linear-gradient(135deg, #4a5f7f, #6b7f9f);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 25px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(74, 95, 127, 0.4), 0 0 15px rgba(192, 192, 192, 0.2);
}

.contenido-item h4 {
    color: #2d3e5f;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.contenido-item p {
    color: #4a5f7f;
    font-size: 1.1rem;
    line-height: 1.7;
}

.sub-lista {
    list-style: none;
    padding-left: 20px;
    margin-top: 15px;
}

.sub-lista li {
    color: #4a5f7f;
    font-size: 1.05rem;
    padding: 8px 0;
    border-left: 3px solid #c0c0c0;
    padding-left: 15px;
    margin-bottom: 8px;
}

/* ========== NOTA ESPECIAL ========== */
.nota-especial {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(230, 230, 250, 0.15));
    border-radius: 15px;
    padding: 25px 30px;
    margin: 30px 0;
    border: 2px solid #c0c0c0;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(192, 192, 192, 0.2), 0 0 15px rgba(255, 255, 255, 0.1);
}

.icono-nota {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(192, 192, 192, 0.3));
}

.nota-especial p {
    color: #1a2847;
    font-size: 1.15rem;
    margin: 0;
    font-weight: 500;
}

/* ========== CAJA BATALLA ========== */
.caja-batalla {
    background: linear-gradient(135deg, rgba(74, 95, 127, 0.1), rgba(107, 127, 159, 0.1));
    border-radius: 20px;
    padding: 40px;
    margin: 35px 0;
    border: 3px solid #4a5f7f;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(192, 192, 192, 0.1);
}

.titulo-batalla {
    color: #2d3e5f;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.texto-batalla {
    color: #2d3e5f;
    font-size: 1.15rem;
    line-height: 1.9;
    text-align: justify;
    margin-bottom: 25px;
}

.resultado-batalla {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(230, 230, 250, 0.2));
    border-radius: 12px;
    padding: 25px;
    border-left: 5px solid #c0c0c0;
}

.resultado-batalla p {
    color: #1a2847;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.fecha-destacada {
    background: linear-gradient(135deg, #4a5f7f, #6b7f9f);
    color: #fff;
    padding: 3px 12px;
    border-radius: 8px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(74, 95, 127, 0.3);
}

/* ========== SUBSECCIÓN ESPECIAL ========== */
.subseccion-especial {
    margin: 35px 0;
}

.subtitulo-especial {
    color: #2d3e5f;
    font-size: 1.7rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.momentos-cristo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.momento {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(230, 230, 250, 0.1));
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    border: 2px solid rgba(192, 192, 192, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 0 10px rgba(192, 192, 192, 0.1);
}

.momento:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(74, 95, 127, 0.3), 0 0 20px rgba(192, 192, 192, 0.2);
    border-color: #4a5f7f;
}

.icono-momento {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 8px rgba(192, 192, 192, 0.3));
}

.momento p {
    color: #1a2847;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* ========== COMBINACIÓN ORACIÓN ========== */
.combinacion-oracion {
    margin: 40px 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(240, 244, 248, 0.5));
    border-radius: 20px;
    padding: 35px;
}

.titulo-combinacion {
    color: #2d3e5f;
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.elementos-oracion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.elemento {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.12), rgba(230, 230, 250, 0.12));
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 2px solid rgba(192, 192, 192, 0.3);
    transition: all 0.3s ease;
}

.elemento:hover {
    transform: translateY(-5px);
    border-color: #4a5f7f;
    box-shadow: 0 6px 20px rgba(74, 95, 127, 0.2), 0 0 15px rgba(192, 192, 192, 0.2);
}

.icono-elemento {
    font-size: 2.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px rgba(192, 192, 192, 0.2));
}

.elemento p {
    color: #1a2847;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* ========== CITA FINAL ========== */
.cita-final {
    background: linear-gradient(135deg, rgba(74, 95, 127, 0.15), rgba(107, 127, 159, 0.15));
    border-radius: 20px;
    padding: 40px 50px;
    margin: 40px 0;
    border-left: 6px solid #4a5f7f;
    border-right: 6px solid #4a5f7f;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(192, 192, 192, 0.15);
    position: relative;
}

.cita-final::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    color: rgba(74, 95, 127, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.texto-cita {
    color: #1a2847;
    font-size: 1.25rem;
    line-height: 2;
    text-align: center;
    font-style: italic;
    margin: 0;
}

.texto-cita strong {
    color: #2d3e5f;
    font-weight: 700;
    font-style: normal;
}

/* ========== PIE DE PÁGINA ========== */
.footer {
    text-align: center;
    padding: 35px 20px;
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(26, 40, 71, 0.6), rgba(45, 62, 95, 0.6));
    border-radius: 20px;
    border-top: 4px solid #4a5f7f;
    color: #e6e6fa;
    font-size: 1.1rem;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(192, 192, 192, 0.15);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}

.footer p {
    margin: 0;
    letter-spacing: 1px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .hero {
        padding: 40px 25px;
    }

    .titulo {
        font-size: 2.3rem;
    }

    .subtitulo {
        font-size: 1.4rem;
    }

    .hero-descripcion {
        font-size: 1rem;
    }

    .introduccion,
    .seccion-contenido {
        padding: 30px 25px;
    }

    .texto-intro {
        font-size: 1.05rem;
    }

    .titulo-seccion {
        font-size: 1.8rem;
    }

    .momentos-cristo {
        grid-template-columns: 1fr;
    }

    .elementos-oracion {
        grid-template-columns: 1fr;
    }

    .item-lista {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .numero-item {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .cita-final {
        padding: 30px 25px;
    }

    .cita-final::before {
        font-size: 5rem;
    }
}