/* Auth Overlay Background */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffa500;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}
/* Auth Card */
.auth-card {
    background: #fff;
    color: #333;
    width: 90%;
    max-width: 380px;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    position: relative;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.auth-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #000;
}

.auth-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    font-size: 16px;
    outline: none;
    transition: border 0.3s;
}

.auth-card input:focus {
    border-color: #007bff;
}

/* Buttons */
.btn-auth {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s;
}

.btn-auth:active {
    transform: scale(0.98);
}

.btn-primary { background: #007bff; color: #fff; }
.btn-success { background: #28a745; color: #fff; }
.btn-info { background: #17a2b8; color: #fff; }

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
}
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 500;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
    box-sizing: border-box;
}

.logo {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
}

.btn-login-trigger {
    background: #fe2c55;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.user-info-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.balance-tag {
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 15px;
}

.avatar-small {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.auth-error {
    color: #fe2c55;
    margin-top: 10px;
    font-size: 14px;
}