﻿:root {
    --cb-accent: #a50012;
    --cb-accent-2: #d51c2f;
    --cb-accent-dark: #78000b;
    --cb-ink: #0d1117;
    --cb-soft: rgba(13,17,23,.72);
    --cb-muted: rgba(13,17,23,.52);
    --cb-line: rgba(13,17,23,.12);
    --cb-line-strong: rgba(165,0,18,.22);
    --cb-white: rgba(255,255,255,.94);
    --cb-white-strong: rgba(255,255,255,.98);
    --cb-glass: rgba(242,240,236,.88);
    --cb-shadow: 0 34px 90px rgba(0,0,0,.28), 0 14px 38px rgba(0,0,0,.16);
    --cb-shadow-soft: 0 18px 42px rgba(0,0,0,.14);
    --cb-radius: 26px;
    --cb-radius-sm: 16px;
    --cb-focus: 0 0 0 4px rgba(165,0,18,.18);
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 9999;
    width: min(780px, calc(100vw - 28px));
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px 16px 20px;
    border-radius: var(--cb-radius);
    border: 1px solid rgba(255,255,255,.62);
    background: radial-gradient(720px 240px at 8% -20%, rgba(165,0,18,.18), transparent 58%), radial-gradient(520px 240px at 100% 0%, rgba(255,255,255,.72), transparent 64%), linear-gradient(180deg, rgba(255,255,255,.94), rgba(235,232,226,.88));
    box-shadow: var(--cb-shadow);
    backdrop-filter: blur(22px) saturate(1.18);
    -webkit-backdrop-filter: blur(22px) saturate(1.18);
    overflow: hidden;
}

    .cookie-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(255,255,255,.46), transparent 32%, rgba(255,255,255,.20)), radial-gradient(580px 170px at 50% 0%, rgba(255,255,255,.66), transparent 72%);
        opacity: .95;
    }

    .cookie-banner::after {
        content: "";
        position: absolute;
        left: 20px;
        right: 20px;
        top: 0;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--cb-accent), rgba(213,28,47,.75), transparent);
        opacity: .85;
    }

    .cookie-banner p,
    .cookie-banner button {
        position: relative;
        z-index: 1;
    }

    .cookie-banner p {
        margin: 0;
        max-width: 560px;
        color: var(--cb-soft);
        font-size: .98rem;
        line-height: 1.45;
        font-weight: 700;
        letter-spacing: -.01em;
    }

        .cookie-banner p::before {
            content: "Cookies";
            display: block;
            margin-bottom: 2px;
            color: var(--cb-ink);
            font-size: .78rem;
            line-height: 1.2;
            font-weight: 950;
            text-transform: uppercase;
            letter-spacing: .14em;
        }

    .cookie-banner a {
        color: var(--cb-accent);
        font-weight: 900;
        text-decoration: none;
        border-bottom: 1px solid rgba(165,0,18,.28);
        transition: border-color .18s ease, color .18s ease;
    }

        .cookie-banner a:hover {
            color: var(--cb-accent-dark);
            border-bottom-color: rgba(165,0,18,.58);
        }

    .cookie-banner button {
        flex: 0 0 auto;
        min-width: 126px;
        height: 46px;
        padding: 0 22px;
        border: 0;
        border-radius: 999px;
        background: linear-gradient(180deg, var(--cb-accent-2), var(--cb-accent));
        color: #fff;
        font-size: .95rem;
        font-weight: 950;
        letter-spacing: -.015em;
        cursor: pointer;
        white-space: nowrap;
        box-shadow: 0 18px 36px rgba(165,0,18,.30), inset 0 1px 0 rgba(255,255,255,.28);
        transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    }

        .cookie-banner button:hover {
            transform: translateY(-2px);
            filter: saturate(1.05) brightness(1.03);
            box-shadow: 0 24px 48px rgba(165,0,18,.36), inset 0 1px 0 rgba(255,255,255,.32);
        }

        .cookie-banner button:active {
            transform: translateY(0);
            box-shadow: 0 12px 26px rgba(165,0,18,.26), inset 0 1px 0 rgba(255,255,255,.22);
        }

        .cookie-banner button:focus-visible,
        .cookie-banner a:focus-visible {
            outline: none;
            box-shadow: var(--cb-focus);
            border-radius: 999px;
        }

    .cookie-banner[style*="display: none"] {
        visibility: hidden !important;
        pointer-events: none !important;
    }

.privacy-wrapper {
    width: min(980px, calc(100vw - 28px));
    margin: clamp(92px, 12vh, 128px) auto 34px auto;
    padding: clamp(22px, 3.4vw, 38px);
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.62);
    background: radial-gradient(820px 280px at 10% 0%, rgba(165,0,18,.12), transparent 58%), radial-gradient(720px 280px at 100% 0%, rgba(255,255,255,.70), transparent 64%), linear-gradient(180deg, rgba(255,255,255,.94), rgba(241,239,235,.88));
    box-shadow: 0 34px 90px rgba(0,0,0,.20), 0 14px 38px rgba(0,0,0,.12);
    backdrop-filter: blur(18px) saturate(1.12);
    -webkit-backdrop-filter: blur(18px) saturate(1.12);
    color: var(--cb-ink);
    line-height: 1.78;
    font-family: 'Segoe UI', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
}

    .privacy-wrapper::before {
        content: "";
        position: absolute;
        left: 28px;
        right: 28px;
        top: 0;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--cb-accent), rgba(213,28,47,.72), transparent);
        opacity: .85;
    }

    .privacy-wrapper::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(255,255,255,.38), transparent 36%, rgba(255,255,255,.18)), radial-gradient(780px 220px at 50% 0%, rgba(255,255,255,.60), transparent 72%);
        opacity: .88;
    }

    .privacy-wrapper > * {
        position: relative;
        z-index: 1;
    }

    .privacy-wrapper h1,
    .privacy-wrapper h2,
    .privacy-wrapper h3 {
        color: var(--cb-ink);
        margin-top: 22px;
        margin-bottom: 10px;
        font-weight: 950;
        letter-spacing: -.035em;
    }

        .privacy-wrapper h1:first-child,
        .privacy-wrapper h2:first-child,
        .privacy-wrapper h3:first-child {
            margin-top: 0;
        }

    .privacy-wrapper h1 {
        font-size: clamp(1.8rem, 3vw, 2.45rem);
        line-height: 1.08;
    }

        .privacy-wrapper h1::after {
            content: "";
            display: block;
            width: 54px;
            height: 2px;
            margin-top: 14px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--cb-accent), rgba(165,0,18,.10));
        }

    .privacy-wrapper h2 {
        font-size: clamp(1.25rem, 2vw, 1.62rem);
        line-height: 1.18;
    }

    .privacy-wrapper h3 {
        font-size: clamp(1.08rem, 1.45vw, 1.24rem);
        line-height: 1.22;
    }

    .privacy-wrapper p {
        color: rgba(13,17,23,.80);
        margin: 0 0 13px 0;
        font-size: 1.02rem;
    }

    .privacy-wrapper ul {
        padding-left: 1.15rem;
        margin: 0 0 16px 0;
    }

    .privacy-wrapper li {
        margin: 0 0 10px 0;
        color: rgba(13,17,23,.80);
    }

        .privacy-wrapper li::marker {
            color: var(--cb-accent);
        }

    .privacy-wrapper a {
        color: var(--cb-accent);
        font-weight: 850;
        text-decoration: none;
        border-bottom: 1px solid rgba(165,0,18,.28);
        transition: border-color .18s ease, color .18s ease;
    }

        .privacy-wrapper a:hover {
            color: var(--cb-accent-dark);
            border-bottom-color: rgba(165,0,18,.58);
        }

@media (min-width: 1200px) {
    .cookie-banner {
        bottom: 28px;
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        width: calc(100vw - 22px);
        bottom: 14px;
        min-height: unset;
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
        padding: 17px 16px 16px;
        border-radius: 22px;
    }

        .cookie-banner::after {
            left: 16px;
            right: 16px;
        }

        .cookie-banner p {
            max-width: none;
            font-size: .96rem;
            line-height: 1.48;
        }

        .cookie-banner button {
            width: 100%;
            height: 46px;
        }

    .privacy-wrapper {
        width: calc(100vw - 22px);
        margin: 84px auto 24px auto;
        padding: 20px 18px;
        border-radius: 24px;
        font-size: 1rem;
    }
}

@media (max-width: 520px) {
    .cookie-banner {
        width: calc(100vw - 16px);
        bottom: 10px;
        padding: 15px 14px 14px;
        border-radius: 20px;
    }

        .cookie-banner p {
            font-size: .94rem;
        }

            .cookie-banner p::before {
                font-size: .74rem;
            }

    .privacy-wrapper {
        width: calc(100vw - 16px);
        margin: 74px auto 18px auto;
        padding: 18px 15px;
        border-radius: 22px;
    }

        .privacy-wrapper h1 {
            font-size: 1.78rem;
        }

        .privacy-wrapper p,
        .privacy-wrapper li {
            font-size: .98rem;
        }
}

@media (max-height: 640px) and (min-width: 769px) {
    .cookie-banner {
        bottom: 12px;
        min-height: 68px;
        padding-top: 13px;
        padding-bottom: 13px;
    }

        .cookie-banner button {
            height: 42px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner,
    .cookie-banner *,
    .privacy-wrapper,
    .privacy-wrapper * {
        transition: none !important;
    }
}
