        :root {
            --fp-bg-main: #1a1209;
            --fp-bg-wood: #24150b;
            --fp-bg-wood-soft: #2c1a0c;
            --fp-bg-panel: #20160d;
            --fp-bg-highlight: #163325;

            --fp-border-soft: rgba(240, 210, 160, 0.35);

            --fp-gold: #f4c76a;
            --fp-gold-soft: #f7ddb0;
            --fp-gold-deep: #b07a2e;
            --fp-green: #57b27a;

            --fp-text-main: #fff6e5;
            --fp-text-soft: #d7c4a8;
            --fp-text-muted: #b39a80;
        }

        body {
            background: radial-gradient(circle at top, rgba(244,199,106,.08), #120a06);
            color: var(--fp-text-main);
        }

        /* =========================
           HEADER + LANGUAGE SWITCHER
        ========================== */
        .header {
            background: linear-gradient(90deg, #120a06, #1c120b);
            border-bottom: 1px solid rgba(244,199,106,.25);
        }

        .header-bottom {
            padding-top: 16px;
            padding-bottom: 12px;
        }

        .header-bottom-area {
            display: flex;
            justify-content: space-between;
            gap: 1.2rem;
        }

        .menu > li > a {
            text-transform: none;
        }

        .fp-lang-switcher {
            display: inline-flex;
            align-items: center;
            gap: .45rem;
            font-size: .8rem;
            margin-left: .75rem;
        }
        .fp-lang-label {
            text-transform: uppercase;
            letter-spacing: .09em;
            color: var(--fp-text-muted);
            font-size: .7rem;
        }
        .fp-lang-pills {
            display: inline-flex;
            padding: 2px;
            border-radius: 999px;
            background: radial-gradient(circle at top, rgba(244,199,106,.16), #130b06);
            border: 1px solid rgba(244,199,106,.45);
        }
        .fp-lang-pill {
            min-width: 38px;
            padding: 0.15rem 0.6rem;
            border-radius: 999px;
            text-align: center;
            font-size: .78rem;
            color: var(--fp-text-soft);
            text-decoration: none;
            cursor: pointer;
            transition: background .18s ease-out, color .18s ease-out, box-shadow .18s ease-out;
        }
        .fp-lang-pill.active {
            background: var(--fp-gold);
            color: #24150b;
            box-shadow: 0 0 14px rgba(244,199,106,.6);
            font-weight: 600;
        }
        .fp-lang-pill:not(.active):hover {
            background: rgba(244,199,106,.16);
            color: #fff6e5;
        }

        .fp-lang-switcher-inline {
            margin-left: .4rem;
        }

        @media (max-width: 767.98px) {
            .fp-lang-switcher {
                display: none !important;
            }
            .fp-lang-switcher-inline {
                display: inline-flex !important;
            }
        }

        @media (min-width: 768px) {
            .fp-lang-switcher-inline {
                display: none !important;
            }
        }

        /* пункты языка внутри мобильного меню */
        .menu .fp-lang-menu-item a {
            font-size: .9rem;
            padding-top: .35rem;
            border-top: 1px solid rgba(244,199,106,.2);
        }

        /* =========================
           HERO NUOVO LAYOUT
        ========================== */
        .fp-hero {
            padding-top: 120px;
            padding-bottom: 72px;
            background:
                radial-gradient(circle at top, rgba(244,199,106,.12), rgba(18,10,6,.96)),
                url("/assets/images/game/bg_pirate-wood-home.jpg") center/cover fixed;
        }

        .fp-hero-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
            gap: 2.5rem;
            align-items: stretch;
        }

        @media (max-width: 991.98px) {
            .fp-hero-grid {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .fp-hero-kicker {
            font-size: .8rem;
            text-transform: uppercase;
            letter-spacing: .1em;
            color: var(--fp-gold-soft);
            margin-bottom: .4rem;
        }

        .fp-hero-title {
            font-size: 2.1rem;
            line-height: 1.25;
            margin-bottom: .7rem;
        }

        @media (max-width: 767.98px) {
            .fp-hero-title {
                font-size: 1.7rem;
            }
        }

        .fp-hero-sub {
            font-size: .95rem;
            color: var(--fp-text-soft);
            margin-bottom: .9rem;
        }

        .fp-hero-tags {
            display: flex;
            flex-wrap: wrap;
            gap: .45rem;
            margin-bottom: 1rem;
        }
        .fp-tag-chip {
            display: inline-flex;
            align-items: center;
            gap: .35rem;
            font-size: .8rem;
            padding: .28rem .7rem;
            border-radius: 999px;
            border: 1px solid rgba(244,199,106,.35);
            background: rgba(24,13,7,.9);
        }

        .fp-hero-ctas {
            display: flex;
            flex-wrap: wrap;
            gap: .7rem;
            margin-bottom: .9rem;
        }

        .fp-hero-note {
            font-size: .82rem;
            color: var(--fp-text-muted);
            max-width: 520px;
        }

        .fp-hero-panel {
            background: linear-gradient(135deg, var(--fp-bg-wood-soft), #15100b);
            border-radius: 12px;
            border: 1px solid var(--fp-border-soft);
            padding: 1.2rem 1.3rem 1.4rem;
            display: flex;
            flex-direction: column;
            gap: .95rem;
            box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
        }

        .fp-hero-panel-top {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
        }

        .fp-hero-reviews .fp-hero-panel-top {
            display: block; 
        }

        .fp-hero-reviews .fp-score-notes {
            max-width: 100%;
            line-height: 1.6;
        }

        .fp-score-box {
            display: flex;
            flex-direction: column;
            gap: .1rem;
        }
        .fp-score-label {
            font-size: .75rem;
            text-transform: uppercase;
            letter-spacing: .09em;
            color: var(--fp-text-muted);
        }
        .fp-score-main {
            font-size: 1.9rem;
            font-weight: 700;
            color: var(--fp-gold);
        }
        .fp-score-main small {
            font-size: .8rem;
            color: var(--fp-text-soft);
        }

        .fp-score-notes {
            font-size: .8rem;
            color: var(--fp-text-soft);
            max-width: 210px;
        }

        .fp-hero-list {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: .45rem;
            font-size: .85rem;
        }

        .fp-hero-item {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr);
            gap: .55rem;
            align-items: flex-start;
        }

        .fp-hero-icon {
            width: 28px;
            height: 28px;
            border-radius: 8px;
            background: rgba(9, 36, 22, .85);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--fp-green);
            font-size: .9rem;
        }

        .fp-hero-foot {
            font-size: .78rem;
            color: var(--fp-text-muted);
            border-top: 1px solid rgba(244,199,106,.2);
            padding-top: .6rem;
        }

        .fp-hero-img-wrap {
            margin-top: .35rem;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid rgba(244,199,106,.3);
        }

        .fp-hero-img-wrap img {
            display: block;
            width: 100%;
            height: auto;
        }

        /* =========================
           SEZIONE: PANORAMICA RAPIDA
        ========================== */
        .fp-section {
            padding: 56px 0;
        }

        .fp-section-heading {
            text-align: center;
            margin-bottom: 1.8rem;
        }

        .fp-section-title {
            font-size: 1.6rem;
            margin-bottom: .4rem;
        }

        .fp-section-desc {
            max-width: 720px;
            margin: 0 auto;
            font-size: .95rem;
            color: var(--fp-text-soft);
        }

        .fp-grid-3 {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1.4rem;
        }

        @media (max-width: 991.98px) {
            .fp-grid-3 {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 767.98px) {
            .fp-grid-3 {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .fp-card-rect {
            background: linear-gradient(135deg, var(--fp-bg-panel), #120a06);
            border-radius: 12px;
            border: 1px solid rgba(244,199,106,.28);
            padding: 1rem 1.1rem 1.15rem;
            display: flex;
            flex-direction: column;
            gap: .45rem;
            min-height: 100%;
        }

        .fp-card-label {
            font-size: .78rem;
            text-transform: uppercase;
            letter-spacing: .08em;
            color: var(--fp-text-muted);
        }

        .fp-card-title {
            font-size: 1rem;
            font-weight: 600;
        }

        .fp-card-text {
            font-size: .86rem;
            color: var(--fp-text-soft);
        }

        .fp-card-list {
            padding-left: 1rem;
            margin: 0;
            font-size: .85rem;
        }

        .fp-card-list li {
            margin-bottom: .2rem;
        }

        /* =========================
           SEZIONE: SCENARI REALI
        ========================== */
        .fp-scenarios-wrapper {
            display: grid;
            grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
            gap: 1.8rem;
        }

        @media (max-width: 991.98px) {
            .fp-scenarios-wrapper {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .fp-scenario-column {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .fp-scenario-block {
            background: linear-gradient(130deg, var(--fp-bg-wood), #150d07);
            border-radius: 12px;
            border: 1px solid rgba(244,199,106,.24);
            padding: .9rem 1.1rem 1.05rem;
        }

        .fp-scenario-meta {
            font-size: .78rem;
            color: var(--fp-text-muted);
            margin-bottom: .15rem;
        }

        .fp-scenario-title {
            font-size: .96rem;
            font-weight: 600;
            margin-bottom: .3rem;
        }

        .fp-scenario-text {
            font-size: .87rem;
            color: var(--fp-text-soft);
            margin-bottom: .25rem;
        }

        .fp-scenarios-cta {
            margin-top: 1.2rem;
            display: flex;
            flex-wrap: wrap;
            gap: .7rem;
        }

        /* =========================
           MINI GALLERIA ORIZZONTALE
        ========================== */
        .fp-gallery-strip {
            background: radial-gradient(circle at top, rgba(18,48,30,.65), #110906);
            border-top: 1px solid rgba(244,199,106,.15);
            border-bottom: 1px solid rgba(244,199,106,.15);
        }

        .fp-gallery-row {
            display: grid;
            grid-template-columns: 1.4fr 2fr;
            gap: 1.6rem;
        }

        @media (max-width: 991.98px) {
            .fp-gallery-row {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .fp-gallery-info {
            font-size: .9rem;
            color: var(--fp-text-soft);
        }

        .fp-gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: .9rem;
        }

        @media (max-width: 1199.98px) {
            .fp-gallery-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 575.98px) {
            .fp-gallery-grid {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .fp-gallery-card {
            background: #100905;
            border-radius: 10px;
            border: 1px solid rgba(244,199,106,.32);
            overflow: hidden;
            font-size: .8rem;
            color: var(--fp-text-soft);
        }

        .fp-gallery-card img {
            display: block;
            width: 100%;
            height: auto;
        }

        .fp-gallery-caption {
            padding: .45rem .6rem .55rem;
        }

        /* =========================
           QUANDO HA SENSO / PROFILI
        ========================== */
        .fp-profiles-wrapper {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
            gap: 1.8rem;
        }

        @media (max-width: 991.98px) {
            .fp-profiles-wrapper {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .fp-profile-list {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 1rem;
        }

        .fp-profile-card {
            background: linear-gradient(135deg, var(--fp-bg-panel), #150c07);
            border: 1px solid rgba(244,199,106,.26);
            border-radius: 12px;
            padding: 1rem 1.1rem 1.1rem;
        }

        .fp-profile-label {
            font-size: .78rem;
            text-transform: uppercase;
            letter-spacing: .08em;
            color: var(--fp-text-muted);
            margin-bottom: .1rem;
        }

        .fp-profile-title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: .25rem;
        }

        .fp-profile-card ul {
            padding-left: 1.05rem;
            font-size: .86rem;
            color: var(--fp-text-soft);
        }

        .fp-profile-card li {
            margin-bottom: .2rem;
        }

        .fp-profile-hint {
            font-size: .8rem;
            color: var(--fp-text-muted);
            margin-top: .25rem;
        }

        .fp-profile-side {
            background: linear-gradient(135deg, #14301f, #130b07);
            border-radius: 12px;
            border: 1px solid rgba(87,178,122,.4);
            padding: 1rem 1.1rem 1.2rem;
            font-size: .86rem;
        }

        /* =========================
           LOGIN + BONUS BLOCCO
        ========================== */
        .fp-login-bonus {
            background: url("/assets/images/how/bg_pirate-map-home.jpg") center/cover fixed;
        }

        .fp-two-col {
            display: grid;
            grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
            gap: 1.6rem;
        }

        @media (max-width: 991.98px) {
            .fp-two-col {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .fp-panel {
            background: linear-gradient(130deg, rgba(27,16,9,.96), #0c0704);
            border-radius: 12px;
            border: 1px solid rgba(244,199,106,.3);
            padding: 1rem 1.15rem 1.2rem;
        }

        .fp-panel h3 {
            font-size: 1.02rem;
            margin-bottom: .45rem;
        }

        .fp-step-list {
            list-style: none;
            padding-left: 0;
            margin: 0;
            font-size: .86rem;
        }

        .fp-step-list li {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr);
            gap: .55rem;
            margin-bottom: .45rem;
            align-items: flex-start;
        }

        .fp-step-num {
            width: 1.4rem;
            height: 1.4rem;
            border-radius: 6px;
            border: 1px solid rgba(244,199,106,.7);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: .8rem;
        }

        .fp-panel-note {
            font-size: .8rem;
            color: var(--fp-text-muted);
            margin-top: .25rem;
        }

        .fp-do-dont {
            display: grid;
            grid-template-columns: repeat(2, minmax(0,1fr));
            gap: .8rem;
            margin-top: .7rem;
            font-size: .82rem;
        }

        @media (max-width: 575.98px) {
            .fp-do-dont {
                grid-template-columns: minmax(0,1fr);
            }
        }

        .fp-do {
            border-radius: 8px;
            border: 1px solid rgba(87,178,122,.5);
            background: rgba(10,40,22,.9);
            padding: .45rem .55rem;
        }

        .fp-dont {
            border-radius: 8px;
            border: 1px solid rgba(239,120,86,.55);
            background: rgba(46,14,9,.9);
            padding: .45rem .55rem;
        }

        /* =========================
           FAQ / TRUST
        ========================== */
        .fp-faq-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0,1.05fr);
            gap: 1.8rem;
        }

        @media (max-width: 991.98px) {
            .fp-faq-grid {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .fp-faq-chips {
            display: flex;
            flex-wrap: wrap;
            gap: .4rem;
            margin: .6rem 0 .4rem;
        }

        .fp-faq-chip {
            display: inline-flex;
            align-items: center;
            gap: .3rem;
            padding: .2rem .65rem;
            border-radius: 999px;
            border: 1px solid rgba(244,199,106,.4);
            font-size: .78rem;
            background: rgba(16,9,5,.9);
        }

        .fp-faq h3 {
            font-size: .95rem;
            margin-top: .75rem;
            margin-bottom: .25rem;
        }

        .fp-faq p {
            font-size: .87rem;
            color: var(--fp-text-soft);
        }

        .fp-checklist {
            list-style: none;
            padding-left: 0;
            font-size: .86rem;
        }

        .fp-checklist li {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr);
            gap: .5rem;
            margin-bottom: .45rem;
        }

        .fp-check-icon {
            width: 1.4rem;
            height: 1.4rem;
            border-radius: 6px;
            background: rgba(14,42,24,.95);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--fp-green);
            font-size: .8rem;
        }

        .fp-check-hint {
            font-size: .8rem;
            color: var(--fp-text-muted);
            margin-top: .4rem;
        }

        /* =========================
           BACK TO TOP
        ========================== */
        .back-to-top {
            position: fixed;
            right: 1.2rem;
            bottom: 1.4rem;
            width: 40px;
            height: 40px;
            border-radius: 999px;
            border: none;
            background: var(--fp-gold);
            color: #1b110a;
            font-size: 1.2rem;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all .2s ease-out;
            z-index: 50;
        }
        .back-to-top.is-visible {
            opacity: 1;
            visibility: visible;
        }