/* ============================================================
   COOKIE BANNER — «Страж»
   Подключается на всех страницах: <link rel="stylesheet" href="cookie.css" />
   ============================================================ */

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%) translateY(140%);
    width: min(560px, calc(100% - 32px));
    z-index: 300;
    background: rgba(10, 12, 28, 0.92);
    border: 1px solid rgba(136, 221, 255, 0.18);
    border-radius: 18px;
    padding: 18px 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    display: flex;
    gap: 14px;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    line-height: 1.55;
    letter-spacing: 0.2px;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}

.cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner .cookie-icon {
    font-size: 1.6rem;
    flex: 0 0 auto;
    filter: drop-shadow(0 0 10px rgba(255, 210, 100, 0.35));
}

.cookie-banner .cookie-text {
    flex: 1 1 auto;
    min-width: 0;
}

.cookie-banner .cookie-text a {
    color: var(--accent, #88ddff);
    text-decoration: none;
    border-bottom: 1px dashed rgba(136, 221, 255, 0.4);
    transition: 0.2s;
}

.cookie-banner .cookie-text a:hover {
    color: #c9a7ff;
    border-bottom-color: #c9a7ff;
}

.cookie-banner .cookie-actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.cookie-banner button {
    font-family: inherit;
    font-size: 0.78rem;
    letter-spacing: 1px;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.25s;
    white-space: nowrap;
}

.cookie-banner .cookie-accept {
    color: #051018;
    background: linear-gradient(135deg, #88ddff, #c9a7ff);
    border-color: transparent;
    font-weight: 600;
}

.cookie-banner .cookie-accept:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.cookie-banner .cookie-decline {
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.15);
}

.cookie-banner .cookie-decline:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        padding: 16px;
        gap: 12px;
    }
    .cookie-banner .cookie-icon { display: none; }
    .cookie-banner .cookie-actions { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner {
        transition: opacity 0.2s;
        transform: translateX(-50%) translateY(0);
    }
}