/* =========================================================
   Church Portal — Landing Page
   ========================================================= */

/*.cpp-landing-page{
    --cpp-landing-purple:#6F2D96;
    --cpp-landing-purple-light:#9a5ac2;
    --cpp-landing-purple-dark:#311044;
    --cpp-landing-deep:#12051d;
    --cpp-landing-white:#ffffff;
    --cpp-landing-gold:#f2b544;

    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    width:100%;
    min-height:100vh;

    overflow:hidden;

    padding:70px 20px;

    

    color:#fff;
    background-image: url(https://estacadachurch.com/wp-content/uploads/2026/08/1000029827.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.cpp-landing-page:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(111,45,150,.7),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #16071f 0%,
            #341048 40%,
            #6F2D96 100%
        );
    opacity: 0.8;
}*/


/* =========================================================
   Buttons
   ========================================================= */

.cpp-landing-page .cpp-landing-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:16px;
    margin-top:38px;
}

.cpp-landing-page .cpp-landing-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-width:210px;
    min-height:58px;
    padding: 12px 24px;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 9px;
    color:#fff;
    font-size:13px;
    font-weight:800;
    letter-spacing:.02em;
    text-decoration:none;
    transition:
        transform .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.cpp-landing-page .cpp-landing-button-primary{
    background: #6d28d9
    box-shadow:
        0 10px 28px
        rgba(44,10,62,.35);
}

.cpp-landing-page .cpp-landing-button-secondary{
    background:
        rgba(255,255,255,.07);
    backdrop-filter:
        blur(8px);
}

.cpp-landing-page .cpp-landing-button:hover{
    color: #fff;
    transform:
        translateY(-2px);
    box-shadow:
        0 14px 32px
        rgba(20,4,30,.38);
}

.cpp-landing-page .cpp-landing-button-icon{
    display:flex;
    align-items:center;
    justify-content:center;
}

.cpp-landing-page .cpp-landing-button-icon svg{
    width:22px;
    height:22px;
}

.cpp-landing-page .cpp-landing-button:hover svg { stroke: #fff;}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width:760px){

    .cpp-landing-page{
        min-height:100svh;

        padding:
            54px 18px;
    }

    .cpp-landing-page .cpp-landing-content h1{
        font-size:
            clamp(
                48px,
                14vw,
                68px
            );
    }

    .cpp-landing-page .cpp-landing-rings{
        width:560px;
        height:560px;
    }

    .cpp-landing-page .cpp-landing-cross{
        top:5%;

        width:88px;
        height:128px;
    }

    .cpp-landing-page .cpp-landing-cross-vertical{
        height:128px;
    }

    .cpp-landing-page .cpp-landing-cross-horizontal{
        top:38px;
        left:7px;
        width:74px;
    }

    .cpp-landing-page .cpp-landing-church{
        width:330px;
        height:260px;
    }

}


@media (max-width:520px){

    .cpp-landing-page .cpp-landing-eyebrow{
        font-size:13px;
    }

    .cpp-landing-page .cpp-landing-divider{
        width:150px;
        margin-bottom:23px;
    }

    .cpp-landing-page .cpp-landing-schedule{
        margin-top:22px;
    }

    .cpp-landing-page .cpp-landing-schedule p{
        font-size:16px;
    }

    .cpp-landing-page .cpp-landing-actions{
        flex-direction:column;

        margin-top:30px;
    }
}

/* =============================================
   EAG AURORA BACKGROUND
   Blue / Red / Yellow / Gold
============================================= */

.eag-aurora-section {
    --eag-blue: #0057F3;
    --eag-deep-blue: #00165f;
    --eag-red: #d8232a;
    --eag-yellow: #ffd52a;
    --eag-gold: #f2b544;

    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #020817 0%,
            #020b24 45%,
            #070707 100%
        );

    color: #ffffff;
}


/* =============================================
   BACKGROUND WRAPPER
============================================= */

.eag-aurora-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}


/* =============================================
   RADIAL AURORA GLOW
============================================= */

.eag-aurora-gradient {
    position: absolute;
    inset: -10%;

    background:
        radial-gradient(
            circle at 20% 40%,
            rgba(0, 87, 243, 0.38) 0%,
            transparent 42%
        ),

        radial-gradient(
            circle at 80% 65%,
            rgba(216, 35, 42, 0.30) 0%,
            transparent 42%
        ),

        radial-gradient(
            circle at 55% 20%,
            rgba(242, 181, 68, 0.16) 0%,
            transparent 36%
        );

    animation: eagAuroraPulse 10s ease-in-out infinite;
}

/* =============================================
   MOVING BLOBS
============================================= */

.eag-aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.42;
    mix-blend-mode: screen;
    will-change: transform;
}

.eag-blob-blue {
    width: 600px;
    height: 600px;
    top: -220px;
    left: -180px;
    background: var(--eag-blue);
    animation:
        eagMoveBlue 28s ease-in-out infinite alternate;
}

.eag-blob-red {
    width: 580px;
    height: 580px;
    right: -190px;
    bottom: -240px;
    background: var(--eag-red);
    animation:
        eagMoveRed 34s ease-in-out infinite alternate;
}

.eag-blob-gold {
    width: 420px;
    height: 420px;
    left: 42%;
    top: 35%;
    background: var(--eag-gold);
    opacity: 0.18;
    animation:
        eagMoveGold 40s ease-in-out infinite alternate;
}

/* =============================================
   STARS
============================================= */

.eag-aurora-stars {
    position: absolute;
    inset: 0;
}

.eag-aurora-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0;
    box-shadow:
        0 0 5px rgba(255,255,255,.8);
    animation:
        eagTwinkle var(--duration) ease-in-out infinite;
    animation-delay:
        var(--delay);
}


/* =============================================
   CONTENT
============================================= */

.eag-aurora-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding: 120px 30px;
    text-align: center;
}

.eag-aurora-label {
        display: inline-block;
    margin-bottom: 22px;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 4px;
    font-family: "Merriweather Sans", Arial, sans-serif;
}

/*.eag-aurora-content h1 {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(50px, 7vw, 92px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -3px;
    font-family: var(--cpp-font-body);
}*/

.eag-aurora-content h1 span {
    background:
        linear-gradient(
            90deg,
            var(--eag-yellow),
            var(--eag-gold),
            #ffffff
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eag-aurora-content p {
    max-width: 680px;
    margin:28px auto 0;
    color: #fff;
    font-size: 22px;
    line-height: 1.75;
}

/* =============================================
   BUTTONS
============================================= */

.eag-aurora-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 38px;
}

.eag-btn {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.eag-btn-primary {
    color: #fff;
    background: linear-gradient(90deg, #6d28d9, #6F2D96);
    box-shadow:
        0 12px 35px rgba(0,87,243,.30);
}

.eag-btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow:
        0 18px 45px rgba(0,87,243,.45);
}

.eag-btn-outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(8px);
}

.eag-btn-outline:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.10);
}

/* =============================================
   ANIMATIONS
============================================= */

@keyframes eagAuroraPulse {

    0%,
    100% {
        opacity: .7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}


@keyframes eagMoveBlue {

    0% {
        transform:
            translate(0, 0)
            scale(1);
    }

    100% {
        transform:
            translate(120px, 70px)
            scale(1.18);
    }
}


@keyframes eagMoveRed {

    0% {
        transform:
            translate(0, 0)
            scale(1);
    }

    100% {
        transform:
            translate(-130px, -80px)
            scale(1.22);
    }
}


@keyframes eagMoveGold {

    0% {
        transform:
            translate(-50px, 30px)
            scale(1);
    }

    100% {
        transform:
            translate(100px, -90px)
            scale(1.35);
    }
}


@keyframes eagTwinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(.6);
    }

    50% {
        opacity: .85;
        transform: scale(1.4);
    }
}


/* =============================================
   RESPONSIVE
============================================= */

@media (max-width: 767px) {

    .eag-aurora-content {
        padding:
            100px 22px;
    }

    .eag-aurora-content h1 {
        letter-spacing: 3px;
        font-size: 60px;
    }

    .eag-aurora-content p {
        font-size: 17px;
    }

}


/* =============================================
   ACCESSIBILITY
============================================= */

@media (prefers-reduced-motion: reduce) {

    .eag-aurora-gradient,
    .eag-aurora-blob,
    .eag-aurora-star {
        animation: none !important;
    }

}

/* ==========================================
   Animated Gradient Text
========================================== */

.eag-gradient-text-wrap {
    width: 100%;
    min-height: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 0px;
    text-align: center;
}

/* Gradient Text */

.eag-gradient-text {
    display: inline-block;
    margin: 0;
    font-size: clamp(48px, 7vw, 82px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 3px;
    font-family: "Merriweather", Georgia, serif;
    background-image: linear-gradient(
        135deg,

        #0057F3,
        #1d73ff,
        #f2b544,
        #ffd52a,
        #dc2626,
        #f2b544,
        #0057F3,

        #0057F3,
        #1d73ff,
        #f2b544,
        #ffd52a,
        #dc2626,
        #f2b544,
        #0057F3
    );

    background-size: 700% 100%;
    background-position: 0% 50%;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;
    animation:
        eagGradientText 6s linear infinite;
}

/* Animation */
@keyframes eagGradientText {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }

}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    .eag-gradient-text {
        animation: none;
        background-position: 50% 50%;
    }

}