/* WEBCAR REWARDS — la pagina disegnata dell'anteprima (Direzione, 01/10:
   «e' l'unica che deve essere effetto wow»). Colori, caratteri e bottoni
   vengono da v2.css: qui c'e' solo l'impaginato e il movimento della pagina.
   Mobile-first (390), poi 760 e 1100.

   MOVIMENTO MISURATO E SPEGNIBILE. Tutto cio' che parte nascosto parte
   nascosto SOLO sotto `.rw-js`, la classe che rewards.js mette quando gira e
   quando l'utente non chiede movimento ridotto: senza JS, o con
   prefers-reduced-motion, la pagina e' gia' nello stato finale.

   CONTRASTO. Sul bianco i numeri grandi usano --rw-grad-scuro (blu → ciano
   scuro, il ciano chiaro di v2 fa 1,8:1 sul bianco); le tessere colorate
   dello Store stanno tutte sopra 4,5:1 col testo bianco. */

:root { --rw-grad-scuro: linear-gradient(135deg, #1663E0 0%, #0E7490 100%); --rw-ciano-scuro: #0E7490 }

body.rw-corpo { background: var(--bianco); color: var(--inchiostro) }
/* senza la striscia «bozzetto» la testata si appoggia in cima */
body.rw-corpo header.testata { top: env(safe-area-inset-top, 0px) }
body.rw-corpo section[id] { scroll-margin-top: 68px }
.rw { overflow-x: clip }
.rw h3 { margin: 0 }

/* ---------- reveal ---------- */
.rw-js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1) }
.rw-js .rv.in { opacity: 1; transform: none }

/* ============ 1 · APERTURA ============ */
.rw-apertura { background: radial-gradient(120% 80% at 80% 0%, #17358A 0%, var(--notte) 58%); color: #fff; overflow: hidden; padding-block: 30px 40px }
.rw-apertura::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 100%); -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 100%) }
.rw-cielo { position: absolute; inset: 0; pointer-events: none }
.rw-alone { position: absolute; border-radius: 50%; filter: blur(50px) }
.rw-alone.a { width: 340px; height: 340px; right: -80px; top: 120px; background: rgba(34, 211, 238, .22) }
.rw-alone.b { width: 260px; height: 260px; left: -120px; bottom: -80px; background: rgba(22, 99, 224, .35) }
.rw-apertura-griglia { position: relative; display: grid; gap: 34px }
.rw-claim { display: grid; gap: 16px; align-content: center }
.rw-claim h1 { font-size: clamp(38px, 10vw, 66px); font-weight: 800; line-height: .98; letter-spacing: -.035em }
.rw-claim h1 span { background: linear-gradient(120deg, #7FB2FF 0%, #22D3EE 70%); -webkit-background-clip: text; background-clip: text; color: transparent }
.rw-sotto { font-size: 16px; color: rgba(255, 255, 255, .82); max-width: 40ch }
.rw-pillola { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 7px 16px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(34, 211, 238, .4); box-shadow: 0 0 30px -8px rgba(34, 211, 238, .55) }
.rw-moneta-mini { width: 32px; height: 32px; flex: none }
.rw-pillola b { font-family: var(--display); font-size: 17px; letter-spacing: -.01em }
.rw-pillola span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72) }

/* il palco: orbite, moneta, Wallet */
.rw-palco { position: relative; display: grid; place-items: center; padding: 26px 0 6px }
.rw-orbite { position: absolute; width: 132%; max-width: 560px; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); animation: rw-gira 40s linear infinite; pointer-events: none }
@keyframes rw-gira { to { transform: translate(-50%, -50%) rotate(360deg) } }
.rw-moneta { position: absolute; z-index: 2; width: 84px; right: 2px; top: -6px; perspective: 600px; filter: drop-shadow(0 18px 24px rgba(34, 211, 238, .45)) }
.rw-moneta svg { display: block; width: 100%; height: auto; animation: rw-moneta 7s ease-in-out infinite; transform-style: preserve-3d }
@keyframes rw-moneta { 0%, 100% { transform: translateY(0) rotateY(-18deg) } 50% { transform: translateY(-10px) rotateY(18deg) } }

.rw-wallet { position: relative; z-index: 1; width: 100%; max-width: 410px; border-radius: 24px; padding: 20px 18px 16px; overflow: hidden; background: linear-gradient(155deg, rgba(31, 66, 160, .92) 0%, rgba(16, 29, 64, .96) 55%, rgba(11, 18, 38, .98) 100%); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -36px rgba(34, 211, 238, .55), 0 0 0 1px rgba(34, 211, 238, .08), inset 0 1px 0 rgba(255, 255, 255, .18); display: grid; gap: 14px }
.rw-wallet::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .16) 45%, transparent 60%); transform: translateX(-100%); animation: rw-luce 5s ease-in-out 1.2s infinite }
@keyframes rw-luce { 0% { transform: translateX(-100%) } 40%, 100% { transform: translateX(100%) } }
.rw-wallet > * { position: relative }
.rw-wallet-testa { display: flex; justify-content: flex-start; gap: 10px; padding-right: 76px; align-items: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8) }
.rw-esempio { padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(226, 182, 90, .55); color: #F0CB7A; letter-spacing: .12em }
.rw-saldo { display: flex; align-items: baseline; gap: 10px }
.rw-saldo b { font-family: var(--display); font-size: clamp(54px, 15vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums }
.rw-saldo span { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ciano) }
.rw-split { display: grid; gap: 8px }
.rw-split-barra { display: flex; gap: 3px; height: 8px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, .08) }
.rw-split-barra i { display: block; height: 100%; width: var(--w); border-radius: 6px; transition: width 1.4s cubic-bezier(.2, .8, .2, 1) .3s }
.rw-split-barra .disp, .rw-split-legenda i.disp { background: var(--grad) }
.rw-split-barra .arr, .rw-split-legenda i.arr { background: var(--oro) }
.rw-js .rw-wallet:not(.in) .rw-split-barra i { width: 0 }
.rw-split-legenda { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: rgba(255, 255, 255, .78) }
.rw-split-legenda span { display: inline-flex; align-items: center; gap: 6px }
.rw-split-legenda i { width: 8px; height: 8px; border-radius: 50% }
.rw-split-legenda b { color: #fff; font-variant-numeric: tabular-nums }
.rw-movimenti { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px }
.rw-movimenti li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1) }
.rw-js .rw-wallet:not(.in) .rw-movimenti li { opacity: 0; transform: translateX(24px) }
.rw-movimenti li:nth-child(1) { transition-delay: .5s }
.rw-movimenti li:nth-child(2) { transition-delay: .8s }
.rw-movimenti li:nth-child(3) { transition-delay: 1.1s }
.rw-mini-ico { width: 34px; height: 34px; border-radius: 10px; background: rgba(34, 211, 238, .12); display: grid; place-items: center }
.rw-mini-ico svg { width: 17px; height: 17px; stroke: var(--ciano); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.rw-movimenti div { display: grid; gap: 1px; min-width: 0 }
.rw-movimenti b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.rw-movimenti small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #7BE39C }
.rw-movimenti small.arr { color: #F0CB7A }
.rw-movimenti em { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 17px; color: #fff; font-variant-numeric: tabular-nums }
.rw-wallet-nota { font-size: 11.5px; color: rgba(255, 255, 255, .66) }

/* ============ 2 · I QUATTRO MOTORI ============ */
.rw-motori { background: var(--bianco); padding-block: 44px }
.rw-motori .testa p { color: var(--testo-2) }
.rw-motori .eyebrow { color: var(--blu) }
.rw-motori-griglia { display: grid; gap: 12px }
.rw-motore { position: relative; overflow: hidden; border-radius: 22px; padding: 18px; background: #fff; border: 1px solid var(--linea); box-shadow: 0 24px 50px -36px rgba(10, 21, 38, .45); display: grid; gap: 10px; align-content: start; transition: transform .25s ease, box-shadow .25s ease, opacity .7s ease }
.rw-motore::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .2), transparent 70%); pointer-events: none }
.rw-motore::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad) }
.rw-motore:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(22, 99, 224, .45) }
.rw-motore-testa { display: flex; align-items: center; gap: 10px }
.rw-ico { width: 42px; height: 42px; border-radius: 13px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 12px 24px -12px rgba(22, 99, 224, .9); flex: none }
.rw-ico svg { width: 21px; height: 21px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.rw-motore-nome { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--testo-2) }
.rw-numero { font-family: var(--display); font-weight: 800; font-size: clamp(54px, 15vw, 72px); line-height: .9; letter-spacing: -.045em; background: var(--rw-grad-scuro); -webkit-background-clip: text; background-clip: text; color: transparent; display: flex; align-items: baseline; gap: 6px }
.rw-numero small { font-size: .38em; letter-spacing: -.01em }
.rw-numero-parola { font-size: clamp(44px, 12vw, 58px) }
.rw-motore h3 { font-size: 18px; letter-spacing: -.015em; line-height: 1.2; max-width: 30ch }
.rw-esempio-riga { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--testo-2); border-top: 1px dashed var(--linea); padding-top: 10px }
.rw-esempio-riga b { color: var(--inchiostro); font-weight: 700 }

/* le quattro piccole grafiche */
.rw-viz { margin: 4px 0 2px }
.rw-viz-cashback { display: grid; gap: 8px }
.rw-viz-cashback .riga { display: grid; grid-template-columns: 62px 1fr 48px; align-items: center; gap: 10px; font-size: 12px; color: var(--testo-2) }
.rw-viz-cashback .riga b { font-family: var(--display); font-size: 15px; color: var(--inchiostro); text-align: right; font-variant-numeric: tabular-nums }
.rw-viz-cashback i { display: block; height: 12px; border-radius: 7px; background: #EEF2F8; position: relative; overflow: hidden }
.rw-viz-cashback i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 7px; transition: width 1.2s cubic-bezier(.2, .8, .2, 1) .25s }
.rw-viz-cashback i.pieno::before { background: #C9D6EC }
.rw-viz-cashback i.coin::before { background: var(--grad); box-shadow: 0 0 14px rgba(34, 211, 238, .8); min-width: 10px }
.rw-js .rw-motore:not(.in) .rw-viz-cashback i::before { width: 0; min-width: 0 }
.rw-viz-barre { display: flex; align-items: flex-end; gap: 8px; height: 64px }
.rw-viz-barre i { flex: 1; height: calc(var(--p) * 100%); border-radius: 8px 8px 3px 3px; background: #DCE6F7; transform-origin: bottom; transition: transform 1s cubic-bezier(.2, .8, .2, 1) }
.rw-viz-barre i:nth-child(2) { transition-delay: .1s } .rw-viz-barre i:nth-child(3) { transition-delay: .2s } .rw-viz-barre i:nth-child(4) { transition-delay: .3s }
.rw-viz-barre i.top { background: var(--grad); box-shadow: 0 10px 24px -10px rgba(34, 211, 238, .9) }
.rw-js .rw-motore:not(.in) .rw-viz-barre i { transform: scaleY(0) }
.rw-viz-linea { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--testo-2) }
.rw-viz-linea::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 7px; height: 2px; background: var(--grad); transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1) .2s }
.rw-js .rw-motore:not(.in) .rw-viz-linea::before { transform: scaleX(0) }
.rw-viz-linea li { display: grid; justify-items: center; gap: 8px; text-align: center; position: relative }
.rw-viz-linea li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--blu); box-sizing: border-box }
.rw-viz-linea li.top { color: var(--inchiostro); font-weight: 700 }
.rw-viz-linea li.top::before { background: var(--grad); border-color: transparent; box-shadow: 0 0 0 5px rgba(34, 211, 238, .2) }
.rw-viz-offerta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--notte); position: relative }
.rw-viz-offerta .sagoma svg { display: block; width: 110px; height: 52px; stroke: rgba(255, 255, 255, .88); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.rw-viz-offerta .badge { font-family: var(--display); font-weight: 800; font-size: 15px; padding: 7px 14px; border-radius: 999px; white-space: nowrap; background: var(--grad); color: #fff; box-shadow: 0 0 0 0 rgba(34, 211, 238, .6); animation: rw-pulsa 2.4s ease-out infinite }
@keyframes rw-pulsa { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .55) } 70%, 100% { box-shadow: 0 0 0 14px rgba(34, 211, 238, 0) } }

/* ============ 3 · COME FUNZIONA ============ */
.rw-flusso { padding-block: 48px; background: radial-gradient(90% 70% at 50% 0%, #142A66 0%, var(--notte) 60%) }
.rw-passi { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 22px; position: relative }
.rw-passi::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(180deg, #2F7BFF, #22D3EE); transform-origin: top; transition: transform 1.6s cubic-bezier(.2, .8, .2, 1) .2s; box-shadow: 0 0 12px rgba(34, 211, 238, .6) }
.rw-js .rw-passi:not(.in)::before { transform: scaleY(0) }
.rw-passi li { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; row-gap: 2px; align-items: start }
.rw-passo-ico { grid-row: 1 / span 3; width: 56px; height: 56px; border-radius: 50%; background: var(--notte-2); border: 1px solid rgba(34, 211, 238, .45); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(11, 18, 38, 1), 0 0 30px -6px rgba(34, 211, 238, .7); position: relative; z-index: 1 }
.rw-passo-ico svg { width: 24px; height: 24px; stroke: var(--ciano); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.rw-passo-n { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--ciano); padding-top: 4px }
.rw-passi h3 { font-size: 19px; letter-spacing: -.015em }
.rw-passi p { font-size: 14px; color: rgba(255, 255, 255, .74) }

/* ============ 4 · LO STORE ============ */
.rw-store { padding-block: 46px }
.rw-store-testa { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px }
.rw-frecce { display: none; gap: 8px; margin-bottom: 18px }
.rw-freccia { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linea); background: #fff; color: var(--blu); font-size: 18px; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease }
.rw-freccia:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(22, 99, 224, .6) }
.rw-scaffale { list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 16px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: var(--gutter) }
.rw-scaffale::-webkit-scrollbar { display: none }
.rw-scaffale:focus-visible { outline: 2px solid var(--blu); outline-offset: 2px; border-radius: 12px }
.rw-premio { flex: 0 0 62%; scroll-snap-align: start; aspect-ratio: 1 / 1.08; border-radius: 22px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 16px; color: #fff; box-shadow: 0 24px 40px -28px rgba(10, 21, 38, .6) }
.rw-premio::before { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 0 0 26px rgba(255, 255, 255, .05), 0 0 0 52px rgba(255, 255, 255, .03) }
.rw-premio > * { position: relative }
.rw-premio h3 { font-size: 19px; letter-spacing: -.015em; line-height: 1.15 }
.tono-blu { background: linear-gradient(150deg, #2F6FE8 0%, #0B3FA0 100%) }
.tono-ciano { background: linear-gradient(150deg, #0E7490 0%, #134E5E 100%) }
.tono-notte { background: linear-gradient(150deg, #22336A 0%, #0B1226 100%) }
.tono-viola { background: linear-gradient(150deg, #5B3FD0 0%, #33247D 100%) }
.tono-verde { background: linear-gradient(150deg, #15803D 0%, #14532D 100%) }
.tono-oro { background: linear-gradient(150deg, #9A6B12 0%, #5E400A 100%) }
.rw-premio-ico { position: absolute !important; top: 16px; left: 16px; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); display: grid; place-items: center }
.rw-premio-ico svg { width: 23px; height: 23px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.rw-tagli { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center }
.rw-tagli li { font-family: var(--display); font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .26) }
.rw-tagli::after { content: "Coin"; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); margin-left: 2px }
.rw-premio.rw-foto { background: #fff; color: var(--inchiostro); border: 1px solid var(--linea); justify-content: flex-end; padding: 0 }
.rw-premio.rw-foto::before { display: none }
.rw-premio.rw-foto img { position: absolute; inset: 0 0 auto; width: 100%; height: 78%; object-fit: contain; background: #F1F3F7 }
.rw-premio.rw-foto h3 { padding: 0 16px 16px; font-size: 18px }
.rw-stato { position: absolute !important; top: 12px; left: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: #0A1526; color: #F0CB7A }
.rw-prossima { background: radial-gradient(120% 90% at 100% 0%, #1B3C8A 0%, var(--notte) 65%); border: 1px solid rgba(34, 211, 238, .35) }
.rw-prossima-auto { position: absolute !important; top: 34%; left: 50%; transform: translateX(-50%); width: 72%; height: auto; stroke: var(--ciano); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 12px rgba(34, 211, 238, .55)) }
.rw-store-piede { display: grid; gap: 14px; margin-top: 8px }
.rw-store-piede p { font-size: 13px; color: var(--testo-2) }

/* ============ 5 · PASSAPAROLA ============ */
.rw-passaparola { padding-block: 48px; background: radial-gradient(90% 80% at 0% 100%, #142A66 0%, var(--notte) 60%) }
.rw-pp-griglia { display: grid; gap: 26px; position: relative }
.rw-pp-testo { display: grid; gap: 16px; align-content: center }
.rw-pp-testo h2 { font-size: clamp(28px, 7vw, 44px) }
.rw-pp-flusso { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: pp }
.rw-pp-flusso li { counter-increment: pp; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--linea-notte); position: relative }
.rw-pp-flusso li::before { content: counter(pp); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; background: var(--grad); color: #fff; flex: none }
.rw-pp-flusso li + li::after { content: ""; position: absolute; left: 26px; top: -11px; width: 2px; height: 10px; background: rgba(34, 211, 238, .5) }
.rw-pp-flusso b { font-size: 15px; font-weight: 600 }
.rw-codice { order: 3; flex-basis: 100%; font-family: var(--mono); font-size: 15px; letter-spacing: .14em; color: var(--ciano); padding: 8px 12px; border-radius: 10px; border: 1px dashed rgba(34, 211, 238, .55); background: rgba(34, 211, 238, .06); text-align: center }
.rw-matrice { margin: 0; padding: 20px 18px 16px; border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 60px -40px rgba(34, 211, 238, .5), inset 0 1px 0 rgba(255, 255, 255, .12); display: grid; gap: 16px }
.rw-matrice figcaption { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .74) }
.rw-matrice ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; height: 250px }
.rw-matrice li { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 8px; height: 100%; text-align: center }
.rw-matrice li b { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums }
.rw-matrice li i { display: block; height: calc(var(--p) * 150px); border-radius: 10px 10px 0 0; background: linear-gradient(180deg, rgba(47, 123, 255, .55), rgba(47, 123, 255, .12)); border-top: 2px solid var(--elettrico); transform-origin: bottom; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) }
.rw-matrice li:nth-child(2) i { transition-delay: .12s } .rw-matrice li:nth-child(3) i { transition-delay: .24s } .rw-matrice li:nth-child(4) i { transition-delay: .36s }
.rw-matrice li.top b { font-size: 26px; color: var(--ciano) }
.rw-matrice li.top i { background: var(--grad); border-top-color: #fff; box-shadow: 0 0 34px -4px rgba(34, 211, 238, .8) }
.rw-js .rw-matrice:not(.in) li i { transform: scaleY(0) }
.rw-matrice li span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .78); min-height: 3.4em; padding-top: 8px; border-top: 1px solid var(--linea-notte); margin-top: -8px }
.rw-matrice-nota { font-size: 12px; color: rgba(255, 255, 255, .7) }
.rw-matrice-nota a { color: var(--ciano); text-decoration: underline; text-underline-offset: 2px }

/* ============ 6 · DOMANDE, INVITO, LEGALE ============ */
.rw-faq { padding-block: 46px }
.rw-faq-griglia { display: grid; gap: 8px }
.rw-domande { display: grid; border-top: 1px solid var(--linea) }
.rw-domanda { border-bottom: 1px solid var(--linea) }
.rw-domanda h3 { font-size: inherit }
.rw-domanda button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 2px; background: none; border: 0; color: var(--inchiostro); font-family: var(--display); font-weight: 700; font-size: 16.5px; letter-spacing: -.01em; text-align: left; cursor: pointer }
.rw-domanda button::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--linea); background: linear-gradient(var(--blu), var(--blu)) center / 12px 2px no-repeat, linear-gradient(var(--blu), var(--blu)) center / 2px 12px no-repeat; transition: transform .25s ease, background-color .25s ease }
.rw-domanda button[aria-expanded="true"]::after { transform: rotate(45deg); background-color: #EEF4FF }
.rw-domanda button:focus-visible { outline: 2px solid var(--blu); outline-offset: 2px; border-radius: 8px }
.rw-risposta { padding: 0 2px 18px }
.rw-risposta[hidden] { display: none }
.rw-risposta p { color: var(--testo-2); max-width: 70ch }
.rw-risposta a, .rw-legale a { color: var(--blu); text-decoration: underline; text-underline-offset: 2px }

.rw-invito { margin-top: 34px; border-radius: 26px; padding: 26px 20px; color: #fff; position: relative; overflow: hidden; background: linear-gradient(135deg, #0F1F45 0%, #1663E0 60%, #0E7490 120%); display: grid; gap: 18px; box-shadow: 0 40px 70px -40px rgba(22, 99, 224, .8) }
.rw-invito::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(80% 90% at 90% 10%, #000 10%, transparent 80%); -webkit-mask-image: radial-gradient(80% 90% at 90% 10%, #000 10%, transparent 80%) }
.rw-invito > * { position: relative }
.rw-invito h2 { font-size: clamp(26px, 6vw, 38px) }
.rw-invito p { color: rgba(255, 255, 255, .86); margin-top: 6px }
.rw-invito .btn.pieno { background: #fff; color: var(--inchiostro); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6) }
.rw-legale { margin-top: 18px; font-size: 12.5px; color: var(--testo-2); line-height: 1.6 }

/* ============ 760+ ============ */
@media (min-width: 760px) {
  .rw-apertura { padding-block: 56px 64px }
  .rw-apertura-griglia { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px }
  .rw-sotto { font-size: 18px }
  .rw-moneta { width: 104px; right: -18px; top: -14px }
  .rw-motori, .rw-store, .rw-faq { padding-block: 70px }
  .rw-flusso, .rw-passaparola { padding-block: 76px }
  .rw-motori-griglia { grid-template-columns: 1fr 1fr; gap: 16px }
  .rw-motore { padding: 24px }
  .rw-passi { grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 16px }
  .rw-passi::before { left: 12.5%; right: 12.5%; top: 28px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, #2F7BFF, #22D3EE); transform-origin: left }
  .rw-js .rw-passi:not(.in)::before { transform: scaleX(0) }
  .rw-passi li { grid-template-columns: 1fr; justify-items: center; align-content: start; text-align: center; row-gap: 6px }
  .rw-passo-ico { grid-row: auto; margin-bottom: 8px }
  .rw-frecce { display: flex }
  .rw-scaffale { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; gap: 16px }
  .rw-premio { flex-basis: 31% }
  .rw-store-piede { grid-template-columns: 1fr auto; align-items: center }
  .rw-pp-griglia { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 48px }
  .rw-matrice { padding: 26px 26px 20px }
  .rw-matrice ul { height: 290px; gap: 18px }
  .rw-matrice li i { height: calc(var(--p) * 190px) }
  .rw-matrice li b { font-size: 24px }
  .rw-matrice li.top b { font-size: 32px }
  .rw-matrice li span { font-size: 10.5px }
  .rw-faq-griglia { grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start }
  .rw-invito { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px }
}
@media (min-width: 1100px) {
  .rw-claim h1 { font-size: 70px }
  .rw-motore { padding: 28px 30px }
  .rw-motori-griglia { gap: 20px }
  .rw-premio { flex-basis: 23.5% }
}

/* movimento ridotto: tutto fermo e allo stato finale (v2.css spegne gia'
   animazioni e transizioni; qui si fermano anche orbite e moneta) */
@media (prefers-reduced-motion: reduce) {
  .rw-orbite, .rw-moneta svg, .rw-wallet::before, .rw-viz-offerta .badge { animation: none !important }
  .rw-wallet::before { display: none }
}
