:root {
    /* 调整色板，加入一抹红色 */
    --primary-color: #ff4d4f; /* 适度红色 */
    --secondary-color: #ff7a45; /* 橙红过渡 */
    --tertiary-color: #5b42f3; /* 紫色 */
    --quaternary-color: #00ddeb; /* 青色收尾 */
    --text-color: #333;
    --white: #fff;
}

body {
    min-height: 100vh;
    /* 加入红色与橙红过渡，并保留品牌紫与青色 */
    background: linear-gradient(135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 25%,
        var(--tertiary-color) 60%,
        var(--quaternary-color) 100%
    );
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    padding: 20px;
}

.login-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    animation: float 6s infinite ease-in-out;
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    bottom: -40px;
    right: -20px;
    animation-delay: 2s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    top: 40%;
    right: -30px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.login-form {
    position: relative;
    z-index: 1;
}

.login-form h1 {
    color: var(--white);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-login {
    width: 100%;
    padding: 12px;
    /* 毛玻璃效果按钮 */
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), inset 0 0 12px rgba(255, 255, 255, 0.12);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), inset 0 0 14px rgba(255, 255, 255, 0.16);
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--white);
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
}

.links {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.links a:hover {
    opacity: 1;
}

.footer-info {
    margin-top: 30px;
    text-align: center;
    color: var(--white);
}

.footer-info p {
    margin: 5px 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }
    
    .floating-circle {
        display: none;
    }
}