.kx8-marquee-wrapper {
    width: 100%;
    background: linear-gradient(180deg, #110408 0%, #1a0a0d 100%);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(49, 1, 1, 0.4);
    position: relative;
    margin: 2rem auto;
    max-width: 1200px;
}

.kx8-marquee-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.3) 20%, 
        rgba(255, 215, 0, 0.6) 50%, 
        rgba(255, 215, 0, 0.3) 80%, 
        transparent 100%);
}

.kx8-header-container {
    display: flex;
    align-items: stretch;
    height: 70px;
    background: #110408;
    position: relative;
}

.kx8-brand-area {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 28px;
    background: linear-gradient(135deg, #310101 0%, #1f0101 50%, #310101 100%);
    border-right: 3px solid rgba(255, 215, 0, 0.4);
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.kx8-brand-area::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: kx8-rotate 15s linear infinite;
}

@keyframes kx8-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.kx8-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
    z-index: 1;
    animation: kx8-icon-bounce 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6),
                inset 0 2px 5px rgba(255, 255, 255, 0.3);
    transform-style: preserve-3d;
}

@keyframes kx8-icon-bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
    25% {
        transform: translateY(-4px) scale(1.08);
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.9);
    }
    75% {
        transform: translateY(-2px) scale(1.04);
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.75);
    }
}

.kx8-brand-logo {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
    animation: kx8-brand-shimmer 4s ease-in-out infinite;
}

@keyframes kx8-brand-shimmer {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 35px rgba(255, 165, 0, 0.4));
    }
}

.kx8-ticker-section {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #110408;
}

.kx8-ticker-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(90deg, #110408 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.kx8-ticker-section::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(270deg, #110408 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.kx8-ticker-animation {
    display: flex;
    align-items: center;
    height: 100%;
    animation: kx8-slide 10s linear infinite;
    will-change: transform;
}

.kx8-ticker-animation:hover {
    animation-play-state: paused;
}

@keyframes kx8-slide {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.kx8-announcements {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 0;
}

.kx8-announcement-entry {
    padding: 0 80px;
    font-size: 16px;
    font-weight: 600;
    color: #e8e8e8;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.kx8-announcement-entry::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.kx8-announcement-entry:hover {
    color: #FFD700;
    transform: scale(1.08) translateY(-2px);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.kx8-announcement-entry:hover::before {
    width: 90%;
}

.kx8-accent-text {
    color: #FFD700;
    font-weight: 900;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.9);
    animation: kx8-text-glow 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes kx8-text-glow {
    0%, 100% {
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.9);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 25px rgba(255, 215, 0, 1), 0 0 35px rgba(255, 165, 0, 0.7);
        transform: scale(1.05);
    }
}

.kx8-marquee-wrapper .kx8-cta-button {
    flex-shrink: 0;
    width: 70px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-left: 3px solid rgba(255, 215, 0, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.kx8-marquee-wrapper .kx8-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.kx8-marquee-wrapper .kx8-cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.kx8-marquee-wrapper .kx8-cta-button:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7), inset 0 0 20px rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.kx8-marquee-wrapper .kx8-cta-button .kx8-app-icon {
    width: 40px;
    height: 40px;
    background: #110408;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 2px solid #310101;
    color: #FFA500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.kx8-marquee-wrapper .kx8-cta-button:hover .kx8-app-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    border-color: #FFD700;
}

@media (max-width: 768px) {
    .kx8-header-container {
        height: 60px;
    }
    
    .kx8-brand-area {
        padding: 0 18px;
        min-width: 160px;
        gap: 10px;
    }
    
    .kx8-brand-logo {
        font-size: 26px;
        letter-spacing: 2px;
    }
    
    .kx8-logo-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .kx8-marquee-wrapper .kx8-cta-button {
        width: 60px;
    }
    
    .kx8-announcement-entry {
        padding: 0 60px;
        font-size: 14px;
    }
    
    .kx8-app-icon {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .kx8-header-container {
        height: 50px;
    }
    
    .kx8-brand-area {
        padding: 0 12px;
        min-width: 130px;
        gap: 8px;
    }
    
    .kx8-brand-logo {
        font-size: 22px;
        letter-spacing: 1px;
    }
    
    .kx8-logo-icon {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }
    
    .kx8-announcement-entry {
        padding: 0 40px;
        font-size: 12px;
    }
    
    .kx8-ticker-animation {
        animation-duration: 30s;
    }
}