/* 2090 Protocol - Temporal Distortion Override */
/* Quantum Node Button */
.quantum-node {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--accent);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--accent);
    font-size: 0.8rem;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.quantum-node:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
    background: rgba(0, 255, 255, 0.1);
    color: #fff;
    text-shadow: 0 0 10px #fff;
}

.node-core {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(10px);
    animation: pulseCore 2s infinite;
}

.node-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed var(--accent);
    animation: spinRing 5s linear infinite;
}

@keyframes pulseCore {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes spinRing {
    100% {
        transform: rotate(360deg);
    }
}

/* ==================================================
   THE 2090 OVERRIDE EFFECTS
   ================================================== */
body.year-2090 {
    --bg-dark: #000000;
    --bg-darker: #000000;
    --text-main: #00ff41;
    /* Matrix Green */
    --text-muted: #008f11;
    --primary: #ff00ff;
    /* Cyberpunk Pink */
    --accent: #00ffff;
    /* Cyan */
    --glass: rgba(0, 255, 65, 0.05);
    --glass-border: rgba(0, 255, 65, 0.5);

    font-family: 'Courier New', Courier, monospace !important;
    text-shadow: 2px 0 0 rgba(255, 0, 0, 0.5), -2px 0 0 rgba(0, 255, 255, 0.5);
    animation: crtFlicker 0.15s infinite;
}

body.year-2090 * {
    transition: background 0.5s, border 0.5s, color 0.5s, box-shadow 0.5s;
}

/* Wireframe everything */
body.year-2090 .glass-card,
body.year-2090 .btn-premium,
body.year-2090 .project-card,
body.year-2090 .service-card,
body.year-2090 .stat-box {
    background: transparent !important;
    backdrop-filter: none !important;
    border: 1px solid var(--text-main) !important;
    box-shadow: 0 0 15px var(--text-main) inset !important;
    border-radius: 0 !important;
}

/* CRT Scanlines Overlay */
body.year-2090::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 9999;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

/* Glitch Animation for Titles */
@keyframes crtFlicker {
    0% {
        opacity: 0.95;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.98;
    }
}

@keyframes glitch-anim {
    0% {
        clip-path: inset(10% 0 10% 0);
        transform: translate(-2px, 2px);
    }

    20% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, -2px);
    }

    40% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(-2px, 2px);
    }

    60% {
        clip-path: inset(20% 0 60% 0);
        transform: translate(2px, -2px);
    }

    80% {
        clip-path: inset(90% 0 2% 0);
        transform: translate(-2px, 2px);
    }

    100% {
        clip-path: inset(30% 0 50% 0);
        transform: translate(2px, -2px);
    }
}

body.year-2090 h1,
body.year-2090 h2,
body.year-2090 h3 {
    position: relative;
    font-family: inherit !important;
    color: var(--primary) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

body.year-2090 .hero-title::before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    text-shadow: 1px 0 var(--accent);
    top: 0;
    color: white;
    background: black;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

/* Matrix Crosshair Cursor */
body.year-2090 .cursor-dot {
    width: 25px;
    height: 25px;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 0;
    transform: translate(-50%, -50%) rotate(45deg);
    mix-blend-mode: difference;
}

body.year-2090 .cursor-outline {
    width: 60px;
    height: 60px;
    border: 1px dashed var(--text-main);
    border-radius: 0;
    animation: spinRing 2s linear infinite;
    background: transparent;
}

/* Cybernetic Image Processing */
body.year-2090 img:not(.logo-symbol) {
    filter: hue-rotate(90deg) invert(0.8) contrast(200%) grayscale(0.2) !important;
    border: 1px solid var(--primary);
}

/* Button overrides */
body.year-2090 .btn-primary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary) inset;
    border-radius: 0;
    text-transform: uppercase;
    font-family: 'Courier New', Courier, monospace;
}

body.year-2090 .btn-primary:hover {
    background: var(--primary);
    color: #000;
}

body.year-2090 .quantum-node span {
    color: white;
    font-size: 0.6rem;
}