/* =========================================================
   MYSTIKA
   ========================================================= */

.section-mystika {
    position: relative;
    width: 100%;
    min-height: 100vh;

    overflow: hidden;
    isolation: isolate;

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

    padding: 90px 24px;

    text-align: center;
}


/* =========================================================
   BACKGROUND MYSTIKA (zoom lento continuo)
   ========================================================= */

.mystika-bg {
    position: absolute;
    inset: -6%;

    z-index: -2;

    pointer-events: none;
    will-change: transform;

    background-image: var(--bg);
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;

    filter:
        brightness(1)
        saturate(0.9);

    animation:
        mystikaDrift
        36s
        ease-in-out
        infinite
        alternate;
}

.section-mystika::before {
    content: '';

    position: absolute;
    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.48) 25%,
            rgba(0, 0, 0, 0.50) 65%,
            rgba(0, 0, 0, 0.88) 100%
        );
}

@keyframes mystikaDrift {

    0% {
        transform: scale(1.02);
    }

    50% {
        transform: scale(1.12) translate3d(-1.2%, -1%, 0);
    }

    100% {
        transform: scale(1.05) translate3d(1%, -1.5%, 0);
    }

}


/* =========================================================
   CONTENUTO MYSTIKA
   ========================================================= */

.mystika-content {
    position: relative;
    z-index: 1;

    width: min(640px, 90%);

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =========================================================
   FADE IN / FADE OUT LEGATO ALLO SCROLL
   ========================================================= */

.mystika-fade {
    opacity: 0;
    transform: translateY(8px);

    transition:
        opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: opacity, transform;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.mystika-eyebrow {
    display: block;

    margin-bottom: 18px;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 9px;
    letter-spacing: 0.32em;
    text-transform: uppercase;

    color:
        rgba(228, 205, 143, 0.45);
}


/* =========================================================
   BRAND
   ========================================================= */

.mystika-brand {
    margin: 0;

    font-family:
        'Engravers Old English',
        'Cormorant Garamond',
        serif;

    font-size:
        clamp(56px, 9vw, 96px);

    font-weight: normal;
    line-height: 1;

    color: var(--gold);
    letter-spacing: 0.01em;

    text-shadow:
        0 0 35px
        rgba(228, 205, 143, 0.18);
}


/* =========================================================
   SOTTOTITOLO
   ========================================================= */

.mystika-subtitle {
    margin-top: 26px;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size:
        clamp(12px, 1.5vw, 16px);

    letter-spacing: 0.32em;
    line-height: 1.9;
    text-transform: uppercase;

    color: var(--gold-dim);
}

.mystika-ornament {
    margin: 30px 0 34px;

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 12px;

    color:
        rgba(228, 205, 143, 0.45);
}


/* =========================================================
   ELENCO CONTENUTI
   ========================================================= */

.mystika-list {
    list-style: none;

    width: 100%;
    max-width: 560px;

    margin: 0;
    padding: 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 18px;
}

.mystika-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    font-family:
        'IM Fell English-italic',
        serif;

    font-size: 17px;
    font-style: italic;
    line-height: 1.3;

    color:
        rgba(228, 205, 143, 0.82);

    text-shadow:
        0 2px 15px
        rgba(0, 0, 0, 0.8);
}

.mystika-item svg {
    width: 28px;
    height: 28px;

    fill: none;
    stroke: var(--gold);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;

    opacity: 0.75;
}


/* =========================================================
   BOTTONE MYSTIKA
   ========================================================= */

.mystika-button {
    display: inline-flex;

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

    gap: 15px;

    margin-top: 52px;

    min-width: 190px;

    padding:
        12px
        24px;

    border:
        1px solid
        rgba(228, 205, 143, 0.22);

    border-radius: 40px;

    background:
        rgba(0, 0, 0, 0.22);

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 11px;

    letter-spacing: 0.24em;
    text-transform: uppercase;

    color:
        rgba(228, 205, 143, 0.62);

    transition:
        opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.7s ease,
        background 0.7s ease,
        color 0.7s ease;
}

.mystika-button:hover {
    border-color:
        rgba(228, 205, 143, 0.58);

    background:
        rgba(0, 0, 0, 0.42);

    color: var(--gold);
}

.mystika-arrow {
    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 19px;
    line-height: 0;

    transition:
        transform 0.7s
        cubic-bezier(0.22, 1, 0.36, 1);
}

.mystika-button:hover .mystika-arrow {
    transform: translateX(5px);
}


/* =========================================================
   MYSTIKA — RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .section-mystika {
        min-height: auto;
        padding: 80px 20px;
    }

    .mystika-brand {
        font-size: 58px;
    }

    .mystika-subtitle {
        margin-top: 20px;
        font-size: 11px;
        letter-spacing: 0.26em;
    }

    .mystika-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 14px;
    }

    .mystika-item {
        font-size: 15px;
    }

    .mystika-button {
        margin-top: 44px;
        min-width: 175px;
        padding: 11px 20px;
        font-size: 10px;
    }
}

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

    .mystika-bg {
        animation: none;
    }

    .mystika-fade {
        opacity: 1 !important;
        transform: none !important;
        transition: none;
    }
}