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

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;

    background: #1a1a2e;
    color: #e0e0e0;
    font-family: Arial, Sans-Serif, Trebuchet MS;
    font-size: 0.92rem;
    line-height: 1.6;

    padding: 1.1rem 2rem;
    border-top: 3px solid #e8c468;

    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);

    /* Slide up on first appear */
    animation: cookieBannerSlideUp 0.4s ease-out both;
}

@keyframes cookieBannerSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

#cookie-banner.cookie-banner--hiding {
    animation: cookieBannerSlideDown 0.35s ease-in forwards;
}

@keyframes cookieBannerSlideDown {
    from { transform: translateY(0);    opacity: 1; }
    to   { transform: translateY(100%); opacity: 0; }
}

#cookie-banner p {
    margin: 0;
    flex: 1 1 260px;
}

#cookie-banner a {
    color: #e8c468;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#cookie-banner a:hover {
    color: #f5d98a;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.65rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* Accept / primary button */
.cookie-btn--accept {
    background: #e8c468;
    color: #1a1a2e;
    border: none;
    padding: 0.55rem 1.4rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s, transform 0.1s;
}

.cookie-btn--accept:hover  { background: #f5d98a; }
.cookie-btn--accept:active { transform: scale(0.97); }

/* Decline / secondary button */
.cookie-btn--decline {
    background: transparent;
    color: #a0a0b8;
    border: 1px solid #a0a0b8;
    padding: 0.55rem 1.1rem;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 3px;
    transition: color 0.2s, border-color 0.2s;
}

.cookie-btn--decline:hover {
    color: #e0e0e0;
    border-color: #e0e0e0;
}

/* Responsive — stack on small screens */
@media (max-width: 520px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.2rem;
    }
    .cookie-banner__actions { width: 100%; }
    .cookie-btn--accept,
    .cookie-btn--decline    { flex: 1; text-align: center; }
}
