.hhbd-ticker-wrapper {
    width: 100%;
    background: linear-gradient(135deg, #1C1C1C 0%, #1C1C1B 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 1200px;
    margin: 2rem auto;
}

.hhbd-ticker-main {
    display: flex;
    align-items: center;
    height: 56px;
    background: #1C1C1C;
    position: relative;
    overflow: hidden;
}

.hhbd-ticker-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 193, 7, 0.3) 50%, 
        transparent 100%);
}

.hhbd-icon-block {
    flex-shrink: 0;
    width: 56px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    border-right: 2px solid rgba(255, 193, 7, 0.25);
    position: relative;
}

.hhbd-icon-block::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 2px;
    height: 60%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255, 193, 7, 0.4) 50%, 
        transparent 100%);
}

.hhbd-sound-icon {
    font-size: 24px;
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.6));
    animation: hhbdSoundPulse 2s ease-in-out infinite;
}

@keyframes hhbdSoundPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.15) rotate(-5deg);
    }
    75% {
        transform: scale(1.15) rotate(5deg);
        opacity: 0.8;
    }
}

.hhbd-scroll-container {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #1C1C1B;
}

.hhbd-scroll-container::before,
.hhbd-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    pointer-events: none;
    z-index: 2;
}

.hhbd-scroll-container::before {
    left: 0;
    background: linear-gradient(90deg, 
        #1C1C1B 0%, 
        transparent 100%);
}

.hhbd-scroll-container::after {
    right: 0;
    background: linear-gradient(270deg, 
        #1C1C1B 0%, 
        transparent 100%);
}

.hhbd-scroll-track {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: hhbdScroll 10s linear infinite;
}

.hhbd-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes hhbdScroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.hhbd-content-text {
    display: inline-block;
    padding-right: 100%;
    font-size: 15px;
    font-weight: 600;
    color: #f5f5f5;
    line-height: 1.6;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hhbd-accent-gold {
    color: #FFC107;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(255, 193, 7, 0.8),
                 0 0 24px rgba(255, 193, 7, 0.4);
    animation: hhbdGlowGold 3s ease-in-out infinite;
}

.hhbd-accent-lime {
    color: #00ff88;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.8),
                 0 0 24px rgba(0, 255, 136, 0.4);
    animation: hhbdGlowLime 3s ease-in-out infinite 0.5s;
}

.hhbd-accent-cyan {
    color: #00d4ff;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.8),
                 0 0 24px rgba(0, 212, 255, 0.4);
    animation: hhbdGlowCyan 3s ease-in-out infinite 1s;
}

@keyframes hhbdGlowGold {
    0%, 100% {
        text-shadow: 0 0 12px rgba(255, 193, 7, 0.8),
                     0 0 24px rgba(255, 193, 7, 0.4);
    }
    50% {
        text-shadow: 0 0 18px rgba(255, 193, 7, 1),
                     0 0 36px rgba(255, 193, 7, 0.6);
    }
}

@keyframes hhbdGlowLime {
    0%, 100% {
        text-shadow: 0 0 12px rgba(0, 255, 136, 0.8),
                     0 0 24px rgba(0, 255, 136, 0.4);
    }
    50% {
        text-shadow: 0 0 18px rgba(0, 255, 136, 1),
                     0 0 36px rgba(0, 255, 136, 0.6);
    }
}

@keyframes hhbdGlowCyan {
    0%, 100% {
        text-shadow: 0 0 12px rgba(0, 212, 255, 0.8),
                     0 0 24px rgba(0, 212, 255, 0.4);
    }
    50% {
        text-shadow: 0 0 18px rgba(0, 212, 255, 1),
                     0 0 36px rgba(0, 212, 255, 0.6);
    }
}

.hhbd-action-btn {
    flex-shrink: 0;
    width: 56px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    border-left: 2px solid rgba(255, 193, 7, 0.25);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.hhbd-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 193, 7, 0.2) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.hhbd-action-btn:hover::before {
    left: 100%;
}

.hhbd-action-btn:hover {
    background: rgba(255, 193, 7, 0.2);
    border-left-color: rgba(255, 193, 7, 0.5);
}

.hhbd-action-btn:active {
    transform: scale(0.95);
}

.hhbd-close-mark {
    font-size: 26px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.hhbd-action-btn:hover .hhbd-close-mark {
    transform: rotate(90deg);
    color: #FFC107;
}

.hhbd-notify-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff3838 0%, #ff1744 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(255, 23, 68, 0.7),
                0 0 16px rgba(255, 23, 68, 0.4);
    animation: hhbdBadgePulse 2.5s ease-in-out infinite;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

@keyframes hhbdBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 3px 8px rgba(255, 23, 68, 0.7),
                    0 0 16px rgba(255, 23, 68, 0.4);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 5px 12px rgba(255, 23, 68, 0.9),
                    0 0 24px rgba(255, 23, 68, 0.6);
    }
}

@media (max-width: 768px) {
    .hhbd-ticker-main {
        height: 50px;
    }
    
    .hhbd-icon-block {
        width: 50px;
    }
    
    .hhbd-sound-icon {
        font-size: 20px;
    }
    
    .hhbd-action-btn {
        width: 50px;
    }
    
    .hhbd-content-text {
        font-size: 13.5px;
    }
    
    .hhbd-close-mark {
        font-size: 22px;
    }
    
    .hhbd-notify-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .hhbd-ticker-main {
        height: 46px;
    }
    
    .hhbd-icon-block {
        width: 46px;
    }
    
    .hhbd-sound-icon {
        font-size: 18px;
    }
    
    .hhbd-action-btn {
        width: 46px;
    }
    
    .hhbd-content-text {
        font-size: 12.5px;
    }
    
    .hhbd-close-mark {
        font-size: 20px;
    }
    
    .hhbd-notify-badge {
        width: 16px;
        height: 16px;
        font-size: 9px;
        top: 7px;
        right: 7px;
    }
    
    .hhbd-scroll-container::before,
    .hhbd-scroll-container::after {
        width: 50px;
    }
}