* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0a0a0a, #013220);
    color: #fff;
    display: flex;
    flex-direction: column; /* make body a column */
}

body {
    justify-content: flex-start; /* push content from top */
    align-items: center;
    padding-bottom: 60px; /* reserve space for footer */
}

.container {
    background: rgba(255,255,255,0.1);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255,215,0,0.2);
    width: 90%;
    max-width: 400px;
    text-align: center;
    backdrop-filter: blur(8px);
    animation: fadeIn 1.2s ease-in-out;
    margin-top: 50px; /* optional spacing from top */
}

.message {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    display: none;
}

.error { background: rgba(255,0,0,0.2); color: #ff4d4d; display:block;}
.success { background: rgba(0,255,0,0.2); color: #00ff99; display:block;}

img {
    width: 70px; height: 70px;
    border-radius: 10px; margin-bottom: 10px;
}

h2 { color: #FFD700; margin-bottom: 25px; font-size: 1.5rem; }

input {
    width: 100%; padding: 12px; margin: 8px 0;
    border: 2px solid #FFD700; border-radius: 8px;
    background: transparent; color: #FFD700; font-size: 14px;
    text-align: center; letter-spacing: 3px;
    outline: none;
}

button {
    background: #FFD700; color: #000; padding: 12px 25px;
    border: none; border-radius: 8px; cursor: pointer;
    font-weight: 600; margin-top: 15px; transition: 0.3s; width: 100%;
}

button:hover { background: #fff; color: #000; }

a { color: #32CD32; text-decoration: none; font-weight: 500; }
a:hover { color: #FFD700; }

footer {
    position: fixed; /* stick footer to bottom */
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: #aaa;
    padding: 10px 0;
    background: rgba(0,0,0,0.3); /* optional semi-transparent background */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
