.cbajee-notification-bar {
    width: 100%;
    background: linear-gradient(145deg, #151924 0%, #0A0D13 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    border-bottom: 4px solid rgba(138, 43, 226, 0.4);
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
}

.notification-container {
    display: flex;
    align-items: center;
    height: 62px;
    background: linear-gradient(90deg, #0d1118 0%, #151924 50%, #0d1118 100%);
    position: relative;
    overflow: hidden;
}

.notification-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(138, 43, 226, 0.5) 20%, 
        rgba(255, 215, 0, 0.5) 40%, 
        rgba(50, 205, 50, 0.5) 60%, 
        rgba(0, 191, 255, 0.5) 80%, 
        transparent 100%);
    animation: lightFlow 4s linear infinite;
}

@keyframes lightFlow {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
    }
}

.sound-icon-box {
    flex-shrink: 0;
    width: 62px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-right: 3px solid rgba(138, 43, 226, 0.3);
    position: relative;
}

.sound-icon-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.2) 0%, transparent 75%);
    animation: radiateEffect 3s ease-in-out infinite;
}

@keyframes radiateEffect {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.sound-wave {
    font-size: 26px;
    position: relative;
    z-index: 2;
    animation: waveMotion 2.2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.7));
}

@keyframes waveMotion {
    0%, 100% {
        transform: scale(1) rotate(-3deg);
    }
    33% {
        transform: scale(1.12) rotate(3deg);
    }
    66% {
        transform: scale(1.12) rotate(-3deg);
    }
}

.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: scrollMotion 10s linear infinite;
}

.scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scrollMotion {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.message-content {
    display: inline-block;
    padding-right: 150%;
    font-size: 16px;
    font-weight: 600;
    color: #f0f2f5;
    line-height: 1.7;
    letter-spacing: 0.4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.highlight-gold {
    color: #ffd700;
    font-weight: 900;
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.9), 0 0 7px rgba(255, 215, 0, 0.7);
    animation: glowPulse 3.5s ease-in-out infinite;
}

.highlight-green {
    color: #32cd32;
    font-weight: 900;
    text-shadow: 0 0 14px rgba(50, 205, 50, 0.9), 0 0 7px rgba(50, 205, 50, 0.7);
    animation: glowPulse 3.5s ease-in-out infinite 0.7s;
}

.highlight-blue {
    color: #00bfff;
    font-weight: 900;
    text-shadow: 0 0 14px rgba(0, 191, 255, 0.9), 0 0 7px rgba(0, 191, 255, 0.7);
    animation: glowPulse 3.5s ease-in-out infinite 1.4s;
}

@keyframes glowPulse {
    0%, 100% {
        filter: brightness(1);
        transform: scale(1);
    }
    50% {
        filter: brightness(1.4);
        transform: scale(1.02);
    }
}

.close-button {
    flex-shrink: 0;
    width: 62px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-left: 3px solid rgba(138, 43, 226, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
}

.close-button:hover {
    background: rgba(138, 43, 226, 0.25);
    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: #ffd700;
    transform: rotate(180deg);
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
}

.notification-badge {
    position: absolute;
    top: 11px;
    right: 11px;
    background: linear-gradient(145deg, #ff4757 0%, #d50032 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.8), 0 0 0 3px rgba(255, 71, 87, 0.35);
    animation: badgePulse 2.8s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(255, 71, 87, 0.8), 0 0 0 3px rgba(255, 71, 87, 0.35);
    }
    50% {
        transform: scale(1.25);
        box-shadow: 0 6px 14px rgba(255, 71, 87, 1), 0 0 0 4px rgba(255, 71, 87, 0.55);
    }
}

@media (max-width: 768px) {
    .notification-container {
        height: 56px;
    }
    
    .sound-icon-box {
        width: 56px;
    }
    
    .sound-wave {
        font-size: 22px;
    }
    
    .close-button {
        width: 56px;
    }
    
    .message-content {
        font-size: 14px;
    }
    
    .close-icon {
        font-size: 26px;
    }
    
    .notification-badge {
        width: 22px;
        height: 22px;
        font-size: 11px;
        top: 9px;
        right: 9px;
    }
}

@media (max-width: 480px) {
    .notification-container {
        height: 50px;
    }
    
    .sound-icon-box {
        width: 50px;
    }
    
    .sound-wave {
        font-size: 20px;
    }
    
    .close-button {
        width: 50px;
    }
    
    .message-content {
        font-size: 13px;
        letter-spacing: 0.25px;
    }
    
    .close-icon {
        font-size: 24px;
    }
    
    .notification-badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
        top: 8px;
        right: 8px;
    }
}
