/* ── Cookie Banner ────────────────────────────────────────────────────────────── */

#cookieNotice {
    position: fixed;
    bottom: 20px;
    left: 30%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 720px;
    background: rgba(15, 15, 30, 0.97);
    border: 1px solid rgba(79, 79, 79, 0.517);
    border-radius: 14px;
    padding: 16px 20px;
    backdrop-filter: blur(20px);
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: fadeUp 0.4s ease both;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.cookie-text span {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.cookie-text p {
    font-size: 0.84rem;
    color: rgba(240, 240, 248, 0.7);
    margin: 0;
    line-height: 1.55;
}

.cookie-text a {
    color: #626CD6;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-text a:hover {
    opacity: 0.8;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-decline {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: rgba(240, 240, 248, 0.55);
    font-size: 0.83rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-decline:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(240, 240, 248, 0.85);
}

.cookie-accept {
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    background: #626CD6;
    color: #fff;
    font-size: 0.83rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 18px rgba(98, 108, 214, 0.4);
}

.cookie-accept:hover {
    background: #5560cc;
    box-shadow: 0 0 24px rgba(98, 108, 214, 0.55);
    transform: translateY(-1px);
}

.cookie-accept:active {
    transform: scale(0.97);
}

/* ── Mobile ───────────────────────────────────────────────────────────────────── */

@media (max-width: 560px) {
    #cookieNotice {
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: 14px 14px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
}