/* Cookie Consent Banner — Hang In There, Punch! */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background-color: #16162b;
    border-top: 2px solid #ff6b6b;
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    animation: cookieBannerSlideUp 0.4s ease-out;
}

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

.cookie-banner.cookie-banner--hidden {
    display: none;
}

.cookie-banner__text {
    flex: 1 1 400px;
    color: #d0d0d0;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 700px;
}

.cookie-banner__text a {
    color: #ff6b6b;
    text-decoration: none;
    border-bottom: 1px dotted #ff6b6b;
    transition: color 0.2s;
}

.cookie-banner__text a:hover {
    color: #ff9e9e;
}

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

.cookie-banner__btn {
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s;
    white-space: nowrap;
}

.cookie-banner__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.cookie-banner__btn:active {
    transform: translateY(0);
}

.cookie-banner__btn--accept {
    background-color: #ff6b6b;
    color: #1a1a2e;
}

.cookie-banner__btn--accept:hover {
    background-color: #ff8585;
}

.cookie-banner__btn--essential {
    background-color: transparent;
    color: #e0e0e0;
    border: 1px solid #e0e0e0;
}

.cookie-banner__btn--essential:hover {
    background-color: #2a2a4a;
    border-color: #ff6b6b;
    color: #ff6b6b;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 0.75rem;
    }

    .cookie-banner__text {
        font-size: 0.82rem;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner__btn {
        padding: 0.55rem 1.1rem;
        font-size: 0.85rem;
    }
}
