/* Zeus Marquee System - Inspired by boop.fun */

.zeus-marquee-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, 
        rgba(99, 102, 241, 0.05) 0%,
        rgba(139, 92, 246, 0.1) 50%,
        rgba(99, 102, 241, 0.05) 100%);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding: 1.5rem 0;
    margin: 3rem 0;
    backdrop-filter: blur(10px);
}

.zeus-marquee-section::before {
    content: '⚡';
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.6;
    animation: zeus-pulse 2s ease-in-out infinite;
    z-index: 2;
}

.zeus-marquee-section::after {
    content: '⚡';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.6;
    animation: zeus-pulse 2s ease-in-out infinite 1s;
    z-index: 2;
}

.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%);
    -webkit-mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 4rem;
    animation: marquee-scroll 45s linear infinite;
    width: fit-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-text {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.marquee-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
}

.marquee-text.text-purple {
    color: #a78bfa;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.marquee-text.text-gold {
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.marquee-text:hover {
    transform: scale(1.05);
    filter: brightness(1.3);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes zeus-pulse {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50%) scale(1.2);
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .zeus-marquee-section {
        padding: 1rem 0;
        margin: 2rem 0;
    }
    
    .zeus-marquee-section::before,
    .zeus-marquee-section::after {
        font-size: 1.5rem;
        left: 1rem;
    }
    
    .zeus-marquee-section::after {
        right: 1rem;
    }
    
    .marquee-track {
        gap: 3rem;
        animation-duration: 30s;
    }
    
    .marquee-content {
        gap: 3rem;
    }
    
    .marquee-text {
        font-size: 1rem;
        padding: 0 1.5rem;
    }
    
    .marquee-container {
        mask-image: linear-gradient(to right, 
            transparent 0%, 
            black 5%, 
            black 95%, 
            transparent 100%);
        -webkit-mask-image: linear-gradient(to right, 
            transparent 0%, 
            black 5%, 
            black 95%, 
            transparent 100%);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .marquee-text.text-purple {
        color: #c4b5fd;
    }
    
    .marquee-text.text-gold {
        color: #fcd34d;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
    
    .marquee-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    
    .marquee-text {
        scroll-snap-align: center;
    }
}
