/* BACKGROUND IMAGE */
body {
    margin: 0;
    padding: 0;
    background: url("assets/fonai/main.png") no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
}

/* DARK OVERLAY */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(2px);
    z-index: 0;
}

/* MAIN CONTAINER – centers login/register */
.main-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* LOGO */
.logo-box {
    text-align: center;
    margin-bottom: 10px;
}

.logo-img {
    width: 230px;
    max-width: 90%;
    animation: fadeIn 1.4s ease;
}

/* LOGIN / REGISTER CARD */
.form-box {
    width: 380px;
    background: rgba(20,20,20,0.88);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
    color: white;
    text-align: center;
    animation: slideIn 0.9s ease;
}

.form-box input, .form-box select {
    width: 100%;
    padding: 10px;
    margin: 6px 0;
    border: none;
    border-radius: 6px;
}

.form-box button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #ff2f2f;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.2s;
}

.form-box button:hover {
    background: #ff0000;
    cursor: pointer;
}

/* TEXT & LINKS */
.desc {
    color: #eee;
    font-size: 14px;
    margin-bottom: 10px;
}

.stats {
    margin-top: 12px;
    font-size: 13px;
    color: #ddd;
}

.register-text, .login-text {
    margin-top: 8px;
    font-size: 14px;
}

a {
    color: #4dabff;
    text-decoration: none;
}

/* ANIMATIONS */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .form-box {
        width: 90%;
    }
}
