/* 公共样式 - 全站统一 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #0a2a3a 0%, #1a4a6f 100%);
    min-height: 100vh;
    color: #eee;
}

/* 导航栏 */
.navbar {
    background: rgba(10, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 1px solid #ffd966;
    position: sticky;
    top: 0;
    z-index: 200;
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffd966;
}

.logo span {
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-links a {
    color: #eee;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 30px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a.active {
    background: #ffd966;
    color: #1a2a3a;
}

.user-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-area span {
    font-size: 0.85rem;
    color: #ffd966;
}

.btn-small {
    background: #ffd966;
    border: none;
    padding: 5px 14px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    font-size: 0.8rem;
}

.btn-small:hover {
    background: #ffaa33;
    transform: scale(1.02);
}

/* 登录模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #1e2e3e;
    border-radius: 24px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    border: 1px solid #ffd966;
    position: relative;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 30px;
    border: none;
    background: #2a3a4a;
    color: white;
    padding-right: 40px;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
    font-size: 1rem;
}

.password-toggle:hover {
    color: #ffd966;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #ffd966;
}

/* 底部信息栏 */
.footer-info {
    background: #0a1a2a;
    color: #aaa;
    padding: 30px 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-info .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info .footer-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-info .footer-item i {
    color: #ffd966;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #2a3a4a;
    font-size: 0.75rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }
    .nav-links {
        justify-content: center;
    }
    .footer-info .footer-content {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}