/* Enhanced CSS Styles for Amazing Effects */

/* Glowing Button Effect */
.glow-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glow-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.glow-button:hover::before {
    left: 100%;
}

/* 3D Card Effect */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.6s;
    transform: perspective(1000px);
}

.card-3d:hover {
    transform: perspective(1000px) rotateY(10deg) rotateX(10deg) scale(1.05);
}

/* Neon Text Effect */
.neon-text {
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 15px #0073ff,
        0 0 20px #0073ff,
        0 0 25px #0073ff,
        0 0 30px #0073ff,
        0 0 35px #0073ff;
    animation: neon-flicker 2s infinite;
}

@keyframes neon-flicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Morphing Background */
.morphing-bg {
    background: linear-gradient(270deg, #1e40af, #3b82f6, #60a5fa, #2563eb);
    background-size: 800% 800%;
    animation: morphing 15s ease infinite;
}

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

/* Bouncing Arrow */
.bounce-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Rotating Border */
.rotating-border {
    position: relative;
}

.rotating-border::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 50%;
    z-index: -1;
    animation: rotate-border 3s linear infinite;
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    bottom: 0;
    left: -100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(200%);
    }
}

/* Matrix Rain Effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.matrix-rain span {
    position: absolute;
    top: -100px;
    color: #0f0;
    font-family: monospace;
    font-size: 15px;
    animation: matrix-fall linear infinite;
    opacity: 0;
}

@keyframes matrix-fall {
    0% {
        top: -100px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100vh;
        opacity: 0;
    }
}

/* Liquid Button */
.liquid-button {
    position: relative;
    padding: 20px 40px;
    display: inline-block;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.5s;
}

.liquid-button:hover {
    transform: scale(1.05);
}

.liquid-button span {
    position: relative;
    z-index: 1;
}

.liquid-button .liquid {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 200px;
    background: rgba(255, 165, 0, 0.8);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
}

.liquid-button:hover .liquid {
    top: -120px;
}

.liquid-button .liquid::before,
.liquid-button .liquid::after {
    content: '';
    width: 200%;
    height: 200%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -75%);
    background: #fff;
}

.liquid-button .liquid::before {
    border-radius: 45%;
    animation: wave 5s linear infinite;
}

.liquid-button .liquid::after {
    border-radius: 40%;
    animation: wave 10s linear infinite;
}

@keyframes wave {
    0% {
        transform: translate(-50%, -75%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -75%) rotate(360deg);
    }
}

/* Cyberpunk Grid */
.cyber-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.03) 2px,
            rgba(0, 255, 255, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.03) 2px,
            rgba(0, 255, 255, 0.03) 4px
        );
    animation: cyber-scan 8s linear infinite;
}

@keyframes cyber-scan {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 50px 50px, 50px 50px;
    }
}

/* Holographic Effect */
.holographic {
    background: linear-gradient(
        45deg,
        #ff0080,
        #ff8c00,
        #40e0d0,
        #ff0080,
        #ff8c00,
        #40e0d0
    );
    background-size: 300% 300%;
    animation: holographic-shift 3s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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