/* ========================================
   COOKIE CONSENT BANNER
   Bottom-fixed banner with Accept/Decline
   ======================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: var(--fluid-space-md);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    pointer-events: none;
}

.cookie-consent.visible {
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner-content {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fluid-space-md);
    padding: var(--fluid-space-md);
    border-radius: 20px;
    /* Glassmorphic style matching .hero-card */
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-text {
    font-family: var(--font-family-base);
    font-size: var(--fluid-small);
    line-height: var(--line-height-normal);
    color: var(--color-text-dark);
    margin: 0;
    flex: 1;
}

.cookie-text a {
    color: var(--color-secondary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-text a:hover {
    color: var(--color-primary);
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: var(--fluid-space-sm);
    flex-shrink: 0;
}

.btn-cookie-accept,
.btn-cookie-decline {
    font-family: var(--font-family-base);
    font-size: var(--fluid-small);
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-cookie-accept {
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
}

.btn-cookie-accept:hover {
    background: #e08c10;
    border-color: #e08c10;
}

.btn-cookie-decline {
    background: transparent;
    color: var(--color-text-dark);
    border: 2px solid var(--color-text-dark);
}

.btn-cookie-decline:hover {
    background: var(--color-text-dark);
    color: #fff;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .cookie-consent {
        padding: var(--fluid-space-sm);
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: var(--fluid-space-sm);
        padding: var(--fluid-space-md);
    }

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

    .btn-cookie-accept,
    .btn-cookie-decline {
        padding: 0.5rem 1.25rem;
        font-size: var(--fluid-xs);
    }
}
