/*style_base.css*/
/* ================================
   BACK TO TOP
================================ */

.fl-back-to-top {
    position: fixed;
    right: calc(clamp(18px, 2.4vw, 34px) - 12px);
    bottom: clamp(18px, 2.4vw, 34px);
    z-index: 9996;

    width: 46px;
    height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border-radius: 50%;
    border: 1px solid rgba(127, 162, 255, 0.42);

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.00) 42%
        ),
        rgba(10, 18, 32, 0.82);

    color: #FFFFFF;

    box-shadow: none;

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

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(10px) scale(0.96);

    transition:
        opacity 220ms ease,
        visibility 220ms ease,
        transform 220ms ease,
        background 180ms ease,
        border-color 180ms ease;
}

.fl-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0) scale(1);
}

.fl-back-to-top span {
    display: block;

    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 20px;
    line-height: 1;
    font-weight: 650;

    transform: translateY(-1px);
}

.fl-back-to-top:hover {
    transform: translateY(-2px) scale(1);

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.14) 0%,
            rgba(255, 255, 255, 0.00) 42%
        ),
        rgba(127, 162, 255, 0.16);

    border-color: rgba(127, 162, 255, 0.78);

    box-shadow: none;
}

.fl-back-to-top:active {
    transform: translateY(0) scale(0.98);
}

.fl-back-to-top:focus-visible {
    outline: none;

    border-color: rgba(127, 162, 255, 0.92);

    box-shadow:
        0 0 0 4px rgba(127, 162, 255, 0.18);
}

@media (max-width: 620px) {
    .fl-back-to-top {
        right: 12px;
        bottom: 16px;

        width: 42px;
        height: 42px;
    }

    .fl-back-to-top span {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fl-back-to-top {
        transition: none;
    }

    .fl-back-to-top,
    .fl-back-to-top.is-visible,
    .fl-back-to-top:hover,
    .fl-back-to-top:active {
        transform: none;
    }
}





/* ================================
   COOKIE CONSENT
================================ */

.fl-cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;

    padding:
        0
        var(--fl-page-x)
        clamp(16px, 2.2vw, 28px);

    font-family: "Inter", "Segoe UI", Arial, sans-serif;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(18px);

    transition:
        opacity 260ms ease,
        visibility 260ms ease,
        transform 260ms ease;
}

.fl-cookie-consent.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}

.fl-cookie-consent-inner {
    position: relative;
    overflow: hidden;

    width: min(1120px, 100%);
    margin: 0 auto;

    padding:
        clamp(18px, 2.1vw, 26px)
        clamp(18px, 2.2vw, 30px);

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(20px, 3vw, 46px);
    align-items: center;

    border-radius: clamp(22px, 2vw, 30px);
    border: 1px solid rgba(127, 162, 255, 0.24);

    background:
        radial-gradient(
            circle at 12% 0%,
            rgba(127, 162, 255, 0.18) 0%,
            rgba(127, 162, 255, 0.06) 30%,
            rgba(127, 162, 255, 0.00) 58%
        ),
        linear-gradient(
            135deg,
            rgba(18, 29, 48, 0.96) 0%,
            rgba(10, 18, 32, 0.96) 56%,
            rgba(5, 10, 18, 0.97) 100%
        );

    box-shadow:
        0 24px 70px rgba(5, 10, 18, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.fl-cookie-consent-inner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;

    width: 2px;

    background:
        linear-gradient(
            180deg,
            rgba(127, 162, 255, 0.00) 0%,
            rgba(127, 162, 255, 0.92) 34%,
            rgba(127, 162, 255, 0.22) 100%
        );

    box-shadow:
        0 0 18px rgba(127, 162, 255, 0.38);
}

.fl-cookie-consent-content {
    position: relative;
    z-index: 2;
}

.fl-cookie-consent-kicker {
    margin-bottom: 10px;

    color: #9EB8FF;

    font-size: 11px;
    line-height: 1;
    font-weight: 820;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.fl-cookie-consent p {
    max-width: 740px;
    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
    line-height: 1.58;
    letter-spacing: -0.01em;
    font-weight: 430;
}

.fl-cookie-consent-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;

    margin-top: 13px;
}

.fl-cookie-consent-links a {
    color: rgba(255, 255, 255, 0.54);
    text-decoration: none;

    font-size: 12px;
    line-height: 1.35;
    font-weight: 620;
    letter-spacing: -0.01em;

    transition:
        color 180ms ease,
        opacity 180ms ease;
}

.fl-cookie-consent-links a:hover {
    color: #FFFFFF;
}

.fl-cookie-consent-actions {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;

    white-space: nowrap;
}

.fl-cookie-btn {
    min-height: 42px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    line-height: 1;
    font-weight: 720;
    letter-spacing: -0.01em;

    cursor: pointer;

    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        opacity 180ms ease;
}

.fl-cookie-btn-primary {
    border: 1px solid rgba(127, 162, 255, 0.72);

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.14) 0%,
            rgba(255, 255, 255, 0.00) 42%
        ),
        rgba(127, 162, 255, 0.18);

    color: #FFFFFF;
}

.fl-cookie-btn-primary:hover {
    transform: translateY(-1px);

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.16) 0%,
            rgba(255, 255, 255, 0.00) 42%
        ),
        rgba(127, 162, 255, 0.26);

    border-color: rgba(127, 162, 255, 0.96);
}

.fl-cookie-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.045);

    color: rgba(255, 255, 255, 0.68);
}

.fl-cookie-btn-secondary:hover {
    transform: translateY(-1px);

    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 255, 255, 0.24);
}

/* ================================
   COOKIE RESPONSIVE
================================ */

@media (max-width: 820px) {
    .fl-cookie-consent-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fl-cookie-consent-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .fl-cookie-consent {
        padding:
            0
            var(--fl-page-x)
            14px;
    }

    .fl-cookie-consent-inner {
        padding: 20px 18px;
        border-radius: 24px;
    }

    .fl-cookie-consent p {
        font-size: 13.5px;
        line-height: 1.56;
    }

    .fl-cookie-consent-links {
        flex-direction: column;
        gap: 8px;
    }

    .fl-cookie-consent-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .fl-cookie-btn {
        width: 100%;
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fl-cookie-consent,
    .fl-cookie-btn,
    .fl-cookie-consent-links a {
        transition: none;
    }
}