@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Inter:wght@300;500&display=swap');


html, body {
    height: 100%;
}

body {
    background: #050505;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    position: relative;
}

/* Canvas Background */
canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
}

/* Glow Background */
.glow-sphere {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: move 10s infinite alternate;
    z-index: 1;
}

/* Center Wrapper */
.page-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Login Box */
.login-box {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: #111;
    border: 1px solid #222;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}


/* Floating Glow in Background */
.glow-sphere {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: move 10s infinite alternate;
}

@keyframes move {
    from { transform: translate(-20%, -20%); }
    to { transform: translate(20%, 20%); }
}

.login-box {
    position: relative;
    width: 400px;
    padding: 40px;
    background: #111;
    border: 1px solid #222;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

h2 {
    color: #00f2fe;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 35px;
}

/* Premium Input Fields */
.user-box {
    position: relative;
    margin-bottom: 30px;
}

.user-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: #fff;
    border: none;
    border-bottom: 1px solid #333;
    outline: none;
    background: transparent;
    transition: 0.5s;
}

.user-box label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    color: #666;
    pointer-events: none;
    transition: 0.5s;
}

.user-box input:focus ~ label,
.user-box input:valid ~ label {
    top: -20px;
    left: 0;
    color: #00f2fe;
    font-size: 0.75rem;
    font-weight: bold;
}

.user-box input:focus {
    border-bottom: 1px solid #00f2fe;
}

/* Animated Neon Button */
.submit-btn {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    color: #00f2fe;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: 0.5s;
    letter-spacing: 4px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
}

.submit-btn:hover {
    background: #00f2fe;
    color: #050505;
    border-radius: 5px;
    box-shadow: 0 0 5px #00f2fe, 0 0 25px #00f2fe, 0 0 50px #00f2fe, 0 0 100px #00f2fe;
}

/* Button Border Animation Magic */
.submit-btn span {
    position: absolute;
    display: block;
}

/* TOP */
.submit-btn span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f2fe);
    animation: btn-anim1 1s linear infinite;
}
@keyframes btn-anim1 {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* RIGHT */
.submit-btn span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(380deg, transparent, #00f2fe);
    animation: btn-anim2 1s linear infinite;
    animation-delay: .25s;
}
@keyframes btn-anim2 {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* BOTTOM */
.submit-btn span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #00f2fe);
    animation: btn-anim3 1s linear infinite;
    animation-delay: .5s;
}
@keyframes btn-anim3 {
    0% { right: -100%; }
    100% { right: 100%; }
}

/* LEFT */
.submit-btn span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #00f2fe);
    animation: btn-anim4 1s linear infinite;
    animation-delay: .75s;
}
@keyframes btn-anim4 {
    0% { bottom: -100%; }
    100% { bottom: 100%; }
}

.footer-links {
    margin-top: 25px;
    color: #555;
    font-size: 0.8rem;
}

.footer-links a {
    color: #00f2fe;
    text-decoration: none;
}
