/* ============================================
   WORDART STYLES - Bringing back the classics
   ============================================ */

/* RAINBOW WORDART */
.wordart-rainbow {
    background: linear-gradient(
        45deg,
        #ff0000, #ff8000, #ffff00, #00ff00,
        #00ffff, #0080ff, #8000ff, #ff0080
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow-flow 3s ease infinite;
    text-shadow: none;
    font-weight: bold;
    filter: drop-shadow(4px 4px 0 #000) drop-shadow(-1px -1px 0 #fff);
}

@keyframes rainbow-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* CHROME WORDART */
.wordart-chrome {
    background: linear-gradient(
        180deg,
        #fff 0%,
        #c0c0c0 25%,
        #fff 50%,
        #808080 75%,
        #c0c0c0 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(3px 3px 0 #000);
    font-weight: bold;
    letter-spacing: 2px;
}

/* FIRE WORDART */
.wordart-fire {
    background: linear-gradient(
        180deg,
        #ffff00 0%,
        #ff8800 30%,
        #ff0000 60%,
        #880000 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px #ff0000) drop-shadow(0 0 10px #ff8800);
    font-weight: bold;
    animation: fire-flicker 0.5s infinite alternate;
}

@keyframes fire-flicker {
    0% { filter: drop-shadow(2px 2px 4px #ff0000) drop-shadow(0 0 10px #ff8800); }
    100% { filter: drop-shadow(2px 2px 6px #ff4400) drop-shadow(0 0 15px #ffcc00); }
}

/* GOLD WORDART */
.wordart-gold {
    background: linear-gradient(
        180deg,
        #ffd700 0%,
        #fff 20%,
        #ffd700 40%,
        #b8860b 60%,
        #ffd700 80%,
        #fff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(3px 3px 0 #8b4513);
    font-weight: bold;
    text-transform: uppercase;
}

/* MONEY WORDART */
.wordart-money {
    background: linear-gradient(
        180deg,
        #00ff00 0%,
        #90ee90 25%,
        #00ff00 50%,
        #228b22 75%,
        #00ff00 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(3px 3px 0 #006400);
    font-weight: bold;
    animation: money-shine 2s infinite;
}

@keyframes money-shine {
    0%, 100% { filter: drop-shadow(3px 3px 0 #006400) brightness(1); }
    50% { filter: drop-shadow(3px 3px 0 #006400) brightness(1.2); }
}

/* BLUE WORDART */
.wordart-blue {
    background: linear-gradient(
        180deg,
        #00ffff 0%,
        #0080ff 30%,
        #00ffff 50%,
        #000080 70%,
        #0080ff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(3px 3px 0 #000040);
    font-weight: bold;
}

/* OUTLINE WORDART */
.wordart-outline {
    color: transparent;
    -webkit-text-stroke: 3px #ff0000;
    text-stroke: 3px #ff0000;
    filter: drop-shadow(4px 4px 0 #ffff00);
    font-weight: bold;
}

/* 3D WORDART */
.wordart-3d {
    color: #ff0000;
    text-shadow:
        1px 1px 0 #cc0000,
        2px 2px 0 #aa0000,
        3px 3px 0 #880000,
        4px 4px 0 #660000,
        5px 5px 0 #440000,
        6px 6px 5px rgba(0,0,0,0.5);
    font-weight: bold;
}

/* NEON WORDART */
.wordart-neon {
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #ff00ff,
        0 0 30px #ff00ff,
        0 0 40px #ff00ff,
        0 0 50px #ff00ff;
    animation: neon-pulse 1.5s infinite alternate;
}

@keyframes neon-pulse {
    0% {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px #ff00ff,
            0 0 30px #ff00ff;
    }
    100% {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px #ff00ff,
            0 0 30px #ff00ff,
            0 0 40px #ff00ff,
            0 0 50px #ff00ff,
            0 0 60px #ff00ff;
    }
}

/* WAVE ANIMATION for any wordart */
.wordart-wave {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    25% { transform: translateY(-5px) rotate(0deg); }
    50% { transform: translateY(0) rotate(2deg); }
    75% { transform: translateY(5px) rotate(0deg); }
}

/* GLITCH EFFECT */
.wordart-glitch {
    position: relative;
    color: #fff;
    animation: glitch 1s infinite;
}

.wordart-glitch::before,
.wordart-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wordart-glitch::before {
    color: #ff0000;
    animation: glitch-1 0.5s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.wordart-glitch::after {
    color: #00ffff;
    animation: glitch-2 0.5s infinite;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(3px, -1px); }
    40% { transform: translate(-3px, 1px); }
    60% { transform: translate(1px, 3px); }
    80% { transform: translate(-1px, -3px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 1px); }
    40% { transform: translate(3px, -1px); }
    60% { transform: translate(-1px, -3px); }
    80% { transform: translate(1px, 3px); }
}
