body {
    margin: 0;
    font-family: Arial;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    overflow: hidden;
}

/* floating animation background */
body::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, #38bdf8 2px, transparent 3px);
    background-size: 50px 50px;
    animation: move 20s linear infinite;
    opacity: 0.2;
}

@keyframes move {
    from { transform: translate(0,0); }
    to { transform: translate(-50px,-50px); }
}

/* Header */
header {
    text-align: center;
    padding: 20px;
    font-size: 28px;
    color: #38bdf8;
    font-weight: bold;
}

/* Container */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

/* Card */
.card {
    background: rgba(30,41,59,0.9);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 300px;
    animation: pop 0.8s ease;
}

@keyframes pop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* Inputs */
input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 6px;
    outline: none;
}

/* Button */
button {
    padding: 10px 15px;
    background: #38bdf8;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background: white;
}

/* Success */
#success {
    display: none;
    margin-top: 10px;
    background: gold;
    color: black;
    padding: 10px;
    border-radius: 6px;
    animation: fade 0.5s ease;
}

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}