/* ══════════════════════════════════════════════════════════
   Cookie Consent Popup
   ══════════════════════════════════════════════════════════ */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 9999;
    max-width: 400px;
    width: calc(100% - 4rem);
    animation: slideInUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cookie-content {
    position: relative;
    padding: 2rem;
    background: rgba(15, 15, 15, 0.95);
    /* Nearly opaque for readability */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: var(--transition-fast);
}

.cookie-close:hover {
    color: var(--text-main);
    transform: rotate(90deg);
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-icon {
    color: var(--accent-gold);
    font-size: 2rem;
}

.cookie-title {
    font-family: 'Montserrat', sans-serif;
    /* Using Montserrat for this UI element for cleanliness */
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: none;
    /* Sentence case per screenshot */
    color: var(--text-main);
    margin: 0;
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
    /* Rounded buttons per screenshot */
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        bottom: 1rem;
        left: 1rem;
        width: calc(100% - 2rem);
    }

    .cookie-content {
        padding: 1.5rem;
    }
}