@font-face {
    font-family: 'ZhengQingKeShuMaTi';
    src: url('ZhengQingKeShuMaTi-2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'ZhengQingKeShuMaTi', 'Microsoft YaHei', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #0a2463, #000000);
    overflow: hidden;
    color: #e0f7ff;
}

/* 开屏动画样式 */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: radial-gradient(circle at center, #0a2463, #000000);
}

.logo-container {
    margin-bottom: 40px;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo {
    max-width: 200px;
    max-height: 200px;
    filter: drop-shadow(0 0 20px rgba(0, 150, 255, 0.7));
}

.welcome-text {
    font-size: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1s;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.8);
    letter-spacing: 3px;
    color: #a3d5ff;
}

/* 登录容器样式 */
.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.login-box {
    background: rgba(10, 36, 99, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 
        0 0 40px rgba(0, 150, 255, 0.3),
        inset 0 0 20px rgba(0, 150, 255, 0.1);
    border: 1px solid rgba(0, 150, 255, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(0, 150, 255, 0.7));
}

.login-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #4fc3ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(79, 195, 255, 0.5);
}

.login-header p {
    font-size: 1.2rem;
    color: #a3d5ff;
    letter-spacing: 2px;
}

/* 表单样式 */
.input-group {
    display: flex;
    align-items: center;
    background: rgba(0, 30, 80, 0.7);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 150, 255, 0.2);
    transition: all 0.3s ease;
}

.input-group:hover {
    border-color: rgba(0, 150, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.2);
}

.input-group i {
    font-size: 1.2rem;
    color: #4fc3ff;
    margin-right: 15px;
    width: 20px;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.input-group input::placeholder {
    color: #6b9ccc;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.btn-login, .btn-guest {
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 2px;
}

.btn-login {
    background: linear-gradient(135deg, #0066cc, #0099ff);
    color: white;
}

.btn-login:hover {
    background: linear-gradient(135deg, #0099ff, #00ccff);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 153, 255, 0.5);
}

.btn-guest {
    background: rgba(0, 60, 120, 0.7);
    color: #a3d5ff;
    border: 1px solid rgba(0, 150, 255, 0.3);
}

.btn-guest:hover {
    background: rgba(0, 80, 160, 0.9);
    transform: translateY(-3px);
    border-color: rgba(0, 150, 255, 0.5);
}

.login-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 30, 80, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(0, 150, 255, 0.2);
}

.login-info p {
    color: #4fc3ff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.login-info ul {
    list-style-type: none;
    padding-left: 10px;
}

.login-info li {
    margin-bottom: 8px;
    color: #a3d5ff;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    color: #6b9ccc;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* 动画 */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .welcome-text {
        font-size: 1.5rem;
    }
    
    .login-header h1 {
        font-size: 2rem;
    }
}