:root {
    --logo-height: 160px;
    --logo-width: auto;
    /* 冷色主调 - 相反色系 */
    --bg-main: #e6edf5;          /* 冷灰蓝底 */
    --bg-card: #ffffff;
    --bg-light: #eef4fa;          /* 冷白 */
    /* 文字 */
    --text-primary: #1a2634;      /* 深蓝灰 */
    --text-secondary: #2c3e50;    /* 深蓝 */
    --text-muted: #5a7a9a;        /* 灰蓝 */
    /* 主强调 - 冷蓝 */
    --accent-main: #2c7cb3;       /* 正蓝 */
    --accent-hover: #3a8fc9;      /* 亮蓝 */
    --accent-title: #1a5276;      /* 深蓝标题 */
    --accent-soft: #7fb3d0;       /* 柔蓝 */
    /* 相对冷色系 */
    --accent-coral: #4a7c9c;      /* 冷灰蓝（取代珊瑚红） */
    --accent-gold: #6c8ba0;       /* 冷灰金（取代金黄） */
    --accent-terracotta: #2e5a7a; /* 深蓝灰（取代赤陶） */
    --accent-amber: #3b6a8f;      /* 中蓝（取代琥珀） */
    --accent-cream: #d4e2f0;      /* 淡蓝白（取代奶油） */
    /* 边框与阴影 */
    --border: #b4c8db;            /* 冷灰蓝边框 */
    --border-strong: #8aaac0;     /* 加强冷边框 */
    --shadow: 0 3px 10px rgba(26, 67, 113, 0.16);
    --shadow-soft: 0 2px 6px rgba(26, 67, 113, 0.10);
}

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

body {
    background: var(--bg-main);
    color: var(--text-primary);
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-size: 13.8px;
    line-height: 1.55;
    background-image:
        radial-gradient(circle at 12% 22%, rgba(67, 129, 181, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 88% 78%, rgba(42, 89, 130, 0.14) 0%, transparent 38%),
        radial-gradient(circle at 50% 50%, rgba(95, 143, 179, 0.10) 0%, transparent 48%),
        linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 32px 32px, 32px 32px;
    background-attachment: fixed;
}

#container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 12px 10px;
    border-radius: 4px;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    text-align: center;
}

.logo-area img {
    max-height: var(--logo-height);
    width: auto;
    border: none;
    border-radius: 4px;
    filter: drop-shadow(0 3px 8px rgba(26, 67, 113, 0.22));
    transition: transform 0.25s ease;
}

.logo-area img:hover {
    transform: scale(1.03);
}

.announcement {
    background: linear-gradient(145deg, #ffffff, #eef4fa);
    border: 2px solid var(--border-strong);
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 13.6px;
    line-height: 1.6;
    width: 100%;
    max-width: 780px;
    box-shadow: var(--shadow-soft),
                inset 0 1px 0 rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}

.announcement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--accent-main), 
        var(--accent-gold), 
        var(--accent-coral), 
        var(--accent-amber),
        var(--accent-main));
}

.announcement b {
    color: var(--accent-title);
    font-weight: 700;
}

.announcement a {
    color: var(--accent-main);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid transparent;
    transition: all 0.2s ease;
}

.announcement a:hover {
    color: var(--accent-coral);
    border-bottom-color: var(--accent-coral);
}

a {
    color: var(--accent-main);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent-coral);
}

.section {
    background: linear-gradient(180deg, #ffffff 0%, #edf3f9 100%);
    border: 1.5px solid var(--border);
    border-radius: 4px;
    margin-bottom: 14px;
    padding: 12px 14px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.section:hover {
    box-shadow: var(--shadow);
    border-color: var(--border-strong);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-soft), 
        var(--accent-gold), 
        var(--accent-coral), 
        var(--accent-soft), 
        transparent);
    opacity: 0.9;
}

.section h3 {
    position: relative;
    font-size: 17.5px;
    color: var(--accent-title);
    margin-bottom: 12px;
    font-weight: 700;
    text-align: center;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.4px;
}

.section h3::before,
.section h3::after {
    content: '◆';
    font-size: 11px;
    color: var(--accent-coral);
    opacity: 0.8;
}

.icon-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 10px 8px;
    justify-items: center;
    padding: 8px 0;
    max-width: 1160px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .icon-container {
        grid-template-columns: repeat(10, 1fr);
        gap: 14px 12px;
    }
}

@media (max-width: 1023px) {
    .icon-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px 6px;
        padding: 8px 4px;
    }
   
    .icon-item .naicon img {
        width: 48px;
        height: 48px;
    }
   
    .icon-item {
        max-width: 72px;
    }
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 82px;
}

.icon-item .naicon img {
    width: 54px;
    height: 54px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(26, 67, 113, 0.16);
    object-fit: cover;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
    border: 1.5px solid rgba(255,255,255,0.85);
}

.icon-item:hover .naicon img {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 5px 14px rgba(26, 67, 113, 0.26);
}

@media (max-width: 480px) {
    .icon-container {
        gap: 8px 5px;
    }
   
    .icon-item .naicon img {
        width: 46px;
        height: 46px;
    }
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px 7px;
}

.link-grid a {
    padding: 7px 5px;
    font-size: 15px;
    background: #ffffff;
    border: 0px solid var(--border);
    border-radius: 3px;
    text-align: center;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.2s ease;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 1px 3px rgba(26, 67, 113, 0.08);
}

.link-grid a:hover {
    background: linear-gradient(135deg, #eef4fa, #e3ebf3);
    color: var(--accent-title);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(26, 67, 113, 0.18);
    border-color: var(--accent-main);
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
}

.icon-item .naicon img {
    width: 54px;
    height: 54px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(26, 67, 113, 0.16);
}

@media (max-width: 1200px) {
    .link-grid { grid-template-columns: repeat(8, 1fr); }
}

@media (max-width: 992px) {
    .link-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 640px) {
    .header {
        gap: 10px;
        margin-bottom: 14px;
    }
   
    .announcement {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 3px;
    }
   
    .section {
        padding: 10px 8px;
        margin-bottom: 10px;
        border-radius: 3px;
    }
   
    .section h3 {
        font-size: 16px;
        gap: 6px;
        margin-bottom: 10px;
    }
   
    .link-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px 4px;
    }
   
    .link-grid a {
        font-size: 12.4px;
        padding: 7px 3px;
        border-radius: 2px;
    }
   
    :root {
        --logo-height: 100px;
    }
}

@media (max-width: 480px) {
    .link-grid { 
        grid-template-columns: repeat(4, 1fr); 
    }
    .link-grid a {
        font-size: 12px;
        padding: 6px 2px;
    }
}

footer {
    background: linear-gradient(180deg, #ffffff, #eef4fa);
    border: 1.5px solid var(--border);
    border-radius: 4px;
    padding: 18px 16px;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 18px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, 
        var(--accent-main), 
        var(--accent-gold), 
        var(--accent-coral), 
        var(--accent-amber),
        var(--accent-main));
}

footer a {
    color: var(--accent-main);
}

footer a:hover {
    color: var(--accent-coral);
}

footer .apply-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-main), #1a5276);
    color: white;
    padding: 8px 28px;
    border: none;
    border-radius: 3px;
    font-weight: 600;
    font-size: 14px;
    margin: 14px 0 18px;
    box-shadow: 0 3px 10px rgba(26, 67, 113, 0.32);
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

footer .apply-btn:hover {
    background: linear-gradient(135deg, var(--accent-coral), #2e5a7a);
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(42, 89, 130, 0.38);
}