/*
 * landing.css — Homepage — Layout editoriale, non simmetrico
 * Palette: bianco caldo + corallo #E36D62 + blu #0069AA
 */

/* ── BASE ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.page-landing {
    font-family: var(--font-body);
    background: var(--c-bg);
    color: var(--c-text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Noise texture globale — fa sembrare tutto meno digitale */
body.page-landing::before {
    content: '';
    position: fixed; inset: 0; z-index: 1000;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* Honeypot anti-bot — fuori schermo, non display:none */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Font script utility */
.script {
    font-family: var(--font-script);
    font-style: normal;
}


/* ── SVG ICONS (condivise) ────────────────────────────────── */
.icon { display:inline-block; width:var(--icon-md); height:var(--icon-md); vertical-align:middle; flex-shrink:0; stroke:currentColor; fill:none; }
.icon--xs { width:var(--icon-xs); height:var(--icon-xs); }
.icon--sm { width:var(--icon-sm); height:var(--icon-sm); }
.icon--lg { width:var(--icon-lg); height:var(--icon-lg); }
.icon--xl { width:var(--icon-xl); height:var(--icon-xl); }
.icon-coral { color:var(--c-coral); }
.icon-blue  { color:var(--c-blue); }
.icon-muted { color:var(--c-text-muted); }

/* ── HEADER ───────────────────────────────────────────────── */
.landing-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(var(--sp-4), 5vw, var(--sp-10));
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--c-border);
    transition: box-shadow var(--t-mid);
}
.landing-header.scrolled { box-shadow: var(--shadow-sm); }

.header-logo {
    font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 800;
    color: var(--c-coral); text-decoration: none; letter-spacing: 0.01em;
    display: flex; align-items: center; gap: var(--sp-2);
}

.header-nav { display: flex; align-items: center; gap: var(--sp-5); }
.header-nav a {
    font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--c-text-muted); text-decoration: none; transition: color var(--t-fast);
}
.header-nav a:hover { color: var(--c-coral); }

.btn-nav-login {
    border: 1.5px solid var(--c-coral) !important; color: var(--c-coral) !important;
    border-radius: var(--r-pill); padding: var(--sp-2) var(--sp-5) !important;
    background: transparent !important; font-weight: 700 !important;
    transition: all var(--t-fast) !important;
}
.btn-nav-login:hover { background: var(--c-coral) !important; color: #fff !important; }

.btn-nav-cta {
    background: var(--c-coral) !important; color: #fff !important;
    border-radius: var(--r-pill); padding: var(--sp-2) var(--sp-5) !important;
    border: none !important; font-weight: 700 !important;
    box-shadow: var(--shadow-coral);
    transition: all var(--t-fast) !important;
}
.btn-nav-cta:hover { background: var(--c-coral-dark) !important; transform: translateY(-1px); }

/* ── HERO — LAYOUT A DUE COLONNE ASIMMETRICO ─────────────── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 420px;
    grid-template-rows: 1fr;
    align-items: center;
    gap: var(--sp-8);
    padding: calc(var(--header-h) + var(--sp-12)) clamp(var(--sp-4), 6vw, var(--sp-12)) var(--sp-12);
    background: var(--c-bg-warm);
    position: relative; overflow: hidden;
}

/* Linea decorativa verticale sfondo */
.hero::before {
    content: '';
    position: absolute; top: 0; bottom: 0;
    left: calc(50% + 60px); width: 1px;
    background: linear-gradient(to bottom, transparent 5%, var(--c-border) 30%, var(--c-border) 70%, transparent 95%);
    opacity: 0.6;
}

.hero-bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble { position: absolute; border-radius: 50%; background: rgba(227,109,98,0.1); animation: bubble-rise linear infinite; }

/* ── HERO TEXT (colonna sinistra) ─────────────────────────── */
.hero-text { max-width: 560px; }

.hero-edition {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--c-coral); margin-bottom: var(--sp-5);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4.5vw, 4rem);
    font-weight: 800; line-height: 1.12; color: var(--c-text);
    margin-bottom: var(--sp-6); letter-spacing: 0.01em;
}

/* La parola in script è più grande e spostandosi verso destra */
.hero-title .script {
    font-size: 1.15em;
    color: var(--c-coral);
    display: block;
    margin-top: var(--sp-1);
    padding-left: var(--sp-3);
}

.hero-sub {
    font-size: var(--fs-lg); font-weight: 300; color: var(--c-text-muted);
    line-height: 1.75; margin-bottom: var(--sp-8); max-width: 480px;
}

/* Hero countdown inline */
.hero-countdown {
    display: inline-flex; flex-direction: column; gap: var(--sp-2);
    background: #fff; border: 1px solid var(--c-border);
    border-left: 3px solid var(--c-coral);
    border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5);
    margin-bottom: var(--sp-6); box-shadow: var(--shadow-sm);
}
.hero-countdown.is-live { border-left-color: var(--c-success); }
.hc-label {
    display: flex; align-items: center; gap: var(--sp-2);
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--c-text-muted);
}
.hc-live { width: 7px; height: 7px; border-radius: 50%; background: var(--c-success); animation: pulse-live 1.5s infinite; }
.hc-timer { display: flex; gap: var(--sp-5); }
.hc-unit { display: flex; flex-direction: column; align-items: center; }
.hc-unit b {
    font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 800;
    color: var(--c-coral); line-height: 1;
}
.hero-countdown.is-live .hc-unit b { color: var(--c-success); }
.hc-unit span { font-size: var(--fs-2xs); color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 3px; }
.hc-done { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--c-coral); }

.hero-actions {
    display: flex; gap: var(--sp-4); align-items: center; flex-wrap: wrap;
    margin-bottom: var(--sp-4);
}

.btn-hero-primary {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    background: var(--c-coral); color: #fff;
    border: none; border-radius: var(--r-pill);
    padding: var(--sp-4) var(--sp-8);
    font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700;
    letter-spacing: 0.05em; text-decoration: none; cursor: pointer;
    box-shadow: var(--shadow-coral);
    transition: all var(--t-fast);
}
.btn-hero-primary:hover { background: var(--c-coral-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(227,109,98,0.4); }

.btn-hero-ghost {
    font-size: var(--fs-sm); font-weight: 600; color: var(--c-text-muted);
    text-decoration: none; letter-spacing: 0.03em;
    border-bottom: 1px solid var(--c-border);
    transition: color var(--t-fast), border-color var(--t-fast);
    padding-bottom: 2px;
}
.btn-hero-ghost:hover { color: var(--c-coral); border-color: var(--c-coral); }

.hero-note {
    font-size: var(--fs-xs); color: var(--c-text-faint); letter-spacing: 0.04em;
}

/* ── HERO DECO (colonna destra, fuori griglia standard) ───── */
.hero-deco {
    position: relative; height: auto;
    display: flex; flex-direction: column; justify-content: center;
    gap: var(--sp-4);
}

.deco-card {
    background: var(--c-bg); border: 1px solid var(--c-border);
    border-radius: var(--r-xl); padding: var(--sp-5) var(--sp-6);
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: var(--sp-1);
    transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.deco-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Ogni card ha una rotazione leggermente diversa */
.deco-card--1 { transform: rotate(-1.5deg); }
.deco-card--1:hover { transform: rotate(-1.5deg) translateY(-3px); }
.deco-card--2 { transform: rotate(1deg); margin-left: var(--sp-8); }
.deco-card--2:hover { transform: rotate(1deg) translateY(-3px); }
.deco-card--3 {
    transform: rotate(-0.5deg); align-items: center;
    background: rgba(227,109,98,0.04); border-color: rgba(227,109,98,0.2);
}
.deco-card--3:hover { transform: rotate(-0.5deg) translateY(-3px); }

.deco-num {
    font-size: var(--fs-3xl); font-weight: 700;
    color: var(--c-coral); line-height: 1;
}
.deco-label {
    font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--c-text-muted);
}

.deco-line {
    position: absolute; right: -20px; top: 20%; bottom: 20%;
    width: 2px; background: linear-gradient(to bottom, transparent, var(--c-coral) 40%, var(--c-blue) 60%, transparent);
    opacity: 0.3;
}

/* ── WAVE DIVIDERS ────────────────────────────────────────── */
.wave-divider { line-height: 0; margin-bottom: -1px; }
.wave-divider svg { display: block; width: 100%; height: 60px; }
.wave-divider--into-coral { background: var(--c-bg-soft); }
.wave-divider--out-coral  { background: var(--c-bg); }

/* ── STATS ROW ────────────────────────────────────────────── */
.stats-row {
    background: var(--c-bg-soft);
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: var(--sp-6);
    padding: var(--sp-8) clamp(var(--sp-4), 5vw, var(--sp-12));
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}
.stat-item { text-align: center; }
.stat-num  { display: block; font-size: var(--fs-3xl); font-weight: 700; color: var(--c-coral); line-height: 1; }
.stat-lbl  { display: block; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-text-muted); margin-top: var(--sp-1); }
.stat-sep  { font-size: var(--fs-2xl); color: var(--c-border); font-weight: 300; user-select: none; }

/* ── COUNTDOWN POPUP ──────────────────────────────────────── */
.countdown-popup {
    position: fixed; bottom: var(--sp-5); right: var(--sp-5); z-index: 400;
    display: flex; align-items: center; gap: var(--sp-4);
    background: var(--c-text); color: #fff;
    border-radius: var(--r-xl); padding: var(--sp-4) var(--sp-5);
    box-shadow: var(--shadow-lg); border: 2px solid var(--c-coral);
    max-width: 340px;
    animation: cd-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes cd-pop { from { opacity:0; transform: translateY(30px) scale(0.9); } to { opacity:1; transform:none; } }
.countdown-popup.is-live { border-color: var(--c-success); }

.cd-close {
    position: absolute; top: 6px; right: 10px;
    background: none; border: none; color: rgba(255,255,255,0.5);
    font-size: var(--fs-lg); cursor: pointer; line-height: 1;
}
.cd-close:hover { color: #fff; }

.cd-icon { color: var(--c-coral); flex-shrink: 0; }
.countdown-popup.is-live .cd-icon { color: var(--c-success); }
.cd-body { flex: 1; }
.cd-label {
    display: flex; align-items: center; gap: var(--sp-2);
    font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(255,255,255,0.6); margin-bottom: var(--sp-2);
}
.cd-livedot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-success); animation: pulse-live 1.5s infinite; }
@keyframes pulse-live { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.cd-timer { display: flex; gap: var(--sp-3); }
.cd-unit { display: flex; flex-direction: column; align-items: center; }
.cd-num {
    font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 800;
    color: var(--c-coral); line-height: 1;
}
.countdown-popup.is-live .cd-num { color: var(--c-success); }
.cd-u { font-size: var(--fs-2xs); color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.cd-done { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--c-coral); }

/* Minimizzato — solo icona */
.countdown-popup.cd-min { cursor: pointer; max-width: none; width: auto; padding: var(--sp-3); }
.countdown-popup.cd-min .cd-body, .countdown-popup.cd-min .cd-close { display: none; }

@media (max-width: 600px) {
    .countdown-popup { left: var(--sp-3); right: var(--sp-3); bottom: var(--sp-3); max-width: none; }
}

/* ── COME FUNZIONA — FULL WIDTH ───────────────────────────── */
.section-steps {
    padding: var(--sp-16) clamp(var(--sp-4), 6vw, var(--sp-12));
    width: 100%;
    background: var(--c-bg-soft);
}
.section-steps .section-label,
.section-steps .section-heading { text-align: center; }
.section-steps .steps-list {
    max-width: 1500px; margin: 0 auto;
}

/* Label editoriale piccola sopra il titolo */
.section-label {
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--c-coral); margin-bottom: var(--sp-3);
}
.section-label--light { color: rgba(255,255,255,0.7); }

.section-heading {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700; line-height: 1.18; color: var(--c-text);
    margin-bottom: var(--sp-10);
}
.section-heading .script { color: var(--c-coral); font-size: 1.1em; }
.section-heading--light  { color: #fff; }
.section-heading--light .script { color: rgba(255,255,255,0.85); }

.steps-list { display: flex; flex-direction: column; gap: var(--sp-1); }

/* Full width: 2 colonne su desktop largo */
@media (min-width: 1000px) {
    .section-steps .steps-list {
        display: grid; grid-template-columns: 1fr 1fr;
        gap: var(--sp-2) var(--sp-10);
    }
    .step-row { border-bottom: 1px solid var(--c-border); }
}

.step-row {
    display: grid; grid-template-columns: 64px 56px 1fr;
    align-items: start; gap: var(--sp-6);
    padding: var(--sp-6) 0;
    border-bottom: 1px solid var(--c-border);
    transition: background var(--t-fast);
}
.step-row:last-child { border-bottom: none; }
.step-row:hover { background: rgba(227,109,98,0.02); }

.step-n {
    font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 800;
    color: var(--c-text-faint); line-height: 1; padding-top: 2px;
    letter-spacing: -0.02em;
}

.step-icon-wrap {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(227,109,98,0.06);
    border: 1px solid rgba(227,109,98,0.15); border-radius: var(--r-lg);
    color: var(--c-coral); flex-shrink: 0;
    transition: background var(--t-fast), border-color var(--t-fast);
}
.step-row:hover .step-icon-wrap { background: rgba(227,109,98,0.1); border-color: rgba(227,109,98,0.3); }

.step-content h3 {
    font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700;
    color: var(--c-text); margin-bottom: var(--sp-2); line-height: 1.3;
}
.step-content p {
    font-size: var(--fs-sm); font-weight: 300; color: var(--c-text-muted);
    line-height: 1.75; max-width: 520px;
}

/* ── SEZIONE CORAL INVERTITA ──────────────────────────────── */
.section-coral {
    background: var(--c-coral);
    padding: var(--sp-12) 0 var(--sp-16);
    position: relative;
}

.coral-inner {
    max-width: 1100px; margin: 0 auto;
    padding: 0 clamp(var(--sp-4), 7vw, var(--sp-16));
    display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-10); align-items: start;
}

.coral-text {}
.coral-desc {
    font-size: var(--fs-base); font-weight: 300; color: rgba(255,255,255,0.8);
    line-height: 1.75; max-width: 420px;
}

/* Due colonne bonus/malus su fondo coral */
.coral-events {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4);
}

.ce-col {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--r-xl); overflow: hidden;
    backdrop-filter: blur(8px);
}

.ce-header {
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; gap: var(--sp-2);
    font-weight: 700; font-size: var(--fs-sm); letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.07);
}
.ce-col--malus .ce-header { background: rgba(0,0,0,0.07); }

.ce-list {
    list-style: none; padding: var(--sp-2) 0;
}
.ce-list li {
    display: flex; justify-content: space-between; align-items: center;
    padding: var(--sp-3) var(--sp-5);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: var(--fs-sm);
}
.ce-list li:last-child { border-bottom: none; }
.ce-list li span  { color: rgba(255,255,255,0.75); }
.ce-list li strong {
    font-weight: 800; font-size: var(--fs-base);
    background: rgba(255,255,255,0.15); color: #fff;
    padding: 2px var(--sp-3); border-radius: var(--r-pill);
    white-space: nowrap;
}

/* ── REGOLAMENTO ──────────────────────────────────────────── */
.reg-inner {
    max-width: 1160px; margin: 0 auto;
    padding: 0 clamp(var(--sp-4), 7vw, var(--sp-16));
}
.reg-head { text-align: center; margin-bottom: var(--sp-10); }
.reg-head .coral-desc { margin: 0 auto; }
.reg-head .coral-desc strong { color: #fff; }

.reg-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5);
    align-items: start;
}

.reg-col {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--r-xl); padding: var(--sp-5); backdrop-filter: blur(8px);
}
.reg-col-head {
    display: flex; align-items: center; gap: var(--sp-2);
    font-weight: 800; font-size: var(--fs-sm); letter-spacing: 0.06em; text-transform: uppercase;
    color: #fff; margin-bottom: var(--sp-4); padding-bottom: var(--sp-3);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.reg-list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-1); }
.reg-list li {
    display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
    padding: var(--sp-2) 0; font-size: var(--fs-sm);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.reg-list li:last-child { border-bottom: none; }
.reg-list li span { color: rgba(255,255,255,0.82); line-height: 1.35; }
.reg-list li span strong { color: #fff; }
.reg-list li strong {
    flex-shrink: 0; font-weight: 800; font-size: var(--fs-sm);
    background: rgba(255,255,255,0.16); color: #fff;
    padding: 2px var(--sp-2); border-radius: var(--r-pill); white-space: nowrap;
}
.reg-note {
    margin-top: var(--sp-4); padding: var(--sp-3);
    background: rgba(0,0,0,0.12); border-radius: var(--r-md);
    font-size: var(--fs-xs); color: rgba(255,255,255,0.85); line-height: 1.5;
}
.reg-note strong { color: #fff; letter-spacing: 0.02em; }

.reg-prizes { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,0.2); }
.prize-list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-3); }
.prize-list li {
    display: flex; align-items: center; gap: var(--sp-3);
    font-size: var(--fs-sm); color: #fff; font-weight: 500;
}
.prize-pos {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.2); font-weight: 800; font-size: var(--fs-xs);
}
.prize-list li:nth-child(1) .prize-pos { background: #ffd75e; color: var(--c-coral-dark); }
.prize-list li:nth-child(2) .prize-pos { background: #e8e8e8; color: var(--c-coral-dark); }
.prize-list li:nth-child(3) .prize-pos { background: #e0a878; color: #fff; }

/* ── CTA FINALE ───────────────────────────────────────────── */
.section-cta {
    max-width: 1100px; margin: 0 auto;
    padding: var(--sp-16) clamp(var(--sp-4), 7vw, var(--sp-16));
    display: grid; grid-template-columns: 1fr 380px; gap: var(--sp-12); align-items: center;
}

.cta-title {
    font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700; color: var(--c-text); line-height: 1.2; margin-bottom: var(--sp-4);
}
.cta-title .script { color: var(--c-coral); font-size: 1.15em; }

.cta-sub {
    font-size: var(--fs-base); font-weight: 300; color: var(--c-text-muted);
    line-height: 1.7; margin-bottom: var(--sp-8);
}

.cta-actions { display: flex; gap: var(--sp-4); }

/* Card citazione editoriale */
.cta-deco-card {
    background: var(--c-bg-warm); border: 1px solid var(--c-border);
    border-radius: var(--r-xl); padding: var(--sp-8);
    transform: rotate(1.5deg);
    box-shadow: var(--shadow-md);
    position: relative;
}
.cta-deco-card::before {
    content: '"';
    position: absolute; top: var(--sp-4); left: var(--sp-5);
    font-family: var(--font-display); font-size: 4rem; line-height: 1;
    color: var(--c-coral); opacity: 0.2;
}

.cta-quote {
    font-size: var(--fs-xl); line-height: 1.45;
    color: var(--c-text); margin-bottom: var(--sp-4);
}
.cta-quote-attr {
    font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--c-text-muted);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.landing-footer {
    background: var(--c-text);
    padding: var(--sp-8) clamp(var(--sp-4), 5vw, var(--sp-10));
    border-top: 3px solid var(--c-coral);
}
.footer-top {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: var(--sp-5); flex-wrap: wrap; gap: var(--sp-4);
}
.footer-brand {
    font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 800; color: #fff;
    display: flex; align-items: center; gap: var(--sp-2);
}
.footer-links { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.footer-links a {
    font-size: var(--fs-xs); color: rgba(255,255,255,0.45); text-decoration: none;
    letter-spacing: 0.05em; transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--c-coral-light); }
.footer-copy { font-size: var(--fs-xs); color: rgba(255,255,255,0.25); line-height: 1.6; }

/* ── MODAL AUTH ───────────────────────────────────────────── */
.auth-modal {
    display: none; position: fixed; inset: 0; z-index: 500;
    background: rgba(26,23,20,0.55); backdrop-filter: blur(6px);
    align-items: center; justify-content: center;
}
.auth-modal.open { display: flex; }

.auth-box {
    background: var(--c-bg); border: 1px solid var(--c-border);
    border-radius: var(--r-xl); padding: var(--sp-8);
    width: 480px; max-width: 95vw; max-height: 90vh; overflow-y: auto;
    position: relative; box-shadow: var(--shadow-lg);
}
.auth-box::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-coral); border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.auth-close {
    position: absolute; top: var(--sp-4); right: var(--sp-4);
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--c-bg-soft); border: 1px solid var(--c-border);
    color: var(--c-text-muted); font-size: var(--fs-lg); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--t-fast);
}
.auth-close:hover { background: var(--c-bg-warm); color: var(--c-text); }

.auth-tabs {
    display: flex; margin-bottom: var(--sp-6);
    border-bottom: 2px solid var(--c-border);
}
.auth-tab {
    flex: 1; padding: var(--sp-3) 0;
    font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    background: none; border: none; border-bottom: 2px solid transparent;
    color: var(--c-text-muted); cursor: pointer; margin-bottom: -2px;
    transition: all var(--t-fast);
}
.auth-tab.active { color: var(--c-coral); border-bottom-color: var(--c-coral); }
.auth-tab:hover  { color: var(--c-coral); }

.auth-form { display: none; }
.auth-form.active { display: block; }

.auth-title { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 700; color: var(--c-text); margin-bottom: var(--sp-1); }
.auth-subtitle { font-size: var(--fs-sm); color: var(--c-text-muted); margin-bottom: var(--sp-5); }

.auth-alert { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); margin-bottom: var(--sp-4); font-size: var(--fs-sm); font-weight: 500; display: none; }
.auth-alert.visible { display: block; }
.auth-alert.error   { background: var(--c-danger-bg); border: 1px solid rgba(192,57,43,0.2); color: var(--c-danger); }
.auth-alert.success { background: var(--c-success-bg); border: 1px solid rgba(26,122,74,0.2); color: var(--c-success); }

.field { margin-bottom: var(--sp-4); }
.field label {
    display: block; font-size: var(--fs-xs); font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-mid); margin-bottom: var(--sp-2);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"] {
    width: 100%; background: var(--c-bg); border: 1.5px solid var(--c-border);
    border-radius: var(--r-md); color: var(--c-text); padding: var(--sp-3) var(--sp-4);
    font-size: var(--fs-base); font-family: var(--font-body); outline: none;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus { border-color: var(--c-coral); box-shadow: 0 0 0 3px rgba(227,109,98,0.1); }
.field input.error { border-color: var(--c-danger); }
.field-error { font-size: var(--fs-xs); color: var(--c-danger); margin-top: var(--sp-1); display: none; }
.field-error.visible { display: block; }

.pwd-strength { display: flex; gap: 4px; margin-top: var(--sp-2); }
.pwd-bar { flex: 1; height: 4px; border-radius: var(--r-pill); background: var(--c-border); transition: background var(--t-mid); }
.pwd-bar.weak   { background: var(--c-danger); }
.pwd-bar.medium { background: #f39c12; }
.pwd-bar.strong { background: var(--c-success); }
.pwd-label { font-size: var(--fs-xs); color: var(--c-text-muted); margin-top: var(--sp-1); }

.check-required { border: 1.5px solid rgba(227,109,98,0.2); border-radius: var(--r-md); padding: var(--sp-4); background: rgba(227,109,98,0.03); margin-bottom: var(--sp-4); }
.check-field { display: flex; align-items: flex-start; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.check-field:last-child { margin-bottom: 0; }
.check-field input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; accent-color: var(--c-coral); margin-top: 2px; cursor: pointer; }
.check-label { font-size: var(--fs-xs); color: var(--c-text-muted); line-height: 1.6; cursor: pointer; }
.check-label a { color: var(--c-coral); text-decoration: none; }
.check-label a:hover { text-decoration: underline; }
.check-label strong { color: var(--c-text-mid); }
.field-highlight { animation: shake 0.4s ease; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.btn-auth {
    display: flex; align-items: center; justify-content: center; width: 100%;
    background: var(--c-coral); color: #fff; border: none; border-radius: var(--r-pill);
    padding: var(--sp-4); font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
    box-shadow: var(--shadow-coral); transition: all var(--t-fast); margin-top: var(--sp-2);
}
.btn-auth:hover:not(:disabled) { background: var(--c-coral-dark); transform: translateY(-1px); }
.btn-auth:disabled { background: var(--c-border); color: var(--c-text-faint); box-shadow: none; cursor: not-allowed; }

/* ── COOKIE BANNER ────────────────────────────────────────── */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
    background: var(--c-bg); border-top: 1px solid var(--c-border);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
}
.cookie-inner { max-width: 1200px; margin: 0 auto; padding: var(--sp-5) var(--sp-8); display: flex; align-items: center; gap: var(--sp-6); flex-wrap: wrap; }
.cookie-content { flex: 1; min-width: 260px; }
.cookie-title { font-weight: 700; color: var(--c-text); margin-bottom: var(--sp-2); }
.cookie-text  { font-size: var(--fs-sm); color: var(--c-text-muted); line-height: 1.6; }
.cookie-link  { color: var(--c-coral); text-decoration: none; }
.cookie-link:hover { text-decoration: underline; }
.cookie-details { margin-top: var(--sp-3); }
.cookie-details summary { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-coral); cursor: pointer; list-style: none; }
.cookie-details summary::before { content: '+ '; }
.cookie-details[open] summary::before { content: '− '; }
.cookie-options { margin-top: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp-2); }
.cookie-option { display: flex; align-items: flex-start; gap: var(--sp-2); cursor: pointer; }
.cookie-option input { accent-color: var(--c-coral); margin-top: 2px; }
.cookie-option-text { font-size: var(--fs-xs); color: var(--c-text-muted); line-height: 1.5; }
.cookie-actions { display: flex; gap: var(--sp-3); align-items: center; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn { padding: var(--sp-2) var(--sp-5); border-radius: var(--r-pill); font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: all var(--t-fast); }
.cookie-btn-outline { background: transparent; color: var(--c-text-muted); border: 1.5px solid var(--c-border); }
.cookie-btn-outline:hover { border-color: var(--c-coral); color: var(--c-coral); }
.cookie-btn-primary { background: var(--c-coral); color: #fff; border: none; box-shadow: var(--shadow-coral); }
.cookie-btn-primary:hover { background: var(--c-coral-dark); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero::before { display: none; }
    .hero-deco { display: none; }
    .hero-float-icons { display: none; }
    .coral-inner { grid-template-columns: 1fr; }
    .reg-grid { grid-template-columns: 1fr; }
    .section-cta { grid-template-columns: 1fr; }
    .cta-deco { display: none; }
    .step-row { grid-template-columns: 48px 1fr; }
    .step-icon-wrap { display: none; }
    .hero-countdown { width: 100%; }
    .hc-timer { gap: var(--sp-4); }
    .hc-unit b { font-size: var(--fs-2xl); }
}

@media (max-width: 768px) {
    .header-nav a:not(.btn-nav-login):not(.btn-nav-cta) { display: none; }
    .coral-events { grid-template-columns: 1fr; }
    .landing-footer .footer-top { flex-direction: column; }
    .cookie-inner { flex-direction: column; }
    .cookie-actions { width: 100%; }
    .cookie-btn { flex: 1; text-align: center; }
    .stats-row { gap: var(--sp-4); }
    .stat-sep { display: none; }
}

/* ════════════════════════════════════════════════════════════
   TYPOGRAPHY REFINEMENT — font condensato (Morganite/Oswald)
   Condensato = serve uppercase, letter-spacing, size maggiori,
   line-height stretto. Override mirato dei display headings.
   ════════════════════════════════════════════════════════════ */

/* Logo header */
.header-logo {
    font-size: var(--fs-2xl);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* HERO TITLE — condensato, righe vicine */
.hero-title {
    font-size: clamp(2.4rem, 4.2vw, 3.4rem);
    line-height: 0.98;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}
.hero-title .script {            /* "100 crediti" accent */
    display: inline;             /* niente block → niente gap extra */
    font-size: 1em;
    letter-spacing: 0.01em;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}
.hero-sub {
    letter-spacing: 0.005em;
    line-height: 1.7;
}

/* EDITION eyebrow */
.hero-edition { letter-spacing: 0.16em; }

/* SECTION HEADINGS */
.section-heading {
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 0.95;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}
.section-heading .script { font-size: 1.08em; letter-spacing: 0.01em; }

/* Label piccole sopra titoli — più respiro */
.section-label { letter-spacing: 0.22em; margin-bottom: var(--sp-4); }

/* STATS — numeri condensati grandi */
.stat-num  { font-size: 3rem; letter-spacing: 0.01em; line-height: 0.9; }
.stat-lbl  { letter-spacing: 0.12em; margin-top: var(--sp-2); }
.stats-row { gap: var(--sp-8); padding-block: var(--sp-10); }

/* STEP — numeri 01-04 e titoli */
.step-n {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    letter-spacing: 0.01em; line-height: 0.85;
}
.step-content h3 {
    font-size: var(--fs-xl);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: var(--sp-3);
}
.step-content p { letter-spacing: 0.003em; line-height: 1.7; }
.step-row { padding-block: var(--sp-6); }

/* REGOLAMENTO */
.reg-col-head {
    font-size: var(--fs-base);
    letter-spacing: 0.1em;
}
.reg-list li span { letter-spacing: 0.005em; }
.reg-col { padding: var(--sp-6); }

/* DECO CARDS hero */
.deco-num { font-size: 3.4rem; line-height: 0.85; letter-spacing: 0.01em; }
.deco-label { letter-spacing: 0.1em; }

/* CTA */
.cta-title {
    font-size: clamp(2.6rem, 4.5vw, 3.6rem);
    line-height: 0.95;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}
.cta-title .script { font-size: 1.08em; }

/* COUNTDOWN hero — numeri condensati */
.hc-unit b { font-size: clamp(2.4rem, 4vw, 3.2rem); letter-spacing: 0.01em; line-height: 0.85; }
.hc-label  { letter-spacing: 0.1em; }

/* Footer brand */
.footer-brand { letter-spacing: 0.04em; text-transform: uppercase; }

/* Ritmo verticale sezioni — uniforme */
.section-steps   { padding-block: clamp(var(--sp-12), 8vw, 5rem); }
.section-coral   { padding-block: clamp(var(--sp-12), 8vw, 5rem); }
.section-cta     { padding-block: clamp(var(--sp-12), 8vw, 5rem); }

/* Hero — più respiro verticale */
.hero { padding-block: clamp(7rem, 12vh, 9rem) clamp(var(--sp-12), 8vw, 5rem); }

/* ── TITOLI IN BLU (override finale, accent .script resta corallo) ── */
.hero-title,
.cta-title,
.section-steps .section-heading,
.step-content h3 { color: var(--c-blue); }
.hero-title .script,
.cta-title .script,
.section-steps .section-heading .script { color: var(--c-coral); }

/* ══ ANTEPRIMA CLASSIFICA LIVE (senza login) ═══════════════ */
.section-preview { padding: var(--sp-9, 4rem) var(--sp-5, 1.25rem); background: var(--c-bg, #fff); }
.preview-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.preview-sub { color: var(--c-text-muted, #6b7785); font-size: var(--fs-base); margin: var(--sp-3) 0 var(--sp-6); }

.preview-rank { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); text-align: left; }
.pr-row {
    display: flex; align-items: center; gap: var(--sp-3);
    background: var(--c-bg, #fff); border: 1.5px solid var(--c-border, #e7e0da);
    border-radius: var(--r-lg, 16px); padding: var(--sp-3) var(--sp-4);
    transition: transform .12s ease, box-shadow .12s ease;
}
.pr-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-md, 0 8px 24px rgba(20,30,50,.1)); }
.pr-pos { font-size: 1.4rem; font-weight: 800; min-width: 34px; text-align: center; font-family: var(--font-display, 'Oswald', sans-serif); color: var(--c-text-muted, #6b7785); }
.pr-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--c-bg-warm, #f1e9e3); flex-shrink: 0; }
.pr-name { display: flex; flex-direction: column; flex: 1; min-width: 0; font-family: var(--font-display, 'Oswald', sans-serif); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--c-text, #1d2733); line-height: 1.15; }
.pr-name small { font-family: var(--font-body, 'Montserrat', sans-serif); font-weight: 500; font-size: .72rem; text-transform: none; letter-spacing: 0; color: var(--c-text-muted, #6b7785); }
.pr-pts { font-family: var(--font-display, 'Oswald', sans-serif); font-weight: 800; font-size: 1.15rem; color: var(--c-text-muted, #6b7785); flex-shrink: 0; }
.pr-pts.pos { color: var(--c-success, #1a7a4a); }
.pr-pts.neg { color: var(--c-danger, #c0392b); }
.pr-link { text-decoration: none; color: var(--c-coral, #E36D62); font-size: 1.6rem; font-weight: 700; line-height: 1; padding: 0 4px; flex-shrink: 0; }
.preview-cta { margin-top: var(--sp-6, 1.5rem); }

/* ══ BANNER VERIFICA EMAIL ═════════════════════════════════ */
.verify-banner {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    max-width: 760px;
    /* sotto l'header fisso, non coperto */
    margin: calc(var(--header-h, 64px) + 14px) auto 0; padding: 12px 18px;
    background: #fff; border: 1.5px solid var(--c-border-coral, rgba(227,109,98,.3));
    border-left: 5px solid var(--c-coral, #E36D62);
    border-radius: 12px; box-shadow: 0 6px 20px rgba(20,30,50,.08);
    position: relative; z-index: 150;
}
.verify-banner .vb-ico { font-size: 1.5rem; line-height: 1; }
.verify-banner .vb-text { display: flex; flex-direction: column; flex: 1; min-width: 200px; }
.verify-banner .vb-text strong { font-size: .95rem; color: var(--c-text, #1d2733); }
.verify-banner .vb-text span { font-size: .82rem; color: var(--c-text-muted, #6b7785); }
.verify-banner .vb-resend {
    font-size: .82rem; font-weight: 700; color: var(--c-coral, #E36D62);
    text-decoration: none; white-space: nowrap;
}
.verify-banner .vb-resend:hover { text-decoration: underline; }

/* ══ BOLD THEME — Landing (stessi colori) ══════════════════ */
.section-preview { background: linear-gradient(180deg, #fff, var(--c-bg-warm, #fbf6f2)); }
.pr-row { border-width: 2px; border-radius: 18px; }
.pr-row:hover { box-shadow: 0 14px 34px rgba(20,30,50,.14); }
.pr-img { width: 54px; height: 54px; box-shadow: 0 5px 14px rgba(0,0,0,.12); }
.pr-pos { font-size: 1.6rem; }
.pr-pos--1 { color: #d4a017; } .pr-pos--2 { color: #8a96a3; } .pr-pos--3 { color: #c47a3d; }
.pr-pts { font-size: 1.3rem; }
.pr-pts.pos { text-shadow: 0 2px 8px rgba(26,122,74,.15); }
.pr-link { font-size: 1.9rem; }

/* Bottoni hero/cta più imponenti */
.btn-hero-primary {
    box-shadow: 0 14px 32px rgba(227,109,98,.45);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-hero-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* Stat row più decisa */
.stat-num { text-shadow: 0 3px 14px rgba(227,109,98,.15); }

/* Banner verifica → accento più marcato */
.verify-banner { border-left-width: 6px; box-shadow: 0 8px 26px rgba(20,30,50,.1); }

/* ══════════════════════════════════════════════════════════ */
/* ══ PREMIUM DETAILS — Homepage (cura dei dettagli) ════════ */
/* ══════════════════════════════════════════════════════════ */

/* Rifiniture globali */
html { scroll-behavior: smooth; }
body.page-landing { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
::selection { background: var(--c-coral, #E36D62); color: #fff; }
.page-landing { scrollbar-color: var(--c-coral, #E36D62) transparent; }
.page-landing ::-webkit-scrollbar { width: 11px; }
.page-landing ::-webkit-scrollbar-thumb { background: var(--c-coral, #E36D62); border-radius: 999px; border: 3px solid var(--c-bg, #fff); }
.page-landing ::-webkit-scrollbar-track { background: transparent; }

/* Focus visibile accessibile (dettaglio da pro) */
.page-landing a:focus-visible,
.page-landing button:focus-visible,
.page-landing input:focus-visible {
    outline: 2px solid var(--c-blue, #0069AA); outline-offset: 3px; border-radius: 6px;
}

/* Nav: underline animato (solo link testuali) */
.header-nav a:not(.btn-nav-login):not(.btn-nav-cta) { position: relative; }
.header-nav a:not(.btn-nav-login):not(.btn-nav-cta)::after {
    content: ''; position: absolute; left: 0; bottom: -5px; height: 2px; width: 100%;
    background: var(--c-coral, #E36D62); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.header-nav a:not(.btn-nav-login):not(.btn-nav-cta):hover::after { transform: scaleX(1); }

/* Bottoni: riflesso "sheen" che attraversa all'hover */
.btn-hero-primary, .btn-nav-cta { position: relative; overflow: hidden; }
.btn-hero-primary::after, .btn-nav-cta::after {
    content: ''; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
    transform: skewX(-22deg); pointer-events: none;
}
.btn-hero-primary:hover::after, .btn-nav-cta:hover::after { animation: heroSheen .85s ease; }
@keyframes heroSheen { from { left: -80%; } to { left: 140%; } }

/* Titolo hero: accento in gradiente */
.hero-title .script {
    background: linear-gradient(115deg, #E36D62, #f0a08a 55%, #E36D62);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Numeri step: gradiente + scatto all'hover */
.step-n {
    background: var(--grad-coral, linear-gradient(135deg,#E36D62,#f0a08a));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.step-row:hover .step-n { transform: scale(1.12); }
.step-row { transition: background .2s ease, transform .2s ease; }
.step-icon-wrap { transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .2s, border-color .2s; }
.step-row:hover .step-icon-wrap { transform: translateY(-3px) rotate(-4deg); }

/* Stat row: numeri con micro-glow e separatori vivaci */
.stat-num { transition: transform .2s ease; }
.stat-item:hover .stat-num { transform: translateY(-2px); }
.stat-sep { color: var(--c-coral, #E36D62); opacity: .5; }

/* Card regolamento: lift elegante all'hover */
.reg-col { transition: transform .25s ease, box-shadow .25s ease; }
.reg-col:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(0,0,0,.16); }

/* Classifica preview: podio #1 con bagliore oro */
.preview-rank .pr-row:first-child {
    border-color: rgba(212,160,23,.45);
    box-shadow: 0 10px 30px rgba(212,160,23,.15);
}
.preview-rank .pr-row:first-child .pr-img { box-shadow: 0 0 0 3px rgba(212,160,23,.4); }

/* Footer: underline animato */
.footer-links a { position: relative; }
.footer-links a::after {
    content: ''; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 100%;
    background: var(--c-coral-light, #f0a08a); transform: scaleX(0); transform-origin: left;
    transition: transform .25s ease;
}
.footer-links a:hover::after { transform: scaleX(1); }

/* Edition badge: puntino pulsante */
.hero-edition { display: inline-flex; align-items: center; gap: 7px; }

/* Wave divider: leggera ombra per profondità */
.wave-divider svg { filter: drop-shadow(0 -2px 6px rgba(0,0,0,.04)); }

/* Rispetta reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .btn-hero-primary:hover::after, .btn-nav-cta:hover::after { animation: none; }
    html { scroll-behavior: auto; }
}

/* ══ "Chi sta vincendo" blu + "in questo momento" arancione ══ */
/* (stesso schema della CTA "Sei pronto a scegliere il tuo capitano?") */
.section-preview .section-heading {
    color: var(--c-blue, #0069AA);
    -webkit-text-fill-color: var(--c-blue, #0069AA);
}
.section-preview .section-heading .script {
    color: var(--c-coral, #E36D62);
    -webkit-text-fill-color: var(--c-coral, #E36D62);
    background: none;
}

/* ══════════════════════════════════════════════════════════ */
/* ══ FOOTER — ridisegnato, più curato ═════════════════════ */
/* ══════════════════════════════════════════════════════════ */
.landing-footer {
    position: relative; overflow: hidden;
    background:
        radial-gradient(700px 300px at 85% -40%, rgba(227,109,98,.14), transparent 70%),
        radial-gradient(600px 280px at 10% 120%, rgba(0,105,170,.16), transparent 70%),
        var(--c-text, #1d2733);
    border-top: none;
    padding: clamp(2.4rem, 5vw, 3.4rem) clamp(var(--sp-4), 5vw, var(--sp-10)) var(--sp-6);
}
.footer-accent {
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--c-coral, #E36D62), var(--c-blue, #0069AA));
}

.footer-main {
    display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start; margin-bottom: var(--sp-6);
}
@media (max-width: 760px) { .footer-main { grid-template-columns: 1fr; gap: 1.8rem; } }

.footer-brand-col { max-width: 360px; }
.footer-brand { display: inline-flex; align-items: center; gap: var(--sp-2); margin-bottom: 14px; }
.footer-brand-fallback {
    align-items: center; gap: 6px; font-family: var(--font-display,'Oswald',sans-serif);
    font-size: 1.3rem; font-weight: 800; color: #fff;
}
.footer-tagline { font-size: .9rem; line-height: 1.65; color: rgba(255,255,255,.6); margin: 0 0 18px; }
.footer-cta {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--grad-coral, linear-gradient(135deg,#E36D62,#f0a08a)); color: #fff;
    font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
    padding: 10px 20px; border-radius: 999px; text-decoration: none;
    box-shadow: 0 8px 22px rgba(227,109,98,.4); transition: transform .15s ease, filter .15s ease;
}
.footer-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }

.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col-title {
    font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
    color: var(--c-coral, #E36D62); margin-bottom: 4px;
}
.footer-col a {
    position: relative; align-self: flex-start;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .86rem; color: rgba(255,255,255,.6); text-decoration: none;
    transition: color .18s ease;
}
.footer-col a::after {
    content: ''; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 100%;
    background: var(--c-coral, #E36D62); transform: scaleX(0); transform-origin: left;
    transition: transform .25s ease;
}
.footer-col a:hover { color: #fff; }
.footer-col a:hover::after { transform: scaleX(1); }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.1);
}
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.35); line-height: 1.6; margin: 0; max-width: 70ch; }
.footer-sign {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .76rem; font-weight: 700; color: rgba(255,255,255,.55); white-space: nowrap;
}

/* ══ Footer: disclaimer 18+ + riga finale centrata ═════════ */
.footer-age {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    max-width: 640px; margin: 0 auto var(--sp-5); padding-top: var(--sp-5);
    border-top: 1px solid rgba(255,255,255,.1); text-align: center;
}
.age-badge {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display, 'Oswald', sans-serif); font-weight: 800; font-size: 1rem;
    color: #fff; background: linear-gradient(135deg, #E36D62, #c14642);
    box-shadow: 0 6px 16px rgba(227,109,98,.45); letter-spacing: .02em;
}
.footer-age-text { font-size: .8rem; line-height: 1.55; color: rgba(255,255,255,.6); text-align: left; }
.footer-age-text strong { color: rgba(255,255,255,.85); }

.footer-bottom {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding-top: var(--sp-4); border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
}
.footer-copy { text-align: center; margin: 0 auto; max-width: 80ch; }
.footer-sign { white-space: nowrap; }
@media (max-width: 520px) { .footer-age { flex-direction: column; } .footer-age-text { text-align: center; } }

/* ══════════════════════════════════════════════════════════ */
/* ══ COOKIE BANNER — stile Cocktail Fest (floating card) ═══ */
/* ══════════════════════════════════════════════════════════ */
.cookie-banner {
    left: 50%; right: auto; bottom: clamp(12px, 3vw, 24px);
    transform: translateX(-50%);
    width: min(680px, calc(100vw - 24px));
    background: #fff; border: none; border-radius: 20px;
    box-shadow: 0 20px 60px rgba(20,30,50,.28); overflow: hidden;
}
.cookie-banner::before {
    content: ''; display: block; height: 5px;
    background: linear-gradient(90deg, var(--c-coral, #E36D62), var(--c-blue, #0069AA));
}
.cookie-inner { padding: clamp(var(--sp-4), 4vw, var(--sp-6)); gap: var(--sp-4); }
.cookie-title { font-family: var(--font-display, 'Oswald', sans-serif); font-size: 1.15rem; font-weight: 800; color: var(--c-text, #1d2733); }
.cookie-text { font-size: .86rem; line-height: 1.6; color: var(--c-text-mid, #44515f); }
.cookie-link { color: var(--c-coral, #E36D62); font-weight: 700; }
.cookie-age {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
    font-size: .76rem; font-weight: 700; color: var(--c-coral, #E36D62);
}
.cookie-age b {
    background: var(--c-coral, #E36D62); color: #fff; border-radius: 999px;
    padding: 1px 8px; font-size: .72rem;
}
.cookie-btn-primary {
    background: var(--grad-coral, linear-gradient(135deg,#E36D62,#f0a08a)) !important;
    box-shadow: 0 8px 20px rgba(227,109,98,.42); transition: transform .15s ease, filter .15s ease;
}
.cookie-btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); background: var(--grad-coral, linear-gradient(135deg,#E36D62,#f0a08a)) !important; }

/* ══════════════════════════════════════════════════════════ */
/* ══ HEADER — più curato ═══════════════════════════════════ */
/* ══════════════════════════════════════════════════════════ */
.landing-header {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid rgba(231,224,218,.6);
    transition: box-shadow var(--t-mid), background var(--t-mid), height var(--t-mid);
}
.landing-header::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-coral, #E36D62), var(--c-blue, #0069AA), transparent);
    opacity: 0; transition: opacity var(--t-mid);
}
.landing-header.scrolled { background: rgba(255,255,255,0.92); box-shadow: 0 6px 24px rgba(20,30,50,.08); }
.landing-header.scrolled::after { opacity: 1; }

.header-logo { transition: transform var(--t-fast); }
.header-logo:hover { transform: scale(1.03); }
.header-nav a:not(.btn-nav-login):not(.btn-nav-cta) { position: relative; }
.btn-nav-cta { box-shadow: 0 8px 20px rgba(227,109,98,.4); }
.btn-nav-cta:hover { transform: translateY(-2px) !important; box-shadow: 0 12px 26px rgba(227,109,98,.5); }
.btn-nav-login:hover { transform: translateY(-2px); }

/* ══ Hero: tema gioco più chiaro ═══════════════════════════ */
.hero-accent { color: var(--c-blue, #0069AA); }
.hero-title .script { font-size: 1.02em; padding-left: 0; }

/* ══════════════════════════════════════════════════════════ */
/* ══ SEZIONE SEO / DESCRITTIVA (fondo pagina) ═════════════ */
/* ══════════════════════════════════════════════════════════ */
.section-seo {
    background: var(--c-bg-warm, #fbf6f2);
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(var(--sp-4), 5vw, var(--sp-10));
    border-top: 1px solid var(--c-border, #e7e0da);
}
.seo-inner { max-width: 760px; margin: 0 auto; }
.seo-title {
    font-family: var(--font-display, 'Oswald', sans-serif);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.15;
    color: var(--c-blue, #0069AA); margin-bottom: var(--sp-5); text-align: center;
}
.seo-title span { color: var(--c-coral, #E36D62); }
.section-seo p {
    font-size: .98rem; line-height: 1.8; color: var(--c-text-mid, #44515f);
    margin-bottom: var(--sp-4);
}
.section-seo strong { color: var(--c-text, #1d2733); font-weight: 700; }

.seo-faq { margin-top: var(--sp-6); display: flex; flex-direction: column; gap: 12px; }
.seo-faq details {
    background: #fff; border: 1.5px solid var(--c-border, #e7e0da); border-radius: 14px;
    padding: 4px 18px; transition: border-color .2s ease, box-shadow .2s ease;
}
.seo-faq details[open] { border-color: var(--c-border-coral, rgba(227,109,98,.35)); box-shadow: 0 8px 24px rgba(20,30,50,.06); }
.seo-faq summary {
    cursor: pointer; list-style: none; padding: 14px 0;
    font-weight: 700; font-size: .95rem; color: var(--c-text, #1d2733);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after {
    content: '+'; font-size: 1.5rem; font-weight: 700; color: var(--c-coral, #E36D62);
    line-height: 1; transition: transform .25s ease;
}
.seo-faq details[open] summary::after { transform: rotate(45deg); }
.seo-faq details p { margin: 0 0 14px; font-size: .9rem; line-height: 1.65; color: var(--c-text-muted, #6b7785); }

/* ══ Bottone "Torna su" ════════════════════════════════════ */
.to-top {
    position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 8500;
    width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer;
    background: var(--grad-coral, linear-gradient(135deg,#E36D62,#f0a08a)); color: #fff;
    box-shadow: 0 10px 26px rgba(227,109,98,.45);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); filter: brightness(1.06); }
.to-top .icon { transform: rotate(-90deg); width: 22px; height: 22px; }

/* reCAPTCHA box — centrato nei form */
.g-recaptcha { display: flex; justify-content: center; }

/* ══ CTA Icons (SVG inline) ════════════════════════════════ */
.cta-ic {
    width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block;
    vertical-align: -0.18em; transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.btn-hero-primary:hover .cta-ic,
.btn-nav-cta:hover .cta-ic,
.footer-cta:hover .cta-ic { transform: translateX(3px) scale(1.12); }
.btn-hero-ghost .cta-ic { opacity: .7; }
.btn-auth .cta-ic { width: 1em; height: 1em; }

/* ══ Contatore iscritti hero ════════════════════════════════ */
.hero-counter {
    display: inline-flex; align-items: center; gap: 6px; margin-top: var(--sp-3);
    font-size: var(--fs-sm); font-weight: 700; color: var(--c-text-mid,#44515f);
    background: #fff; border: 1px solid var(--c-border,#e7e0da);
    border-left: 3px solid var(--c-coral,#E36D62);
    border-radius: var(--r-md,10px); padding: 8px 14px;
    box-shadow: 0 4px 14px rgba(20,30,50,.07);
}
.hero-counter #hero-counter-n { font-weight: 800; color: var(--c-coral,#E36D62); font-size: 1.05em; }

/* ══ Accordion regolamento (cf-faq) ════════════════════════ */
.cf-faq { display: flex; flex-direction: column; gap: 10px; }
.cf-faq details {
    background: #fff; border: 1.5px solid var(--c-border,#e7e0da); border-radius: 14px;
    overflow: hidden; transition: border-color .2s ease;
}
.cf-faq details[open] { border-color: rgba(227,109,98,.4); }
.cf-faq summary {
    cursor: pointer; list-style: none; padding: 16px 20px;
    font-weight: 700; font-size: 1rem; color: var(--c-text,#1d2733);
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    user-select: none;
}
.cf-faq summary::-webkit-details-marker { display: none; }
.cf-faq summary::after {
    content: '+'; font-size: 1.5rem; color: var(--c-coral,#E36D62); font-weight: 700;
    transition: transform .25s ease; line-height: 1;
}
.cf-faq details[open] summary::after { transform: rotate(45deg); }
.cf-faq-body { padding: 0 20px 16px; }
