/* 🚀 FUTURISTIC 2030 CYBERPUNK STYLES 🚀 */

/* ========== GLASS MORPHISM 3.0 ========== */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ========== NEON GLOW EFFECTS ========== */
.neon-border {
    border: 2px solid transparent;
    background: 
        linear-gradient(#0a0a0a, #0a0a0a) padding-box,
        linear-gradient(45deg, #ff00ff, #00ffff) border-box;
    animation: neonBorderPulse 3s ease-in-out infinite;
}

@keyframes neonBorderPulse {
    0%, 100% {
        box-shadow: 
            0 0 10px rgba(255, 0, 255, 0.5),
            0 0 20px rgba(0, 255, 255, 0.5);
    }
    50% {
        box-shadow: 
            0 0 20px rgba(255, 0, 255, 0.8),
            0 0 40px rgba(0, 255, 255, 0.8),
            0 0 60px rgba(255, 0, 255, 0.4);
    }
}

/* ========== HOLOGRAPHIC CARD ========== */
.holo-card {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 0, 255, 0.1) 0%,
        rgba(0, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.holo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 0, 255, 0.3) 50%,
        transparent 70%
    );
    animation: holoShine 3s infinite;
}

@keyframes holoShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* ========== 3D PERSPECTIVE CARDS ========== */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* ========== CYBER GRID BACKGROUND ========== */
.cyber-grid {
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridScroll 20s linear infinite;
}

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

/* ========== FUTURISTIC BUTTONS ========== */
.btn-cyber {
    position: relative;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid #0ff;
    color: #0ff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    overflow: hidden;
    transition: all 0.5s;
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #0ff, transparent);
    transition: left 0.5s;
}

.btn-cyber:hover::before {
    left: 100%;
}

.btn-cyber:hover {
    box-shadow: 
        0 0 20px #0ff,
        0 0 40px #0ff,
        inset 0 0 20px rgba(0, 255, 255, 0.3);
    color: #fff;
    background: rgba(0, 255, 255, 0.1);
}

/* ========== GLITCH EFFECT ========== */
@keyframes glitch {
    0% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(90deg);
    }
    40% {
        transform: translate(-2px, -2px);
        filter: hue-rotate(180deg);
    }
    60% {
        transform: translate(2px, 2px);
        filter: hue-rotate(270deg);
    }
    80% {
        transform: translate(2px, -2px);
        filter: hue-rotate(360deg);
    }
    100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
}

.glitch {
    position: relative;
    animation: glitch 0.3s infinite;
}

/* ========== ENERGY PULSE ========== */
@keyframes energyPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(138, 43, 226, 0.8),
            0 0 40px rgba(138, 43, 226, 0.6),
            inset 0 0 20px rgba(138, 43, 226, 0.3);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(138, 43, 226, 1),
            0 0 80px rgba(138, 43, 226, 0.8),
            0 0 120px rgba(138, 43, 226, 0.6),
            inset 0 0 40px rgba(138, 43, 226, 0.5);
    }
}

.energy-pulse {
    animation: energyPulse 2s infinite;
}

/* ========== PARTICLE BACKGROUND ========== */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #0ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #0ff;
    animation: particleFloat 10s infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* ========== SCAN LINE EFFECT ========== */
@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0ff, transparent);
    animation: scanline 4s linear infinite;
    z-index: 9999;
    pointer-events: none;
}

/* ========== HOLOGRAPHIC SHINE ========== */
.holo-shine {
    position: relative;
    overflow: hidden;
}

.holo-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 20px
    );
    animation: holoSweep 2s linear infinite;
}

@keyframes holoSweep {
    0% { transform: translateX(-50%) translateY(-50%); }
    100% { transform: translateX(0%) translateY(0%); }
}

/* ========== DATA STREAM ========== */
@keyframes dataStream {
    0% {
        background-position: 0 0;
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        background-position: 0 100vh;
        opacity: 0.5;
    }
}

.data-stream {
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.1) 2px,
        rgba(0, 255, 255, 0.1) 4px
    );
    background-size: 100% 20px;
    animation: dataStream 3s linear infinite;
}

/* ========== NEON TEXT ========== */
.neon-text {
    color: #fff;
    text-shadow:
        0 0 7px #fff,
        0 0 10px #fff,
        0 0 21px #fff,
        0 0 42px #0ff,
        0 0 82px #0ff,
        0 0 92px #0ff,
        0 0 102px #0ff,
        0 0 151px #0ff;
    animation: neonFlicker 1.5s infinite alternate;
}

/* ========== MATRIX RAIN ========== */
@keyframes matrixRain {
    0% {
        transform: translateY(-100%);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* ========== PRISMATIC EFFECT ========== */
.prismatic {
    background: linear-gradient(
        124deg,
        #ff2400, #e81d1d, #e8b71d, #e3e81d, #1de840,
        #1ddde8, #2b1de8, #dd00f3, #dd00f3
    );
    background-size: 1800% 1800%;
    animation: prismaticShift 10s ease infinite;
}

@keyframes prismaticShift {
    0% { background-position: 0% 80%; }
    50% { background-position: 100% 20%; }
    100% { background-position: 0% 80%; }
}

/* ========== QUANTUM GLOW ========== */
.quantum-glow {
    box-shadow:
        0 0 10px rgba(138, 43, 226, 0.6),
        0 0 20px rgba(138, 43, 226, 0.4),
        0 0 30px rgba(138, 43, 226, 0.3),
        0 0 40px rgba(75, 0, 130, 0.2),
        inset 0 0 10px rgba(138, 43, 226, 0.3);
}

/* ========== LIQUID METAL ========== */
.liquid-metal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: liquidFlow 4s ease infinite;
}

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