:root {
    --accent: #b14dff;
    --accent-dark: #5f00ff;
    --bg-dark: #000000;
    --gradient: linear-gradient(90deg, #7C3AED, #EC4899);
}

body.vexnode-lock {
    overflow: hidden !important;
    height: 100vh;
}

body.vexnode-reveal {
    animation: siteReveal 1.2s ease-out forwards;
}

@keyframes siteReveal {
    from { opacity: 0; transform: scale(1.05); filter: blur(10px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

#intro {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(to right, rgba(177, 77, 255, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(177, 77, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg);
    bottom: -50%;
    animation: gridFlow 12s linear infinite;
}

@keyframes gridFlow {
    from { background-position: 0 0; }
    to { background-position: 0 60px; }
}

.intro-logo {
    font-size: clamp(40px, 10vw, 85px);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 20px;
    z-index: 2;
    opacity: 0;
    animation: logoArrival 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
    text-shadow: 0 0 30px rgba(177, 77, 255, 0.5);
}

@keyframes logoArrival {
    0% { opacity: 0; letter-spacing: 40px; filter: blur(20px); transform: scale(0.9); }
    100% { opacity: 1; letter-spacing: 12px; filter: blur(0); transform: scale(1); }
}

.intro-welcome {
    z-index: 2;
    color: var(--accent);
    font-family: monospace;
    margin-top: 15px;
    font-size: 1.1rem;
    letter-spacing: 4px;
    opacity: 0;
    animation: fadeIn 1s forwards 1.2s;
    width: 600px;
    text-align: center;
}

::-webkit-scrollbar{
    display: none;
}

.intro-a {
    margin-top: 5;
    background: transparent;
    color: var(--accent);
    padding: 12px 30px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0;
    animation: fadeIn 0.8s forwards 1.5s;
    text-decoration: none;
}

.intro-enter-btn {
    margin-top: 30px;
    z-index: 2;
    background: #fff;
    color: #000;
    border: none;
    padding: 16px 45px;
    font-weight: 900;
    letter-spacing: 2px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    cursor: pointer;
    transition: 0.3s;
    opacity: 0;
    animation: fadeIn 0.8s forwards 1.8s;
}

.intro-enter-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.transition-circle {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 10000000;
    pointer-events: none;
}

.transition-circle.active {
    animation: circleBurst 1.5s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}

@keyframes circleBurst {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    60% { transform: translate(-50%, -50%) scale(400); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(400); opacity: 0; }
}