body {
margin: 0;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: #2c2c2c;
font-family: Arial, sans-serif;
overflow: hidden;
}
/* Background glowing circles */
.circle {
position: absolute;
border-radius: 50%;
background: radial-gradient(circle, #ff6a00, #ffcc00);
filter: blur(4px);
animation: float 6s ease-in-out infinite alternate;
}
.circle:nth-child(1) {
width: 150px;
height: 150px;
top: 50px;
left: 50px;
}
.circle:nth-child(2) {
width: 100px;
height: 100px;
bottom: 60px;
right: 80px;
background: radial-gradient(circle, #ff3c00, #ffb100);
}
.circle:nth-child(3) {
width: 80px;
height: 80px;
top: 100px;
right: 120px;
}
@keyframes float {
from { transform: translateY(0); }
to { transform: translateY(-30px); }
}
/* Glassmorphic form container */
.form-container {
position: relative;
width: 340px;
padding: 35px 25px;
border-radius: 25px;
backdrop-filter: blur(15px);
background: rgba(255, 255, 255, 0.08);
border: 2px solid rgba(255, 255, 255, 0.3);
text-align: center;
color: white;
z-index: 1;
}
h2 {
margin-bottom: 20px;
font-size: 22px;
letter-spacing: 1px;
}
/* Forms */
.form {
display: none;
flex-direction: column;
align-items: center;
}
.form.active {
display: flex;
}
input {
width: 85%;
padding: 12px;
margin: 8px 0;
border: none;
outline: none;
border-radius: 8px;
}
button {
width: 90%;
padding: 12px;
margin-top: 15px;
border: none;
border-radius: 8px;
background: linear-gradient(45deg, #ff6a00, #ffcc00);
color: white;
font-weight: bold;
cursor: pointer;
transition: 0.3s;
}
button:hover {
opacity: 0.9;
}
/* Social buttons */
.social-login {
display: flex;
justify-content: space-between;
gap: 10px;
margin-top: 15px;
width: 100%;
}
.social-login button {
flex: 1;
background: #fff;
color: #333;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 10px;
border-radius: 8px;
cursor: pointer;
transition: 0.3s;
}
.social-login button img {
width: 18px;
height: 18px;
}
/* Links */
p {
margin-top: 15px;
font-size: 14px;
}
a {
color: #ffcc00;
text-decoration: none;
font-weight: bold;
}