.bdpop-notification-container {
    width: 100%;
    background: linear-gradient(135deg, #1C012C 0%, #0d0015 100%);
    box-shadow: 0 8px 24px rgba(103, 1, 124, 0.4);
    border-bottom: 3px solid rgba(103, 1, 124, 0.5);
    max-width: 1200px;
    margin: 2rem auto;
}

.notification-bar {
    display: flex;
    align-items: center;
    height: 60px;
    background: linear-gradient(90deg, #1C012C 0%, #2a0240 50%, #1C012C 100%);
    position: relative;
    overflow: hidden;
}

.bdpop-notification-container i {
    color: #fff;
}

.notification-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(103, 1, 124, 0.6) 20%, 
        rgba(147, 51, 234, 0.8) 50%, 
        rgba(103, 1, 124, 0.6) 80%, 
        transparent 100%);
    animation: lightSweep 4s linear infinite;
}

@keyframes lightSweep {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.megaphone-zone {
    flex-shrink: 0;
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-right: 2px solid rgba(103, 1, 124, 0.4);
    position: relative;
}

.megaphone-zone::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(147, 51, 234, 0.2) 0%, transparent 65%);
    animation: radiateGlow 3s ease-in-out infinite;
}

@keyframes radiateGlow {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

.megaphone-icon {
    font-size: 26px;
    position: relative;
    z-index: 2;
    animation: iconPulse 2.2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.8));
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    30% {
        transform: scale(1.12) rotate(-8deg);
    }
    70% {
        transform: scale(1.12) rotate(8deg);
    }
}

.message-scroll-area {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: transparent;
    mask-image: linear-gradient(90deg, 
        transparent 0%, 
        black 8%, 
        black 92%, 
        transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, 
        transparent 0%, 
        black 8%, 
        black 92%, 
        transparent 100%);
}

.scroll-track {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: continuousScroll 10s linear infinite;
}

.scroll-track:hover {
    animation-play-state: paused;
}

@keyframes continuousScroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.notification-message {
    display: inline-block;
    padding-right: 150%;
    font-size: 15.5px;
    font-weight: 600;
    color: #f0f0f5;
    line-height: 1.65;
    letter-spacing: 0.4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.highlight-purple {
    color: #a855f7;
    font-weight: 900;
    text-shadow: 0 0 14px rgba(168, 85, 247, 0.9), 0 0 8px rgba(168, 85, 247, 0.6);
    animation: colorGlow 3.5s ease-in-out infinite;
}

.highlight-violet {
    color: #c084fc;
    font-weight: 900;
    text-shadow: 0 0 14px rgba(192, 132, 252, 0.9), 0 0 8px rgba(192, 132, 252, 0.6);
    animation: colorGlow 3.5s ease-in-out infinite 0.6s;
}

.highlight-bright {
    color: #e9d5ff;
    font-weight: 900;
    text-shadow: 0 0 14px rgba(233, 213, 255, 0.9), 0 0 8px rgba(233, 213, 255, 0.6);
    animation: colorGlow 3.5s ease-in-out infinite 1.2s;
}

@keyframes colorGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.4);
    }
}

.close-button {
    flex-shrink: 0;
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-left: 2px solid rgba(103, 1, 124, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
}

.close-button:hover {
    background: rgba(103, 1, 124, 0.3);
    transform: scale(1.08);
}

.close-button:active {
    transform: scale(0.92);
}

.close-icon {
    font-size: 30px;
    color: #ffffff;
    font-weight: 800;
    line-height: 1;
    transition: all 0.35s ease;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.close-button:hover .close-icon {
    color: #a855f7;
    transform: rotate(90deg);
}

.notification-badge {
    position: absolute;
    top: 9px;
    right: 9px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 900;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.8), 0 0 0 2.5px rgba(220, 38, 38, 0.35);
    animation: badgePulse 2.8s ease-in-out infinite;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(220, 38, 38, 0.8), 0 0 0 2.5px rgba(220, 38, 38, 0.35);
    }
    50% {
        transform: scale(1.25);
        box-shadow: 0 5px 14px rgba(220, 38, 38, 1), 0 0 0 4px rgba(220, 38, 38, 0.55);
    }
}

@media (max-width: 768px) {
    .notification-bar {
        height: 54px;
    }
    
    .megaphone-zone {
        width: 54px;
    }
    
    .megaphone-icon {
        font-size: 22px;
    }
    
    .close-button {
        width: 54px;
    }
    
    .notification-message {
        font-size: 14px;
    }
    
    .close-icon {
        font-size: 26px;
    }
    
    .notification-badge {
        width: 22px;
        height: 22px;
        font-size: 10.5px;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .notification-bar {
        height: 50px;
    }
    
    .megaphone-zone {
        width: 50px;
    }
    
    .megaphone-icon {
        font-size: 20px;
    }
    
    .close-button {
        width: 50px;
    }
    
    .notification-message {
        font-size: 13px;
        letter-spacing: 0.3px;
    }
    
    .close-icon {
        font-size: 24px;
    }
    
    .notification-badge {
        width: 20px;
        height: 20px;
        font-size: 9.5px;
        top: 7px;
        right: 7px;
    }
}