/* 
 * Psychedelic Header Effects
 * Special animated effects for the website header
 */

/* Geometric Grid Pattern Background */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(178, 0, 145, 0.10);
    background-image: 
        linear-gradient(rgba(178, 0, 145, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(178, 0, 145, 0.2) 1px, transparent 1px),
        linear-gradient(45deg, rgba(178, 0, 145, 0.2) 1px, transparent 1px),
        radial-gradient(rgba(178, 0, 145, 0.25) 2px, transparent 2px),
        repeating-linear-gradient(45deg, rgba(178, 0, 145, 0.2) 0, rgba(178, 0, 145, 0.2) 5px, transparent 5px, transparent 12.5px),
        repeating-linear-gradient(-45deg, rgba(178, 0, 145, 0.2) 0, rgba(178, 0, 145, 0.2) 5px, transparent 5px, transparent 12.5px),
        repeating-conic-gradient(rgba(178, 0, 145, 0.25) 0% 25%, transparent 25% 50%);
    background-size: 
        30px 30px,
        30px 30px,
        60px 60px,
        90px 90px,
        60px 60px,
        60px 60px,
        120px 120px;
    background-position: 
        0 0,
        0 0,
        0 0,
        15px 15px,
        0 0,
        0 0,
        0 0;
    opacity: 0.75;
    z-index: 0;
    mix-blend-mode: screen;
    animation: shiftPatterns 20s infinite alternate ease-in-out;
}

@keyframes shiftPatterns {
    0% {
        background-position: 
            0 0,
            0 0,
            0 0,
            15px 15px,
            0 0,
            0 0,
            0 0;
        background-size: 
            30px 30px,
            30px 30px,
            60px 60px,
            90px 90px,
            60px 60px,
            60px 60px,
            120px 120px;
    }
    100% {
        background-position: 
            10px 5px,
            5px 10px,
            15px -5px,
            25px 25px,
            10px -10px,
            -10px 10px,
            20px 20px;
        background-size: 
            35px 35px,
            35px 35px,
            65px 65px,
            95px 95px,
            65px 65px,
            65px 65px,
            125px 125px;
    }
}

/* Animated background shapes */
.header-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(40px);
    z-index: 0;
    mix-blend-mode: screen;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.6) 0%, rgba(255, 106, 0, 0) 70%);
    top: -100px;
    right: 10%;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(80, 0, 255, 0.6) 0%, rgba(80, 0, 255, 0) 70%);
    bottom: -50px;
    left: 5%;
    animation: float 12s ease-in-out infinite alternate;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(178, 0, 144, 0.6) 0%, rgba(178, 0, 144, 0) 70%);
    top: 20%;
    left: 20%;
    animation: float 10s ease-in-out infinite 2s;
}

/* Floating animation */
@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(20px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

/* Header button effects */
.btn-psychedelic {
    background-image: var(--psychedelic-gradient);
    background-size: 200% auto;
    border: none;
    animation: gradientShift 5s ease infinite;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(178, 0, 144, 0.3);
}

.btn-psychedelic:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(178, 0, 144, 0.4);
}

.btn-psychedelic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%) rotate(45deg);
    transition: all 0.6s ease;
}

.btn-psychedelic:hover::before {
    transform: translateX(100%) rotate(45deg);
}

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

/* Glowing header title effect */
.header-title {
    position: relative;
    display: inline-block;
}

.header-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    color: transparent;
    text-shadow: 0 0 15px rgba(178, 0, 144, 0.8);
    animation: pulse-text 3s infinite alternate;
    opacity: 0.7;
}

@keyframes pulse-text {
    0% {
        opacity: 0.3;
        transform: scale(1.01);
    }
    100% {
        opacity: 0.7;
        transform: scale(1.02);
    }
}