/* ========== RESET & GLOBAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url("../Resources/images/Mouse_cursor/SummerPockets.png"), url("../Resources/images/Mouse_cursor/SummerPockets.cur"), default;
}

body {
    font-family: 'Segoe UI', 'Noto Sans', system-ui, 'Helvetica Neue', Arial, sans-serif;
    background-color: #fff5d6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ========== HEADER 优化 ========== */
.header {
    background-color: #ff9800;
    position: fixed;
    top: 0;
    width: 100%;
    height: 64px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-container img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.logo-container img:hover {
    transform: scale(1.02);
}

.web-name {
    font-size: 1.35rem;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* 导航菜单 */
.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.2s, border-bottom 0.2s;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: #ffd966;
    border-bottom-color: #ffd966;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

/* 响应式导航 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 64px;
        right: -260px;
        flex-direction: column;
        background: #e65100;
        width: 220px;
        padding: 20px;
        border-radius: 0 0 0 16px;
        gap: 20px;
        transition: right 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        box-shadow: -4px 8px 16px rgba(0, 0, 0, 0.15);
        z-index: 999;
    }
    .nav-links.open {
        right: 0;
    }
    .nav-links a {
        text-align: center;
        padding: 10px;
    }
    .web-name {
        font-size: 1rem;
    }
    .logo-container img {
        width: 38px;
        height: 38px;
    }
}

/* ========== MAIN 布局 ========== */
main {
    flex: 1;
    max-width: 1100px;
    margin: 88px auto 40px;
    padding: 0 24px;
    width: 100%;
}

/* 卡片区块 */
section {
    background: rgba(255, 250, 235, 0.95);
    padding: 28px 32px;
    border-radius: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 32px;
    transition: transform 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(1px);
}

section:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

h2 {
    font-size: 1.8rem;
    color: #c55a00;
    border-left: 6px solid #ff9800;
    padding-left: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

h3 {
    font-size: 1.3rem;
    color: #b45f06;
    margin: 20px 0 10px 0;
}

hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, #ffcc80, #ff9800, #ffcc80);
    margin: 16px 0 24px;
    border-radius: 2px;
}

p {
    line-height: 1.6;
    color: #3e2a1f;
    margin-bottom: 12px;
}

img {
    max-width: 100%;
    border-radius: 20px;
    display: block;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

img:hover {
    transform: scale(1.01);
}

/* 链接样式 */
a {
    color: #e65100;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

a:hover {
    color: #ff9800;
    text-decoration: underline;
}

/* 二维码容器 */
.qrLinkContainer {
    position: relative;
    display: inline-block;
    margin-top: 12px;
}

.qr-trigger {
    background: #ff9800;
    padding: 8px 20px;
    border-radius: 40px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    transition: background 0.2s;
    user-select: none;
}

.qr-trigger:hover {
    background: #e65100;
}

#qrCodeContainer {
    position: absolute;
    top: 48px;
    left: 0;
    background: white;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    z-index: 100;
    width: 160px;
    display: none;
}

#qrCodeContainer img {
    margin: 0;
    width: 100%;
    border-radius: 12px;
}

.qrLinkContainer:hover #qrCodeContainer {
    display: block;
}

/* 团队成员列表 */
.team-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 20px;
}

.team-list li {
    background: #fffcf0;
    border-radius: 32px;
    padding: 18px;
    flex: 1 1 220px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.team-list img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 12px auto;
}

/* 页脚 */
footer {
    background: #ffdca8;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: #7a4c1a;
    margin-top: 20px;
}

/* 小屏适配 */
@media (max-width: 640px) {
    main {
        padding: 0 16px;
        margin-top: 80px;
    }
    section {
        padding: 20px 18px;
    }
    h2 {
        font-size: 1.5rem;
    }
}