

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Press+Start+2P&display=swap');


* {
    box-sizing: border-box;
}

#body {
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 0, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 0, 0.4) 0%, transparent 50%),
        linear-gradient(45deg, #0a0a0a, #1a0a2e, #16213e, #0f3460);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Press Start 2P', monospace;
    color: #00ff00;
    overflow-x: hidden;
}


#fieldDiv {
    background: 
        linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1)),
        radial-gradient(circle at center, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    border: 4px solid #00ffff;
    border-radius: 25px;
    box-shadow: 
        0 0 50px #00ffff,
        inset 0 0 50px rgba(0, 255, 255, 0.1);
    margin: 5% 10%;
    padding: 40px;
    position: relative;
    overflow: hidden;
}


@keyframes neonPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

#head {
    font-family: 'Press Start 2P', monospace;
    font-size: 32px;
    text-align: center;
    color: #ffff00;
    text-shadow: 
        0 0 10px #ffff00,
        0 0 20px #ffff00,
        0 0 30px #ffff00;
    margin: 30px 0;
    letter-spacing: 3px;
    position: relative;
}



#instruct {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    color: #00ffff;
    text-align: center;
    margin: 20px 0 30px 0;
    text-shadow: 0 0 10px #00ffff;
    letter-spacing: 1px;
}


.field, #firstName, #lastName {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    padding: 15px 20px;
    margin: 15px 0;
    border: 2px solid #00ff00;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    box-shadow: 
        0 0 15px #00ff00,
        inset 0 0 15px rgba(0, 255, 0, 0.1);
    text-shadow: 0 0 5px #ffffff;
    transition: all 0.3s ease;
    width: 100%;
}

#firstName, #lastName {
    width: 48%;
    display: inline-block;
    margin-right: 2%;
}

#lastName {
    margin-right: 0;
}

.field:focus, #firstName:focus, #lastName:focus {
    outline: none;
    border-color: #ffff00;
    box-shadow: 
        0 0 25px #ffff00,
        inset 0 0 25px rgba(255, 255, 0, 0.1);
    text-shadow: 0 0 10px #ffff00;
}

.field::placeholder, #firstName::placeholder, #lastName::placeholder {
    color: #888888;
    opacity: 0.8;
    text-shadow: 0 0 3px #888888;
}


.fieldLabel {
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    color: #00ffff;
    display: block;
    margin: 20px 0 5px 0;
    text-shadow: 0 0 10px #00ffff;
    letter-spacing: 1px;
}


.button {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    padding: 20px 40px;
    border: 3px solid;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 30px auto;
    display: block;
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.button:hover::before {
    left: 100%;
}

#loginButton {
    background: linear-gradient(45deg, #00ff00, #32cd32);
    border-color: #00ff00;
    color: #000;
    box-shadow: 
        0 0 25px #00ff00,
        inset 0 0 25px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 5px #000;
}

.button:hover {
    transform: translateY(-5px) scale(1.05);
    animation: buttonGlow 0.5s ease-in-out infinite alternate;
}

@keyframes buttonGlow {
    from { filter: brightness(1); }
    to { filter: brightness(1.3); }
}


#regText, #loginText {
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin: 20px 0 10px 0;
    text-align: center;
    letter-spacing: 1px;
}

#regLink, #loginLink {
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    color: #ffff00;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #ffff00;
    border-radius: 15px;
    background: rgba(255, 255, 0, 0.1);
    display: inline-block;
    margin: 10px;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #ffff00;
    box-shadow: 
        0 0 15px #ffff00,
        inset 0 0 15px rgba(255, 255, 0, 0.1);
}

#regLink:hover, #loginLink:hover {
    background: rgba(255, 255, 0, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 25px #ffff00,
        inset 0 0 25px rgba(255, 255, 0, 0.2);
    text-shadow: 0 0 10px #ffff00;
}


.error {
    display: none;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    color: #ff0066;
    text-shadow: 
        0 0 10px #ff0066,
        0 0 20px #ff0066;
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    background: rgba(255, 0, 102, 0.1);
    border: 2px solid #ff0066;
    border-radius: 8px;
    box-shadow: 0 0 15px #ff0066;
    letter-spacing: 1px;
}





.field:focus, .button:focus, #regLink:focus,
#firstName:focus, #lastName:focus, #loginText:focus, #loginLink:focus {
    outline: none;
}


.field:hover, #firstName:hover, #lastName:hover {
    border-color: #ffff00;
    box-shadow: 
        0 0 20px #ffff00,
        inset 0 0 20px rgba(255, 255, 0, 0.1);
    text-shadow: 0 0 8px #ffff00;
}


@media (max-width: 768px) {
    #head {
        font-size: 20px;
        letter-spacing: 1px;
    }
    
    .field, #firstName, #lastName {
        font-size: 12px;
        padding: 12px 15px;
    }
    
    .button {
        font-size: 10px;
        padding: 15px 30px;
    }
    
    #fieldDiv {
        margin: 5%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    #firstName, #lastName {
        width: 100%;
        margin-right: 0;
    }
    
    #head {
        font-size: 16px;
    }
    
    .button {
        font-size: 8px;
        padding: 12px 25px;
    }
}


@keyframes matrix {
    0% { transform: translateY(-100vh); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.matrix-effect::before {
    content: '01010101';
    position: fixed;
    top: -100px;
    left: 10%;
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    color: #00ff00;
    opacity: 0.3;
    animation: matrix 10s linear infinite;
    pointer-events: none;
    z-index: -1;
}

