.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(140%);
    width: calc(100% - 32px);
    max-width: 540px;
    z-index: 100;
    background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 30px 80px -15px rgba(108, 52, 131, 0.55), inset 0 1px 0 rgba(255,255,255,0.08);
    transition: transform .55s cubic-bezier(.4,0,.2,1), opacity .4s;
    opacity: 0;
    font-family: 'Geist', -apple-system, sans-serif;
    line-height: 1.5;
    color: #F5F1FA;
}
.cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}
.cookie-title .badge {
    font-size: 10px;
    font-weight: 700;
    background: rgba(249, 231, 159, 0.15);
    color: #F9E79F;
    padding: 2px 8px;
    border-radius: 100px;
    letter-spacing: 0.08em;
}
.cookie-text {
    font-size: 13px;
    color: rgba(255,255,255,.65);
    margin-bottom: 18px;
}
.cookie-text a {
    color: #F9E79F;
    text-decoration: underline;
    text-decoration-color: rgba(249, 231, 159, .4);
    text-underline-offset: 2px;
}
.cookie-text a:hover { text-decoration-color: #F9E79F; }

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.cookie-btn {
    flex: 1;
    min-width: 130px;
    padding: 11px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all .2s;
    white-space: nowrap;
}
.cookie-btn-primary {
    background: linear-gradient(135deg, #F9E79F 0%, #FFD87A 100%);
    color: #1A1A1A;
    box-shadow: 0 0 0 1px rgba(249, 231, 159, 0.3);
}
.cookie-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(249, 231, 159, 0.5), 0 10px 24px -4px rgba(249, 231, 159, 0.3);
}
.cookie-btn-ghost {
    background: rgba(255,255,255,0.05);
    color: #F5F1FA;
    border: 1px solid rgba(255,255,255,0.14);
}
.cookie-btn-ghost:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.22);
}
.cookie-btn-text {
    background: transparent;
    color: #A69FB8;
    flex: 0 0 auto;
    min-width: 0;
    padding: 11px 14px;
}
.cookie-btn-text:hover { color: #F5F1FA; }
.cookie-btn-text::after { content: ' →'; opacity: .5; transition: opacity .2s, transform .2s; display: inline-block; }
.cookie-btn-text:hover::after { opacity: 1; transform: translateX(2px); }

/* Settings panel */
.cookie-settings {
    display: none;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.cookie-banner.expanded .cookie-settings { display: block; }
.cookie-banner.expanded .cookie-buttons-compact { display: none; }

.cookie-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cookie-row:last-of-type { border-bottom: none; }
.cookie-row-info { flex: 1; min-width: 0; }
.cookie-row-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
}
.cookie-row-desc {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    line-height: 1.4;
}

/* Toggle switch */
.cookie-toggle {
    position: relative;
    width: 38px;
    height: 22px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 100px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .2s;
    margin-top: 1px;
}
.cookie-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: #A69FB8;
    border-radius: 50%;
    transition: all .25s cubic-bezier(.4,0,.2,1);
}
.cookie-toggle.active {
    background: linear-gradient(135deg, #F9E79F, #FFD87A);
    border-color: #F9E79F;
}
.cookie-toggle.active::after {
    left: 18px;
    background: #1A1A1A;
}
.cookie-toggle.locked {
    cursor: not-allowed;
    background: rgba(108, 52, 131, .35);
    border-color: rgba(108, 52, 131, .5);
}
.cookie-toggle.locked::after {
    left: 18px;
    background: #F9E79F;
}

.cookie-buttons-final {
    margin-top: 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 540px) {
    .cookie-banner {
        bottom: 16px;
        padding: 18px 20px;
        border-radius: 16px;
    }
    .cookie-btn {
        flex: 1 1 100%;
        min-width: 0;
    }
    .cookie-btn-text { flex: 1 1 100%; }
}
