#cookieBanner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #ffffff, #f0f9ff);
    border-radius: 120px 8px 80px;
    padding: 26px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow:
        0 10px 40px rgba(6, 214, 160, 0.25),
        0 0 0 1px rgba(163, 213, 255, 0.4),
        inset 0 0 20px rgba(6, 214, 160, 0.05);
    z-index: 2000;
    max-width: 600px;
    width: calc(100% - 30px);
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(163, 213, 255, 0.5);
    animation: slideInUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#cookieBanner:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow:
        0 12px 45px rgba(6, 214, 160, 0.35),
        0 0 0 1px rgba(163, 213, 255, 0.6);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 100px) scale(0.9);
        box-shadow: 0 0 0 rgba(6, 214, 160, 0);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
        box-shadow: 0 10px 40px rgba(6, 214, 160, 0.25);
    }
}

.cookie-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    justify-content: center;
    text-align: center;
}

.cookie-illustration {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 8px 20px rgba(6, 214, 160, 0.4),
        0 0 0 4px rgba(6, 214, 160, 0.15);
    flex-shrink: 0;
    animation: floatIllu 5s infinite ease-in-out;
    position: relative;
}

.cookie-illustration::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(6, 214, 160, 0.2), rgba(17, 138, 178, 0.2));
    z-index: -1;
    pointer-events: none;
}

@keyframes floatIllu {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-6px) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    75% { transform: translateY(-6px) rotate(1deg); }
}

.cookie-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cookie-illustration:hover img {
    transform: scale(1.05);
}

.cookie-text {
    flex: 1;
    min-width: 260px;
}

.cookie-text h4 {
    font-size: 1.3rem;
    color: #073b4c;
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cookie-text p {
    font-size: 0.95rem;
    color: #4a6572;
    line-height: 1.55;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.cookie-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cookie-btn:active::after {
    width: 300px;
    height: 300px;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #06d6a0, #05b38a);
    color: white;
    box-shadow: 0 4px 14px rgba(6, 214, 160, 0.4);
}

.cookie-btn.accept:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 6px 18px rgba(6, 214, 160, 0.6);
}

.cookie-btn.reject {
    background: #f8fbff;
    color: #118ab2;
    border: 1px solid #a3d5ff;
}

.cookie-btn.reject:hover {
    background: #e0f7fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 138, 178, 0.2);
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 520px) {
    #cookieBanner {
        bottom: 16px;
        padding: 20px;
        max-width: calc(100% - 20px);
        border-radius: 28px;
    }
    .cookie-illustration {
        width: 100px;
        height: 100px;
    }
    .cookie-text h4 {
        font-size: 1.2rem;
    }
    .cookie-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 110px;
    }
    .cookie-inner {
        gap: 16px;
    }
}