/* Ultra-Unique Features CSS */

/* Morphing Background */
.morphing-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

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

/* 3D Holographic Cards */
.holo-card {
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
    background-size: 200% 200%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.holo-card::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;
}

.holo-card:hover::before {
    left: 100%;
}

.holo-card:hover {
    transform: rotateY(10deg) rotateX(5deg) translateZ(50px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* Liquid Buttons */
.liquid-btn {
    position: relative;
    padding: 15px 40px;
    border: none;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.liquid-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.liquid-btn:hover::before {
    width: 300px;
    height: 300px;
}

.liquid-btn:active {
    transform: scale(0.95);
}

/* Neural Network Animation */
.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.neuron {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    animation: neuronPulse 3s infinite;
}

.connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: dataFlow 2s infinite;
}

@keyframes neuronPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

@keyframes dataFlow {
    0% { opacity: 0; transform: translateX(-100px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(100px); }
}

/* Quantum Particles */
.quantum-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.quantum-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: quantumFloat 8s infinite linear;
}

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

/* Holographic Text */
.holo-text {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: holoShimmer 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255,255,255,0.5);
}

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

/* Magnetic Field Effect */
.magnetic-container {
    position: relative;
    cursor: none;
}

.magnetic-element {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ff6b6b, transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: white;
    font-size: 4em;
    letter-spacing: 5px;
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-anim 0.5s infinite linear alternate-reverse;
    color: #ff00c1;
    z-index: -1;
}

.glitch::after {
    animation: glitch-anim2 1s infinite linear alternate-reverse;
    color: #00fff9;
    z-index: -2;
}

@keyframes glitch-anim {
    0% { clip: rect(42px, 9999px, 44px, 0); }
    25% { clip: rect(12px, 9999px, 59px, 0); }
    50% { clip: rect(85px, 9999px, 140px, 0); }
    75% { clip: rect(63px, 9999px, 21px, 0); }
    100% { clip: rect(26px, 9999px, 99px, 0); }
}

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

.matrix-column {
    position: absolute;
    top: -100%;
    color: #0f0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    animation: matrixFall 3s linear infinite;
}

@keyframes matrixFall {
    to { top: 100%; }
}

/* Neon Glow Effects */
.neon-border {
    border: 2px solid #fff;
    border-radius: 10px;
    box-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 15px #0073e6,
        0 0 20px #0073e6,
        0 0 35px #0073e6,
        0 0 40px #0073e6;
    animation: neonFlicker 1.5s infinite alternate;
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Cyberpunk Grid */
.cyber-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    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: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* DNA Helix Animation */
.dna-helix {
    position: relative;
    width: 100px;
    height: 200px;
    margin: 0 auto;
}

.dna-strand {
    position: absolute;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #ff6b6b, #4ecdc4);
    border-radius: 2px;
    animation: dnaRotate 3s infinite linear;
}

.dna-strand:nth-child(1) { left: 20px; }
.dna-strand:nth-child(2) { right: 20px; animation-delay: 1.5s; }

@keyframes dnaRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Plasma Effect */
.plasma-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, #ff6b6b 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, #4ecdc4 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, #45b7d1 0%, transparent 50%);
    animation: plasmaMove 10s ease-in-out infinite;
    filter: blur(40px);
    opacity: 0.7;
}

@keyframes plasmaMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.1) rotate(120deg); }
    66% { transform: scale(0.9) rotate(240deg); }
}

/* Unique Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 9999;
    animation: scrollProgress linear;
    animation-timeline: scroll();
}

/* Floating Action Bubble */
.floating-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    animation: bubbleFloat 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

/* Unique Loading Animation */
.unique-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-dna {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader-dna::before,
.loader-dna::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6b6b;
    animation: dnaLoader 1.5s infinite ease-in-out;
}

.loader-dna::after {
    background: #4ecdc4;
    animation-delay: 0.75s;
}

@keyframes dnaLoader {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1);
    }
    25% {
        transform: translateX(40px) translateY(-20px) scale(0.5);
    }
    50% {
        transform: translateX(40px) translateY(20px) scale(1);
    }
    75% {
        transform: translateX(0) translateY(40px) scale(0.5);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .holo-card:hover {
        transform: translateY(-10px);
    }
    
    .glitch {
        font-size: 2em;
    }
    
    .floating-bubble {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}