* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-image: url(https://i.imgur.com/ZGV618s.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    width: 350px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.logo {
    width: 180px;
    margin-bottom: 30px;
}

h2 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 500;
}

input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    margin-bottom: 15px;
}

input[type="text"]:focus {
    background: rgba(0, 0, 0, 0.5);
}

input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

input[type="text"]:focus {
    border-color: #00d26a;
}

button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #00d26a 0%, #00a854 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 210, 106, 0.4);
}

button:active {
    transform: translateY(0);
}

.step {
    transition: opacity 0.3s;
}

.hidden {
    display: none !important;
}

#profile-section {
    margin-bottom: 25px;
}

#avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #00d26a;
    margin-bottom: 15px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

#display-name {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
}

#loading {
    padding: 30px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #00d26a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#loading p {
    color: rgba(255, 255, 255, 0.7);
}

#error-msg {
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid #ff4757;
    border-radius: 10px;
    padding: 15px;
    color: #ff4757;
    margin-top: 15px;
}

#notifications {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.notification {
    background: linear-gradient(135deg, #00d26a 0%, #00a854 100%);
    color: #fff;
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    animation: slideDown 0.3s ease, fadeOut 0.3s ease 3.7s;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

/* Locker Overlay */
.locker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.locker-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 350px;
    width: 90%;
}

.locker-box .lock-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.locker-box h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.locker-box p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 14px;
}

.locker-box .timer {
    color: #00d26a;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.locker-box button {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.locker-box button:hover {
    box-shadow: 0 5px 20px rgba(238, 90, 36, 0.4);
}

@media (max-width: 400px) {
    .container {
        width: 90%;
        padding: 25px;
    }
    
    .logo {
        width: 140px;
    }
}
