/* =========================================================
   PromisePrayer — Phase 8 Premium Homepage
   ========================================================= */

.home-premium {
    --home-night: #10283d;
    --home-night-deep: #0b1d2d;
    --home-gold-soft: #e4c889;
    --home-cream-warm: #f6f1e7;
    --home-line: rgba(23, 50, 77, 0.12);

    background:
        radial-gradient(
            circle at 82% 6%,
            rgba(210, 166, 91, 0.11),
            transparent 23rem
        ),
        radial-gradient(
            circle at 8% 22%,
            rgba(49, 95, 77, 0.07),
            transparent 25rem
        ),
        var(--cream-light);

    color: var(--text);
}


/* =========================================================
   Header
   ========================================================= */

.home-premium .site-header {
    background: rgba(251, 248, 242, 0.88);
    border-bottom-color: rgba(23, 50, 77, 0.055);
}

.home-header-inner {
    min-height: 76px;
}

.home-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-stream-header-action {
    display: none;
}


/* =========================================================
   Shared
   ========================================================= */

.home-section {
    position: relative;
    padding: clamp(74px, 9vw, 132px) 0;
}

.home-kicker {
    margin: 0 0 16px;
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.home-display {
    margin: 0;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.home-copy {
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.78;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--navy);
    font-weight: 700;
}

.home-text-link::after {
    content: "→";
    transition: transform 0.2s ease;
}

.home-text-link:hover::after {
    transform: translateX(4px);
}

html[dir="rtl"] .home-text-link::after {
    content: "←";
}

html[dir="rtl"] .home-text-link:hover::after {
    transform: translateX(-4px);
}


/* =========================================================
   Hero
   ========================================================= */

.home-hero {
    position: relative;
    min-height: min(780px, calc(100svh - 76px));
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: clamp(76px, 10vw, 140px) 0;
}

.home-hero::before {
    content: "";
    position: absolute;
    width: min(52vw, 690px);
    aspect-ratio: 1;
    top: -18%;
    right: -8%;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(226, 195, 130, 0.23),
            rgba(226, 195, 130, 0.07) 42%,
            transparent 70%
        );
    filter: blur(8px);
    animation: home-bloom-drift 28s ease-in-out infinite alternate;
}

.home-hero::after {
    content: "";
    position: absolute;
    width: min(44vw, 580px);
    aspect-ratio: 1;
    left: -15%;
    bottom: -34%;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(49, 95, 77, 0.13),
            transparent 69%
        );
    animation: home-bloom-breathe 24s ease-in-out infinite alternate;
}

.home-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: clamp(52px, 8vw, 120px);
    align-items: center;
}

.home-hero-copy {
    max-width: 720px;
}

.home-hero-title {
    max-width: 780px;
    font-size: clamp(3.3rem, 7.5vw, 7rem);
}

.home-hero-subtitle {
    max-width: 650px;
    margin: 28px 0 0;
    color: #62717e;
    font-size: clamp(1.06rem, 1.8vw, 1.28rem);
    line-height: 1.72;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.home-hero-tertiary {
    margin-top: 15px;
}

.home-hero-symbol {
    position: relative;
    width: min(340px, 34vw);
    aspect-ratio: 1;
    margin-inline: auto;
    display: grid;
    place-items: center;
}

.home-hero-symbol::before,
.home-hero-symbol::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.home-hero-symbol::before {
    inset: 5%;
    border: 1px solid rgba(210, 166, 91, 0.22);
    box-shadow:
        0 0 70px rgba(210, 166, 91, 0.10),
        inset 0 0 70px rgba(255, 255, 255, 0.42);
}

.home-hero-symbol::after {
    inset: 20%;
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.98) 0 3%,
            rgba(226, 195, 130, 0.42) 4%,
            rgba(226, 195, 130, 0.08) 24%,
            transparent 60%
        );
    filter: blur(1px);
    animation: home-symbol-breathe 22s ease-in-out infinite alternate;
}

.home-hero-cross {
    position: relative;
    z-index: 3;
    width: 58px;
    height: 82px;
    opacity: 0.72;
}

.home-hero-cross::before,
.home-hero-cross::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background:
        linear-gradient(
            180deg,
            rgba(210, 166, 91, 0.40),
            rgba(49, 95, 77, 0.60)
        );
}

.home-hero-cross::before {
    width: 8px;
    height: 82px;
    left: 25px;
    top: 0;
}

.home-hero-cross::after {
    width: 58px;
    height: 8px;
    left: 0;
    top: 24px;
}


/* =========================================================
   Stream glimpse
   ========================================================= */

.home-stream-section {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.58),
            rgba(246, 241, 231, 0.65)
        );
}

.home-stream-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.68fr);
    gap: clamp(54px, 8vw, 110px);
    align-items: center;
    justify-content: center;
}

.home-stream-intro {
    max-width: 560px;
}

.home-stream-title {
    font-size: clamp(2.7rem, 5.2vw, 5rem);
}

.home-stream-card,
.home-prayer-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 32% 24%,
            rgba(210, 166, 91, 0.24),
            transparent 34%
        ),
        linear-gradient(
            160deg,
            #29465d,
            #10283d 68%
        );
    box-shadow: 0 30px 80px rgba(23, 50, 77, 0.18);
}

.home-stream-card {
    width: min(420px, 100%);
    aspect-ratio: 9 / 16;
    justify-self: center;
}

.home-stream-media,
.home-prayer-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-stream-media img,
.home-prayer-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-media-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(4, 14, 23, 0.10),
            rgba(4, 14, 23, 0.38)
        );
}

.home-overlay--none {
    background: transparent;
}

.home-overlay--soft {
    background:
        linear-gradient(
            180deg,
            rgba(4, 14, 23, 0.08),
            rgba(4, 14, 23, 0.34)
        );
}

.home-overlay--warm-dark {
    background:
        linear-gradient(
            180deg,
            rgba(36, 23, 12, 0.16),
            rgba(26, 15, 8, 0.62)
        );
}

.home-overlay--cool-dark {
    background:
        linear-gradient(
            180deg,
            rgba(5, 16, 29, 0.12),
            rgba(4, 15, 27, 0.64)
        );
}

.home-overlay--bottom-dark {
    background:
        linear-gradient(
            180deg,
            transparent 25%,
            rgba(4, 12, 20, 0.72) 100%
        );
}

.home-overlay--side-dark-left {
    background:
        linear-gradient(
            90deg,
            rgba(3, 11, 18, 0.68),
            rgba(3, 11, 18, 0.05) 74%
        );
}

.home-overlay--side-dark-right {
    background:
        linear-gradient(
            270deg,
            rgba(3, 11, 18, 0.68),
            rgba(3, 11, 18, 0.05) 74%
        );
}

.home-moment-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: clamp(30px, 9%, 52px);
    color: #fff;
    text-shadow:
        0 2px 18px rgba(0, 0, 0, 0.60),
        0 1px 4px rgba(0, 0, 0, 0.48);
}

.home-zone--center {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.home-zone--upper {
    justify-content: flex-start;
    align-items: center;
    padding-top: 18%;
    text-align: center;
}

.home-zone--lower {
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 18%;
    text-align: center;
}

.home-zone--upper-left {
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 18%;
    text-align: left;
}

.home-zone--upper-right {
    justify-content: flex-start;
    align-items: flex-end;
    padding-top: 18%;
    text-align: right;
}

.home-moment-headline {
    max-width: 100%;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 3.2vw, 2.55rem);
    line-height: 1.22;
}

.home-moment-body {
    max-width: 32rem;
    margin: 17px 0 0;
    font-size: clamp(0.94rem, 1.4vw, 1.08rem);
    line-height: 1.62;
    white-space: pre-line;
}

.home-moment-reference {
    margin: 18px 0 0;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.home-stream-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(
            circle at 70% 22%,
            rgba(231, 200, 137, 0.25),
            transparent 28%
        ),
        linear-gradient(
            155deg,
            #35546a,
            #142d43 62%,
            #0f2538
        );
}


/* =========================================================
   Cinematic homepage motion
   ========================================================= */

.home-motion--cinematic-push-v1 {
    animation: home-cinematic-push 28s ease-in-out infinite alternate;
}

.home-motion--cinematic-drift-left-v1 {
    animation: home-cinematic-left 32s ease-in-out infinite alternate;
}

.home-motion--cinematic-drift-right-v1 {
    animation: home-cinematic-right 32s ease-in-out infinite alternate;
}

.home-motion--cinematic-breathe-v1 {
    animation: home-cinematic-breathe 30s ease-in-out infinite alternate;
}

.is-motion-paused
.home-motion--cinematic-push-v1,
.is-motion-paused
.home-motion--cinematic-drift-left-v1,
.is-motion-paused
.home-motion--cinematic-drift-right-v1,
.is-motion-paused
.home-motion--cinematic-breathe-v1 {
    animation-play-state: paused;
}


/* =========================================================
   Genuine presence
   ========================================================= */

.home-presence-section {
    position: relative;
    overflow: hidden;
    padding: clamp(96px, 12vw, 170px) 0;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(210, 166, 91, 0.09),
            transparent 30%
        ),
        linear-gradient(
            155deg,
            var(--home-night),
            var(--home-night-deep)
        );
    color: #fff;
}

.home-presence-inner {
    position: relative;
    z-index: 3;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.home-presence-section .home-kicker {
    color: var(--home-gold-soft);
}

.home-presence-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
    line-height: 1.04;
}

.home-presence-copy {
    margin: 20px auto 0;
    max-width: 590px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.home-presence-actions {
    margin-top: 30px;
}

.home-presence-stars {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.home-distant-star,
.home-presence-light {
    position: absolute;
    border-radius: 50%;
}

.home-distant-star {
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.55);
}

.home-presence-light {
    width: 8px;
    height: 8px;
    background: #efd494;
    box-shadow:
        0 0 13px rgba(239, 212, 148, 0.68),
        0 0 28px rgba(239, 212, 148, 0.22);
    animation: home-presence-breathe 6s ease-in-out infinite alternate;
}

.home-presence-cross {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 24%;
    width: 32px;
    height: 46px;
    transform: translate(-50%, -50%);
    opacity: 0.16;
}

.home-presence-cross::before,
.home-presence-cross::after {
    content: "";
    position: absolute;
    border-radius: 99px;
    background: #efd494;
    box-shadow: 0 0 24px rgba(239, 212, 148, 0.32);
}

.home-presence-cross::before {
    width: 4px;
    height: 46px;
    left: 14px;
}

.home-presence-cross::after {
    width: 32px;
    height: 4px;
    left: 0;
    top: 13px;
}


/* =========================================================
   Three ways to pray
   ========================================================= */

.home-paths-heading {
    max-width: 660px;
    margin-bottom: 58px;
}

.home-paths-title {
    font-size: clamp(2.8rem, 5.3vw, 5rem);
}

.home-paths {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
}

.home-path {
    position: relative;
    min-height: 300px;
    padding: 42px clamp(22px, 3vw, 42px);
}

.home-path + .home-path {
    border-left: 1px solid var(--home-line);
}

.home-path-number {
    display: block;
    margin-bottom: 48px;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.86rem;
}

.home-path h3 {
    margin: 0;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 2.7vw, 2.45rem);
}

.home-path p {
    max-width: 280px;
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.7;
}


/* =========================================================
   Illustrated prayer
   ========================================================= */

.home-prayer-section {
    padding: 0;
}

.home-prayer-card {
    min-height: min(820px, 90svh);
    border-radius: 0;
}

.home-prayer-card .home-moment-content {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    padding-inline: clamp(18px, 4vw, 70px);
}

.home-prayer-card .home-moment-body {
    max-width: 680px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 3vw, 2.75rem);
    line-height: 1.45;
}

.home-prayer-cta {
    margin-top: 28px;
    pointer-events: auto;
}


/* =========================================================
   Final invitation
   ========================================================= */

.home-final {
    text-align: center;
}

.home-final-inner {
    max-width: 920px;
    margin: 0 auto;
}

.home-final-title {
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    line-height: 1.04;
}

.home-final-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}


/* =========================================================
   Footer
   ========================================================= */

.home-premium .site-footer {
    padding-bottom: calc(34px + env(safe-area-inset-bottom));
}


/* =========================================================
   RTL
   ========================================================= */

html[dir="rtl"] .home-zone--upper-left {
    text-align: right;
}

html[dir="rtl"] .home-zone--upper-right {
    text-align: right;
}

html[dir="rtl"] .home-path + .home-path {
    border-left: 0;
    border-right: 1px solid var(--home-line);
}


/* =========================================================
   Animation
   ========================================================= */

@keyframes home-bloom-drift {
    from {
        transform: translate3d(-2%, -2%, 0) scale(0.98);
        opacity: 0.82;
    }

    to {
        transform: translate3d(4%, 3%, 0) scale(1.05);
        opacity: 1;
    }
}

@keyframes home-bloom-breathe {
    from {
        transform: scale(0.95);
        opacity: 0.68;
    }

    to {
        transform: scale(1.06);
        opacity: 1;
    }
}

@keyframes home-symbol-breathe {
    from {
        transform: scale(0.92);
        opacity: 0.58;
    }

    to {
        transform: scale(1.08);
        opacity: 0.92;
    }
}

@keyframes home-cinematic-push {
    from {
        transform: scale(1.01);
    }

    to {
        transform: scale(1.055);
    }
}

@keyframes home-cinematic-left {
    from {
        transform: translateX(1.2%) scale(1.05);
    }

    to {
        transform: translateX(-1.2%) scale(1.05);
    }
}

@keyframes home-cinematic-right {
    from {
        transform: translateX(-1.2%) scale(1.05);
    }

    to {
        transform: translateX(1.2%) scale(1.05);
    }
}

@keyframes home-cinematic-breathe {
    from {
        transform: scale(1.01);
    }

    to {
        transform: scale(1.03);
    }
}

@keyframes home-presence-breathe {
    from {
        transform: scale(0.82);
        opacity: 0.50;
    }

    to {
        transform: scale(1.18);
        opacity: 1;
    }
}


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

@media (min-width: 900px) {
    .home-stream-header-action {
        display: inline-flex;
    }
}

@media (max-width: 900px) {
    .home-hero {
        min-height: auto;
        padding-top: 82px;
    }

    .home-hero-inner,
    .home-stream-layout {
        grid-template-columns: 1fr;
    }

    .home-hero-copy {
        max-width: 680px;
    }

    .home-hero-symbol {
        width: min(260px, 58vw);
        margin-top: 4px;
    }

    .home-stream-intro {
        max-width: 640px;
    }

    .home-stream-card {
        width: min(390px, 88vw);
    }

    .home-paths {
        grid-template-columns: 1fr;
    }

    .home-path {
        min-height: 0;
    }

    .home-path + .home-path {
        border-left: 0;
        border-top: 1px solid var(--home-line);
    }

    html[dir="rtl"] .home-path + .home-path {
        border-right: 0;
    }
}

@media (max-width: 620px) {
    .home-header-inner {
        min-height: 68px;
    }

    .home-premium .brand-text small {
        display: none;
    }

    .home-hero {
        padding: 62px 0 78px;
    }

    .home-hero-title {
        font-size: clamp(3rem, 16vw, 4.6rem);
        line-height: 0.98;
    }

    .home-hero-subtitle {
        margin-top: 22px;
        font-size: 1.04rem;
    }

    .home-hero-actions,
    .home-final-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-hero-actions .btn,
    .home-final-actions .btn {
        width: 100%;
    }

    .home-section {
        padding: 76px 0;
    }

    .home-stream-title,
    .home-paths-title,
    .home-final-title {
        font-size: clamp(2.65rem, 12vw, 4rem);
    }

    .home-stream-card {
        width: min(100%, 360px);
        border-radius: 24px;
    }

    .home-presence-section {
        padding: 100px 0;
    }

    .home-presence-title {
        font-size: clamp(2.45rem, 11vw, 4rem);
    }

    .home-path {
        padding: 34px 4px;
    }

    .home-path-number {
        margin-bottom: 24px;
    }

    .home-prayer-card {
        min-height: 78svh;
    }

    .home-prayer-card .home-moment-content {
        width: min(100% - 30px, 1180px);
    }

    .home-prayer-card .home-moment-body {
        font-size: clamp(1.35rem, 7vw, 2rem);
    }
}


/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .home-hero::before,
    .home-hero::after,
    .home-hero-symbol::after,
    .home-motion--cinematic-push-v1,
    .home-motion--cinematic-drift-left-v1,
    .home-motion--cinematic-drift-right-v1,
    .home-motion--cinematic-breathe-v1,
    .home-presence-light {
        animation: none !important;
        transform: none !important;
    }
}


/* =========================================================
   Approved Prayer Stream presence star — homepage reuse
   ========================================================= */

.home-presence-cross {
    overflow: visible !important;

    width: 13px !important;
    height: 13px !important;

    border-radius: 50% !important;

    background: #ffffff !important;

    opacity: 1 !important;

    box-shadow:
        0 0 8px 3px rgba(255,255,255,0.95),
        0 0 20px 9px rgba(255,235,155,0.70),
        0 0 40px 18px rgba(255,220,100,0.34) !important;

    animation:
        home-approved-star-twinkle
        2.6s
        ease-in-out
        infinite;
}


.home-presence-cross::before {
    content: "" !important;

    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: 18px !important;
    height: 110px !important;

    transform:
        translate(-50%, -50%) !important;

    border-radius: 0 !important;

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.28) 18%,
            rgba(255,255,255,0.90) 43%,
            #ffffff 50%,
            rgba(255,255,255,0.90) 57%,
            rgba(255,255,255,0.28) 82%,
            rgba(255,255,255,0) 100%
        ) !important;

    clip-path:
        polygon(
            50% 0%,
            66% 42%,
            100% 50%,
            66% 58%,
            50% 100%,
            34% 58%,
            0% 50%,
            34% 42%
        ) !important;

    filter:
        drop-shadow(
            0 0 5px
            rgba(255,255,255,0.95)
        ) !important;

    pointer-events: none !important;
}


.home-presence-cross::after {
    content: "" !important;

    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: 78px !important;
    height: 16px !important;

    transform:
        translate(-50%, -50%) !important;

    border-radius: 0 !important;

    background:
        linear-gradient(
            to right,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.28) 18%,
            rgba(255,255,255,0.90) 43%,
            #ffffff 50%,
            rgba(255,255,255,0.90) 57%,
            rgba(255,255,255,0.28) 82%,
            rgba(255,255,255,0) 100%
        ) !important;

    clip-path:
        polygon(
            0% 50%,
            42% 34%,
            50% 0%,
            58% 34%,
            100% 50%,
            58% 66%,
            50% 100%,
            42% 66%
        ) !important;

    filter:
        drop-shadow(
            0 0 5px
            rgba(255,255,255,0.95)
        ) !important;

    pointer-events: none !important;
}


@keyframes home-approved-star-twinkle {

    0% {
        filter: brightness(0.92);
    }

    50% {
        filter: brightness(1.32);
    }

    100% {
        filter: brightness(1.02);
    }

}


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

    .home-presence-cross {
        animation: none !important;
    }

}


/* =========================================================
   PREMIUM HERO PRAYER STAR
   Same visual language as the approved Prayer Stream star
   ========================================================= */

.home-hero-symbol {
    position: relative;

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

    overflow: visible;

    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}


.home-hero-symbol::before,
.home-hero-symbol::after {
    content: none !important;
}


.home-hero-star {
    position: relative;

    display: block;

    width: 18px;
    height: 18px;

    overflow: visible;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 0 10px 4px rgba(255,255,255,0.96),
        0 0 26px 12px rgba(255,235,155,0.72),
        0 0 58px 28px rgba(255,220,100,0.34),
        0 0 120px 52px rgba(255,220,100,0.13);

    animation:
        home-hero-star-breathe
        4.2s
        ease-in-out
        infinite
        alternate,
        home-hero-star-twinkle
        2.6s
        ease-in-out
        infinite;

    z-index: 2;
}


.home-hero-star::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 22px;
    height: 150px;

    transform:
        translate(-50%, -50%);

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.18) 14%,
            rgba(255,255,255,0.50) 29%,
            rgba(255,255,255,0.92) 43%,
            #ffffff 50%,
            rgba(255,255,255,0.92) 57%,
            rgba(255,255,255,0.50) 71%,
            rgba(255,255,255,0.18) 86%,
            rgba(255,255,255,0) 100%
        );

    clip-path:
        polygon(
            50% 0%,
            66% 42%,
            100% 50%,
            66% 58%,
            50% 100%,
            34% 58%,
            0% 50%,
            34% 42%
        );

    filter:
        drop-shadow(
            0 0 7px
            rgba(255,255,255,0.95)
        );

    pointer-events: none;
}


.home-hero-star::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 112px;
    height: 20px;

    transform:
        translate(-50%, -50%);

    background:
        linear-gradient(
            to right,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.18) 14%,
            rgba(255,255,255,0.50) 29%,
            rgba(255,255,255,0.92) 43%,
            #ffffff 50%,
            rgba(255,255,255,0.92) 57%,
            rgba(255,255,255,0.50) 71%,
            rgba(255,255,255,0.18) 86%,
            rgba(255,255,255,0) 100%
        );

    clip-path:
        polygon(
            0% 50%,
            42% 34%,
            50% 0%,
            58% 34%,
            100% 50%,
            58% 66%,
            50% 100%,
            42% 66%
        );

    filter:
        drop-shadow(
            0 0 7px
            rgba(255,255,255,0.95)
        );

    pointer-events: none;
}


@keyframes home-hero-star-breathe {

    from {
        transform: scale(0.94);
    }

    to {
        transform: scale(1.08);
    }

}


@keyframes home-hero-star-twinkle {

    0% {
        filter: brightness(0.94);
    }

    50% {
        filter: brightness(1.34);
    }

    100% {
        filter: brightness(1.02);
    }

}


@media (max-width: 900px) {

    .home-hero-symbol {
        display: flex !important;

        min-height: 150px !important;

        margin-top: 10px;
    }

    .home-hero-star {
        transform: scale(0.82);
    }

}


@media (max-width: 620px) {

    .home-hero-symbol {
        min-height: 120px !important;
    }

    .home-hero-star {
        transform: scale(0.68);
    }

}


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

    .home-hero-star {
        animation: none !important;
    }

}


/* =========================================================
   HERO STAR CONTRAST BOOST
   Darker right-side background so the star shines stronger
   ========================================================= */

.home-hero-symbol {
    background:
        radial-gradient(
            circle at center,
            rgba(8, 16, 30, 0.88) 0%,
            rgba(10, 20, 36, 0.74) 28%,
            rgba(12, 23, 40, 0.46) 52%,
            rgba(12, 23, 40, 0.18) 72%,
            rgba(12, 23, 40, 0.00) 100%
        ) !important;

    border-radius: 32px;
    padding: 44px 36px !important;

    box-shadow:
        inset 0 0 70px rgba(3, 8, 18, 0.34),
        0 18px 50px rgba(6, 12, 24, 0.18);

    isolation: isolate;
}

@media (max-width: 900px) {
    .home-hero-symbol {
        padding: 32px 24px !important;
        border-radius: 24px;
    }
}

@media (max-width: 620px) {
    .home-hero-symbol {
        padding: 24px 18px !important;
        border-radius: 20px;
    }
}


/* =========================================================
   NATIVITY NIGHT HERO
   Full-width deep blue hero strip
   ========================================================= */

.home-hero {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(73, 104, 151, 0.42) 0%,
            rgba(40, 68, 108, 0.24) 26%,
            rgba(22, 45, 76, 0.08) 46%,
            rgba(15, 32, 56, 0) 66%
        ),
        linear-gradient(
            135deg,
            #0d2138 0%,
            #122c49 42%,
            #173a5d 72%,
            #1d466b 100%
        ) !important;

    color: #f8f3e8;
}


/* soft atmospheric glow across the full strip */

.home-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 82% 38%,
            rgba(210, 166, 91, 0.13),
            transparent 24%
        ),
        radial-gradient(
            circle at 14% 20%,
            rgba(255,255,255,0.035),
            transparent 30%
        );

    z-index: 0;
}


.home-hero > * {
    position: relative;
    z-index: 1;
}


/* Hero typography on dark sky */

.home-hero h1,
.home-hero h2 {
    color: #fbf8f2 !important;
}


.home-hero p {
    color: rgba(248, 243, 232, 0.82) !important;
}


/* Keep the star floating directly in the sky */

.home-hero-symbol {
    background: transparent !important;

    box-shadow: none !important;

    border: 0 !important;

    padding: 0 !important;

    border-radius: 0 !important;
}


/* Primary action */

.home-hero .btn-primary {
    color: #17324d !important;

    background: #f6f1e7 !important;

    border-color: #f6f1e7 !important;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.18);
}


/* Secondary action */

.home-hero .btn-secondary {
    color: #fbf8f2 !important;

    border-color:
        rgba(251, 248, 242, 0.46) !important;

    background:
        rgba(255,255,255,0.06) !important;
}


/* Text-style links inside hero */

.home-hero a:not(.btn-primary):not(.btn-secondary) {
    color: #f0d59a;
}


/* Slightly richer star glow against night sky */

.home-hero-star {
    box-shadow:
        0 0 10px 4px rgba(255,255,255,0.98),
        0 0 28px 13px rgba(255,235,155,0.78),
        0 0 64px 30px rgba(255,220,100,0.39),
        0 0 140px 62px rgba(255,220,100,0.16);
}


@media (max-width: 900px) {

    .home-hero {
        background:
            radial-gradient(
                circle at 50% 74%,
                rgba(73, 104, 151, 0.38),
                transparent 38%
            ),
            linear-gradient(
                160deg,
                #0d2138 0%,
                #14304f 58%,
                #1b4164 100%
            ) !important;
    }

}


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

    .home-hero-star {
        animation: none !important;
    }

}


/* =========================================================
   BLUE STRIP MOVED TO PRAYER STREAM
   Hero returns to cream; star section becomes night blue
   ========================================================= */


/* HERO — back to warm light background */

.home-hero {
    background:
        linear-gradient(
            135deg,
            #fbf8f2 0%,
            #f6f1e7 58%,
            #f1eadc 100%
        ) !important;

    color: #17324d !important;
}


.home-hero::before {
    background:
        radial-gradient(
            circle at 78% 40%,
            rgba(210, 166, 91, 0.10),
            transparent 32%
        ) !important;
}


.home-hero h1,
.home-hero h2 {
    color: #17324d !important;
}


.home-hero p {
    color: #637386 !important;
}


.home-hero .btn-primary {
    color: #ffffff !important;
    background: #17324d !important;
    border-color: #17324d !important;

    box-shadow:
        0 10px 28px
        rgba(23, 50, 77, 0.16);
}


.home-hero .btn-secondary {
    color: #17324d !important;

    border-color:
        rgba(23, 50, 77, 0.34) !important;

    background:
        transparent !important;
}


.home-hero a:not(.btn-primary):not(.btn-secondary) {
    color: #315f4d !important;
}


/* PRAYER STREAM — becomes the full night-blue strip */

.home-stream-section {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 76% 46%,
            rgba(75, 108, 154, 0.46) 0%,
            rgba(43, 74, 116, 0.27) 28%,
            rgba(21, 47, 80, 0.08) 50%,
            rgba(13, 33, 56, 0) 68%
        ),
        linear-gradient(
            135deg,
            #0d2138 0%,
            #122c49 42%,
            #173a5d 72%,
            #1d466b 100%
        ) !important;

    color: #fbf8f2 !important;
}


.home-stream-section::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(239, 206, 116, 0.12),
            transparent 24%
        ),
        radial-gradient(
            circle at 15% 25%,
            rgba(255,255,255,0.035),
            transparent 32%
        );
}


.home-stream-section > * {
    position: relative;
    z-index: 1;
}


.home-stream-section .home-kicker {
    color: #efd494 !important;
}


.home-stream-section .home-stream-title,
.home-stream-section h2 {
    color: #fbf8f2 !important;
}


.home-stream-section .home-copy {
    color: rgba(248, 243, 232, 0.78) !important;
}


.home-stream-section .home-text-link {
    color: #efd494 !important;
}


/* Star sits naturally in the blue strip */

.home-stream-section .home-hero-symbol {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}


.home-stream-section .home-hero-star {
    box-shadow:
        0 0 10px 4px rgba(255,255,255,0.98),
        0 0 28px 13px rgba(255,235,155,0.80),
        0 0 66px 31px rgba(255,220,100,0.42),
        0 0 145px 64px rgba(255,220,100,0.18);
}


@media (max-width: 900px) {

    .home-stream-section {
        background:
            radial-gradient(
                circle at 50% 72%,
                rgba(75,108,154,0.40),
                transparent 38%
            ),
            linear-gradient(
                160deg,
                #0d2138 0%,
                #14304f 58%,
                #1b4164 100%
            ) !important;
    }

}
