/* =====================================================================
   ANIMAI — Tarocchi Gratis — pagina "Sì o No".
   Additivo su tarocchi-gratis.css: NON tocca amore né il mobile delle
   altre pagine. Tutto è scoped a .tg-wrap--siono / .tg-siono-* /
   .tg-verdetto*, classi che esistono solo su questa pagina.
   L'hero desktop vive in @media (min-width: 701px).
   ===================================================================== */

.tg-wrap--siono {
    --tg-max: 1200px;
    --tg-col: 620px;
    --tg-rosa: #E65A9F;
    --tg-yes: #49c98a;
    --tg-no:  #e0555f;
    --tg-serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
    --tg-serif-sc: "Cormorant SC", "Cormorant", Georgia, serif;
    padding-left: clamp(1.25rem, 3vw, 2rem);
    padding-right: clamp(1.25rem, 3vw, 2rem);
}

/* --- Cielo proprio: sostituisce cielo.webp con lo sfondo del Sì o No.
   Stessa meccanica di --amore (stesso ::before, stessa dissolvenza). --- */
.tg-wrap--siono::before {
    background:
        url("/assets/img/tg/siono/sfondo.webp") center top / cover no-repeat,
        radial-gradient(1200px 620px at 50% -12%, #1c1d42 0%, #0d0e24 55%, #08080f 100%);
    opacity: .92;
}
.tg-wrap--siono::before,
.tg-wrap--siono::after {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 3rem, #000 80%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 3rem, #000 80%, transparent 100%);
}

/* Breadcrumb nascosto sulla hero (come amore): resta nel DOM per SEO. */
.tg-wrap--siono > .tg-breadcrumb { display: none; }

/* Velo sfumato dietro allo stepper per la leggibilità sul cielo carico. */
.tg-wrap--siono .tg-app { position: relative; z-index: 0; }
.tg-wrap--siono .tg-app::before {
    content: "";
    position: absolute;
    top: 38%;
    bottom: -5rem;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(5, 5, 10, 0) 0,
        rgba(5, 5, 10, .42) 30%,
        rgba(5, 5, 10, .76) 58%,
        rgba(5, 5, 10, .92) 100%);
}

/* Editoriale a colonna singola centrata (come amore, ma scoped a siono). */
.tg-wrap--siono .tg-intro__head,
.tg-wrap--siono .tg-intro__cols,
.tg-wrap--siono .tg-ed__article,
.tg-wrap--siono .tg-faq__inner {
    max-width: min(var(--tg-col), 100%);
    margin-left: auto;
    margin-right: auto;
}
.tg-wrap--siono .tg-ed__article { padding: 0; }
.tg-wrap--siono .tg-ed__grid { display: block; }
.tg-wrap--siono .tg-intro__cols { grid-template-columns: minmax(0, 1fr); }

/* =====================================================================
   STEP: struttura comune
   ===================================================================== */
.tg-siono-step {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Titolo hero: Cormorant oro, come da mockup (testo vero, mai cotto). */
.tg-siono-title {
    font-family: var(--tg-serif-sc);
    font-weight: 700;
    color: var(--tg-gold);
    line-height: .98;
    letter-spacing: .02em;
    font-size: clamp(2.6rem, 8vw, 4.4rem);
    margin: .1rem 0 0;
    text-shadow: 0 2px 26px rgba(232, 183, 90, .28), 0 1px 0 rgba(0, 0, 0, .4);
}
.tg-siono-title--sm { font-size: clamp(1.9rem, 5vw, 2.8rem); }

.tg-siono-sub {
    font-family: var(--tg-serif);
    font-style: italic;
    color: #f4e9c8;
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    margin: .5rem 0 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
}
.tg-siono-sub .tg-y { color: var(--tg-yes); }
.tg-siono-sub .tg-n { color: var(--tg-no); }

/* Marchi Sì (✓) / No (✕) sopra il titolo. */
.tg-verdict-marks {
    display: flex;
    gap: 1.3rem;
    align-items: center;
    justify-content: center;
    margin-bottom: .35rem;
}
.tg-mark {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    line-height: 1;
    border: 2px solid;
    background: rgba(8, 7, 18, .35);
}
.tg-mark--yes { color: var(--tg-yes); border-color: var(--tg-yes); box-shadow: 0 0 20px rgba(73, 201, 138, .5); }
.tg-mark--no  { color: var(--tg-no);  border-color: var(--tg-no);  box-shadow: 0 0 20px rgba(224, 85, 95, .45); }

/* Fasi lunari come divisore, oro. */
.tg-moons {
    display: flex;
    gap: .5rem;
    align-items: center;
    justify-content: center;
    margin: .5rem 0 .2rem;
    opacity: .92;
}
.tg-moons span {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--tg-gold);
    box-shadow: 0 0 9px rgba(232, 183, 90, .55);
}
.tg-moons span:nth-child(1) { box-shadow: inset -6px 0 0 rgba(10, 9, 23, .85), 0 0 8px rgba(232, 183, 90, .35); }
.tg-moons span:nth-child(2) { box-shadow: inset -3px 0 0 rgba(10, 9, 23, .8),  0 0 8px rgba(232, 183, 90, .35); }
.tg-moons span:nth-child(3) { width: 24px; height: 24px; }
.tg-moons span:nth-child(4) { box-shadow: inset 3px 0 0 rgba(10, 9, 23, .8),  0 0 8px rgba(232, 183, 90, .35); }
.tg-moons span:nth-child(5) { box-shadow: inset 6px 0 0 rgba(10, 9, 23, .85), 0 0 8px rgba(232, 183, 90, .35); }

/* Pillole laterali: solo desktop (sul mobile toglierebbero spazio). */
.tg-siono-pill { display: none; }

/* Il form della domanda riusa .tg-form; qui solo la larghezza dell'hero. */
.tg-siono-form { width: min(680px, 100%); margin-left: auto; margin-right: auto; }

/* =====================================================================
   STEP scegli: ventaglio (si pesca 1, il server sceglie quale carta)
   ===================================================================== */
.tg-siono-fan {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    margin: 1.8rem auto 0;
    width: 100%;
    height: clamp(150px, 24vw, 235px);
    overflow: visible;
}
.tg-siono-fan__card {
    --tgc-w: clamp(60px, 14vw, 120px);
    width: var(--tgc-w);
    aspect-ratio: 2 / 3;
    margin: 0 calc(var(--tgc-w) * -0.2);
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    border-radius: 12px;
    transform-origin: bottom center;
    transition: transform .2s ease, filter .2s ease;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .55));
    min-height: 44px;
}
.tg-siono-fan__card img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 12px; }

/* Arco a ventaglio: 7 dorsi, il centrale in alto, gli estremi calano.
   Selettori a sola pseudo-classe (specificità 0,2,0): hover e scelta,
   dichiarati dopo, li sovrascrivono senza !important. */
.tg-siono-fan__card:nth-child(1) { transform: rotate(-21deg) translateY(30px); z-index: 1; }
.tg-siono-fan__card:nth-child(2) { transform: rotate(-14deg) translateY(14px); z-index: 2; }
.tg-siono-fan__card:nth-child(3) { transform: rotate(-7deg)  translateY(4px);  z-index: 3; }
.tg-siono-fan__card:nth-child(4) { transform: rotate(0deg)   translateY(-2px); z-index: 4; }
.tg-siono-fan__card:nth-child(5) { transform: rotate(7deg)   translateY(4px);  z-index: 3; }
.tg-siono-fan__card:nth-child(6) { transform: rotate(14deg)  translateY(14px); z-index: 2; }
.tg-siono-fan__card:nth-child(7) { transform: rotate(21deg)  translateY(30px); z-index: 1; }

.tg-siono-fan__card:hover,
.tg-siono-fan__card:focus-visible {
    transform: translateY(-20px) scale(1.06);
    filter: drop-shadow(0 18px 30px rgba(232, 183, 90, .45));
    outline: none;
    z-index: 9;
}
.tg-siono-fan__card.is-chosen {
    transform: translateY(-26px) scale(1.08);
    outline: 2px solid var(--tg-gold);
    z-index: 9;
}
.tg-siono-fan.is-shuffling .tg-siono-fan__card {
    animation: tg-siono-wiggle .5s ease;
}
@keyframes tg-siono-wiggle {
    0%, 100% { transform: translateY(0) rotate(0); }
    25% { transform: translateY(-8px) rotate(-5deg); }
    75% { transform: translateY(-8px) rotate(5deg); }
}

/* =====================================================================
   STEP gira: una carta sola, centrata
   ===================================================================== */
.tg-cards--one {
    display: flex;
    justify-content: center;
    margin-top: 1.2rem;
}
.tg-cards--one .tg-card { width: clamp(180px, 44vw, 230px); }

/* =====================================================================
   STEP verdetto
   ===================================================================== */
.tg-siono-verdetto { min-height: 40vh; justify-content: center; }
.tg-verdetto { margin: .4rem 0 .2rem; }
.tg-verdetto__word {
    font-family: var(--tg-serif-sc);
    font-weight: 700;
    line-height: .9;
    font-size: clamp(3.6rem, 15vw, 6.5rem);
    display: inline-block;
}
.tg-verdetto--si    .tg-verdetto__word { color: var(--tg-yes); text-shadow: 0 0 38px rgba(73, 201, 138, .5); }
.tg-verdetto--no    .tg-verdetto__word { color: var(--tg-no);  text-shadow: 0 0 38px rgba(224, 85, 95, .45); }
.tg-verdetto--forse .tg-verdetto__word { color: var(--tg-gold); text-shadow: 0 0 38px rgba(232, 183, 90, .45); }

/* Occhio luminoso che si apre e chiude durante l'attesa del responso. */
.tg-siono-eye {
    position: relative;
    width: clamp(130px, 24vw, 200px);
    margin: 0 auto 1.3rem;
    color: var(--tg-gold);
}
.tg-siono-eye::before {
    content: "";
    position: absolute;
    inset: -28%;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(232, 183, 90, .38), rgba(232, 183, 90, 0) 72%);
    animation: tg-eye-aura 4.2s ease-in-out infinite;
}
.tg-siono-eye svg {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(232, 183, 90, .6));
}
.tg-siono-eye__lid {
    transform-box: fill-box;
    transform-origin: center;
    animation: tg-eye-blink 4.2s ease-in-out infinite;
}
@keyframes tg-eye-blink {
    0%, 86%, 100% { transform: scaleY(1); }
    91% { transform: scaleY(.06); }
    96% { transform: scaleY(1); }
}
@keyframes tg-eye-aura {
    0%, 100% { opacity: .5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.09); }
}

/* Scritta d'attesa: grande, corsiva, coi puntini che vanno e vengono. */
.tg-siono-verdetto .tg-waiting p,
.tg-waiting__msg {
    font-family: var(--tg-serif);
    font-style: italic;
    color: #f4e9c8;
    font-size: clamp(1.35rem, 3.6vw, 2.1rem);
    text-shadow: 0 2px 16px rgba(0, 0, 0, .65);
    margin: 0;
}
.tg-dots span {
    opacity: .18;
    animation: tg-dot 1.4s infinite;
}
.tg-dots span:nth-child(2) { animation-delay: .22s; }
.tg-dots span:nth-child(3) { animation-delay: .44s; }
@keyframes tg-dot {
    0%, 80%, 100% { opacity: .18; }
    40% { opacity: 1; }
}

/* Pannello leggibilità: la motivazione non sta più nuda sul cielo. */
.tg-siono-motiva {
    max-width: 640px;
    margin: 1.3rem auto 0;
    text-align: left;
    background: rgba(9, 8, 20, .74);
    border: 1px solid rgba(232, 183, 90, .28);
    border-radius: 18px;
    padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1.2rem, 3vw, 1.9rem);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .45);
}
.tg-siono-motiva p {
    color: #ece7f5;
    font-size: 1.06rem;
    line-height: 1.78;
    margin: 0;
}
.tg-siono-motiva p + p { margin-top: 1rem; }
.tg-siono-motiva a { color: var(--tg-gold); }

/* Verdetto sul permalink (/lettura): riquadro compatto sopra la prosa. */
.tg-verdetto-perma {
    text-align: center;
    margin: 1.5rem auto .5rem;
}
.tg-verdetto-perma__word {
    font-family: var(--tg-serif-sc);
    font-weight: 700;
    line-height: .9;
    font-size: clamp(3rem, 11vw, 5rem);
    display: inline-block;
}
.tg-verdetto-perma--si    .tg-verdetto-perma__word { color: #49c98a; text-shadow: 0 0 30px rgba(73, 201, 138, .45); }
.tg-verdetto-perma--no    .tg-verdetto-perma__word { color: #e0555f; text-shadow: 0 0 30px rgba(224, 85, 95, .4); }
.tg-verdetto-perma--forse .tg-verdetto-perma__word { color: #E8B75A; text-shadow: 0 0 30px rgba(232, 183, 90, .4); }

/* =====================================================================
   Hero desktop: da qui in su cambia solo la vista >700px.
   Nulla sotto i 700px viene toccato.
   ===================================================================== */
@media (min-width: 701px) {
    .tg-siono-step {
        min-height: calc(100vh - 150px);
        justify-content: center;
        padding: 1.5rem 0 2rem;
    }
    .tg-siono-verdetto { min-height: calc(100vh - 200px); }

    .tg-mark { width: 64px; height: 64px; font-size: 1.85rem; }

    /* Pillole laterali (come nella foto di riferimento). */
    .tg-siono-pill {
        display: block;
        position: absolute;
        top: 12%;
        font-family: var(--tg-serif-sc);
        font-weight: 600;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: #cdbe8f;
        font-size: .8rem;
        line-height: 1.8;
        background: rgba(10, 9, 23, .55);
        border: 1px solid rgba(232, 183, 90, .18);
        border-radius: 12px;
        padding: .7rem .9rem;
    }
    .tg-siono-pill--l { left: 1.5%; text-align: left; }
    .tg-siono-pill--r { right: 1.5%; text-align: right; }

    .tg-cards--one .tg-card { width: clamp(200px, 22vw, 250px); }
}

/* Sotto i 1000px le pillole tornano nascoste: niente sovrapposizioni. */
@media (max-width: 1000px) {
    .tg-siono-pill { display: none; }
}

/* =====================================================================
   Reduced motion: niente animazioni non richieste.
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
    .tg-siono-fan__card { transition: none; }
    .tg-siono-fan.is-shuffling .tg-siono-fan__card { animation: none; }
    .tg-siono-eye::before,
    .tg-siono-eye__lid,
    .tg-dots span { animation: none; }
    .tg-dots span { opacity: 1; }
}

/* =====================================================================
   REDESIGN HERO — pulsanti vistosi, titolo su 2 righe, pillole impilate,
   cornice luminosa (campo + pillole), CTA viola. Regole in coda:
   sovrascrivono per ordine di sorgente quelle sopra.
   ===================================================================== */

/* Titolo hero su due righe, maiuscolo, oro sfumato "calcato". */
.tg-siono-title--hero {
    text-transform: uppercase;
    line-height: .86;
    letter-spacing: .02em;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    background: linear-gradient(180deg, #fbe6bd 0%, #E8B75A 46%, #b3802e 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 rgba(88, 52, 10, .55)) drop-shadow(0 6px 20px rgba(232, 183, 90, .32));
    text-shadow: none;
}
.tg-siono-title--hero b { display: block; font-weight: 700; }
.tg-siono-title--hero .tg-siono-title__l2 { font-size: 1.05em; }

/* Marchi Sì (✓) / No (✗): cerchi pieni, segno bianco, alone pulsante. */
.tg-verdict-marks { gap: 1.5rem; margin-bottom: .4rem; }
.tg-mark {
    width: clamp(62px, 12vw, 80px);
    height: clamp(62px, 12vw, 80px);
    color: #fff;
    font-size: clamp(1.9rem, 5vw, 2.4rem);
    font-weight: 800;
    border: 3px solid rgba(255, 255, 255, .85);
    background: none;
}
.tg-mark--yes {
    background: radial-gradient(circle at 38% 32%, #63e39a, #2ea75f 70%);
    box-shadow: 0 0 24px rgba(63, 202, 122, .7), 0 6px 18px rgba(0, 0, 0, .4);
    animation: tg-mk-yes 2.6s ease-in-out infinite;
}
.tg-mark--no {
    background: radial-gradient(circle at 38% 32%, #ff6a70, #c62a31 70%);
    box-shadow: 0 0 24px rgba(226, 72, 79, .65), 0 6px 18px rgba(0, 0, 0, .4);
    animation: tg-mk-no 2.6s ease-in-out infinite .4s;
}
@keyframes tg-mk-yes {
    0%, 100% { box-shadow: 0 0 18px rgba(63,202,122,.55), 0 6px 18px rgba(0,0,0,.4); transform: translateY(0); }
    50% { box-shadow: 0 0 38px rgba(63,202,122,.9), 0 6px 18px rgba(0,0,0,.4); transform: translateY(-3px); }
}
@keyframes tg-mk-no {
    0%, 100% { box-shadow: 0 0 18px rgba(226,72,79,.5), 0 6px 18px rgba(0,0,0,.4); transform: translateY(0); }
    50% { box-shadow: 0 0 38px rgba(226,72,79,.85), 0 6px 18px rgba(0,0,0,.4); transform: translateY(-3px); }
}

/* Cornice luminosa condivisa: vetro scuro + alone oro-viola che respira. */
.tg-glow {
    position: relative;
    border-radius: 16px;
    background: rgba(9, 10, 26, .66);
    border: 1px solid rgba(232, 183, 90, .45);
    -webkit-backdrop-filter: blur(3px);
            backdrop-filter: blur(3px);
}
.tg-glow::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 19px;
    z-index: -1;
    background: linear-gradient(120deg, var(--tg-gold), #8a4fe0, var(--tg-gold));
    filter: blur(11px);
    opacity: .3;
    animation: tg-glow-breathe 3.4s ease-in-out infinite;
}
@keyframes tg-glow-breathe { 0%, 100% { opacity: .18; } 50% { opacity: .42; } }

.tg-glow--field { padding: .2rem; margin: 0 auto; width: min(680px, 100%); }
.tg-glow--field textarea {
    width: 100%;
    background: transparent;
    border: 0;
    outline: none;
    resize: vertical;
    color: #f3eef7;
    font: 400 1.05rem/1.5 var(--sans, inherit);
    padding: 1rem 1.1rem;
    min-height: 84px;
}
.tg-glow--field textarea::placeholder { color: #a79fc4; }
.tg-glow--field:focus-within::before { opacity: .95; }

/* Nella domanda-form la cornice base attorno al textarea non serve più. */
.tg-siono-domanda .tg-form { border: 0; background: none; box-shadow: none; padding: 0; }

/* Pillole laterali: impilate parola per parola dentro la cornice luminosa.
   Ripristino position:absolute (che .tg-glow imposterebbe a relative). */
.tg-siono-pill {
    position: absolute;
    width: 132px;
    padding: .85rem .6rem;
    border-radius: 14px;
    line-height: 1.8;
    text-align: center;
    color: #efdca6;
}
.tg-siono-pill span { display: block; }
.tg-siono-pill::before { border-radius: 17px; }

/* CTA viola luminoso. */
.tg-btn.tg-cta-siono {
    background: linear-gradient(100deg, #6d3fd0, #8a4fe0);
    color: #fff;
    border: 0;
    position: relative;
    min-height: 56px;
    padding: 0 2.4rem;
    border-radius: 999px;
    font-family: var(--tg-serif);
    font-size: 1.15rem;
    letter-spacing: .02em;
}
.tg-btn.tg-cta-siono::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 999px;
    z-index: -1;
    background: linear-gradient(100deg, #8a4fe0, var(--tg-gold));
    filter: blur(10px);
    opacity: .7;
    animation: tg-glow-breathe 2.8s ease-in-out infinite;
}
.tg-btn.tg-cta-siono:disabled { opacity: .5; }

/* Domande suggerite: max 4, a capo centrate, look "chip". */
.tg-siono-domanda .tg-suggerite {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
    max-width: 760px;
    margin: 1.1rem auto 0;
}
.tg-siono-domanda .tg-suggerite button {
    white-space: normal;
    background: rgba(12, 12, 30, .55);
    border: 1px solid rgba(232, 183, 90, .28);
    border-radius: 999px;
    color: #e7dcc4;
    font: 600 .92rem/1 var(--sans, inherit);
    padding: .7rem 1.1rem;
    min-height: 40px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.tg-siono-domanda .tg-suggerite button:hover {
    border-color: rgba(232, 183, 90, .7);
    background: rgba(20, 18, 44, .7);
}

/* Reduced motion per gli elementi del redesign — DEVE restare in fondo. */
@media (prefers-reduced-motion: reduce) {
    .tg-mark--yes,
    .tg-mark--no,
    .tg-glow::before,
    .tg-btn.tg-cta-siono::before { animation: none; }
}

/* =====================================================================
   REDESIGN v2 — titolo e fasi lunari "a onda di colore" come la home,
   fondo pillole più scuro. In coda: vince per ordine di sorgente.
   ===================================================================== */

/* Titolo hero: annullo il gradiente statico e passo ai colori animati. */
.tg-siono-title--hero {
    background: none;
    -webkit-background-clip: border-box;
            background-clip: border-box;
    color: #f7f2ff;
    -webkit-text-fill-color: currentColor;
    filter: drop-shadow(0 2px 1px rgba(18, 8, 38, .55));
}
.tg-siono-title--hero .tg-siono-char {
    display: inline-block;
    -webkit-text-fill-color: currentColor;
    animation: tg-charwave 5.2s ease-in-out infinite;
    will-change: color, text-shadow;
}
.tg-siono-title--hero .tg-siono-sp { display: inline-block; width: .3em; }
@keyframes tg-charwave {
    0%, 62%, 100% { color: #f7f2ff; text-shadow: 0 0 18px rgba(196,132,252,.35); }
    14% { color: #f4d78a; text-shadow: 0 0 26px rgba(232,198,106,.85), 0 0 60px rgba(232,198,106,.35); }
    28% { color: #d8a7ff; text-shadow: 0 0 26px rgba(196,132,252,.9), 0 0 62px rgba(168,85,247,.45); }
    42% { color: #8ee6ff; text-shadow: 0 0 24px rgba(142,230,255,.8), 0 0 58px rgba(96,165,250,.35); }
}

/* Fasi lunari: stessi colori a onda del titolo (mantengo i crescenti via
   inset box-shadow, animo solo colore + alone esterno con drop-shadow). */
.tg-siono-domanda .tg-moons span { animation: tg-moonwave 5.2s ease-in-out infinite; }
.tg-siono-domanda .tg-moons span:nth-child(1) { animation-delay: 0s; }
.tg-siono-domanda .tg-moons span:nth-child(2) { animation-delay: .12s; }
.tg-siono-domanda .tg-moons span:nth-child(3) { animation-delay: .24s; }
.tg-siono-domanda .tg-moons span:nth-child(4) { animation-delay: .36s; }
.tg-siono-domanda .tg-moons span:nth-child(5) { animation-delay: .48s; }
@keyframes tg-moonwave {
    0%, 62%, 100% { background: #E8B75A; filter: drop-shadow(0 0 4px rgba(232,183,90,.5)); }
    14% { background: #f4d78a; filter: drop-shadow(0 0 7px rgba(232,198,106,.9)); }
    28% { background: #d8a7ff; filter: drop-shadow(0 0 8px rgba(196,132,252,.95)); }
    42% { background: #8ee6ff; filter: drop-shadow(0 0 8px rgba(142,230,255,.9)); }
}

/* Pillole laterali: fondo ancora più scuro. */
.tg-siono-pill { background: rgba(5, 4, 14, .86); }

/* Reduced motion: onde ferme. DEVE restare l'ultimo blocco del file. */
@media (prefers-reduced-motion: reduce) {
    .tg-siono-title--hero .tg-siono-char,
    .tg-siono-domanda .tg-moons span { animation: none; }
    .tg-siono-title--hero .tg-siono-char { color: #f4d78a; }
}

/* =====================================================================
   REDESIGN v3 — pulviscolo di stelle che scintillano dietro all'hero.
   La sezione fa da contesto di impilamento (z-index:0); le stelle stanno
   a z-index:-1, quindi dietro a titolo/pillole/form ma sopra il cielo.
   ===================================================================== */
.tg-siono-domanda { position: relative; z-index: 0; }
.tg-stars {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.tg-stars i {
    position: absolute;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 6px rgba(255, 255, 255, .7);
    opacity: .14;
    animation: tg-twinkle 3s ease-in-out infinite;
}
.tg-stars i:nth-child(4n) { background: #f4d78a; box-shadow: 0 0 6px rgba(244, 215, 138, .75); }
.tg-stars i:nth-child(7n) { background: #bcd3ff; box-shadow: 0 0 6px rgba(188, 211, 255, .7); }
@keyframes tg-twinkle {
    0%, 100% { opacity: .12; transform: scale(.7); }
    50% { opacity: 1; transform: scale(1); }
}

/* Reduced motion: stelle accese fisse. DEVE restare l'ultimo blocco. */
@media (prefers-reduced-motion: reduce) {
    .tg-stars i { animation: none; opacity: .6; }
}

/* =====================================================================
   REDESIGN v4 — step MESCOLA: testo grande, titolo a onda, ventaglio
   più grande + layer interno per il riffle. In coda: vince per ordine.
   ===================================================================== */
.tg-siono-mescola { position: relative; z-index: 0; }

/* "Concentrati sulla domanda": più grande e leggibile. */
.tg-siono-mescola .tg-step__eyebrow {
    font-family: var(--tg-serif);
    font-style: italic;
    text-transform: none;
    letter-spacing: .01em;
    color: #f4e9c8;
    font-size: clamp(1.3rem, 3vw, 2rem);
    margin: 0 0 .35rem;
    opacity: 1;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
}

/* Onda di colore riutilizzabile su qualsiasi titolo con .tg-siono-char. */
.tg-siono-char {
    display: inline-block;
    -webkit-text-fill-color: currentColor;
    animation: tg-charwave 5.2s ease-in-out infinite;
    will-change: color, text-shadow;
}
.tg-siono-sp { display: inline-block; width: .3em; }
.tg-siono-title--wave {
    background: none;
    color: #f7f2ff;
    -webkit-text-fill-color: currentColor;
    text-transform: none;
    font-size: clamp(2.2rem, 5.4vw, 3.6rem);
    text-shadow: none;
}

.tg-siono-mescola .tg-shuffle-bar { margin: 1rem 0 .2rem; }

/* Ventaglio più grande + strato interno che scorre nel riffle. */
.tg-siono-mescola .tg-siono-fan { height: clamp(230px, 30vw, 330px); }
.tg-siono-mescola .tg-siono-fan__card {
    --tgc-w: clamp(92px, 13vw, 138px);
    margin: 0 calc(var(--tgc-w) * -0.18);
}
.tg-fan__inner { display: block; width: 100%; height: 100%; transition: transform .18s ease; }

/* Reduced motion: onda ferma, niente scorrimento. DEVE restare in fondo. */
@media (prefers-reduced-motion: reduce) {
    .tg-siono-char { animation: none; color: #f4d78a; }
    .tg-fan__inner { transition: none; }
}

/* =====================================================================
   TUNING — titolo più piccolo (sopra) e aloni meno accesi. Il campo
   domanda ha un alone ancora più tenue del resto.
   ===================================================================== */
.tg-glow--field::before {
    filter: blur(9px);
    animation-name: tg-glow-soft;
}
@keyframes tg-glow-soft { 0%, 100% { opacity: .1; } 50% { opacity: .26; } }
.tg-glow--field:focus-within::before { animation-name: tg-glow-soft-focus; }
@keyframes tg-glow-soft-focus { 0%, 100% { opacity: .2; } 50% { opacity: .4; } }

/* =====================================================================
   RITOCCHI FINI (pagina domanda): più aria tra fasi lunari e sottotitolo;
   contatore 0/500 staccato dal bordo del campo. Scoped a .tg-siono-domanda.
   ===================================================================== */
.tg-siono-domanda .tg-moons { margin-top: .7rem; margin-bottom: .45rem; }
.tg-siono-domanda .tg-siono-sub { margin-top: .65rem; }
.tg-siono-domanda .tg-counter { margin-top: .4rem; padding-right: .5rem; }
