/* Fancy Page Titles - Enhanced Styling with GSAP Animations */

.fancy-page-title {
    font-family: 'Bebas Neue', 'Righteous', 'Oswald', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #00BFFF 0%, #FF007F 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    text-shadow: 0 0 30px rgba(0, 191, 255, 0.3);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fancy-page-title .title-word {
    display: inline-block;
    margin: 0 0.3em;
    position: relative;
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fancy-page-title .title-word::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.3), rgba(255, 0, 127, 0.3));
    filter: blur(20px);
    z-index: -1;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.fancy-page-title .title-word:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.fancy-page-subtitle {
    font-family: 'Oswald', 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 1rem;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fancy-page-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00BFFF, #FF007F, transparent);
    transition: width 0.8s ease;
}

.fancy-page-subtitle.animated::after {
    width: 100%;
}

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

/* Glow Effect */
.fancy-page-title .title-word {
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.5));
    transition: all 0.3s ease;
}

.fancy-page-title .title-word:hover {
    filter: drop-shadow(0 0 20px rgba(255, 0, 127, 0.8));
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .fancy-page-title {
        font-size: 3rem;
        letter-spacing: 0.05em;
    }
    
    .fancy-page-title .title-word {
        margin: 0 0.2em;
    }
    
    .fancy-page-subtitle {
        font-size: 1.2rem;
        letter-spacing: 0.1em;
    }
}

@media (max-width: 576px) {
    .fancy-page-title {
        font-size: 2.5rem;
    }
    
    .fancy-page-subtitle {
        font-size: 1rem;
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.fancy-page-title .title-word.shimmer {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

