@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', sans-serif;
    box-sizing: border-box;
}

body {
    background: #000B19;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* --- امواج نئونی پس‌زمینه --- */
.bg-wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, #0077ff44, transparent 60%);
    animation: waveMove 10s infinite linear;
    filter: blur(160px);
}
@keyframes waveMove {
    0% { transform: translate(-30%, -20%) rotate(0deg); }
    100% { transform: translate(30%, 20%) rotate(360deg); }
}

.login-box {
    width: 90%;
    max-width: 380px;
    padding: 45px 32px;
    background: rgba(255,255,255,0.08);
    border-radius: 26px;
    backdrop-filter: blur(22px) saturate(200%);
    border: 1px solid #00eaff55;
    text-align: center;
    color: #fff;
    position: relative;
    animation: slideIn 1s ease-out;
    box-shadow: 0 0 40px #00eaff44;
}

@keyframes slideIn {
    0% { opacity: 0; transform: scale(0.7) translateY(40px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.login-box h2 {
    margin-bottom: 35px;
    font-size: 28px;
    font-weight: 700;
    animation: neonText 1.5s infinite alternate;
}

@keyframes neonText {
    from { text-shadow: 0 0 10px #00eaff, 0 0 25px #00eaff55; }
    to   { text-shadow: 0 0 18px #00ffffaa, 0 0 35px #00eaffbb; }
}

/* ورودی‌ها */
.input-box {
    position: relative;
    margin: 32px 0;
}

.input-box input {
    width: 100%;
    padding: 14px 12px;
    background: rgba(255,255,255,0.05);
    border: 2px solid #0096c7aa;
    border-radius: 10px;
    color: #fff;
    font-size: 17px;
    outline: none;
    transition: .35s;
    box-shadow: 0 0 10px transparent;
}

.input-box input:focus {
    border-color: #00eaff;
    box-shadow: 0 0 18px #00eaffaa;
    transform: scale(1.03);
}

/* برچسب‌ها */
.input-box label {
    position: absolute;
    left: 12px;
    top: 14px;
    color: #bfefffaa;
    pointer-events: none;
    transition: .3s;
    background: transparent;
    padding: 0 4px;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label {
    top: -10px;
    font-size: 13px;
    color: #00eaff;
    background: #000B19;
}

/* دکمه */
.btn {
    width: 100%;
    background: linear-gradient(135deg, #00eaff, #0096c7, #00eaff);
    background-size: 300%;
    border: none;
    padding: 15px 0;
    color: #001216;
    font-size: 19px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    animation: gradientFlow 4s infinite linear;
    transition: .35s;
}

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

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px #00eaffaa;
}

/* Orbs Cyber */
.orb {
    position: absolute;
    width: 140px;
    height: 140px;
    background: #00eaff55;
    filter: blur(80px);
    animation: orbFloat 6s infinite alternate ease-in-out;
    border-radius: 50%;
}
.orb:nth-child(1) { top: -30px; left: -30px; }
.orb:nth-child(2) { bottom: -30px; right: -20px; animation-duration: 8s; }

@keyframes orbFloat {
    from { transform: translateY(0px) scale(1); }
    to   { transform: translateY(40px) scale(1.15); }
}

/* موبایل */
@media (max-width: 480px) {
    .login-box { max-width: 340px; padding: 35px 25px; }
    .input-box input { padding: 13px; font-size: 16px; }
    .btn { font-size: 16.5px; padding: 13px; }
}
