/* ===== 联系我们页面专用样式 ===== */
/* 完全移除 emoji，使用 SVG 图标和纯 CSS 动画 */

.contact-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #faf6f1 0%, #f0e8de 100%);
    overflow-x: hidden;
    position: relative;
}

/* ===== 全屏动态粒子背景 Canvas ===== */
#bgParticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}


/* ===== 导航栏 - 完全覆盖 style.css ===== */
.contact-page .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

/* 导航容器 - 覆盖 style.css 的 .navbar .container */
.contact-page .nav-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 68px;
    box-sizing: border-box;
}

.contact-page .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
    flex-shrink: 0;
}

.contact-page .nav-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 8px var(--primary-glow);
    flex-shrink: 0;
}

.contact-page .nav-logo .logo-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.contact-page .nav-logo .logo-text {
    letter-spacing: -0.3px;
}

.contact-page .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.contact-page .nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    padding: 0;
    background: none;
    border-radius: 0;
}

.contact-page .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width 0.3s;
}

.contact-page .nav-links a:hover {
    color: var(--text);
}

.contact-page .nav-links a:hover::after {
    width: 100%;
}

.contact-page .nav-links a.active {
    color: var(--text);
}

.contact-page .nav-links a.active::after {
    width: 100%;
}

.contact-page .nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.contact-page .nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    flex-shrink: 0;
}

.contact-page .nav-toggle:hover {
    background: var(--border);
}

.contact-page .nav-toggle svg {
    display: block;
}

/* ===== 页面头部 ===== */
.contact-hero {
    position: relative;
    padding: 120px 20px 70px;
    text-align: center;
    background: linear-gradient(135deg, rgba(194,139,110,0.08), rgba(168,188,201,0.08));
    overflow: hidden;
}

/* 粒子背景 */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(194, 139, 110, 0.15);
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    background: rgba(194, 139, 110, 0.12);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(194, 139, 110, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(194, 139, 110, 0); }
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
    background: linear-gradient(135deg, #5a4a3a, #c28b6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleReveal 1s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        letter-spacing: -2px;
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: normal;
    }
}

.hero-desc {
    color: var(--text-light);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.8;
    animation: fadeInUp 0.8s 0.2s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 统计数字 */
.hero-stats {
    display: flex !important;
    justify-content: center !important;
    gap: 40px !important;
    animation: fadeInUp 0.8s 0.4s both;
}

.hero-stat {
    text-align: center !important;
}

.stat-number {
    display: block !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: var(--primary-dark) !important;
    line-height: 1.2 !important;
}

.stat-label {
    display: block !important;
    font-size: 12px !important;
    color: var(--text-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-top: 2px !important;
    text-align: center !important;
}

/* ===== 开发团队介绍 ===== */
.team-intro {
    max-width: 800px;
    margin: -30px auto 50px;
    padding: 0 20px;
}

.team-intro-inner {
    background: white;
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.team-intro-inner.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-intro-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.intro-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(194,139,110,0.12), rgba(168,188,201,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary-dark);
}

.team-intro-inner h3 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.team-intro-inner p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* 技术标签 */
.team-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.team-tag {
    padding: 5px 14px;
    border-radius: 14px;
    background: rgba(194, 139, 110, 0.08);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.team-tag:hover {
    background: rgba(194, 139, 110, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 139, 110, 0.15);
}

/* ===== 贡献者区域标题 ===== */
.section-header {
    text-align: center;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(20px);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.section-header p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== 贡献者网格 ===== */
.contributors-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    justify-items: center;
}

/* ===== 贡献者卡片（圆形） ===== */
.contributor-card {
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.contributor-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* 头像光环 */
.contributor-avatar-ring {
    width: 106px;
    height: 106px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #c28b6e, #a8bcc9, #c28b6e);
    background-size: 200% 200%;
    animation: ringRotate 4s linear infinite;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 16px rgba(120, 100, 85, 0.12);
}

.contributor-card:hover .contributor-avatar-ring {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(194, 139, 110, 0.3);
}

@keyframes ringRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.contributor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    background: #f0e8de;
    display: block;
}

.contributor-name {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    line-height: 1.3;
    transition: color 0.3s;
}

.contributor-card:hover .contributor-name {
    color: var(--primary-dark);
}

.contributor-role {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 2px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.contributor-card:hover .contributor-role {
    opacity: 1;
}

/* ===== 加号按钮（空位） ===== */
.contributor-card-add {
    cursor: pointer;
}

.contributor-add {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px dashed var(--border);
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}

.contributor-add::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(194, 139, 110, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contributor-add:hover::before {
    opacity: 1;
}

.contributor-add:hover {
    border-color: var(--primary);
    background: rgba(194, 139, 110, 0.06);
    color: var(--primary);
    transform: scale(1.08) rotate(90deg);
    box-shadow: 0 8px 32px rgba(194, 139, 110, 0.2);
}

.contributor-add svg {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contributor-add:hover svg {
    transform: scale(1.1);
}

.contributor-add-label {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    transition: color 0.3s;
}

.contributor-card-add:hover .contributor-add-label {
    color: var(--primary-dark);
}

/* ===== 贡献者详情弹窗 ===== */
.contributor-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px) saturate(1.2);
    -webkit-backdrop-filter: blur(8px) saturate(1.2);
    display: none;
    align-items: center;
    justify-content: center;
    animation: overlayFadeIn 0.35s ease;
}

.contributor-overlay.active {
    display: flex;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.contributor-modal {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-radius: 28px;
    box-shadow: 
        0 32px 80px rgba(0, 0, 0, 0.12),
        0 8px 32px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    width: 90%;
    max-width: 420px;
    padding: 36px 32px 28px;
    text-align: center;
    animation: modalSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.88) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.contributor-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: none;
    background: rgba(120, 100, 85, 0.08);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.contributor-modal-close:hover {
    background: rgba(120, 100, 85, 0.15);
    color: var(--text);
    transform: rotate(90deg) scale(1.1);
}

/* 头像光环（弹窗） */
.modal-avatar-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #c28b6e, #a8bcc9, #c28b6e);
    background-size: 200% 200%;
    animation: ringRotate 4s linear infinite;
    margin: 0 auto 16px;
    box-shadow: 0 8px 28px rgba(120, 100, 85, 0.15);
}

.contributor-modal-avatar {
    width: 102px;
    height: 102px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    display: block;
}

.contributor-modal-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.contributor-modal-role {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.contributor-modal-motto {
    font-size: 15px;
    color: var(--primary-dark);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 12px;
    padding: 0 12px;
    line-height: 1.5;
}

.contributor-modal-bio {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 0 8px;
}

.contributor-modal-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(194, 139, 110, 0.08);
    border-radius: 24px;
    font-size: 13px;
    color: var(--primary-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 100%;
    overflow: hidden;
}

.contributor-modal-contact:hover {
    background: rgba(194, 139, 110, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(194, 139, 110, 0.15);
}

/* ===== 申请表单弹窗 ===== */
.apply-modal {
    max-width: 480px;
    padding: 32px 28px 24px;
    text-align: left;
    max-height: 85vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.apply-header-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(194,139,110,0.12), rgba(168,188,201,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: var(--primary-dark);
}

.apply-modal h3 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
}

.apply-modal .apply-desc {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
}

.apply-form-group {
    margin-bottom: 18px;
}

.apply-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.apply-form-group label .required {
    color: #c0392b;
    margin-left: 2px;
}

.apply-form-group input,
.apply-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, 0.7);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    outline: none;
    box-sizing: border-box;
}

.apply-form-group input:focus,
.apply-form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    transform: translateY(-1px);
}

.apply-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.apply-form-group .form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* 头像上传 */
.avatar-upload-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-preview-ring {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #c28b6e, #a8bcc9);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.avatar-preview-ring:hover {
    transform: scale(1.05);
}

.avatar-preview {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    background: #f8f6f4;
    display: block;
}

.avatar-upload-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.avatar-upload-btn {
    padding: 8px 18px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: white;
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.25s ease;
    align-self: flex-start;
}

.avatar-upload-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(194, 139, 110, 0.04);
    transform: translateY(-1px);
}

.avatar-upload-input {
    display: none;
}

.apply-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.apply-form-actions .btn {
    flex: 1;
}

/* 提交按钮加载状态 */
#submitBtn.loading .btn-text {
    display: none;
}

#submitBtn.loading .btn-loader {
    display: flex;
}

.btn-loader {
    display: none;
    align-items: center;
    justify-content: center;
}

.btn-loader svg {
    animation: btnSpin 0.8s linear infinite;
}

@keyframes btnSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== 成功提示 ===== */
.apply-success {
    text-align: center;
    padding: 20px 0;
}

.success-checkmark {
    margin-bottom: 16px;
    animation: checkmarkBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes checkmarkBounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.success-checkmark svg {
    animation: checkmarkDraw 0.8s ease forwards;
}

@keyframes checkmarkDraw {
    from { stroke-dashoffset: 50; stroke-dasharray: 50; }
    to { stroke-dashoffset: 0; stroke-dasharray: 50; }
}

.apply-success h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.apply-success p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== 页脚 ===== */
.contact-footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 13px;
    color: var(--text-light);
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    overflow: hidden;
    pointer-events: none;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.contact-footer a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-footer a:hover {
    color: var(--primary);
}

/* ===== 响应式 ===== */

/* 平板竖屏 / 小屏幕笔记本 */
@media (max-width: 1024px) {
    .contact-hero { padding: 100px 20px 60px; }
    .hero-title { font-size: 36px; }
}

/* 手机横屏 / 小平板 */
@media (max-width: 860px) {
    .contact-page .nav-links { display: none; }
    .contact-page .nav-toggle { display: flex; align-items: center; justify-content: center; }
    
    .contact-page .nav-links.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 12px 16px;
        border-bottom: 1px solid var(--border);
        gap: 4px;
        align-items: stretch;
        z-index: 999;
        box-shadow: 0 8px 32px rgba(0,0,0,0.06);
        animation: mobileNavSlideIn 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    }
    
    @keyframes mobileNavSlideIn {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .contact-page .nav-links.show a {
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 500;
        color: var(--text);
        transition: all 0.2s ease;
    }
    
    .contact-page .nav-links.show a:hover {
        background: rgba(194, 139, 110, 0.06);
        color: var(--primary-dark);
    }
    
    .contact-page .nav-links.show a.active {
        background: rgba(194, 139, 110, 0.1);
        color: var(--primary-dark);
        font-weight: 600;
    }
    
    .contact-page .nav-links.show a::after {
        display: none;
    }
    
    .contact-page .nav-auth.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(68px + 160px);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 0 16px 16px;
        border-bottom: 1px solid var(--border);
        gap: 8px;
        z-index: 999;
        box-shadow: 0 8px 32px rgba(0,0,0,0.06);
        animation: mobileNavSlideIn 0.25s 0.05s both;
    }
    
    .contact-page .nav-auth.show .btn {
        width: 100%;
        justify-content: center;
        padding: 11px;
        font-size: 14px;
    }
    
    .contact-hero { padding: 88px 16px 40px; }
    .hero-title { font-size: 30px; }
    .hero-desc { font-size: 14px; margin-bottom: 24px; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 24px; }
    .stat-label { font-size: 11px; }
    
    .contributors-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .contributor-card {
        width: 100px;
    }
    .contributor-avatar-ring {
        width: 88px;
        height: 88px;
    }
    .contributor-avatar,
    .contributor-add {
        width: 80px;
        height: 80px;
    }
    .contributor-add svg {
        width: 26px;
        height: 26px;
    }
}

/* 手机竖屏 - 简化显示 */
@media (max-width: 640px) {
    .contact-page .nav-container {
        padding: 0 14px;
        height: 56px;
    }
    
    .contact-page .nav-logo {
        font-size: 16px;
        gap: 7px;
    }
    
    .contact-page .nav-logo .logo-icon {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }
    
    .contact-page .nav-logo .logo-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .contact-page .nav-toggle {
        padding: 6px;
    }
    
    .contact-page .nav-toggle svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-page .nav-links.show {
        top: 56px;
        padding: 10px 14px;
    }
    
    .contact-page .nav-links.show a {
        padding: 9px 12px;
        font-size: 14px;
    }
    
    .contact-page .nav-auth.show {
        top: calc(56px + 140px);
        padding: 0 14px 14px;
    }
    
    .contact-page .nav-auth.show .btn {
        padding: 10px;
        font-size: 13px;
    }
    
    /* 移动端粒子背景 - 降低密度但保留效果 */
    #bgParticles { 
        display: block; 
        opacity: 0.5;
    }
    .hero-particles { display: none; }

    .contact-hero { 
        padding: 72px 14px 24px; 
        background: linear-gradient(135deg, rgba(194,139,110,0.05), rgba(168,188,201,0.05));
    }
    .hero-badge { font-size: 11px; padding: 3px 12px; margin-bottom: 8px; }
    .hero-title { font-size: 22px; margin-bottom: 8px; }
    .hero-desc { font-size: 12px; margin-bottom: 16px; }
    .hero-stats { gap: 20px; }
    .stat-number { font-size: 20px; }
    .stat-label { font-size: 10px; letter-spacing: 0.5px; }
    
    /* 隐藏团队介绍区域 */
    .team-intro { display: none; }
    
    .contributors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .contributor-card {
        width: 88px;
    }
    .contributor-avatar-ring {
        width: 76px;
        height: 76px;
        padding: 2px;
    }
    .contributor-avatar,
    .contributor-add {
        width: 70px;
        height: 70px;
    }
    .contributor-add svg {
        width: 22px;
        height: 22px;
    }
    .contributor-name { font-size: 12px; margin-top: 8px; }
    .contributor-role { font-size: 10px; }
    .contributor-add-label { font-size: 11px; margin-top: 8px; }
    
    .section-header { margin-bottom: 20px; }
    .section-header h2 { font-size: 18px; }
    .section-header p { font-size: 12px; }
    
    /* 移动端弹窗优化 - 不占满全屏，内容可滚动 */
    .contributor-overlay {
        align-items: center;
        padding: 20px;
    }
    .contributor-modal {
        width: 100%;
        max-width: 380px;
        padding: 28px 20px 24px;
        border-radius: 22px;
        max-height: 80vh;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .apply-modal {
        padding: 24px 20px 20px;
        max-height: 80vh;
    }
    .apply-form-actions { flex-direction: column; }
    .avatar-upload-area { flex-direction: column; align-items: flex-start; }
    .apply-form-group { margin-bottom: 14px; }
    .apply-form-group textarea { min-height: 60px; }
    .apply-modal .apply-desc { margin-bottom: 16px; }
    .apply-form-actions { margin-top: 16px; }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .contact-page .nav-container {
        padding: 0 12px;
        height: 52px;
    }
    
    .contact-page .nav-logo {
        font-size: 15px;
        gap: 6px;
    }
    
    .contact-page .nav-logo .logo-icon {
        width: 26px;
        height: 26px;
        border-radius: 7px;
    }
    
    .contact-page .nav-logo .logo-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .contact-page .nav-toggle {
        padding: 5px;
    }
    
    .contact-page .nav-toggle svg {
        width: 18px;
        height: 18px;
    }
    
    .contact-page .nav-links.show {
        top: 52px;
        padding: 8px 12px;
    }
    
    .contact-page .nav-links.show a {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .contact-page .nav-auth.show {
        top: calc(52px + 120px);
        padding: 0 12px 12px;
    }
    
    .contact-page .nav-auth.show .btn {
        padding: 9px;
        font-size: 12px;
    }
    
    .contact-hero { padding: 68px 12px 30px; }
    .hero-title { font-size: 22px; }
    .hero-badge { font-size: 11px; padding: 3px 12px; margin-bottom: 10px; }
    .hero-desc { font-size: 12px; margin-bottom: 16px; }
    .hero-stats { gap: 12px; }
    .stat-number { font-size: 20px; }
    .stat-label { font-size: 9px; letter-spacing: 0.3px; }
    
    .contributors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .contributor-card {
        width: 72px;
    }
    .contributor-avatar-ring {
        width: 62px;
        height: 62px;
        padding: 2px;
    }
    .contributor-avatar,
    .contributor-add {
        width: 56px;
        height: 56px;
    }
    .contributor-add svg {
        width: 16px;
        height: 16px;
    }
    .contributor-name { font-size: 10px; margin-top: 5px; }
    .contributor-role { font-size: 9px; }
    .contributor-add-label { font-size: 9px; margin-top: 5px; }
    
    .contributor-modal {
        padding: 24px 16px 20px;
        border-radius: 18px;
    }
    .modal-avatar-ring {
        width: 90px;
        height: 90px;
    }
    .contributor-modal-avatar {
        width: 82px;
        height: 82px;
    }
    .contributor-modal-name { font-size: 18px; }
    .contributor-modal-bio { font-size: 13px; }
    
    .apply-modal {
        padding: 20px 16px 16px;
    }
    .apply-modal h3 { font-size: 17px; }
    .apply-form-group input,
    .apply-form-group textarea { font-size: 13px; padding: 9px 12px; }
}
