﻿/* shouye.css - 兼职网首页样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #e8eaf6 0%, #f5f7fa 50%, #e3f2fd 100%);
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========== 顶部导航 ========== */
.top-bar {
    width: 100%;
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    padding: 0 20px;
    box-shadow: 0 2px 12px rgba(26, 35, 126, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #ffd54f;
    letter-spacing: 3px;
}

/* ========== 主容器 ========== */
.home-container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

.home-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 36px 32px 28px;
    box-shadow: 0 12px 40px rgba(13, 71, 161, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* ========== 头部区域 ========== */
.header-section {
    text-align: center;
    padding-bottom: 22px;
    border-bottom: 2px dashed #e8eaf6;
    margin-bottom: 22px;
}

.site-headline {
    font-size: 30px;
    font-weight: 700;
    background: linear-gradient(135deg, #1a237e, #0d47a1, #1a237e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    line-height: 1.4;
}

.site-slogan {
    font-size: 16px;
    color: #3949ab;
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    -webkit-text-fill-color: #3949ab;
}

/* ========== 数据统计 ========== */
.stats-area {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 18px 20px 20px;
    background: linear-gradient(135deg, #e8eaf6, #e3f2fd);
    border-radius: 14px;
    margin-bottom: 22px;
    border: 1px solid rgba(26, 35, 126, 0.08);
}

.stats-item {
    text-align: center;
}

.stats-number {
    font-size: 28px;
    font-weight: 700;
    color: #0d47a1;
    line-height: 1.2;
}

.stats-label {
    font-size: 14px;
    color: #3949ab;
    margin-top: 4px;
    font-weight: 500;
}

/* ========== 文章链接列表 ========== */
/* footer-links 保留原有类名不变 */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 4px 0;
    justify-content: flex-start;
}

.footer-links a {
    color: #1a237e;
    text-decoration: none;
    font-size: 14.5px;
    padding: 7px 16px;
    background: #f8f9ff;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    line-height: 1.6;
    flex: 0 1 auto;
}

.footer-links a:hover {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 35, 126, 0.25);
    border-color: #1a237e;
}

/* ========== 底部信息 ========== */
.footer-section {
    text-align: center;
    padding-top: 22px;
    border-top: 2px dashed #e8eaf6;
    margin-top: 10px;
}

.footer-section p {
    font-size: 14px;
    color: #3949ab;
    line-height: 1.8;
}

.footer-section p:first-child {
    font-weight: 500;
}

.copy-text {
    margin-top: 6px;
    font-size: 13px !important;
    color: #5c6bc0 !important;
}

/* ========== 响应式适配 ========== */
@media (max-width: 768px) {
    .home-container {
        padding: 12px;
    }

    .home-box {
        padding: 24px 16px 20px;
        border-radius: 16px;
    }

    .site-headline {
        font-size: 22px;
    }

    .site-slogan {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .stats-area {
        gap: 24px;
        padding: 14px 12px;
        flex-wrap: wrap;
    }

    .stats-number {
        font-size: 22px;
    }

    .stats-label {
        font-size: 12px;
    }

    .footer-links {
        gap: 8px 10px;
    }

    .footer-links a {
        font-size: 13px;
        padding: 5px 12px;
    }

    .footer-section p {
        font-size: 12px;
    }

    .logo-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .home-box {
        padding: 18px 12px 16px;
        border-radius: 12px;
    }

    .site-headline {
        font-size: 18px;
    }

    .site-slogan {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .stats-area {
        gap: 14px;
        flex-direction: column;
        align-items: center;
    }

    .stats-item {
        width: 100%;
        max-width: 160px;
    }

    .footer-links {
        gap: 6px 8px;
        justify-content: center;
    }

    .footer-links a {
        font-size: 12px;
        padding: 4px 10px;
    }

    .footer-section p {
        font-size: 11px;
    }

    .copy-text {
        font-size: 10px !important;
    }

    .logo-text {
        font-size: 18px;
    }
}