/* ========== 全局样式 ========== */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: #f5f7fa;
    color: #333;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: #0056b3;
}
a:hover {
    text-decoration: underline;
}

/* 页头导航 */
header {
    background: #0d2538;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header .logo {
    font-size: 1.4rem;
    font-weight: bold;
}
header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
header nav ul li {
    margin: 0 10px;
}
header nav ul li a {
    color: #fff;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}
header nav ul li a:hover {
    background: #1c3f5d;
}

/* 推荐VPN区块 */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
}
.hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.hero p {
    font-size: 1rem;
    color: #555;
}

/* VPN 卡片布局 */
.vpn-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    width: 280px;
    text-align: center;
}
.card img {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}
.card h2 {
    font-size: 1.3rem;
    margin: 10px 0;
}
.card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}
.card .btn {
    display: inline-block;
    padding: 10px 15px;
    background: #0056b3;
    color: #fff;
    border-radius: 6px;
    transition: background 0.3s;
}
.card .btn:hover {
    background: #003d80;
}

/* 最新文章区块 */
.latest-posts {
    background: #f0f4f9;
    padding: 30px 20px;
    margin-top: 30px;
}
.latest-posts h2 {
    text-align: center;
    margin-bottom: 15px;
}
.latest-posts ul {
    list-style: none;
    max-width: 600px;
    margin: auto;
    padding: 0;
}
.latest-posts li {
    margin: 10px 0;
    font-size: 1rem;
}

/* 页脚 */
footer {
    background: #0d2538;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}
