/* Import crazy fonts for music video vibes */
@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Bungee&family=Fredoka+One:wght@400;600&family=Righteous&family=Orbitron:wght@400;700;900&family=Black+Ops+One&family=Russo+One&display=swap');

/* Cultural Intelligence Police Tape Banner - ENHANCED */
.cultural-intelligence-banner {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: linear-gradient(45deg, #DC143C 0%, #FF1744 25%, #DC143C 50%, #FF1744 75%, #DC143C 100%) !important;
    color: #FFFFFF !important;
    height: 50px !important;
    z-index: 9999 !important;
    overflow: hidden !important;
    border-top: 4px solid #FFEA00 !important;
    border-bottom: 4px solid #FFEA00 !important;
    box-shadow: 
        0 4px 15px rgba(220, 20, 60, 0.8),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        0 0 20px rgba(255, 20, 147, 0.4) !important;
    font-family: 'Black Ops One', 'Orbitron', monospace !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: bannerGlow 3s ease-in-out infinite alternate;
}

.cultural-intelligence-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.1) 10px,
        rgba(0, 0, 0, 0.1) 20px
    );
    pointer-events: none;
}

.cultural-intelligence-banner::after {
    content: "🚨 REDEFY × CULTURAL INTEL × LIVE FEED × MUSIC VIDEO VIBES × TRENDING NOW 🚨";
    position: absolute;
    top: 50%;
    left: -400px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.2);
    font-family: 'Bungee', cursive;
    font-size: 12px;
    font-weight: 400;
    animation: warningText 30s linear infinite;
    pointer-events: none;
    letter-spacing: 2px;
}

@keyframes warningText {
    0% { left: -250px; }
    100% { left: 100vw; }
}

.cultural-banner-content {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: scrollBanner 30s linear infinite;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.cultural-banner-item {
    display: inline-flex;
    align-items: center;
    margin-right: 60px;
    font-size: 13px;
    font-weight: 400;
    color: #000000;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 5px rgba(255, 20, 147, 0.6);
    opacity: 1;
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.8px;
}

.cultural-banner-icon {
    margin-right: 8px;
    font-size: 18px;
    opacity: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    animation: iconPulse 2s ease-in-out infinite alternate;
}

.cultural-temp {
    background: rgba(255, 0, 0, 0.95);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 4px;
    margin-left: 10px;
    font-size: 11px;
    font-weight: 400;
    font-family: 'Russo One', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #000000;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cultural-temp.absolutely-unhinged { 
    background: rgba(255, 0, 0, 0.95);
    animation: pulse 2s infinite;
}
.cultural-temp.lowkey-slapping { 
    background: rgba(255, 165, 0, 0.9);
}
.cultural-temp.chill-but-iconic { 
    background: rgba(0, 128, 0, 0.9);
}

@keyframes pulse {
    0% { opacity: 0.9; }
    50% { opacity: 1; }
    100% { opacity: 0.9; }
}

.cultural-insight {
    font-style: italic;
    opacity: 0.95;
}

.cultural-lookbook-item {
    font-weight: 400;
    font-family: 'Fredoka One', cursive;
    background: rgba(0, 0, 0, 0.85);
    color: #FFD700;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    letter-spacing: 0.8px;
    border: 2px solid #FF0000;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.9), 0 0 3px rgba(255, 215, 0, 0.5);
    margin-left: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    animation: glitch 4s ease-in-out infinite alternate;
}

.cultural-movement {
    background: rgba(0, 0, 0, 0.8);
    color: #FFEA00;
    padding: 4px 10px;
    border-radius: 4px;
    margin-left: 10px;
    font-size: 11px;
    font-family: 'Righteous', cursive;
    text-transform: uppercase;
    border: 2px solid #FF0000;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8), 0 0 3px rgba(255, 234, 0, 0.6);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cultural-bridge {
    color: #FFEA00;
    font-weight: 600;
    font-family: 'Bungee', cursive;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8), 0 0 5px rgba(255, 234, 0, 0.7);
    letter-spacing: 0.5px;
}

@keyframes scrollBanner {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}

.cultural-banner-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255, 0, 0, 0.9);
    border: 2px solid #000000;
    color: #FFFFFF;
    font-size: 12px;
    cursor: pointer;
    opacity: 1;
    transition: all 0.2s ease;
    font-weight: 900;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.cultural-banner-close:hover {
    opacity: 1;
}

/* Hide banner when closed */
.cultural-intelligence-banner.hidden {
    display: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .cultural-intelligence-banner {
        height: 45px;
    }
    
    .cultural-banner-item {
        font-size: 13px;
        margin-right: 40px;
    }
    
    .cultural-temp {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .cultural-movement {
        font-size: 10px;
        padding: 2px 8px;
    }
}

/* Pause animation on hover */
.cultural-intelligence-banner:hover .cultural-banner-content {
    animation-play-state: paused;
}

/* Smooth entrance animation from top */
.cultural-intelligence-banner {
    animation: bannerSlideInTop 0.8s ease-out;
}

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

/* Add new keyframe animations for enhanced effects */
@keyframes bannerGlow {
    0% { box-shadow: 0 4px 15px rgba(220, 20, 60, 0.8), inset 0 2px 0 rgba(255, 255, 255, 0.4), 0 0 20px rgba(255, 20, 147, 0.4); }
    100% { box-shadow: 0 4px 20px rgba(220, 20, 60, 1), inset 0 2px 0 rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 20, 147, 0.6); }
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(1px, 1px); }
    80% { transform: translate(1px, -1px); }
}

/* Ensure content doesn't get cut off by police tape banner */
body {
    padding-top: 50px; /* Space for enhanced police tape banner */
    padding-bottom: 60px; /* Space for chat widget */
}

@media (max-width: 768px) {
    body {
        padding-top: 35px;
        padding-bottom: 55px;
    }
    
    .cultural-intelligence-banner {
        height: 35px;
        font-size: 11px;
    }
    
    .cultural-banner-item {
        margin-right: 50px;
        font-size: 11px;
    }
    
    .cultural-lookbook-item {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .cultural-temp {
        font-size: 10px;
        padding: 2px 8px;
    }
}