
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    height: 100%;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.cookie-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-sizing: border-box;
    text-align: center;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cookie-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.slide-to-accept {
    margin: 20px 0 10px 0;
}

.slide-track {
    position: relative;
    width: 100%;
    height: 50px;
    background: #e0e0e0;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
}

.slide-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #9bd3ff, #5aa9ff);
    border-radius: 25px;
    transition: width 0.05s linear;
    pointer-events: none;
}

.slide-button {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 46px;
    height: 46px;
    background: linear-gradient(to bottom, #fff, #ddd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: left 0.3s ease;
    cursor: grab;
    touch-action: none;
    user-select: none;
    z-index: 2;
}

.slide-button.sliding {
    transition: none;
    cursor: grabbing;
}

.slide-arrow {
    font-size: 24px;
    font-weight: bold;
    color: #666;
}

.slide-text {
    position: absolute;
    width: 100%;
    left: 0;
    line-height: 50px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #777;
    pointer-events: none;
    user-select: none;
    letter-spacing: 0.3px;
    z-index: 1;
}

.reject-button {
    margin-top: 15px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.reject-button:hover {
    background: #f5f5f5;
}


body.cookie-filtered > *:not(#cookieBanner):not(#cookieScene) {
    filter: grayscale(100%) brightness(0.95);
    transition: filter 600ms ease;
}


body.cookies-rejected > *:not(#cookieBanner):not(#cookieScene),
body.cookies-rejected *:not(#cookieBanner):not(#cookieScene) {
    filter: grayscale(100%) brightness(0.95);
    transition: filter 600ms ease;
}

body.monochrome > *:not(#cookieBanner):not(#cookieScene),
body.monochrome *:not(#cookieBanner):not(#cookieScene) {
    filter: grayscale(100%) brightness(0.95);
    transition: filter 600ms ease;
}

/* Minimal scene container (no background / chrome) */

.cookie-scene {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 9998;
}

/* Green music cube in top right when cookies accepted */
.cookie-scene.accepted {
    bottom: auto;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
}

.cookie-scene.show {
    opacity: 1;
    pointer-events: auto;
}

.cookie-scene canvas {
    width: 100%;
    height: 100%;
    display: block;
    outline: none;
}

@media (max-width: 768px) {
    .cookie-scene {
        width: 80px;
        height: 80px;
        bottom: 20px;
        right: 20px;
        transform: none;
    }
    .cookie-scene.accepted {
        top: 20px;
        right: 20px;
        width: 80px;
        height: 80px;
    }
}

