/*
 * Cookie Consent Banner Styles
 * Modern, privacy-friendly design matching the site's gradient theme
 */

.cookie-consent-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(155, 95, 171, 0.98) 0%, rgba(129, 69, 149, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -8px 32px rgba(155, 95, 171, 0.3);
    padding: 1.5rem 0;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 3px solid var(--sunny-yellow, #FFB84D);
}

.cookie-consent-banner.show {
    bottom: 0;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 280px;
}

.cookie-consent-text h3 {
    color: var(--sunny-yellow, #FFB84D);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.5px;
}

.cookie-consent-text p {
    color: white;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
    opacity: 0.95;
}

.cookie-policy-link {
    color: var(--peach, #FFE5D4);
    font-size: 0.875rem;
    text-decoration: underline;
    transition: color 0.3s ease;
    display: inline-block;
}

.cookie-policy-link:hover {
    color: var(--sunny-yellow, #FFB84D);
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.cookie-accept {
    background: linear-gradient(135deg, var(--sunny-yellow, #FFB84D) 0%, #FF9A5A 100%);
    color: #333;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 184, 77, 0.4);
}

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

.cookie-decline {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-decline:active {
    transform: scale(0.98);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 1.25rem 0;
    }

    .cookie-consent-content {
        padding: 0 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

    .cookie-consent-text {
        text-align: center;
        min-width: 100%;
    }

    .cookie-consent-text h3 {
        font-size: 1.125rem;
    }

    .cookie-consent-text p {
        font-size: 0.875rem;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent-content {
        padding: 0 1rem;
    }

    .cookie-consent-text h3 {
        font-size: 1rem;
    }

    .cookie-consent-text p {
        font-size: 0.8125rem;
    }

    .cookie-btn {
        font-size: 0.9375rem;
    }
}

/* Animation for attention */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 -8px 32px rgba(155, 95, 171, 0.3);
    }
    50% {
        box-shadow: 0 -8px 32px rgba(155, 95, 171, 0.5), 0 0 40px rgba(255, 184, 77, 0.3);
    }
}

.cookie-consent-banner.show {
    animation: pulse-glow 3s ease-in-out infinite;
}
