body {
    background-color: #020406;
    color: #f1f5f9;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.8) 160%);
    z-index: 100;
}

.glass-card {
    background: rgba(12, 17, 23, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- MERCURY NAME SHIMMER --- */
.name-container {
    position: relative;
    display: inline-block;
}

.name-shimmer {
    background: linear-gradient(110deg,
            #333 10%,
            #555 25%,
            #fff 48%,
            #fff 52%,
            #888 65%,
            #444 80%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: mercuryFlash 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    display: inline-block;
    white-space: nowrap;
    will-change: background-position, transform;
}

@keyframes mercuryFlash {
    0% {
        background-position: -100% center;
        transform: skewX(0deg);
    }

    5% {
        background-position: -100% center;
        transform: skewX(-3deg);
    }

    10% {
        transform: skewX(3deg);
    }

    15% {
        transform: skewX(0deg);
    }

    100% {
        background-position: 100% center;
    }
}

/* --- TIGHTENED DUAL ORBIT VORTEX --- */
.vortex-scene {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
    transform-style: preserve-3d;
    overflow: visible;
}

.orbit-system {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(60deg);
}

.orbit-ring-line {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ring-inner-line {
    width: 300px;
    height: 300px;
}

.ring-outer-line {
    width: 420px;
    height: 420px;
}

.tech-rune-path {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    animation: runeCircularRotate var(--duration) linear infinite;
}

.inner-orbit {
    width: 300px;
    height: 300px;
    margin-top: -150px;
    margin-left: -150px;
}

.outer-orbit {
    width: 420px;
    height: 420px;
    margin-top: -210px;
    margin-left: -210px;
}

.tech-rune-stone {
    position: absolute;
    top: 0;
    left: 50%;
    width: 44px;
    height: 44px;
    background: rgba(5, 7, 12, 0.95);
    border: 1px solid var(--color);
    color: var(--color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 900;
    transform: translate(-50%, -50%) rotateX(-60deg);
    box-shadow: 0 0 20px var(--color), inset 0 0 10px var(--color);
    animation: stoneFloat 4s ease-in-out infinite alternate;
    z-index: 100;
    user-select: none;
}

@keyframes runeCircularRotate {
    from {
        transform: rotateZ(0deg);
    }

    to {
        transform: rotateZ(360deg);
    }
}

@keyframes stoneFloat {
    0% {
        transform: translate(-50%, -50%) rotateX(-60deg) translateZ(10px);
    }

    100% {
        transform: translate(-50%, -50%) rotateX(-60deg) translateZ(-10px);
    }
}

.hero-pfp-vessel {
    position: relative;
    z-index: 10;
    width: 240px;
    height: 240px;
    padding: 5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 100px rgba(99, 102, 241, 0.15);
    animation: vesselFloat 6s ease-in-out infinite;
    transform: translateZ(20px);
}

@keyframes vesselFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

/* --- Pipeline & Reveal --- */
.pipeline-line {
    stroke-dasharray: 10;
    animation: dashMove 35s linear infinite;
}

@keyframes dashMove {
    from {
        stroke-dashoffset: 1000;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.grid-blueprint {
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
}

.animate-reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#modal {
    transition: opacity 0.3s ease;
    background-color: rgba(2, 4, 6, 0.95);
}

.bento-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.12;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.glass-card:hover .bento-glow {
    opacity: 0.25;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #020406;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
}