* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: url('../img/pc-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Microsoft YaHei", sans-serif;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.login-container {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.6);
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    color: #d4af37;
    font-size: 2.5em;
    margin-bottom: 5px;
}

.logo h2 {
    color: #d4af37;
    font-size: 1.5em;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d4af37;
    background: transparent;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.input-group input::placeholder {
    color: rgba(212, 175, 55, 0.7);
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    border: none;
    border-radius: 5px;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    transform: translateY(-2px);
}

.remember-password {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #d4af37;
}

.remember-password input[type="checkbox"] {
    margin-right: 8px;
}

.error-message {
    color: #ff4d4f;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

.input-group input:invalid {
    border-color: #ff4d4f;
}

.input-group input:invalid:focus {
    box-shadow: 0 0 10px rgba(255, 77, 79, 0.3);
}

@media (max-width: 480px) {
    body {
        background: url('../img/mobile-bg.png') no-repeat center center fixed;
        background-size: cover;
    }

    .login-container {
        width: 95%;
        padding: 20px;
    }

    .logo h1 {
        font-size: 2em;
    }

    .logo h2 {
        font-size: 1.2em;
    }
} 