/* BANNER BASE */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #0d1117;
    border-top: 1px solid #FFFFFF1A;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#cookie-banner.visible {
    transform: translateY(0);
}

/* TEXTO */
.cookie-banner__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cookie-banner__text p {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    font-weight: 400;
}

.cookie-banner__text p strong {
    color: #fff;
    font-weight: 600;
}

.cookie-banner__text p a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-banner__text p a:hover {
    color: #cc0000;
}

/* BOTONES */
.cookie-banner__actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    --skew: -10deg;
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 24px;
    font-family: "Chakra Petch", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    cursor: pointer;
    transform: skewX(var(--skew));
    border-radius: 2px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn span {
    transform: skewX(calc(var(--skew) * -1));
    display: block;
}

/* ACEPTAR */
.cookie-btn--accept {
    background-color: #cc0000;
    color: #fff;
    box-shadow: 0 4px 16px rgba(204, 0, 0, 0.35);
}

.cookie-btn--accept:hover {
    background-color: #bf0000;
    transform: skewX(var(--skew)) translateY(-1px);
}

/* RECHAZAR */
.cookie-btn--reject {
    background-color: transparent;
    color: #94a3b8;
    border: 1px solid #FFFFFF1A;
}

.cookie-btn--reject:hover {
    color: #fff;
    border-color: #94a3b8;
    transform: skewX(var(--skew)) translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 16px;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner__text p {
        font-size: 13px;
    }
}