* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    background: #0a0a0f;
    color: white;
    overflow-x: hidden;
    position: relative;
}

.network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 35%, #0f3460 100%);
}

.network-grid {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    opacity: 0.8;
}

.net-node {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 6px #ffffff, 0 0 12px #ffffff;
    animation: nodeGlow 4s ease-in-out infinite;
}

.net-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    transform-origin: left center;
    animation: lineFlow 6s linear infinite;
    opacity: 0.3;
}

.net-node:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.net-node:nth-child(2) { top: 15%; left: 35%; animation-delay: 0.5s; }
.net-node:nth-child(3) { top: 12%; left: 55%; animation-delay: 1s; }
.net-node:nth-child(4) { top: 18%; left: 75%; animation-delay: 1.5s; }
.net-node:nth-child(5) { top: 25%; left: 10%; animation-delay: 2s; }
.net-node:nth-child(6) { top: 28%; left: 30%; animation-delay: 2.5s; }
.net-node:nth-child(7) { top: 22%; left: 50%; animation-delay: 3s; }
.net-node:nth-child(8) { top: 26%; left: 70%; animation-delay: 3.5s; }
.net-node:nth-child(9) { top: 32%; left: 90%; animation-delay: 4s; }
.net-node:nth-child(10) { top: 40%; left: 8%; animation-delay: 0.3s; }
.net-node:nth-child(11) { top: 38%; left: 25%; animation-delay: 0.8s; }
.net-node:nth-child(12) { top: 35%; left: 45%; animation-delay: 1.3s; }
.net-node:nth-child(13) { top: 42%; left: 65%; animation-delay: 1.8s; }
.net-node:nth-child(14) { top: 45%; left: 85%; animation-delay: 2.3s; }
.net-node:nth-child(15) { top: 55%; left: 12%; animation-delay: 2.8s; }
.net-node:nth-child(16) { top: 52%; left: 32%; animation-delay: 3.3s; }
.net-node:nth-child(17) { top: 58%; left: 52%; animation-delay: 3.8s; }
.net-node:nth-child(18) { top: 48%; left: 72%; animation-delay: 4.3s; }
.net-node:nth-child(19) { top: 62%; left: 18%; animation-delay: 0.7s; }
.net-node:nth-child(20) { top: 65%; left: 38%; animation-delay: 1.2s; }
.net-node:nth-child(21) { top: 68%; left: 58%; animation-delay: 1.7s; }
.net-node:nth-child(22) { top: 72%; left: 78%; animation-delay: 2.2s; }
.net-node:nth-child(23) { top: 78%; left: 15%; animation-delay: 2.7s; }
.net-node:nth-child(24) { top: 75%; left: 35%; animation-delay: 3.2s; }
.net-node:nth-child(25) { top: 82%; left: 55%; animation-delay: 3.7s; }
.net-node:nth-child(26) { top: 85%; left: 75%; animation-delay: 4.2s; }

.net-line:nth-child(27) { top: 10%; left: 15%; width: 200px; transform: rotate(25deg); animation-delay: 0s; }
.net-line:nth-child(28) { top: 15%; left: 35%; width: 180px; transform: rotate(-15deg); animation-delay: 1s; }
.net-line:nth-child(29) { top: 12%; left: 55%; width: 220px; transform: rotate(45deg); animation-delay: 2s; }
.net-line:nth-child(30) { top: 25%; left: 10%; width: 190px; transform: rotate(10deg); animation-delay: 0.5s; }
.net-line:nth-child(31) { top: 28%; left: 30%; width: 160px; transform: rotate(-30deg); animation-delay: 1.5s; }
.net-line:nth-child(32) { top: 22%; left: 50%; width: 210px; transform: rotate(60deg); animation-delay: 2.5s; }
.net-line:nth-child(33) { top: 40%; left: 8%; width: 170px; transform: rotate(-5deg); animation-delay: 3s; }
.net-line:nth-child(34) { top: 38%; left: 25%; width: 200px; transform: rotate(20deg); animation-delay: 0.8s; }
.net-line:nth-child(35) { top: 35%; left: 45%; width: 180px; transform: rotate(-40deg); animation-delay: 1.8s; }
.net-line:nth-child(36) { top: 55%; left: 12%; width: 190px; transform: rotate(35deg); animation-delay: 2.8s; }
.net-line:nth-child(37) { top: 52%; left: 32%; width: 160px; transform: rotate(-20deg); animation-delay: 3.8s; }
.net-line:nth-child(38) { top: 62%; left: 18%; width: 200px; transform: rotate(15deg); animation-delay: 0.3s; }
.net-line:nth-child(39) { top: 68%; left: 58%; width: 170px; transform: rotate(-35deg); animation-delay: 1.3s; }
.net-line:nth-child(40) { top: 78%; left: 15%; width: 220px; transform: rotate(50deg); animation-delay: 2.3s; }
.net-line:nth-child(41) { top: 75%; left: 35%; width: 180px; transform: rotate(-10deg); animation-delay: 3.3s; }

@keyframes nodeGlow {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
        box-shadow: 0 0 6px #ffffff, 0 0 12px #ffffff;
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
        box-shadow: 0 0 12px #ffffff, 0 0 24px #ffffff, 0 0 36px #ffffff;
    }
}

@keyframes lineFlow {
    0% {
        opacity: 0.2;
        transform: scaleX(0.5);
    }
    50% {
        opacity: 0.6;
        transform: scaleX(1.2);
    }
    100% {
        opacity: 0.1;
        transform: scaleX(0.3);
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.neural-network {
    display: none;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    filter: blur(1px);
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3), transparent);
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.3), transparent);
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    background: radial-gradient(circle, rgba(255, 255, 0, 0.3), transparent);
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 25%;
    animation-delay: 1s;
    background: radial-gradient(circle, rgba(0, 255, 127, 0.3), transparent);
}

.shape-5 {
    width: 90px;
    height: 90px;
    top: 40%;
    left: 60%;
    animation-delay: 3s;
    background: radial-gradient(circle, rgba(127, 0, 255, 0.3), transparent);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(-30px) rotate(120deg) scale(1.2);
    }
    66% {
        transform: translateY(30px) rotate(240deg) scale(0.8);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ff9f43, #ee5a52);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    font-weight: 300;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
    perspective: 1000px;
}

.project-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(135deg, 
        rgba(20, 20, 60, 0.9) 0%,
        rgba(30, 30, 80, 0.8) 35%,
        rgba(15, 35, 90, 0.7) 70%,
        rgba(10, 40, 100, 0.6) 100%
    );
    backdrop-filter: blur(25px) saturate(1.2);
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 2rem;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    animation: cardEntrance 1.2s cubic-bezier(0.23, 1, 0.320, 1) backwards;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.project-card:nth-child(1) { 
    animation-delay: 0.1s;
    --card-color: #ff6b6b;
}
.project-card:nth-child(2) { 
    animation-delay: 0.25s;
    --card-color: #4ecdc4;
}
.project-card:nth-child(3) { 
    animation-delay: 0.4s;
    --card-color: #45b7d1;
}
.project-card:nth-child(4) { 
    animation-delay: 0.55s;
    --card-color: #96ceb4;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent 20%,
        var(--card-color, #64c8ff) 30%,
        transparent 40%,
        transparent 60%,
        var(--card-color, #64c8ff) 70%,
        transparent 80%
    );
    background-size: 400% 400%;
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    animation: borderFlow 3s linear infinite;
    transition: opacity 0.5s ease;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.3) 0%, 
        var(--card-color, #64c8ff) 20%, 
        transparent 70%
    );
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: -1;
    opacity: 0;
}

.project-card:hover {
    transform: 
        translateY(-20px) 
        rotateX(8deg) 
        rotateY(5deg) 
        scale3d(1.1, 1.08, 1.1);
    box-shadow: 
        0 35px 80px rgba(0, 0, 0, 0.6),
        0 20px 40px rgba(var(--card-color, 100, 200, 255), 0.3),
        0 0 60px rgba(var(--card-color, 100, 200, 255), 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    border-color: rgba(var(--card-color, 100, 200, 255), 0.8);
    background: linear-gradient(135deg,
        rgba(25, 25, 70, 0.95) 0%,
        rgba(35, 35, 90, 0.9) 35%,
        rgba(20, 40, 100, 0.85) 70%,
        rgba(15, 45, 110, 0.8) 100%
    );
}

.project-card:hover::before {
    opacity: 1;
    animation-duration: 1.5s;
}

.project-card:hover::after {
    width: 300px;
    height: 300px;
    opacity: 0.6;
}

.project-card:active {
    transform: 
        translateY(-15px) 
        rotateX(4deg) 
        rotateY(2deg) 
        scale3d(1.05, 1.03, 1.05);
    transition: all 0.15s ease-out;
}

.card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    transform-style: preserve-3d;
}

.project-card:hover .card-content {
    transform: translateZ(30px) translateY(-5px);
}

.icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    transform-style: preserve-3d;
    position: relative;
}

.icon::before {
    content: attr(data-icon);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        var(--card-color, #64c8ff), 
        rgba(255, 255, 255, 0.8)
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transition: all 0.5s ease;
    transform: scale(1.1);
}

.project-card:hover .icon {
    transform: 
        translateZ(20px) 
        scale(1.3) 
        rotateY(15deg) 
        rotateX(-10deg);
    text-shadow: 
        0 0 30px rgba(var(--card-color, 100, 200, 255), 0.8),
        0 0 60px rgba(var(--card-color, 100, 200, 255), 0.6);
    animation: iconPulse 2s ease-in-out infinite;
}

.project-card:hover .icon::before {
    opacity: 1;
}

.project-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #fff;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    position: relative;
}

.project-name::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--card-color, #64c8ff), 
        transparent
    );
    transition: all 0.5s ease;
    transform: translateX(-50%);
}

.project-card:hover .project-name {
    color: rgba(255, 255, 255, 0.95);
    transform: translateZ(15px) scale(1.05);
    text-shadow: 
        0 0 20px rgba(var(--card-color, 100, 200, 255), 0.8),
        0 2px 15px rgba(0, 0, 0, 0.7);
}

.project-card:hover .project-name::before {
    width: 100%;
}

.project-description {
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.4;
    transition: all 0.5s ease;
    letter-spacing: 0.3px;
}

.project-card:hover .project-description {
    opacity: 1;
    transform: translateZ(10px);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.card-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    border-radius: 25px;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--card-color, #64c8ff);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 3s linear infinite;
}

.project-card:hover .particle {
    opacity: 0.8;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 0.3s; }
.particle:nth-child(3) { left: 30%; animation-delay: 0.6s; }
.particle:nth-child(4) { left: 40%; animation-delay: 0.9s; }
.particle:nth-child(5) { left: 50%; animation-delay: 1.2s; }
.particle:nth-child(6) { left: 60%; animation-delay: 1.5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 1.8s; }
.particle:nth-child(8) { left: 80%; animation-delay: 2.1s; }
.particle:nth-child(9) { left: 90%; animation-delay: 2.4s; }

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--card-color, #64c8ff) 30deg,
        transparent 60deg,
        transparent 180deg,
        var(--card-color, #64c8ff) 210deg,
        transparent 240deg,
        transparent 360deg
    );
    opacity: 0;
    transition: all 0.8s ease;
    pointer-events: none;
    z-index: -2;
    border-radius: 50%;
}

.project-card:hover .card-glow {
    opacity: 0.4;
    animation: rotateGlow 4s linear infinite;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(80px) rotateX(-30deg) scale(0.8);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-10px) rotateX(5deg) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
    }
}

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

@keyframes iconPulse {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 35px rgba(var(--card-color, 100, 200, 255), 0.8));
    }
}

@keyframes particleFloat {
    0% {
        bottom: -5px;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateX(5px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateX(-5px) scale(1);
    }
    100% {
        bottom: 105%;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.pulse-wave {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 2px;
    background: #00ffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulseWave 4s linear infinite;
    z-index: -1;
}

@keyframes pulseWave {
    0% {
        width: 2px;
        height: 2px;
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.8);
    }
    100% {
        width: 2000px;
        height: 2000px;
        opacity: 0;
        box-shadow: 0 0 0 500px rgba(0, 255, 255, 0);
    }
}

.project-card .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(var(--card-color, 100, 200, 255), 0.6);
    transform: scale(0);
    animation: rippleEffect 0.8s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.magnetic-field {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: 25px;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(var(--card-color, 100, 200, 255), 0.1) 0%,
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .magnetic-field {
    opacity: 1;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        perspective: 800px;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .header {
        margin-bottom: 2rem;
    }
    
    .project-card:hover {
        transform: translateY(-15px) scale(1.05);
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        perspective: 600px;
    }
    
    .project-card {
        padding: 1.2rem;
    }
    
    .icon {
        font-size: 2.8rem;
    }
    
    .project-name {
        font-size: 1.4rem;
    }
    
    .project-card:hover {
        transform: translateY(-10px) scale(1.03);
    }
}

.advanced-hover-effects {
    position: relative;
    overflow: hidden;
}

.holographic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: 3;
}

.project-card:hover .holographic-overlay {
    transform: translateX(100%);
}

.quantum-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover .quantum-dots {
    opacity: 1;
}

.dot {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--card-color, #64c8ff);
    border-radius: 50%;
    animation: quantumFloat 4s ease-in-out infinite;
}

.dot:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.dot:nth-child(2) { top: 30%; left: 85%; animation-delay: 0.5s; }
.dot:nth-child(3) { top: 60%; left: 25%; animation-delay: 1s; }
.dot:nth-child(4) { top: 80%; left: 70%; animation-delay: 1.5s; }
.dot:nth-child(5) { top: 40%; left: 60%; animation-delay: 2s; }
.dot:nth-child(6) { top: 70%; left: 40%; animation-delay: 2.5s; }
.dot:nth-child(7) { top: 10%; left: 50%; animation-delay: 3s; }
.dot:nth-child(8) { top: 90%; left: 80%; animation-delay: 3.5s; }

@keyframes quantumFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(10px, -15px) scale(1.5);
        opacity: 1;
    }
    50% {
        transform: translate(-5px, -25px) scale(0.8);
        opacity: 0.6;
    }
    75% {
        transform: translate(15px, -10px) scale(1.2);
        opacity: 0.9;
    }
}

.energy-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 1px solid var(--card-color, #64c8ff);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.energy-rings::before,
.energy-rings::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid var(--card-color, #64c8ff);
    border-radius: 50%;
    opacity: 0.6;
}

.energy-rings::after {
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    opacity: 0.3;
}

.project-card:hover .energy-rings {
    animation: energyExpand 2s ease-out infinite;
}

@keyframes energyExpand {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

.neural-connections {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover .neural-connections {
    opacity: 1;
}

.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--card-color, #64c8ff),
        transparent
    );
    animation: connectionPulse 3s ease-in-out infinite;
    transform-origin: left center;
}

.connection-line:nth-child(1) {
    top: 25%;
    left: 10%;
    width: 60%;
    transform: rotate(15deg);
    animation-delay: 0s;
}

.connection-line:nth-child(2) {
    top: 60%;
    left: 30%;
    width: 50%;
    transform: rotate(-25deg);
    animation-delay: 0.5s;
}

.connection-line:nth-child(3) {
    top: 80%;
    left: 15%;
    width: 70%;
    transform: rotate(35deg);
    animation-delay: 1s;
}

@keyframes connectionPulse {
    0%, 100% {
        opacity: 0.2;
        transform: scaleX(0.5) rotate(var(--rotation, 0deg));
    }
    50% {
        opacity: 1;
        transform: scaleX(1.2) rotate(var(--rotation, 0deg));
    }
}

.data-stream {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
	top: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.project-card:hover .data-stream {
    opacity: 1;
}

.stream-particle {
    position: absolute;
    width: 1px;
    height: 8px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--card-color, #64c8ff),
        transparent
    );
    animation: streamFlow 2s linear infinite;
}

.stream-particle:nth-child(1) { left: 20%; animation-delay: 0s; }
.stream-particle:nth-child(2) { left: 40%; animation-delay: 0.3s; }
.stream-particle:nth-child(3) { left: 60%; animation-delay: 0.6s; }
.stream-particle:nth-child(4) { left: 80%; animation-delay: 0.9s; }

@keyframes streamFlow {
    0% {
        top: -10px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 110%;
        opacity: 0;
    }
}

.prismatic-border {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 28px;
    background: linear-gradient(
        45deg,
        #ff0080, #ff8c00, #40e0d0, #9400d3, #ff1493, #00ced1
    );
    background-size: 300% 300%;
    opacity: 0;
    z-index: -1;
    animation: prismaticShift 4s ease-in-out infinite;
    transition: opacity 0.5s ease;
}

.project-card:hover .prismatic-border {
    opacity: 0.7;
}

@keyframes prismaticShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    33% {
        background-position: 100% 0%;
    }
    66% {
        background-position: 0% 100%;
    }
}

.force-field {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid transparent;
    border-radius: 30px;
    background: linear-gradient(45deg, transparent, var(--card-color, #64c8ff)) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
    z-index: -1;
}

.project-card:hover .force-field {
    opacity: 0.8;
    transform: scale(1.1);
    animation: forceFieldPulse 2s ease-in-out infinite;
}

@keyframes forceFieldPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(var(--card-color, 100, 200, 255), 0.3),
            inset 0 0 20px rgba(var(--card-color, 100, 200, 255), 0.1);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(var(--card-color, 100, 200, 255), 0.6),
            inset 0 0 40px rgba(var(--card-color, 100, 200, 255), 0.2);
    }
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(var(--card-color, 100, 200, 255), 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--card-color, 100, 200, 255), 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
    z-index: 0;
    border-radius: 25px;
    transform: scale(0.8);
}

.project-card:hover .cyber-grid {
    opacity: 0.4;
    transform: scale(1);
    animation: gridPulse 3s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% {
        background-size: 20px 20px;
    }
    50% {
        background-size: 25px 25px;
    }
}