body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #020617;
    color: #e5e7eb;
    cursor: none;
}

button, a {
    cursor: none;
}

/* Background particles */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
}

/* Floating Icons */
.floating-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none; /* container ignores mouse */
}


.icon {
    position: fixed;
    width: 50px;
    opacity: 0.8;
    filter: drop-shadow(0 0 5px #38bdf8);
    pointer-events: auto;
    transition: transform 0.2s, filter 0.2s;
}

.icon:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px #38bdf8);
}

/* Robot cursor */
#character {
    position: fixed;
    width: 60px;
    height: auto;
    z-index: 9999;
    pointer-events: none;
    left: 100px;
    top: 100px;
}

.click-effect {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #38bdf8;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    box-shadow:
        0 0 5px #38bdf8,
        0 0 10px #38bdf8,
        0 0 20px #38bdf8;
    transform: translate(-50%, -50%);
    animation: clickAnim 0.5s ease-out forwards;
}

.cursor-trail {
    position: fixed;
    width: 10px;
    height: 10px;
    background: rgba(56, 189, 248, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 6px #38bdf8,
        0 0 12px #38bdf8,
        0 0 20px rgba(56,189,248,0.5);
    animation: trailFade 0.45s ease-out forwards;
}

@keyframes trailFade {
    from {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.4);
    }
}

@keyframes clickAnim {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(4);
    }
}

/* Landing Screen */
#landing-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

/* Landing Box */
.landing-content {
    pointer-events: auto;
    z-index: 11;

    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.75);

    padding: 40px 60px;
    border-radius: 12px;
    border: 1px solid #ff2bd6;

    box-shadow:
        0 0 5px rgba(255, 43, 214, 0.4),
        0 0 15px rgba(255, 43, 214, 0.25),
        0 0 30px rgba(255, 43, 214, 0.15);

    text-align: center;
    animation: fadeInScale 1s ease, neonPulse 3s ease-in-out infinite alternate;
}

/* Title */
.landing-content h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 3px;

    background: linear-gradient(
        90deg,
        #38bdf8,
        #a78bfa,
        #ff2bd6,
        #38bdf8
    );

    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 5px rgba(56,189,248,0.8),
        0 0 15px rgba(255,43,214,0.5);

    animation: textShimmer 6s linear infinite;
}

/* Subtitle */
.landing-content p {
    color: #a78bfa;
    margin-bottom: 20px;
}

/* Button */
.glow-button {
    display: inline-block;
    margin: 10px;
    padding: 12px 20px;
    border: 2px solid #38bdf8;
    color: #38bdf8;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
    font-weight: bold;
    background: transparent;
}

.glow-button:hover {
    background-color: #38bdf8;
    color: #020617;
    box-shadow: 0 0 15px #38bdf8, 0 0 30px #38bdf8;
}

/* Loading Circle */
#loading-circle {
    margin: 20px auto;
    width: 40px;
    height: 40px;
    border: 4px solid #1e293b;
    border-top: 4px solid #38bdf8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

/* Animations */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes neonPulse {
    from {
        box-shadow:
            0 0 5px rgba(255, 43, 214, 0.4),
            0 0 15px rgba(255, 43, 214, 0.25),
            0 0 30px rgba(255, 43, 214, 0.15);
    }
    to {
        box-shadow:
            0 0 10px rgba(255, 43, 214, 0.6),
            0 0 25px rgba(255, 43, 214, 0.35),
            0 0 45px rgba(255, 43, 214, 0.2);
    }
}

@keyframes textShimmer {
    0% { background-position: 0%; }
    100% { background-position: 300%; }
}