/* Upzgrow Digital - Modern Title Effects */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

.text-gradient {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff 0%, #0ea5e9 25%, #ff0080 50%, #00d4ff 75%, #0ea5e9 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    position: relative;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.text-gradient::before {
    content: 'Upzgrow Digital';
    position: absolute;
    top: 0;
    left: 2px;
    color: rgba(255, 0, 128, 0.3);
    z-index: -1;
    animation: glitchRed 4s ease-in-out infinite;
}

.text-gradient::after {
    content: 'Upzgrow Digital';
    position: absolute;
    top: 0;
    left: -2px;
    color: rgba(0, 255, 255, 0.3);
    z-index: -1;
    animation: glitchCyan 4s ease-in-out infinite reverse;
}

.text-gradient:hover {
    transform: scale(1.05);
    text-shadow: 
        0 0 20px rgba(0, 212, 255, 0.8),
        0 0 40px rgba(0, 212, 255, 0.4),
        0 0 60px rgba(0, 212, 255, 0.2);
    animation-duration: 1s;
}

/* Special effect for "Up" in Upzgrow */
.upzgrow-special {
    position: relative;
    display: inline-block;
}

.upzgrow-special .up-effect {
    position: relative;
    display: inline-block;
    animation: upFloat 2s ease-in-out infinite;
}

.upzgrow-special .up-effect::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #00d4ff;
    opacity: 0;
    animation: arrowPulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes glitchRed {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.3;
    }
    10% {
        transform: translateX(-2px);
        opacity: 0.5;
    }
    20% {
        transform: translateX(2px);
        opacity: 0.3;
    }
    30% {
        transform: translateX(-1px);
        opacity: 0.4;
    }
    40% {
        transform: translateX(1px);
        opacity: 0.3;
    }
    50% {
        transform: translateX(0);
        opacity: 0.2;
    }
}

@keyframes glitchCyan {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.3;
    }
    15% {
        transform: translateX(2px);
        opacity: 0.4;
    }
    25% {
        transform: translateX(-2px);
        opacity: 0.5;
    }
    35% {
        transform: translateX(1px);
        opacity: 0.3;
    }
    45% {
        transform: translateX(-1px);
        opacity: 0.4;
    }
    55% {
        transform: translateX(0);
        opacity: 0.2;
    }
}

@keyframes upFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Enhanced footer version */
.copyright .text-gradient {
    font-size: 1rem;
    font-weight: 600;
}

/* Back to main link enhancement */
.back-to-main .text-gradient {
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
}

.back-to-main .text-gradient:hover {
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-gradient {
        font-size: 0.9rem;
    }
    
    .upzgrow-special .up-effect::before {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 10px solid #00d4ff;
    }
}