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

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: linear-gradient(120deg, #7b2ff7, #00c6ff, #ff3e6c);
    background-size: 300% 300%;
    animation: moveGradient 10s infinite alternate ease-in-out;
    padding-top: 70px;
}

@keyframes moveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.auth-container {
    width: 480px;
    max-width: 95%;
    padding: 2.2rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
    animation: floatBox 5s ease-in-out infinite;
    position: relative;
    margin: 70px auto 0 auto;
}

@keyframes floatBox {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.auth-container h2 {
    text-align: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.register-form p {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.9rem;
}

.register-form label {
    color: #eeeeee;
    margin-bottom: 4px;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
}

.register-form input {
    padding: 10px;
    border-radius: 9px;
    border: 2px solid transparent;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.95rem;
    transition: 0.3s;
}

.register-form input:focus {
    border-color: #ff3e6c;
    background: rgba(0,0,0,0.3);
    box-shadow: 0 0 10px #ff3e6c;
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: linear-gradient(45deg, #7b2ff7, #ff3e6c, #00c6ff);
    background-size: 200% 200%;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.4s;
    animation: btnGradient 6s linear infinite;
}

@keyframes btnGradient {
    0% { background-position: left; }
    50% { background-position: right; }
    100% { background-position: left; }
}

button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 0 15px rgba(255,255,255,0.4);
}

.auth-container p {
    color: #ffffffcc;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.83rem;
}

.auth-container a {
    color: #00eaff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.25s;
}

.auth-container a:hover {
    color: #ff3e6c;
    text-shadow: 0 0 10px #ff3e6c;
}

.auth-container::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    top: -50px;
    right: -40px;
    filter: blur(50px);
    animation: glow 6s infinite alternate;
}

@keyframes glow {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.3); opacity: 1; }
}

@media (max-width: 480px) {
    body {
        padding-top: 90px;
    }

    .auth-container {
        width: 92%;
        padding: 1.6rem;
        border-radius: 16px;
        animation: none;
        margin: 90px auto 0 auto;
    }

    .auth-container::before {
        width: 140px;
        height: 140px;
        top: -30px;
        right: -20px;
        filter: blur(40px);
    }

    .auth-container h2 {
        font-size: 1.5rem;
    }

    .register-form label {
        font-size: 0.75rem;
    }

    .register-form input {
        padding: 9px;
        font-size: 0.9rem;
    }

    .auth-container p {
        font-size: 0.75rem;
    }

    button {
        font-size: 1rem;
        padding: 10px;
    }
}
