:root {
    --bg-dark: #121212;
    --text-grey: #cfcfcf;
    --accent-green: #00E676;
    --accent-dim: rgba(0, 230, 118, 0.25);
}

body {
    margin: 0;
    background: var(--bg-dark);
    font-family: 'Montserrat', sans-serif;
    color: var(--text-grey);
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= PARTICLES ================= */

#particle-container {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.4;
}

.binary-bit {
    position: absolute;
    color: var(--accent-dim);
    font-size: 12px;
    animation: floatUp linear infinite;
}

/* ================= CENTER ================= */

.visual-center {
    position: relative;
    width: 300px;
    height: 300px;
}

/* SVG exakt über Logo zentrieren */
.streams-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* ================= STREAMS ================= */

.stream-path {
    fill: none;
    stroke: var(--accent-green);
    stroke-width: 1.3;
    stroke-linecap: round;
    opacity: 0;
}

.stream-node {
    fill: var(--accent-green);
    opacity: 0;
}

/* ================= TEXT ================= */

.logo-container {
    width: 140px;
    height: 160px;
    z-index: 10;
    filter: drop-shadow(0 0 30px rgba(0, 230, 118, 0.2));
}

/* ================= ANIMATION ================= */

@keyframes drawStream {
    0% { stroke-dashoffset: var(--len); opacity: 0; }
    10% { opacity: 1; }
    60% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: var(--len); opacity: 0; }
}

@keyframes nodePulse {
    0%,60% { opacity:0; transform:scale(.4); }
    70% { opacity:1; transform:scale(1.8); }
    100% { opacity:0; }
}

@keyframes floatUp {
    to {
        transform: translateY(-100vh);
        opacity: 0;
    }
}