/* =========================================================
   ASTROLUA — LOVE & RELATIONSHIPS
   LuaCheia.org
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --astro-purple: #3f2468;
    --astro-purple-deep: #28133f;
    --astro-purple-soft: #7655a0;
    --astro-lilac: #eee7f5;
    --astro-lilac-light: #f7f3fa;
    --astro-gold: #c49a45;
    --astro-gold-soft: #ead8ad;
    --astro-ivory: #fffdf8;
    --astro-text: #332a3d;
    --astro-muted: #756c7e;
    --astro-border: rgba(63, 36, 104, 0.13);
}


/* =========================================================
   PAGE
========================================================= */

.astro-love-page {
    background: var(--astro-ivory);
    color: var(--astro-text);
    overflow: hidden;
}

.astro-love-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.astro-love-hero {
    position: relative;
    padding: 145px 0 92px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 18% 22%,
            rgba(196, 154, 69, 0.18),
            transparent 28%
        ),
        radial-gradient(
            circle at 82% 30%,
            rgba(168, 132, 202, 0.22),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #32194f 0%,
            #4b2873 48%,
            #67408a 100%
        );

    color: #fff;
}

.astro-love-hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(234, 216, 173, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.astro-love-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    text-align: center;
}

.astro-love-back {
    position: absolute;
    left: 0;
    top: -45px;

    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.astro-love-back:hover {
    color: var(--astro-gold-soft);
}

.astro-love-hero-symbol {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;

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

    border: 1px solid rgba(234, 216, 173, 0.52);
    border-radius: 50%;

    color: var(--astro-gold-soft);
    font-size: 2rem;

    box-shadow:
        0 0 0 9px rgba(255, 255, 255, 0.025),
        0 0 38px rgba(196, 154, 69, 0.14);
}

.astro-love-hero .section-eyebrow {
    color: var(--astro-gold-soft);
    letter-spacing: 0.16em;
}

.astro-love-hero h1 {
    margin: 10px 0 18px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 5vw, 4.7rem);
    line-height: 1.04;
    font-weight: 500;
}

.astro-love-hero-text {
    max-width: 670px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.8;
}

.love-star {
    position: absolute;
    z-index: 1;
    color: rgba(234, 216, 173, 0.55);
    pointer-events: none;
}

.love-star-one {
    left: 13%;
    top: 34%;
    font-size: 1.2rem;
}

.love-star-two {
    right: 15%;
    top: 26%;
    font-size: 2rem;
}

.love-star-three {
    right: 24%;
    bottom: 17%;
    font-size: 1rem;
}


/* =========================================================
   INTRO
========================================================= */

.astro-love-intro {
    padding: 78px 0 45px;
}

.astro-love-intro-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.astro-love-intro .section-eyebrow,
.astro-love-guide .section-eyebrow {
    color: var(--astro-purple-soft);
}

.astro-love-intro h2,
.astro-love-guide h2 {
    margin: 9px 0 14px;

    color: var(--astro-purple-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.14;
    font-weight: 500;
}

.astro-love-intro-inner > p:last-child {
    color: var(--astro-muted);
    font-size: 1rem;
    line-height: 1.75;
}


/* =========================================================
   EXPERIENCES
========================================================= */

.astro-love-experiences {
    padding: 18px 0 95px;
}

.astro-love-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================================
   CARDS
========================================================= */

.love-card {
    position: relative;

    min-height: 405px;
    padding: 32px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 243, 250, 0.82)
        );

    border: 1px solid var(--astro-border);
    border-radius: 25px;

    box-shadow:
        0 12px 35px rgba(50, 28, 76, 0.055);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.love-card:hover {
    transform: translateY(-4px);

    border-color: rgba(196, 154, 69, 0.38);

    box-shadow:
        0 18px 45px rgba(50, 28, 76, 0.10);
}

.love-card-featured {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(196, 154, 69, 0.14),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #f7f1fb,
            #fffdf8
        );

    border-color: rgba(196, 154, 69, 0.28);
}


/* =========================================================
   CARD TOP
========================================================= */

.love-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.love-card-number {
    color: var(--astro-gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.love-info-button {
    width: 31px;
    height: 31px;
    padding: 0;

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

    background: transparent;

    border: 1px solid rgba(63, 36, 104, 0.24);
    border-radius: 50%;

    color: var(--astro-purple);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.love-info-button:hover {
    background: var(--astro-purple);
    border-color: var(--astro-purple);
    color: #fff;
    transform: scale(1.05);
}


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

.love-card-symbol {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;

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

    background: rgba(63, 36, 104, 0.055);

    border: 1px solid rgba(196, 154, 69, 0.30);
    border-radius: 50%;

    color: var(--astro-purple);
    font-size: 1.45rem;
}

.love-card-label {
    margin: 0 0 7px;

    color: var(--astro-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.love-card h2 {
    margin: 0 0 12px;

    color: var(--astro-purple-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 500;
}

.love-card-description {
    margin: 12px 0 18px;

    color: var(--astro-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.love-card-note {
    margin: 0 0 18px;
    padding: 12px 15px;

    background: rgba(63, 36, 104, 0.045);
    border-left: 2px solid var(--astro-gold-soft);

    color: #655a70;
    font-size: 0.84rem;
    line-height: 1.55;
}


/* =========================================================
   CARD ACTION
========================================================= */

.love-card-action {
    width: fit-content;
    margin-top: auto;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--astro-purple);
    font-size: 0.91rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        color 0.2s ease,
        gap 0.2s ease;
}

.love-card-action span {
    color: var(--astro-gold);
}

.love-card-action:hover {
    color: var(--astro-gold);
    gap: 12px;
}


/* =========================================================
   GUIDE
========================================================= */

.astro-love-guide {
    padding: 0 0 95px;
}

.astro-love-guide-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 35px 42px;

    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: center;

    background:
        linear-gradient(
            135deg,
            rgba(238, 231, 245, 0.76),
            rgba(255, 253, 248, 0.95)
        );

    border: 1px solid rgba(196, 154, 69, 0.22);
    border-radius: 25px;
}

.astro-love-guide-symbol {
    width: 60px;
    height: 60px;

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

    border: 1px solid rgba(196, 154, 69, 0.45);
    border-radius: 50%;

    color: var(--astro-purple);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
}

.astro-love-guide h2 {
    margin: 5px 0 9px;
    font-size: 1.75rem;
}

.astro-love-guide p:last-child {
    margin: 0;
    color: var(--astro-muted);
    line-height: 1.7;
}


/* =========================================================
   MODAL
========================================================= */

.love-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;

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

    padding: 24px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity 0.22s ease,
        visibility 0.22s ease;
}

.love-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.love-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(28, 15, 43, 0.62);
    backdrop-filter: blur(4px);
}

.love-modal-dialog {
    position: relative;
    z-index: 2;

    width: min(590px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    overflow-y: auto;

    padding: 42px;

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(196, 154, 69, 0.10),
            transparent 30%
        ),
        var(--astro-ivory);

    border: 1px solid rgba(196, 154, 69, 0.28);
    border-radius: 27px;

    box-shadow:
        0 30px 80px rgba(25, 12, 39, 0.30);
}

.love-modal-close {
    position: absolute;
    top: 17px;
    right: 18px;

    width: 34px;
    height: 34px;

    background: transparent;
    border: 0;

    color: var(--astro-muted);
    font-size: 1.6rem;
    line-height: 1;

    cursor: pointer;
}

.love-modal-symbol {
    width: 48px;
    height: 48px;
    margin-bottom: 17px;

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

    background: rgba(63, 36, 104, 0.055);
    border: 1px solid rgba(196, 154, 69, 0.32);
    border-radius: 50%;

    color: var(--astro-purple);
    font-size: 1.2rem;
}

.love-modal-eyebrow {
    margin: 0 0 6px;

    color: var(--astro-gold);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.love-modal-dialog > h2 {
    margin: 0 0 27px;

    color: var(--astro-purple-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 500;
}

.love-modal-section {
    padding: 18px 0;
    border-top: 1px solid var(--astro-border);
}

.love-modal-section h3 {
    margin: 0 0 7px;

    color: var(--astro-purple);
    font-size: 0.93rem;
}

.love-modal-section p {
    margin: 0;

    color: var(--astro-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.love-modal-button {
    width: 100%;
    margin-top: 17px;
    padding: 13px 20px;

    background: var(--astro-purple);

    border: 1px solid var(--astro-purple);
    border-radius: 24px;

    color: #fff;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.love-modal-button:hover {
    background: var(--astro-purple-deep);
    border-color: var(--astro-purple-deep);
}


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

@media (max-width: 900px) {

    .astro-love-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .astro-love-container {
        width: min(
            calc(var(--larghezza-mobile, 100vw) - 32px),
            1180px
        );
    }


    .astro-love-hero {
        padding: 118px 0 70px;
    }

    .astro-love-back {
        position: static;
        display: inline-block;
        margin-bottom: 28px;
    }

    .astro-love-hero-symbol {
        width: 58px;
        height: 58px;
        font-size: 1.65rem;
    }

    .astro-love-hero h1 {
        font-size: 2.45rem;
    }

    .astro-love-hero-text {
        font-size: 0.96rem;
        line-height: 1.7;
    }


    .astro-love-intro {
        padding: 58px 0 32px;
    }

    .astro-love-intro h2 {
        font-size: 2rem;
    }


    .astro-love-experiences {
        padding: 12px 0 70px;
    }

    .astro-love-grid {
        gap: 17px;
    }

    .love-card {
        min-height: 0;
        padding: 25px 22px;
        border-radius: 21px;
    }

    .love-card h2 {
        font-size: 1.55rem;
    }

    .love-card-description {
        font-size: 0.9rem;
    }


    .astro-love-guide {
        padding-bottom: 70px;
    }

    .astro-love-guide-inner {
        padding: 28px 23px;

        grid-template-columns: 1fr;
        gap: 18px;

        text-align: left;
    }

    .astro-love-guide-symbol {
        width: 50px;
        height: 50px;
    }


    .love-modal {
        padding: 15px;
    }

    .love-modal-dialog {
        max-height: calc(100vh - 30px);
        padding: 34px 24px 27px;
        border-radius: 22px;
    }

    .love-modal-dialog > h2 {
        padding-right: 28px;
        font-size: 1.7rem;
    }

}