:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #e94560;
    --accent-glow: #ff6b81;
    --gold: #d4a853;
    --gold-light: #f0d78c;
    --blue: #3b5998;
    --blue-light: #5c7cba;
    --bg: #f5f6f8;
    --card-bg: #ffffff;
    --text: #2c2c2c;
    --text-secondary: #666;
    --text-muted: #999;
    --border: #e8e8e8;
    --border-light: #f0f0f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1280px;
    --nav-height: 64px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

#top {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    visibility: hidden;
}

/* 导航栏 */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    height: var(--nav-height);
    transition: box-shadow var(--transition);
    width: 100%;
}
.navbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #e94560 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(233, 68, 96, 0.3);
    position: relative;
    overflow: hidden;
}
.nav-logo .logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    animation: logoShine 3s ease-in-out infinite;
}
@keyframes logoShine {
    0%,
    100% {
transform: translate(-30%, -30%) rotate(0deg);
    }
    50% {
transform: translate(20%, 20%) rotate(180deg);
    }
}
.nav-logo .logo-text {
    background: linear-gradient(135deg, #1a1a2e, #e94560);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.nav-links a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 20px;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    background: rgba(233, 68, 96, 0.06);
}
.nav-links a.active {
    font-weight: 600;
}
.nav-links a.nav-hot {
    position: relative;
}
.nav-links a.nav-hot::after {
    content: 'HOT';
    position: absolute;
    top: -8px;
    right: -12px;
    font-size: 0.5rem;
    background: var(--accent);
    color: #fff;
    padding: 1px 5px;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.3px;
    animation: pulse 2s ease-in-out infinite;
    line-height: 1.2;
}
@keyframes pulse {
    0%,
    100% {
transform: scale(1);
    }
    50% {
transform: scale(1.15);
    }
}

/* 隐藏checkbox */
.nav-toggle-input {
    display: none;
}

/* 汉堡菜单按钮 */
.hamburger-btn {
    display: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    flex-shrink: 0;
    user-select: none;
}
.hamburger-btn span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text);
    border-radius: 3px;
    margin: 6px 0;
    transition: all var(--transition);
    transform-origin: center;
}
.nav-toggle-input:checked~.navbar .hamburger-btn span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
.nav-toggle-input:checked~.navbar .hamburger-btn span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle-input:checked~.navbar .hamburger-btn span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* 移动端导航面板 */
.mobile-nav-panel {
    display: none;
    position: fixed;
    top: var(--nav-height);
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: calc(100vh - var(--nav-height));
    background: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 20px 16px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    border-left: 1px solid var(--border);
}
.nav-toggle-input:checked~.mobile-nav-panel {
    transform: translateX(0);
}
.mobile-nav-panel .mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav-panel .mobile-nav-list a {
    display: block;
    padding: 14px 16px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.mobile-nav-panel .mobile-nav-list a:hover,
.mobile-nav-panel .mobile-nav-list a.active {
    background: rgba(233, 68, 96, 0.06);
    color: var(--accent);
}

/* 遮罩层label */
.mobile-overlay-label {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(0, 0, 0, 0.45);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
    cursor: pointer;
}
.nav-toggle-input:checked~.mobile-overlay-label {
    opacity: 1;
    pointer-events: auto;
}

/* 主布局 */
.main-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px;
    display: flex;
    gap: 24px;
    min-height: 60vh;
    width: 100%;
    box-sizing: border-box;
}
.content-main {
    flex: 1;
    min-width: 0;
    width: 100%;
}
.content-sidebar {
    width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 广告位区域 */
.ads-section {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    width: 100%;
}
.ad-card {
    flex: 1;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.ad-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--border-light);
    transform: translateY(-1px);
}
.ad-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 区块标题 */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--accent);
    border-radius: 2px;
}
.section-more {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
    font-weight: 500;
    white-space: nowrap;
}
.section-more:hover {
    color: var(--accent);
}

/* 招聘卡片 */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}
.job-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 16px;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}
.job-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
    transform: translateY(-2px);
}
.job-card:active {
    transform: scale(0.995);
}
.job-card-thumb {
    width: 120px;
    height: 88px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: #f0f0f0;
    transition: transform var(--transition);
    max-width: 100%;
}
.job-card:hover .job-card-thumb {
    transform: scale(1.03);
}
.job-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.job-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition);
    word-break: break-word;
}
.job-card:hover .job-card-title {
    color: var(--accent);
}
.job-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    word-break: break-word;
}
.job-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.job-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

/* 加载更多按钮 */
.search-btn {
    padding: 12px 28px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}
.search-btn:hover {
    background: #d63850;
    box-shadow: 0 6px 20px rgba(233, 68, 96, 0.35);
    transform: translateY(-1px);
}
.search-btn-outline {
    background: #fff !important;
    color: var(--accent) !important;
    border: 2px solid var(--accent) !important;
}
.search-btn-outline:hover {
    background: #fff !important;
    color: #d63850 !important;
    border-color: #d63850 !important;
}

/* 侧边栏卡片 */
.sidebar-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    box-sizing: border-box;
}
.sidebar-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}
.sidebar-card .card-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--gold);
    border-radius: 2px;
}
.news-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.news-list li {
    border-bottom: 1px dashed var(--border-light);
    padding: 10px 0;
}
.news-list li:last-child {
    border-bottom: none;
}
.news-list a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    transition: color var(--transition);
    line-height: 1.4;
    word-break: break-word;
}
.news-list a:hover {
    color: var(--accent);
}
.news-list .news-title-text {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
}
.news-list .news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 友情链接 */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
}
.friend-links a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 15px;
    background: #f8f9fb;
    transition: all var(--transition);
    white-space: nowrap;
}
.friend-links a:hover {
    background: #eef1f5;
    color: var(--accent);
}

/* 常见问答 (details/summary) */
.faq-section {
    max-width: var(--max-width);
    margin: 0 auto 40px;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}
.faq-inner {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 28px 20px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    box-sizing: border-box;
}
.faq-list-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.faq-detail {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition);
    background: #fafbfc;
}
.faq-detail[open] {
    border-color: #e0d5c0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background: #fffafb;
}
.faq-detail summary {
    padding: 16px 20px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: all var(--transition);
    letter-spacing: 0.2px;
    list-style: none;
    user-select: none;
}
.faq-detail summary::-webkit-details-marker {
    display: none;
}
.faq-detail summary::marker {
    display: none;
}
.faq-detail summary:hover {
    background: #f5f6f8;
}
.faq-detail[open] summary {
    color: var(--accent);
}
.faq-arrow-css {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    font-size: 0.7rem;
    color: #888;
    font-weight: 700;
}
.faq-detail[open] .faq-arrow-css {
    background: var(--accent);
    color: #fff;
    transform: rotate(180deg);
}
.faq-answer-content {
    padding: 0 20px 18px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    word-break: break-word;
}

/* 页脚 */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
    width: 100%;
    box-sizing: border-box;
}
.site-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
}
.site-footer a:hover {
    color: var(--accent);
}
.footer-links-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

/* 客服按钮 (details/summary) */
.cs-details {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 990;
}
.cs-details summary {
    list-style: none;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e94560, #ff6b81);
    color: #fff;
    border: none;
    box-shadow: 0 6px 24px rgba(233, 68, 96, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    user-select: none;
}
.cs-details summary::-webkit-details-marker {
    display: none;
}
.cs-details summary::marker {
    display: none;
}
.cs-details summary:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(233, 68, 96, 0.5);
}
.cs-popup {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 280px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 989;
    padding: 20px;
    border: 1px solid var(--border-light);
    max-width: calc(100vw - 56px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    transform: translateY(10px);
}
.cs-details[open] .cs-popup {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.cs-popup h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 700;
}
.cs-popup .cs-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
    word-break: break-word;
}
.cs-popup .cs-item:hover {
    color: var(--accent);
}
.cs-popup .cs-item:last-child {
    border-bottom: none;
}
.cs-icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 700;
}
.cs-icon-wechat {
    background: #e8fce8;
    color: #2eaa2e;
}
.cs-icon-phone {
    background: #e8f0ff;
    color: #3b5998;
}
.cs-icon-time {
    background: #fff8e8;
    color: #d4a853;
}

/* 回到顶部 */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 104px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #666;
    border: 1px solid var(--border);
    cursor: pointer;
    z-index: 985;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    font-size: 1.2rem;
    text-decoration: none;
    user-select: none;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #f8f8f8;
    color: var(--accent);
    border-color: #ddd;
}

/* 响应式 */
@media (max-width: 1024px) {
    .content-sidebar {
width: 280px;
    }
    .job-card-thumb {
width: 100px;
height: 75px;
    }
    .job-card {
padding: 14px 16px;
gap: 12px;
    }
}
@media (max-width: 768px) {
    .navbar-inner {
padding: 0 16px;
    }
    .nav-links {
display: none;
    }
    .hamburger-btn {
display: block;
    }
    .mobile-nav-panel {
display: block;
    }
    .mobile-overlay-label {
display: block;
    }
    .main-container {
flex-direction: column;
padding: 16px;
gap: 16px;
    }
    .content-sidebar {
width: 100%;
    }
    .job-card {
padding: 14px;
gap: 10px;
border-radius: var(--radius-sm);
    }
    .job-card-thumb {
width: 80px;
height: 64px;
border-radius: 6px;
    }
    .job-card-title {
font-size: 1rem;
    }
    .job-card-desc {
-webkit-line-clamp: 1;
    }
    .cs-details {
bottom: 20px;
right: 16px;
    }
    .cs-details summary {
width: 50px;
height: 50px;
font-size: 0.75rem;
    }
    .cs-popup {
bottom: 80px;
right: 16px;
width: 250px;
max-width: calc(100vw - 32px);
    }
    .back-to-top {
bottom: 20px;
right: 76px;
width: 34px;
height: 34px;
font-size: 1rem;
    }
    .faq-inner {
padding: 18px 14px 12px;
    }
    .faq-detail summary {
padding: 12px 14px;
font-size: 0.88rem;
    }
    .section-title {
font-size: 1.1rem;
    }
    .nav-logo {
font-size: 1.25rem;
    }
    .nav-logo .logo-icon {
width: 34px;
height: 34px;
font-size: 1rem;
border-radius: 8px;
    }
    .job-card-meta {
gap: 10px;
font-size: 0.75rem;
    }
    .ads-section {
flex-direction: column;
gap: 12px;
    }
    .ad-card {
min-height: 100px;
    }
}
@media (max-width: 420px) {
    .job-card {
flex-direction: column;
gap: 8px;
    }
    .job-card-thumb {
width: 100%;
height: 140px;
border-radius: var(--radius-sm);
    }
    .job-card-body {
gap: 4px;
    }
}