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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body {
    background: #0a1628;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
}

.circuit-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

svg {
    width: 100%;
    height: 100%;
}

.circuit-line {
    stroke: #1e4d7b;
    stroke-width: 2;
    fill: none;
}

.circuit-node {
    fill: #2dd4bf;
    filter: drop-shadow(0 0 3px #2dd4bf);
    animation: pulse 2s ease-in-out infinite;
}

.circuit-node:nth-child(2n) {
    animation-delay: 0.5s;
}

.circuit-node:nth-child(3n) {
    animation-delay: 1s;
}

.circuit-node:nth-child(4n) {
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        filter: drop-shadow(0 0 3px #2dd4bf);
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 8px #2dd4bf) drop-shadow(0 0 12px #2dd4bf);
    }
}

.particle {
    fill: #2dd4bf;
    opacity: 0;
    r: 2;
    filter: drop-shadow(0 0 4px #2dd4bf);
}

.particle-1 {
    animation: moveParticle1 4s linear infinite;
}

.particle-2 {
    animation: moveParticle2 5s linear infinite;
    animation-delay: 1s;
}

.particle-3 {
    animation: moveParticle3 4.5s linear infinite;
    animation-delay: 2s;
}

.particle-4 {
    animation: moveParticle4 5.5s linear infinite;
    animation-delay: 0.5s;
}

.particle-5 {
    animation: moveParticle5 4s linear infinite;
    animation-delay: 1.5s;
}

@keyframes moveParticle1 {
    0% { cx: 0; cy: 100; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 900; cy: 100; opacity: 0; }
}

@keyframes moveParticle2 {
    0% { cx: 0; cy: 300; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 800; cy: 300; opacity: 0; }
}

@keyframes moveParticle3 {
    0% { cx: 0; cy: 500; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 850; cy: 500; opacity: 0; }
}

@keyframes moveParticle4 {
    0% { cx: 300; cy: 100; opacity: 0; }
    10% { opacity: 1; }
    50% { cx: 300; cy: 200; }
    90% { opacity: 1; }
    100% { cx: 300; cy: 400; opacity: 0; }
}

@keyframes moveParticle5 {
    0% { cx: 600; cy: 100; opacity: 0; }
    10% { opacity: 1; }
    40% { cx: 600; cy: 250; }
    90% { opacity: 1; }
    100% { cx: 600; cy: 400; opacity: 0; }
}

.name {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 700;
    color: #1a1a1a;
    cursor: default;
    user-select: none;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 10;
    transition: color 0.3s ease;
    text-shadow:
        1px 1px 0 #0a0a0a,
        2px 2px 0 #0a0a0a,
        3px 3px 0 #0a0a0a,
        4px 4px 0 #0a0a0a,
        5px 5px 0 #0a0a0a,
        6px 6px 8px rgba(0, 0, 0, 0.8);
}

.name:hover {
    color: #2a2a2a;
    text-shadow:
        1px 1px 0 #151515,
        2px 2px 0 #151515,
        3px 3px 0 #151515,
        4px 4px 0 #151515,
        5px 5px 0 #151515,
        6px 6px 0 #151515,
        7px 7px 0 #151515,
        8px 8px 12px rgba(0, 0, 0, 0.9);
}

.name span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.name span.wave {
    animation: wave 0.6s ease-in-out;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-2deg);
    }
    75% {
        transform: translateY(8px) rotate(2deg);
    }
}
