.marquee-wrapper {
    width: calc(100vw - 0px);
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    overflow: hidden;
    background: var(--marquee-bg, #667eea);
    color: var(--marquee-color, #ffffff);
    height: var(--marquee-height, 40px);
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 0;
    padding: -10px;
    border-radius: 0;
    border: none;
}

.marquee-content {
    width: 100%;
    padding: 0 20px;
    display: inline-block;
}

.marquee-content.align-scroll {
    white-space: nowrap;
    animation: scroll-marquee var(--marquee-speed) linear infinite;
}

.marquee-content.align-visible,
.marquee-content.align-center {
    white-space: normal;
    text-align: center;
    width: 100%;
}

.marquee-content.align-left {
    white-space: normal;
    text-align: left;
    width: 100%;
}

.marquee-content.align-right {
    white-space: normal;
    text-align: right;
    width: 100%;
}

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

.marquee-wrapper.template-gradient {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.marquee-wrapper.template-neon {
    background: #0a0e27;
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
    font-weight: bold;
}

.marquee-wrapper.template-animated {
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.marquee-wrapper i {
    margin: 0 8px;
    display: inline-block;
}

.marquee-wrapper strong {
    font-weight: 700;
}

@keyframes text-blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

@keyframes text-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes text-glow {
    0%, 100% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 255, 255, 1); }
}

@keyframes text-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

@keyframes text-rainbow {
    0% { color: red; }
    16.67% { color: orange; }
    33.33% { color: yellow; }
    50% { color: green; }
    66.67% { color: blue; }
    83.33% { color: indigo; }
    100% { color: violet; }
}

.text-blink { animation: text-blink 1s infinite; }
.text-pulse { animation: text-pulse 2s infinite; }
.text-glow { animation: text-glow 2s infinite; }
.text-shake { animation: text-shake 0.5s infinite; }
.text-rainbow { animation: text-rainbow 3s infinite; }

@media (max-width: 768px) {
    .marquee-wrapper {
        font-size: 14px;
        height: var(--marquee-mobile-height, 40px);
    }

    .marquee-content {
        padding: 0 15px;
    }
}
