* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: transparent;
    font-family: 'Arial', 'Helvetica', sans-serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scrolling-text {
    position: absolute;
    white-space: pre-line;
    animation: scroll-left var(--scroll-duration, 15s) linear infinite;
    will-change: transform;
    text-align: center;
    display: flex;
    align-items: center;
}

.text-content {
    display: inline-block;
    font-size: var(--font-size, 48px);
    font-weight: bold;
    color: var(--text-color, #ffffff);
    text-shadow: 
        0 0 8px var(--glow-color, #00ffff),
        0 0 16px var(--glow-color, #00ffff),
        0 0 24px var(--glow-color, #00ffff),
        0 0 32px var(--glow-color, #00ffff),
        2px 2px 4px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 0 4px var(--glow-color, #00ffff));
    letter-spacing: 2px;
    padding: 20px;
    line-height: 1.2;
    text-align: center;
    white-space: pre-line;
}


@keyframes scroll-left {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(calc(-100% - 100vw));
    }
}

/* Ensure multi-line text stays vertically centered during scroll */
.scrolling-text .text-content {
    vertical-align: middle;
}


/* Removed edge gradients for true transparency */

/* Alternative animation styles - now applied via JavaScript */

@keyframes scroll-bounce {
    0% {
        transform: translateY(0px);
        opacity: 1;
    }
    25% {
        transform: translateY(-30px);
        opacity: 1;
    }
    50% {
        transform: translateY(0px);
        opacity: 1;
    }
    75% {
        transform: translateY(-20px);
        opacity: 1;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

/* Shining effect */
.shining-theme .text-content {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.4) 25%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.4) 75%,
        rgba(255, 255, 255, 0.1) 100%
    );
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: shine 3s infinite;
    position: relative;
}

.shining-theme .text-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 100%
    );
    animation: shine-sweep 3s infinite;
}

@keyframes shine {
    0%, 100% {
        background-position: -200% 0;
    }
    50% {
        background-position: 200% 0;
    }
}

@keyframes shine-sweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* New animation keyframes */
@keyframes fade-in-out {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes slide-up {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    30% {
        transform: translateY(0px);
        opacity: 1;
    }
    70% {
        transform: translateY(0px);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
}

@keyframes zoom-in-out {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    25% {
        transform: scale(1.2);
        opacity: 1;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    75% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.3);
        opacity: 0;
    }
}

@keyframes flip-text {
    0% {
        transform: rotateY(0deg);
        opacity: 0;
    }
    25% {
        transform: rotateY(180deg);
        opacity: 1;
    }
    50% {
        transform: rotateY(360deg);
        opacity: 1;
    }
    75% {
        transform: rotateY(540deg);
        opacity: 1;
    }
    100% {
        transform: rotateY(720deg);
        opacity: 0;
    }
}

@keyframes wave-motion {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 1;
    }
    50% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    75% {
        transform: translateY(20px) rotate(-5deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
}

@keyframes blink-animation {
    0% {
        opacity: 1;
    }
    15% {
        opacity: 0.1;
    }
    30% {
        opacity: 1;
    }
    45% {
        opacity: 0.1;
    }
    60% {
        opacity: 1;
    }
    75% {
        opacity: 0.1;
    }
    100% {
        opacity: 1;
    }
}

/* Character-based animation keyframes */
@keyframes char-wave-motion {
    0%, 100% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-12px);
    }
    50% {
        transform: translateY(0px);
    }
    75% {
        transform: translateY(12px);
    }
}

@keyframes char-bounce-motion {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

@keyframes char-glow-pulse {
    0%, 100% {
        text-shadow: 0 0 5px currentColor;
        transform: scale(1);
    }
    50% {
        text-shadow: 
            0 0 10px currentColor,
            0 0 20px currentColor,
            0 0 30px currentColor;
        transform: scale(1.05);
    }
}

@keyframes char-flip-motion {
    0%, 100% {
        transform: rotateY(0deg);
    }
    25% {
        transform: rotateY(90deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    75% {
        transform: rotateY(270deg);
    }
}

/* Character span styling */
.char-span {
    display: inline-block;
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 1280px) {
    .text-content {
        font-size: calc(var(--font-size, 48px) * 0.8);
    }
}

@media (max-width: 768px) {
    .text-content {
        font-size: calc(var(--font-size, 48px) * 0.6);
        padding: 15px;
    }
}