/* ================================================
   Cookie Consent Banner
   ================================================ */

#cc-banner {
    position: fixed;
    bottom: 2.4rem;
    left: 2.4rem;
    max-width: 44rem;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #e22104;
    border-radius: 1.6rem;
    padding: 2.2rem 2.4rem 2rem;
    z-index: 99999;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    font-family: 'Heebo', sans-serif;
    transform: translateY(calc(100% + 4rem));
    opacity: 0;
    transition: transform 0.42s cubic-bezier(0.34, 1.15, 0.64, 1), opacity 0.3s ease;
}

#cc-banner.cc-visible {
    transform: translateY(0);
    opacity: 1;
}

#cc-banner.cc-hiding {
    transform: translateY(calc(100% + 4rem));
    opacity: 0;
    transition: transform 0.32s ease-in, opacity 0.25s ease;
}

/* Layout */
.cc-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cc-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.cc-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
}

.cc-desc {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.6;
    margin: 0 0 1.8rem;
}

.cc-desc strong {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

.cc-desc a {
    color: #e22104;
    text-decoration: none;
}
.cc-desc a:hover {
    text-decoration: underline;
}

/* Buttons */
.cc-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cc-btn {
    padding: 0.85rem 2rem;
    border-radius: 0.9rem;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: 'Ubuntu', sans-serif;
    transition: background 0.18s, color 0.18s, transform 0.15s, border-color 0.18s;
    line-height: 1;
    white-space: nowrap;
}

.cc-accept {
    background: #e22104;
    color: #fff;
    flex: 1;
}
.cc-accept:hover {
    background: #c41c03;
    transform: translateY(-1px);
}
.cc-accept:active {
    transform: translateY(0);
}

.cc-refuse {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.14);
    flex: 1;
}
.cc-refuse:hover {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Mobile */
@media (max-width: 600px) {
    #cc-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
        border-radius: 1.4rem;
        padding: 1.8rem 1.6rem 1.6rem;
    }

    .cc-icon {
        font-size: 1.8rem;
    }

    .cc-actions {
        flex-direction: column;
    }

    .cc-btn {
        width: 100%;
        text-align: center;
    }

    #cc-manage {
        bottom: 1rem;
        left: 1rem;
    }
}
