body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #4583df 0%, #0567fc 100%);
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.login-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2);
    padding: 40px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.logo {
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h2 {
    text-align: center;
    margin-bottom: 35px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(135deg, #4583df 0%, #0567fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 1s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 25px;
    animation: fadeIn 1s ease-out 0.7s both;
}

label {
    display: block;
    margin-bottom: 10px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.form-control:focus {
    outline: none;
    border-color: #4583df;
    box-shadow: 0 0 0 3px rgba(69, 131, 223, 0.1);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #4583df 0%, #0567fc 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(69, 131, 223, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(69, 131, 223, 0.4);
}

.btn-block:active {
    transform: translateY(0);
}

.btn-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-block:hover::before {
    left: 100%;
}

.footer {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out 1s both;
}

.footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .login-container {
        max-width: 90%;
        padding: 15px;
    }
    
    .login-box {
        padding: 30px 25px;
        border-radius: 16px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .footer a {
        margin-right: 10px;
    }
}