/**
 * Cookie Consent Banner CSS
 * GDPR Compliant - Styled to match MadePrompt dark/tech theme
 */

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998; /* Below age verification (999999) but above everything else */
    padding: 1rem;
    display: none; /* Hidden by default, shown by JavaScript */
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.cookie-consent-banner.active {
    display: flex;
    animation: cookieBannerSlideUp 0.4s ease-out;
    pointer-events: all;
}

.cookie-consent-banner.hidden {
    animation: cookieBannerSlideDown 0.4s ease-in forwards;
}

@keyframes cookieBannerSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes cookieBannerSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* ============================================
   BANNER CONTENT - GLASSMORPHISM STYLE
   ============================================ */

.cookie-consent-content {
    background: rgba(20, 20, 22, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 1rem;
    }
}

/* ============================================
   ICON & TEXT
   ============================================ */

.cookie-consent-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.cookie-consent-text {
    flex: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-consent-text a {
    color: rgba(255, 20, 147, 0.8);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-consent-text a:hover {
    color: #FF1493;
}

@media (max-width: 768px) {
    .cookie-consent-text {
        font-size: 0.8rem;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

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

@media (max-width: 768px) {
    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }
}

.cookie-consent-btn {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cookie-consent-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}

/* ============================================
   ACCEPT BUTTON - NEON PINK (Age Verification Style)
   ============================================ */

.cookie-consent-btn-accept {
    background: #FF1493;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.4),
                0 0 40px rgba(255, 20, 147, 0.2),
                0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 20, 147, 0.5);
}

.cookie-consent-btn-accept::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cookie-consent-btn-accept:hover {
    background: #FF69B4;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.6),
                0 0 60px rgba(255, 20, 147, 0.3),
                0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    border-color: rgba(255, 20, 147, 0.8);
}

.cookie-consent-btn-accept:hover::before {
    left: 100%;
}

.cookie-consent-btn-accept:active {
    transform: translateY(0);
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.5),
                0 0 30px rgba(255, 20, 147, 0.2),
                0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================
   DECLINE BUTTON - DARK GRAY
   ============================================ */

.cookie-consent-btn-decline {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-consent-btn-decline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.cookie-consent-btn-decline:active {
    transform: translateY(0);
}

