/* ===============================
   FATPIRATE HOME THEME (ITALIANO)
   =============================== */

:root {
    --fp-bg-main: #120a06;
    --fp-bg-section: #1c120b;
    --fp-bg-section-alt: #100905;
    --fp-bg-soft: #23130b;
    --fp-bg-soft-alt: #1a100a;

    --fp-gold: #f4c76a;
    --fp-gold-soft: #f6d79b;
    --fp-gold-deep: #b47a2b;
    --fp-gold-muted: #c4a26e;

    --fp-text-main: #fff5e3;
    --fp-text-soft: #d9c5a6;
    --fp-text-muted: #b79b79;

    --fp-border-soft: rgba(244, 215, 164, 0.35);
    --fp-shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.9);

    --fp-radius-lg: 20px;
    --fp-radius-md: 14px;
    --fp-radius-sm: 10px;
}

html {
    font-size: 18px;
}

body {
    background:
        radial-gradient(circle at top, #2b1a10 0, #120a06 45%, #060302 100%);
    color: var(--fp-text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        radial-gradient(circle at 10% 0%, rgba(244, 199, 106, 0.18) 0, transparent 52%),
        radial-gradient(circle at 80% 10%, rgba(179, 57, 43, 0.22) 0, transparent 55%),
        radial-gradient(circle at 20% 90%, rgba(142, 76, 40, 0.2) 0, transparent 50%);
    mix-blend-mode: soft-light;
    z-index: -1;
}

p {
    color: var(--fp-text-soft);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "DM Serif Display", "Georgia", serif;
    letter-spacing: 0.04em;
    color: #fff7e1;
}

h1.fp-hero-title {
    font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 1.4rem;
}

.fp-section-title {
    font-size: clamp(1.7rem, 1.3rem + 0.8vw, 2.1rem);
    margin-bottom: 0.8rem;
}

.fp-section-desc,
.fp-gallery-info,
.fp-scenario-text,
.fp-card-text,
.fp-panel p,
.fp-panel-note,
.fp-checklist li {
    font-size: 1rem;
}

a {
    color: var(--fp-gold-soft);
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
    color: var(--fp-gold);
    text-shadow: 0 0 14px rgba(244, 199, 106, 0.6);
}

.header,
.header.menu-fixed,
.header.header-fixed,
.header.sticky,
.header.active {
    background:
        radial-gradient(circle at top, #3c2112 0, #241109 40%, #0b0503 100%) !important;
    border-bottom: 1px solid rgba(244, 215, 164, 0.6) !important;
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.98),
        0 0 28px rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(10px);
}

.header-bottom-area {
    padding-block: 0.75rem;
}

.logo img {
    max-height: 52px;
    filter:
        drop-shadow(0 0 10px rgba(0, 0, 0, 0.9))
        drop-shadow(0 0 16px rgba(244, 199, 106, 0.5));
}

.menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

.menu > li > a {
    color: var(--fp-text-main) !important;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    padding: 4px 0;
    position: relative;
}

.menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--fp-gold-soft), var(--fp-gold-deep));
    transition: width 0.22s ease-out;
}

.menu > li > a:hover::after {
    width: 100%;
}

.menu > li > a:hover,
.menu > li > a:focus {
    color: var(--fp-gold) !important;
}

.fp-lang-switcher,
.fp-lang-switcher-inline {
    font-size: 0.85rem;
    color: var(--fp-text-muted);
}

.fp-lang-label {
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.68rem;
    opacity: 0.9;
}

.fp-lang-pills {
    display: inline-flex;
    gap: 0.35rem;
    padding: 0.12rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
}

.fp-lang-pill {
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    color: var(--fp-text-soft);
}

.fp-lang-pill.active {
    background-image: linear-gradient(135deg, var(--fp-gold-soft), var(--fp-gold-deep));
    color: #2b1207;
}

.header-trigger span,
.header-trigger span::before,
.header-trigger span::after {
    background-color: var(--fp-gold-soft);
}

.menu .btn-close {
    margin-left: auto;
}

.cmn--btn,
.btn--lg,
.js-cta-random,
.cmn--btn.btn--lg {
    background-image: linear-gradient(
        135deg,
        #ff8c1a 0%,
        #ffb84d 35%,
        #f6d79b 70%,
        #b35a1d 100%
    ) !important;
    border-radius: 0.45rem !important;
    border: 1px solid rgba(255, 230, 170, 0.98) !important;
    color: #2b1207 !important;
    text-transform: none;
    letter-spacing: 0.06em;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.95),
        0 0 16px rgba(255, 184, 77, 0.65);
    transform: translateY(0);
    transition: all 0.25s ease;
}

.cmn--btn:hover,
.btn--lg:hover,
.js-cta-random:hover {
    background-image: linear-gradient(
        135deg,
        #ffb347 0%,
        #ffd27f 35%,
        #ffe9c4 70%,
        #c64b1f 100%
    ) !important;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 1),
        0 0 24px rgba(255, 200, 110, 0.95);
    transform: translateY(-2px);
}

.cmn--btn:focus,
.btn--lg:focus,
.js-cta-random:focus {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(255, 230, 170, 0.9),
        0 0 24px rgba(255, 200, 110, 0.9);
}

.fp-hero-ctas .cmn--btn {
    font-size: 1.05rem;
    padding: 0.95rem 2.2rem;
}

.fp-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.6rem 0 1rem;
}

.fp-hero {
    position: relative;
    padding: clamp(3rem, 4.5vw, 4.8rem) 0 clamp(2.6rem, 4vw, 3.6rem);
    color: var(--fp-text-main);
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.fp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(244, 199, 106, 0.22), transparent 60%),
        linear-gradient(
            to bottom,
            rgba(8, 4, 2, 0.78),
            rgba(8, 4, 2, 0.92)
        );

    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);

    z-index: 0;
}

.fp-hero-grid,
.fp-hero article {
    position: relative;
    z-index: 1;
}

.fp-hero-grid article {
    max-width: 900px;
    padding: clamp(1.8rem, 2vw, 2.4rem);
    background:
        radial-gradient(circle at top left, rgba(244, 199, 106, 0.16), transparent 60%),
        rgba(10, 6, 4, 0.93);
    border-radius: var(--fp-radius-lg);
    border: 1px solid rgba(244, 215, 164, 0.45);
    box-shadow: var(--fp-shadow-soft);
}

.fp-hero-kicker {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--fp-gold-muted);
    margin-bottom: 0.7rem;
}

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

.fp-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.fp-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(10, 6, 3, 0.9);
    border: 1px solid rgba(244, 215, 164, 0.28);
    color: var(--fp-text-soft);
}

.fp-tag-chip i {
    font-size: 1rem;
    color: var(--fp-gold-soft);
}

.fp-hero-note {
    margin-top: 0.9rem;
    font-size: 0.95rem;
    color: #f0e4c7;
    max-width: 770px;
}

.fp-section {
    padding: clamp(2.8rem, 4vw, 3.4rem) 0;
    background:
        radial-gradient(circle at top left, rgba(244, 199, 106, 0.05), transparent 55%),
        var(--fp-bg-section);
    border-top: 1px solid rgba(244, 215, 164, 0.08);
}

.fp-section:nth-of-type(even) {
    background:
        radial-gradient(circle at top right, rgba(244, 199, 106, 0.04), transparent 55%),
        var(--fp-bg-section-alt);
}

.fp-section-heading {
    max-width: 980px;
    margin: 0 auto 1.8rem;
}

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

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

.fp-card-rect {
    background:
        radial-gradient(circle at top, rgba(244, 199, 106, 0.07), transparent 55%),
        var(--fp-bg-soft);
    border-radius: var(--fp-radius-md);
    padding: 1.3rem 1.3rem 1.2rem;
    border: 1px solid var(--fp-border-soft);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.85);
}

.fp-card-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--fp-gold-muted);
    margin-bottom: 0.45rem;
}

.fp-card-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.fp-card-text {
    color: var(--fp-text-soft);
    margin-bottom: 0.6rem;
}

.fp-card-list {
    padding-left: 1.1rem;
    margin-bottom: 0;
    color: var(--fp-text-soft);
    font-size: 0.96rem;
}

.fp-scenarios-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem;
    margin-top: 1.5rem;
}

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

.fp-scenario-block {
    background: var(--fp-bg-soft-alt);
    border-radius: var(--fp-radius-md);
    padding: 1.2rem 1.2rem 1.1rem;
    border: 1px solid var(--fp-border-soft);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85);
}

.fp-scenario-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--fp-gold-muted);
    margin-bottom: 0.4rem;
}

.fp-scenario-title {
    font-size: 1.08rem;
    margin-bottom: 0.4rem;
}

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

.fp-section img.img-fluid {
    border-radius: var(--fp-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.fp-login-bonus .fp-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

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

.fp-panel {
    background: var(--fp-bg-soft);
    border-radius: var(--fp-radius-md);
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--fp-border-soft);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
}

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

.fp-step-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.98rem;
}

.fp-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(244, 215, 164, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.86rem;
    color: var(--fp-gold-soft);
}

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

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

.fp-do,
.fp-dont {
    padding: 0.7rem 0.8rem;
    border-radius: var(--fp-radius-sm);
}

.fp-do {
    background: rgba(4, 18, 10, 0.9);
    border: 1px solid rgba(88, 190, 132, 0.55);
}

.fp-dont {
    background: rgba(40, 6, 3, 0.9);
    border: 1px solid rgba(255, 111, 79, 0.65);
}

.fp-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
    gap: 1.6rem;
}

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

.fp-faq {
    background: transparent;
}

.fp-faq-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.7rem 0 1rem;
}

.fp-faq-chip {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(10, 7, 5, 0.9);
    border: 1px solid rgba(244, 215, 164, 0.25);
    font-size: 0.88rem;
    color: var(--fp-text-soft);
}

.fp-checklist {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.fp-checklist li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed rgba(244, 215, 164, 0.4);
}

.fp-check-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--fp-gold-soft);
    font-size: 1.1rem;
}

.fp-check-hint {
    font-size: 0.95rem;
    color: var(--fp-text-soft);
}

.footer-section,
.footer-section.bg_img {
    background:
        radial-gradient(circle at top, rgba(43, 26, 16, 0.96) 0, rgba(12, 6, 3, 1) 45%, #030101 100%),
        url(/assets/images/footer/bg_wood.jpg) center/cover no-repeat !important;
    border-top: 1px solid rgba(244, 215, 164, 0.4) !important;
    color: var(--fp-text-soft);
}

.footer-top {
    border-bottom: 1px solid rgba(58, 35, 21, 0.95);
}

.footer-links li a {
    color: var(--fp-text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.footer-links li a:hover {
    color: var(--fp-gold);
    text-shadow: 0 0 16px rgba(244, 199, 106, 0.6);
}

.copyright {
    color: var(--fp-text-muted);
}

.text--base {
    color: var(--fp-gold) !important;
}

.back-to-top {
    width: 44px;
    height: 44px;
    border-radius: 0.6rem;
    background:
        radial-gradient(circle at top, #f4c76a 0, #b47a2b 55%, #2b1207 100%);
    border: 1px solid rgba(244, 215, 164, 0.95);
    color: #2b1207;
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.98),
        0 0 26px rgba(244, 199, 106, 0.8);
    font-size: 1.4rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-4px);
}

@media (max-width: 767.98px) {
    html {
        font-size: 17px;
    }

    .fp-hero-grid article {
        padding: 1.5rem 1.25rem;
        margin: 0 -0.15rem;
        border-radius: 16px;
    }

    .fp-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .fp-tag-chip {
        font-size: 0.86rem;
    }

    .fp-section {
        padding: 2.3rem 0;
    }

    .cmn--btn,
    .btn--lg,
    .js-cta-random {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 0.9rem 1.1rem;
    }

    .header,
    .header.menu-fixed,
    .header.header-fixed,
    .header.sticky,
    .header.active {
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
}

.cmn--btn,
.cmn--btn.btn--lg,
.btn,
.btn--lg,
[class*="btn--base"],
.js-cta-random {

    background-image: linear-gradient(
        135deg,
        #ff8c1a 0%,
        #ffb84d 35%,
        #f6d79b 70%,
        #b35a1d 100%
    ) !important;

    border-radius: 0.45rem !important;
    border: 1px solid rgba(255, 230, 170, 0.98) !important;
    color: #2b1207 !important;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.95),
        0 0 16px rgba(255, 184, 77, 0.65) !important;
    text-shadow: none !important;
    filter: none !important;

    text-transform: none;
    letter-spacing: 0.06em;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transform: translateY(0);
    transition: all 0.25s ease;
}


.cmn--btn:hover,
.cmn--btn.btn--lg:hover,
.btn:hover,
.btn--lg:hover,
[class*="btn--base"]:hover,
.js-cta-random:hover {
    background-image: linear-gradient(
        135deg,
        #ffb347 0%,
        #ffd27f 35%,
        #ffe9c4 70%,
        #c64b1f 100%
    ) !important;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 1),
        0 0 24px rgba(255, 200, 110, 0.95) !important;
    transform: translateY(-2px);
}

.cmn--btn:focus,
.cmn--btn.btn--lg:focus,
.btn:focus,
.btn--lg:focus,
[class*="btn--base"]:focus,
.js-cta-random:focus {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(255, 230, 170, 0.9),
        0 0 24px rgba(255, 200, 110, 0.9) !important;
}


.cmn--btn::before,
.cmn--btn::after,
.cmn--btn.btn--lg::before,
.cmn--btn.btn--lg::after,
.btn::before,
.btn::after,
.btn--lg::before,
.btn--lg::after,
[class*="btn--base"]::before,
[class*="btn--base"]::after,
.js-cta-random::before,
.js-cta-random::after {
    background: none !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 0 !important;
    content: "" !important;
}
