* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000000;
    overflow: hidden;
    cursor: none;
}

#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.content-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.site-title {
    font-size: clamp(1.2rem, 4.8vw, 3.6rem);
    font-weight: 100;
    letter-spacing: 0.3em;
    color: #5f7e9c;
    text-transform: lowercase;
    position: relative;
    animation: titleGlow 4s ease-in-out infinite;
    text-shadow: 
        0 0 10px rgba(95, 126, 156, 0.5),
        0 0 20px rgba(95, 126, 156, 0.3),
        0 0 30px rgba(95, 126, 156, 0.2),
        0 0 40px rgba(95, 126, 156, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.site-title:hover {
    color: transparent;
    transform: scale(1.02);
}

.site-title:hover::after {
    content: "[ join ]";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #7ba4d4;
    font-size: 0.9em;
    font-weight: 300;
    letter-spacing: 0.4em;
    opacity: 1;
    white-space: nowrap;
    text-shadow: 
        0 0 15px rgba(123, 164, 212, 0.9),
        0 0 30px rgba(123, 164, 212, 0.7),
        0 0 45px rgba(123, 164, 212, 0.5);
    animation: joinPulse 5.5s ease-in-out infinite;
    background: linear-gradient(45deg, #7ba4d4, #5f7e9c, #7ba4d4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: joinPulse 5.5s ease-in-out infinite, gradientShift 3s ease-in-out infinite;
}

/* Add subtle pulsing to entice hovering */
.site-title::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border: 1px solid rgba(95, 126, 156, 0.05);
    border-radius: 50%;
    opacity: 0;
    animation: subtlePulse 10s ease-in-out infinite;
    pointer-events: none;
}

.site-title:hover::after {
    content: "[ enter ]";
    border: none;
    width: auto;
    height: auto;
    border-radius: 0;
    animation: joinPulse 1.5s ease-in-out infinite, gradientShift 3s ease-in-out infinite;
}

.site-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    background: linear-gradient(45deg, #5f7e9c, #000000, #5f7e9c);
    background-clip: text;
    -webkit-background-clip: text;
    opacity: 0;
}

@keyframes titleGlow {
    0%, 100% {
        opacity: 0.9;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

@keyframes joinPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.01);
        opacity: 0.95;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes subtlePulse {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.15;
        transform: translate(-50%, -50%) scale(1.05);
    }
}



.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #5f7e9c;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    animation: cursorPulse 2s ease-in-out infinite;
}

.cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background-color: #5f7e9c;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
}

@keyframes cursorPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.fade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 3;
    pointer-events: none;
}

@media (max-width: 768px) {
    .site-title {
        letter-spacing: 0.2em;
    }
    .custom-cursor,
    .cursor-dot {
        display: none;
    }
    body {
        cursor: auto;
    }
} 