/* ========================================
   CRUISBET LANDING - ROTTA VERSO LA CASSA
   Bianco / Blu elettrico / Giallo fluo - Nautico, Non Standard
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Base */
    --white: #FFFFFF;
    --off-white: #f4f6ff;
    --paper: #e9edff;

    /* Deep ocean green (dark band) */
    --green-black: #0a1266;
    --green-dark: #101c8f;
    --green-navy: #1a2bc4;
    --green-navy-light: #2438e0;

    /* Vivid green (primary accent) */
    --green: #1f3bff;
    --green-light: #8aa2ff;
    --green-lighter: #e9ff00;
    --green-deep: #1227c9;
    --green-muted: rgba(31, 59, 255, 0.85);

    /* Gradients */
    --ocean-gradient: linear-gradient(160deg, #0a1266 0%, #101c8f 55%, #1a2bc4 100%);
    --green-gradient: linear-gradient(135deg, #1f3bff 0%, #8aa2ff 100%);
    --green-gradient-deep: linear-gradient(135deg, #1227c9 0%, #1f3bff 100%);
    --card-gradient: linear-gradient(160deg, #FFFFFF 0%, #f4f6ff 100%);
    --card-gradient-dark: linear-gradient(160deg, rgba(36, 56, 224, 0.55) 0%, rgba(16, 28, 143, 0.85) 100%);

    /* Glass */
    --glass-light: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(31, 59, 255, 0.18);
    --glass-border-strong: rgba(31, 59, 255, 0.4);
    --glass-border-dark: rgba(233, 255, 0, 0.22);
    --glass-border-dark-strong: rgba(233, 255, 0, 0.4);

    /* Text on white */
    --text-dark: #0a1266;
    --text-body: #2a315c;
    --text-muted: #5b6390;
    --text-faint: #9aa3c7;

    /* Text on green */
    --text-on-green: #eef1ff;
    --text-on-green-muted: #b9c4ff;

    /* Shadows */
    --shadow-sm: 0 4px 15px rgba(16, 28, 143, 0.08);
    --shadow-md: 0 10px 34px rgba(16, 28, 143, 0.12);
    --shadow-lg: 0 22px 55px rgba(16, 28, 143, 0.18);
    --shadow-dark-lg: 0 22px 55px rgba(0, 0, 0, 0.45);
    --glow-green: 0 0 26px rgba(31, 59, 255, 0.35);
    --glow-green-soft: 0 8px 24px rgba(31, 59, 255, 0.25);

    /* Typography */
    --font-display: 'Fraunces', 'Georgia', serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --header-height: 78px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
svg { width: 100%; height: 100%; }

/* ========================================
   OCEAN BACKGROUND (light decorative layer)
   ======================================== */
.ocean-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: var(--white);
}

.ocean-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(31, 59, 255, 0.05) 0%, transparent 65%);
    filter: blur(40px);
}

.compass-rose {
    position: absolute;
    top: 8%;
    right: 6%;
    width: 240px;
    height: 240px;
    color: var(--green);
    opacity: 0.05;
    animation: compassSpin 90s linear infinite;
}

@keyframes compassSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.route-line {
    position: absolute;
    top: 10%;
    left: 4%;
    width: 30%;
    height: 90%;
    color: var(--green);
    opacity: 0.1;
}
.route-line svg { width: 100%; height: 100%; }

.waves { display: none; }

@media (max-width: 768px) {
    .compass-rose { width: 160px; height: 160px; }
    .route-line { display: none; }
}

/* ========================================
   SECTION SHARED
   ======================================== */
.section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--white);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--green-deep);
    background: rgba(31, 59, 255, 0.08);
    border: 1px solid var(--glass-border);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.tag-icon { width: 16px; height: 16px; }

.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.1;
}

.section-title span {
    color: var(--green);
    background: var(--green-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ========================================
   LEGAL POPUP (18+)
   ======================================== */
.legal-popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 18, 102, 0.92);
    backdrop-filter: blur(10px);
    padding: 20px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.legal-popup.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.legal-card {
    position: relative;
    max-width: 440px;
    width: 100%;
    background: var(--ocean-gradient);
    border: 1px solid var(--glass-border-dark-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dark-lg);
    overflow: hidden;
}

.legal-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138, 162, 255, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.legal-inner {
    position: relative;
    padding: 40px 32px 32px;
    text-align: center;
    color: var(--text-on-green);
}

.legal-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 22px;
}

.legal-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--green-light);
}

.legal-divider {
    width: 1px;
    height: 30px;
    background: var(--glass-border-dark-strong);
}

.legal-18 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--green-light);
    letter-spacing: 0px;
    border: 2px solid var(--green-light);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-msg {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--white);
}

.legal-subtitle {
    color: var(--text-on-green-muted);
    font-size: 0.92rem;
    margin-bottom: 26px;
}

.legal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.legal-btn-yes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--green-gradient);
    color: var(--green-black);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--glow-green);
    transition: transform 0.25s ease;
}

.legal-btn-yes:hover { transform: translateY(-2px); }

.anchor-icon-small { width: 20px; height: 20px; }

.legal-btn-no {
    color: var(--text-on-green-muted);
    font-size: 0.85rem;
    padding: 8px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-small {
    font-size: 0.8rem;
    color: var(--text-on-green-muted);
    margin-bottom: 22px;
}

.legal-small a { color: var(--green-light); text-decoration: underline; }

.legal-warn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(138, 162, 255, 0.08);
    border: 1px solid var(--glass-border-dark);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    text-align: left;
}

.legal-warn svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--green-light); }
.legal-warn span { font-size: 0.75rem; color: var(--text-on-green-muted); }

/* ========================================
   URGENCY POPUP
   ======================================== */
.urgency-popup {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.urgency-popup.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 102, 0.85);
    backdrop-filter: blur(8px);
}

.popup-content {
    position: relative;
    max-width: 400px;
    width: 100%;
    background: var(--ocean-gradient);
    border: 1px solid var(--glass-border-dark-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dark-lg);
    padding: 40px 30px 32px;
    text-align: center;
    color: var(--text-on-green);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-green-muted);
    border-radius: 50%;
    transition: all 0.2s ease;
}
.popup-close:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.popup-close svg { width: 18px; height: 18px; }

.popup-badge {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    color: var(--green-light);
    opacity: 0.95;
    animation: wheelSpin 12s linear infinite;
}

@keyframes wheelSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.popup-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    color: var(--white);
    margin-bottom: 20px;
}

.popup-countdown, .match-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(138, 162, 255, 0.1);
    border: 1px solid var(--glass-border-dark);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    min-width: 54px;
}

.cd-num {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--green-light);
    letter-spacing: 0px;
}

.cd-item small {
    font-size: 0.6rem;
    color: var(--text-on-green-muted);
    letter-spacing: 1px;
}

.cd-sep {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--text-on-green-muted);
}

.popup-spots-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(138, 162, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 22px;
    font-size: 0.85rem;
    color: var(--text-on-green-muted);
}
.popup-spots-alert svg { width: 18px; height: 18px; color: var(--green-light); }
.popup-spots-alert strong { color: var(--green-light); }

.popup-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--green-gradient);
    color: var(--green-black);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--glow-green);
    transition: transform 0.25s ease;
}
.popup-cta:hover { transform: translateY(-2px); }

.tg-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-border);
    transition: box-shadow 0.3s ease;
}

.header-nav {
    max-width: 1300px;
    margin: 0 auto;
    height: var(--header-height);
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-logo img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--green);
}

.header-logo span {
    font-family: var(--font-display);
    font-weight: 600;
    font-style: italic;
    font-size: 1.4rem;
    letter-spacing: -0.2px;
    color: var(--text-dark);
}

.header-center { flex: 1; display: flex; justify-content: center; }

.header-nav-links {
    display: flex;
    gap: 34px;
}

.header-nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
    position: relative;
}

.header-nav-links a:hover { color: var(--green-deep); }

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header-spots {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.header-spot-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-light);
    box-shadow: 0 0 8px var(--green-light);
    animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.header-spots strong { color: var(--green-deep); }

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--green-gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 11px 22px;
    border-radius: 100px;
    box-shadow: var(--glow-green-soft);
    transition: transform 0.25s ease;
}
.header-cta:hover { transform: translateY(-2px); }
.header-cta .tg-icon { width: 17px; height: 17px; }

@media (max-width: 992px) {
    .header-center { display: none; }
}

@media (max-width: 768px) {
    .header { display: none; }
}

/* ========================================
   MOBILE HEADER CTA
   ======================================== */
.mobile-header-cta {
    display: none;
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

@media (max-width: 768px) {
    .mobile-header-cta { display: flex; }
}

.mobile-spots {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
    padding-left: 16px;
}

.spots-pulse-ring, .spots-pulse {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green-light);
}
.spots-pulse-ring {
    animation: ringExpand 1.8s ease-out infinite;
    background: transparent;
    border: 2px solid var(--green-light);
}
@keyframes ringExpand {
    0% { transform: translateY(-50%) scale(0.6); opacity: 1; }
    100% { transform: translateY(-50%) scale(2.2); opacity: 0; }
}

.mobile-spots-count { font-weight: 700; color: var(--green-deep); font-size: 0.95rem; }

.mobile-cta-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--green-gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 10px 16px;
    border-radius: 100px;
    white-space: nowrap;
}
.mobile-cta-btn .tg-icon { width: 15px; height: 15px; }

/* ========================================
   HERO (dark green band)
   ======================================== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 50px) 0 90px;
    background: var(--ocean-gradient);
    color: var(--text-on-green);
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 70px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0,35 C300,70 900,0 1200,35 L1200,70 L0,70 Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--green-light);
    background: rgba(138, 162, 255, 0.1);
    border: 1px solid var(--glass-border-dark);
    padding: 9px 18px;
    border-radius: 100px;
    margin-bottom: 26px;
}
.hero-tag svg { width: 16px; height: 16px; }

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 22px;
}

.title-main {
    font-family: var(--font-display);
    font-weight: 600;
    font-style: italic;
    font-size: clamp(3rem, 7vw, 5.4rem);
    letter-spacing: -0.5px;
    line-height: 1;
    color: var(--white);
}

.title-sub {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(0.85rem, 1.6vw, 1.05rem);
    letter-spacing: 4px;
    color: var(--green-light);
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-on-green-muted);
    max-width: 560px;
    margin-bottom: 34px;
}
.hero-subtitle strong { color: var(--white); }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
}

.stat-item { display: flex; flex-direction: column; }

.stat-number {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.9rem;
    color: var(--green-light);
    letter-spacing: 0px;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-on-green-muted);
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 34px;
    background: var(--glass-border-dark-strong);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green-gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 18px 34px;
    border-radius: 100px;
    box-shadow: var(--glow-green);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 0 34px rgba(138, 162, 255, 0.5); }

/* HERO MATCH CARD */
.hero-match-card {
    position: relative;
    background: var(--card-gradient-dark);
    border: 1px solid var(--glass-border-dark-strong);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-dark-lg);
    backdrop-filter: blur(10px);
}

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

.match-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--green-light);
}
.anchor-icon-mini { width: 16px; height: 16px; }

.match-live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--green-lighter);
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green-light);
    box-shadow: 0 0 8px var(--green-light);
    animation: pulseDot 1.4s ease-in-out infinite;
}

.matches-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.match-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 18, 102, 0.5);
    border: 1px solid var(--glass-border-dark);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.match-teams {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-logo.mystery {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px dashed var(--text-on-green-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-on-green-muted);
}

.match-vs {
    font-size: 0.7rem;
    color: var(--text-on-green-muted);
    font-weight: 600;
}

.match-prediction.locked {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-on-green-muted);
    font-size: 0.75rem;
    font-weight: 600;
}
.match-prediction.locked svg { width: 15px; height: 15px; }

.match-card-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.spots-remaining {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-on-green-muted);
}
.spots-remaining strong { color: var(--green-light); }

.spots-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-light);
    box-shadow: 0 0 8px var(--green-light);
}

.card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--green-gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 14px;
    border-radius: var(--radius-md);
    transition: transform 0.25s ease;
}
.card-cta:hover { transform: translateY(-2px); }
.card-cta .tg-icon { width: 17px; height: 17px; }

@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-tag, .hero-stats { justify-content: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    .hero { padding: 30px 0 70px; min-height: auto; }
    .hero-cta { width: 100%; justify-content: center; }
}

/* ========================================
   METODO - ROTTA MAP (custom section)
   ======================================== */
.rotta-map {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    padding-top: 20px;
}

.rotta-line {
    grid-column: 1 / -1;
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 160px;
    color: var(--glass-border-strong);
    z-index: 0;
    pointer-events: none;
}

.rotta-path-bg { color: rgba(31, 59, 255, 0.22); }
.rotta-path-draw {
    color: var(--green);
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
}
.rotta-boat {
    color: var(--green-deep);
    filter: drop-shadow(0 3px 6px rgba(18, 39, 201, 0.4));
}

.rotta-stop {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stop-marker {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--green);
    color: var(--green-deep);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
}

.stop-card {
    position: relative;
    background: var(--card-gradient);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stop-card:hover { transform: translateY(-6px); border-color: var(--glass-border-strong); }

.stop-card::before,
.stop-card::after {
    content: '';
    position: absolute;
    top: 88px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--off-white);
    border: 1px solid var(--glass-border);
    z-index: 1;
}
.stop-card::before { left: -10px; }
.stop-card::after { right: -10px; }

.stop-card.featured {
    border-color: var(--green);
    box-shadow: var(--glow-green-soft);
}

.stop-flag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
    background: var(--green-gradient);
    padding: 6px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

.stop-icon {
    width: 48px;
    height: 48px;
    color: var(--green-deep);
    background: rgba(31, 59, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 11px;
    margin: 0 auto 18px;
}

.stop-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.stop-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}
.stop-card p strong { color: var(--green-deep); }

@media (max-width: 900px) {
    .rotta-map { grid-template-columns: 1fr; gap: 50px; }
    .rotta-line { display: none; }
}

/* ========================================
   VANTAGGI SECTION
   ======================================== */
.section-vantaggi { background: var(--off-white); }

.vantaggi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.vantaggio-item {
    text-align: center;
    padding: 30px 20px;
}

.vantaggio-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    color: var(--white);
    background: var(--green-gradient);
    border-radius: 50%;
    padding: 14px;
    box-shadow: var(--glow-green-soft);
}

.vantaggio-item h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.vantaggio-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.vantaggi-cta { text-align: center; }

.section-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green-gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 17px 32px;
    border-radius: 100px;
    box-shadow: var(--glow-green-soft);
    transition: transform 0.25s ease;
}
.section-cta-btn:hover { transform: translateY(-3px); }

@media (max-width: 992px) {
    .vantaggi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .vantaggi-grid { grid-template-columns: 1fr; }
}

/* ========================================
   CHI SONO SECTION
   ======================================== */
.chi-sono-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border-strong);
    box-shadow: var(--shadow-lg);
}

.image-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }

.image-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: rgba(10, 18, 102, 0.82);
    backdrop-filter: blur(6px);
    border: 1px solid var(--glass-border-dark-strong);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
}

.badge-num {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--green-light);
    letter-spacing: 0px;
}

.badge-text { font-size: 0.7rem; color: var(--text-on-green-muted); }

.chi-sono-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--green-deep);
    background: rgba(31, 59, 255, 0.08);
    border: 1px solid var(--glass-border);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 22px;
}

.chi-sono-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-style: italic;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    letter-spacing: -0.3px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.chi-sono-title span { color: var(--green-deep); }

.chi-sono-desc {
    color: var(--text-body);
    font-size: 1.02rem;
    margin-bottom: 26px;
}
.chi-sono-desc strong { color: var(--green-deep); }

.chi-sono-punti {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}

.punto {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-body);
}

.punto-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--green-deep);
}

.chi-sono-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green-gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 30px;
    border-radius: 100px;
    box-shadow: var(--glow-green-soft);
    transition: transform 0.25s ease;
}
.chi-sono-cta:hover { transform: translateY(-2px); }

@media (max-width: 900px) {
    .chi-sono-wrapper { grid-template-columns: 1fr; text-align: center; }
    .chi-sono-tag { margin-left: auto; margin-right: auto; }
    .punto { justify-content: center; }
    .image-frame { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 480px) {
    .chi-sono-punti { grid-template-columns: 1fr; }
}

/* ========================================
   ULTIME VINCITE - CASSA GRID (proporzioni originali)
   ======================================== */
.section-vincite { background: var(--off-white); }

.cassa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cassa-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.cassa-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border-strong);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.cassa-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--green-gradient);
    z-index: 2;
}

.cassa-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--glow-green-soft);
}

.cassa-item img {
    display: block;
    width: 100%;
    height: auto;
}

.cassa-cta {
    text-align: center;
    margin-top: 46px;
}

.cassa-cta p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 22px;
}

/* ========================================
   RECENSIONI
   ======================================== */
.recensioni-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.recensione-card {
    background: var(--card-gradient);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.recensione-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.recensione-card.featured {
    border-color: var(--green);
    box-shadow: var(--glow-green-soft);
}

.recensione-stars {
    color: var(--green);
    letter-spacing: 2px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.recensione-text {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 20px;
    min-height: 110px;
}

.recensione-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-initial {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--green-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.recensione-author strong { display: block; font-size: 0.88rem; color: var(--text-dark); }
.recensione-author span { font-size: 0.75rem; color: var(--text-faint); }

@media (max-width: 992px) {
    .recensioni-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .recensioni-grid { grid-template-columns: 1fr; }
    .recensione-text { min-height: auto; }
}

/* ========================================
   FAQ
   ======================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--card-gradient);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    text-align: left;
    color: var(--text-dark);
    font-size: 0.98rem;
    font-weight: 600;
}

.faq-question svg {
    width: 18px;
    height: 18px;
    color: var(--green);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 260px;
    padding: 0 24px 22px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========================================
   CTA FINALE (dark green band)
   ======================================== */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 130px 0 110px;
    background: var(--ocean-gradient);
    color: var(--text-on-green);
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 70px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0,35 C300,0 900,70 1200,35 L1200,0 L0,0 Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    pointer-events: none;
}

.cta-anchor {
    width: 70px;
    height: 70px;
    margin: 0 auto 26px;
    color: var(--green-light);
    opacity: 0.9;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-style: italic;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    letter-spacing: -0.3px;
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--white);
}
.cta-content h2 span { color: var(--green-light); }

.cta-content > p {
    color: var(--text-on-green-muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 34px;
}

.cta-btn.cta-btn-big {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green-gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 19px 40px;
    border-radius: 100px;
    box-shadow: var(--glow-green);
    transition: transform 0.25s ease;
}
.cta-btn.cta-btn-big:hover { transform: translateY(-3px); }

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-on-green-muted);
}
.anchor-icon-tiny { width: 15px; height: 15px; color: var(--green-light); }

/* ========================================
   BOTTOM FIXED BAR (desktop)
   ======================================== */
.bottom-fixed {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--glass-light);
    border: 1px solid var(--glass-border-strong);
    border-radius: 100px;
    padding: 10px 10px 10px 20px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
}

.fixed-urgency {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.urgency-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-light);
    box-shadow: 0 0 8px var(--green-light);
    animation: pulseDot 1.5s ease-in-out infinite;
}

.urgency-number { color: var(--green-deep); font-weight: 700; }

.cta-btn.fixed-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--green-gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px 20px;
    border-radius: 100px;
    white-space: nowrap;
}
.arrow-icon { width: 16px; height: 16px; }

@media (max-width: 900px) {
    .bottom-fixed { display: none; }
}

/* ========================================
   MOBILE FIXED CTA
   ======================================== */
.mobile-fixed-cta {
    display: none;
    position: fixed;
    bottom: 66px;
    left: 0;
    right: 0;
    z-index: 85;
    padding: 10px 16px;
    background: linear-gradient(0deg, rgba(255,255,255,0.98) 60%, transparent 100%);
}

@media (max-width: 900px) {
    .mobile-fixed-cta { display: block; }
}
@media (min-width: 769px) and (max-width: 900px) {
    .mobile-fixed-cta { bottom: 20px; background: none; padding: 0 20px; position: fixed; }
}

.mobile-cta-btn-fixed {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--green-gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 15px;
    border-radius: 100px;
    box-shadow: var(--glow-green);
}

/* ========================================
   MOBILE TAB BAR
   ======================================== */
.mobile-tab-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 86;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--glass-border);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    align-items: center;
    justify-content: space-around;
}

@media (max-width: 768px) {
    .mobile-tab-bar { display: flex; }
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-faint);
    font-size: 0.62rem;
    padding: 4px 8px;
    transition: color 0.2s ease;
}

.tab-item svg { width: 20px; height: 20px; }
.tab-item.active, .tab-item:hover { color: var(--green-deep); }

.tab-item.tab-cta { position: relative; }

.tab-cta-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--green-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-green);
    margin-top: -22px;
    color: var(--white);
}
.anchor-icon-tab { width: 22px; height: 22px; }

/* ========================================
   FOOTER (dark green band)
   ======================================== */
.footer-disclaimer {
    position: relative;
    z-index: 1;
    background: var(--green-black);
    padding: 50px 24px 120px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-adm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 22px;
}

.adm-logo { width: 90px; height: auto; opacity: 0.9; filter: grayscale(1) brightness(2); }

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid var(--green-light);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--green-light);
}

.footer-brand-text {
    font-size: 1rem;
    margin-bottom: 14px;
    color: var(--text-on-green);
}

.footer-warning {
    font-size: 0.78rem;
    color: var(--text-on-green-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.footer-help {
    font-size: 0.78rem;
    color: var(--text-on-green-muted);
    margin-bottom: 24px;
}
.footer-help strong { color: var(--green-light); }

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.85rem;
}
.footer-links a { color: var(--text-on-green-muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--green-light); }
.footer-links span { color: rgba(185, 196, 255, 0.35); }

.footer-copy { font-size: 0.75rem; color: rgba(185, 196, 255, 0.5); }

@media (max-width: 768px) {
    .footer-disclaimer { padding: 40px 20px 140px; }
}

/* ========================================
   SCROLL ANIMATION HELPERS
   ======================================== */
.stop-card, .vantaggio-item, .recensione-card, .faq-item, .chi-sono-wrapper, .cassa-item {
    will-change: opacity, transform;
}

/* ========================================
   TICKET-CUT BUTTONS (distinctive, non-standard)
   ======================================== */
.header-cta,
.mobile-cta-btn,
.chi-sono-cta,
.cta-btn.fixed-btn,
.mobile-cta-btn-fixed,
.card-cta,
.popup-cta,
.legal-btn-yes {
    border-radius: 5px;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.hero-cta,
.section-cta-btn,
.cta-btn.cta-btn-big {
    border-radius: 5px;
    clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}

/* ---- aggiunte nuova versione ---- */
:root { --fluo: #e9ff00; --fluo-2: #d4f000; --navy: #0a1266; }
.footer-adm { flex-wrap: wrap; }
.adm-logo { width: 56px; }
.footer-adm-text { font-size: 13px; font-weight: 600; color: var(--white); opacity: .9; max-width: 220px; text-align: left; line-height: 1.35; }
.gate-page { min-height: 100vh; }

/* Pulsanti principali: giallo fluo con testo blu scuro */
.hero-cta, .card-cta, .popup-cta, .legal-btn-yes, .mobile-cta-btn, .mobile-cta-btn-fixed,
.section-cta-btn, .chi-sono-cta, .cta-btn, .header-cta {
    background: linear-gradient(135deg, var(--fluo) 0%, var(--fluo-2) 100%) !important;
    color: var(--navy) !important;
    box-shadow: 0 10px 28px -10px rgba(10, 18, 102, 0.55);
}
.hero-cta svg, .card-cta svg, .popup-cta svg, .mobile-cta-btn svg, .mobile-cta-btn-fixed svg,
.section-cta-btn svg, .chi-sono-cta svg, .cta-btn svg, .header-cta svg { color: var(--navy); }

/* Righe giallo fluo: evidenziatore sotto le parole chiave dei titoli */
.section-title span, .chi-sono-title span {
    color: var(--navy);
    -webkit-text-fill-color: currentColor;
    background: linear-gradient(transparent 58%, var(--fluo) 58%, var(--fluo) 92%, transparent 92%);
    -webkit-background-clip: border-box; background-clip: border-box;
    padding: 0 .12em;
}
.title-sub, .stat-number, .cta-content h2 span { color: var(--fluo); }
.hero-tag { color: var(--fluo); border-color: rgba(233, 255, 0, .45); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(115deg, var(--fluo) 0 26px, transparent 26px 40px); z-index: 2; }
.stat-divider { background: rgba(233, 255, 0, .5); }
.mobile-spots-count, #navCountdown { font-variant-numeric: tabular-nums; }
.live-dot, .spots-pulse, .header-spot-dot, .urgency-pulse { background: #22e06b; }

/* ---- timer più leggibile ---- */
.cd-item { background: var(--navy); border: 1px solid rgba(233, 255, 0, .55); min-width: 62px; padding: 10px 12px; }
.cd-num { color: var(--fluo); font-size: 1.9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cd-item small { color: #ffffff; opacity: .9; font-size: .66rem; font-weight: 600; }
.cd-sep { color: var(--fluo); }
.match-badge { color: #ffffff; }
.match-live-badge { color: var(--fluo); }

/* ---- pagina d'ingresso: stessi colori della landing, grafica diversa ---- */
.gate-page { background: linear-gradient(160deg, #1a2bc4 0%, #2438e0 55%, #1f3bff 100%); }
.gate-page .legal-popup { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.gate-page::before, .gate-page::after { content: ""; position: fixed; left: 0; right: 0; height: 14px; z-index: 1001;
    background: repeating-linear-gradient(115deg, var(--fluo) 0 26px, transparent 26px 40px); }
.gate-page::before { top: 0; } .gate-page::after { bottom: 0; }
.gate-page .legal-card { background: #ffffff; border: 0; border-radius: 28px; box-shadow: 0 30px 70px -20px rgba(10, 18, 102, .7); overflow: visible; margin-top: 40px; }
.gate-page .legal-glow { display: none; }
.gate-page .legal-top { flex-direction: column; gap: 10px; margin-top: -78px; margin-bottom: 14px; }
.gate-page .legal-logo { width: 116px; height: 116px; border: 5px solid var(--fluo); box-shadow: 0 12px 30px -10px rgba(10, 18, 102, .6); }
.gate-page .legal-divider { display: none; }
.gate-page .legal-18 { width: auto; height: auto; padding: 3px 16px; border: 0; border-radius: 999px; background: var(--navy); color: var(--fluo);
    font-family: var(--font-body); font-weight: 800; font-size: .95rem; letter-spacing: 1px; }
.gate-page .legal-msg { color: var(--navy); }
.gate-page .legal-msg strong { background: linear-gradient(transparent 58%, var(--fluo) 58%, var(--fluo) 92%, transparent 92%); padding: 0 .12em; color: var(--navy); }
.gate-page .legal-subtitle { color: #2a315c; font-weight: 500; }
.gate-page .legal-btn-no { color: #5b6390; }
.gate-page .legal-small { color: #5b6390; }
.gate-page .legal-small a { color: #1f3bff; }
.gate-page .legal-warn { background: #f4f6ff; border-color: #dbe1fb; color: #2a315c; }
.gate-page .legal-warn span { color: #2a315c; }
.gate-page .legal-warn svg { color: #1f3bff; }
.gate-page .ocean-bg { display: none; }
.gate-page .legal-popup { position: relative; min-height: 100vh; }

/* ---- barra in basso: tre tasti, Entra al centro ---- */
.mobile-tab-bar .tab-item { flex: 1 1 0; min-width: 0; }
.mobile-tab-bar .tab-item:nth-child(1) { order: 1; }
.mobile-tab-bar .tab-item.tab-cta { order: 2; }
.mobile-tab-bar .tab-item:nth-child(2) { order: 3; }

/* ---- pagina d'ingresso: titolo e frase su una riga sola ---- */
.gate-page .legal-inner { padding-left: 18px; padding-right: 18px; }
.gate-page .legal-msg { white-space: nowrap; font-size: min(5.2vw, 1.5rem); }
.gate-page .legal-subtitle { white-space: nowrap; font-size: min(3.45vw, 1rem); }
