.d777-banner-container {
    width: 100%;
    background: linear-gradient(135deg, #2a3d3d 0%, #1a2626 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    border-bottom: 4px solid rgba(66, 102, 102, 0.8);
    max-width: 1200px;
    margin: 2rem auto;
}

.main-banner-strip {
    display: flex;
    align-items: center;
    height: 60px;
    background: linear-gradient(90deg, #1a2828 0%, #426666 50%, #1a2828 100%);
    position: relative;
    overflow: hidden;
}

.main-banner-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(66, 102, 102, 0.6) 20%, 
        rgba(0, 255, 170, 0.5) 40%, 
        rgba(255, 200, 0, 0.5) 60%, 
        rgba(66, 102, 102, 0.6) 80%, 
        transparent 100%);
    animation: lightSweep 4s linear infinite;
}

@keyframes lightSweep {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.sound-icon-box {
    flex-shrink: 0;
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-right: 3px solid rgba(66, 102, 102, 0.6);
    position: relative;
}

.sound-icon-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(66, 102, 102, 0.3) 0%, transparent 70%);
    animation: radiateGlow 2.8s ease-in-out infinite;
}

@keyframes radiateGlow {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

.sound-emoji {
    font-size: 26px;
    position: relative;
    z-index: 2;
    animation: iconPulse 2.2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0, 255, 170, 0.7));
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.12) rotate(-8deg);
    }
    70% {
        transform: scale(1.12) rotate(8deg);
    }
}

.scroll-text-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%);
}

.text-mover {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: moveText 10s linear infinite;
}

.text-mover:hover {
    animation-play-state: paused;
}

@keyframes moveText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.promo-message {
    display: inline-block;
    padding-right: 150%;
    font-size: 16px;
    font-weight: 600;
    color: #f0f2f5;
    line-height: 1.5;
    letter-spacing: 0.4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.highlight-primary {
    color: #00ffaa;
    font-weight: 900;
    text-shadow: 0 0 14px rgba(0, 255, 170, 0.9), 0 0 7px rgba(0, 255, 170, 0.7);
    animation: glowEffect 3.2s ease-in-out infinite;
}

.highlight-green {
    color: #7fff00;
    font-weight: 900;
    text-shadow: 0 0 14px rgba(127, 255, 0, 0.9), 0 0 7px rgba(127, 255, 0, 0.7);
    animation: glowEffect 3.2s ease-in-out infinite 0.6s;
}

.highlight-blue {
    color: #00d4ff;
    font-weight: 900;
    text-shadow: 0 0 14px rgba(0, 212, 255, 0.9), 0 0 7px rgba(0, 212, 255, 0.7);
    animation: glowEffect 3.2s ease-in-out infinite 1.2s;
}

@keyframes glowEffect {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.4);
    }
}

.close-button-zone {
    flex-shrink: 0;
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-left: 3px solid rgba(66, 102, 102, 0.6);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
}

.close-button-zone:hover {
    background: rgba(0, 255, 170, 0.25);
    transform: scale(1.08);
}

.close-button-zone: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-zone:hover .close-icon {
    color: #00ffaa;
    transform: rotate(180deg);
}

.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ff3366 0%, #cc0033 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, 51, 102, 0.8), 0 0 0 3px rgba(255, 51, 102, 0.4);
    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, 51, 102, 0.8), 0 0 0 3px rgba(255, 51, 102, 0.4);
    }
    50% {
        transform: scale(1.25);
        box-shadow: 0 5px 14px rgba(255, 51, 102, 1), 0 0 0 4px rgba(255, 51, 102, 0.6);
    }
}

@media (max-width: 768px) {
    .main-banner-strip {
        height: 54px;
    }
    
    .sound-icon-box {
        width: 54px;
    }
    
    .sound-emoji {
        font-size: 22px;
    }
    
    .close-button-zone {
        width: 54px;
    }
    
    .promo-message {
        font-size: 14px;
    }
    
    .close-icon {
        font-size: 26px;
    }
    
    .notification-badge {
        width: 22px;
        height: 22px;
        font-size: 11px;
        top: 7px;
        right: 7px;
    }
}

@media (max-width: 480px) {
    .main-banner-strip {
        height: 50px;
    }
    
    .sound-icon-box {
        width: 50px;
    }
    
    .sound-emoji {
        font-size: 20px;
    }
    
    .close-button-zone {
        width: 50px;
    }
    
    .promo-message {
        font-size: 13px;
        letter-spacing: 0.3px;
    }
    
    .close-icon {
        font-size: 24px;
    }
    
    .notification-badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
        top: 6px;
        right: 6px;
    }
}






