/* RESET */
/*body {
    margin: 0;
    font-family: monospace;
    color: #00ffcc;
    overflow: hidden;
}*/


body {
    margin: 0;
    font-family: monospace;
    color: #00ffcc;

    background-image: url("/games/wirefly/images/nebula.png");
    background-size: cover;          /* fills screen */
    background-position: center;     /* keeps focus centered */
    background-repeat: no-repeat;
    background-attachment: fixed;    /* subtle parallax feel */
    overflow-x: visible;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.6); /* darkens image */
    z-index: 0;
}


body::after {
    content: "";
    position: fixed;
    inset: 0;

    background: radial-gradient(circle at 30% 40%, rgba(255,140,80,0.2), transparent 40%),
                radial-gradient(circle at 70% 60%, rgba(0,255,200,0.15), transparent 40%);
    z-index: 0;
}


body {
    animation: slowZoom 60s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from { background-size: 100%; }
    to   { background-size: 110%; }
}


.background {
    /*position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    */
    position: relative;
    z-index: 1;
    
}



/* CONTAINER */

.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: 100vh;*/
    margin-top: 5px;
    position: relative;
    z-index: 2;
}

/* BOX */

.register-box {
    background: rgba(0, 10, 20, 0.85);
    border: 1px solid #00ffcc;
    padding: 40px;
    width: 320px;
    text-align: center;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 20px rgba(0,255,200,0.2);
}

/* LOGO */

.logo {
    font-size: 36px;
    margin-bottom: 10px;
}

.tagline {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
}

/* FORM */

.register-box input {
    width: 93%;
    margin-bottom: 15px;
    padding: 10px;
    background: black;
    border: 1px solid #00ffcc;
    color: #00ffcc;
}

/* BUTTON */

.register-box button {
    width: 100%;
    padding: 10px;
    background: #00aa88;
    border: none;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.register-box button:hover {
    background: #00ccaa;
}

/* LINK */

.login-link {
    margin-top: 15px;
    font-size: 12px;
}

.login-link a {
    color: #00ffcc;
}

/* 📱 MOBILE */

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}

@media (max-width: 500px) {
    .register-box {
        width: 85%;
        padding: 25px;
    }

    .logo {
        font-size: 28px;
    }

    body {
        background-repeat: repeat;
    }
}