body {
    background: #101311 url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #e6e6e6;
}

header {
    background-color: rgba(10, 25, 47, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.btn-primary,
header nav ul li a.btn-primary,
nav ul li a.btn-primary {
    background-color: #64ffda;
    color: #0a192f !important;
    padding: 6px 22px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    border: none;
    transition: background 0.2s, color 0.2s;
    margin-right: 0;
    box-shadow: none;
    line-height: 1.5;
}
.btn-primary:hover,
header nav ul li a.btn-primary:hover,
nav ul li a.btn-primary:hover,
.btn-primary:active,
header nav ul li a.btn-primary:active,
nav ul li a.btn-primary:active {
    background-color: #52e0c4;
    color: #0a192f !important;
}
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.3em;
}

.logo img {
    height: 36px;
    width: 36px;
    margin-right: 10px;
    object-fit: contain;
    background: transparent;
    border-radius: 6px;
    filter: none;
}

.nav-link {
    color: #ccd6f6;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: #64ffda;
    background: rgba(100,255,218,0.08);
    border-radius: 4px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 28px;
}

nav ul li:first-child {
    margin-left: 0;
}

header nav ul li a,
nav ul li a {
    color: #ccd6f6;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.2s;
    padding: 6px 10px;
    border-radius: 4px;
    background: none;
    margin: 0;
    display: inline-block;
}

header nav ul li a.active,
header nav ul li a:hover,
nav ul li a.active,
nav ul li a:hover {
    color: #64ffda;
    background: rgba(100,255,218,0.08);
}

@media (max-width: 900px) {
    .container {
        padding: 0 12px;
    }
    .logo {
        font-size: 1em;
    }
    nav ul li {
        margin-left: 16px;
    }
}
@media (max-width: 600px) {
    .container {
        flex-direction: column;
        height: auto;
        padding: 0 4px;
    }
    .logo {
        margin-bottom: 8px;
    }
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    nav ul li {
        margin: 6px 0 0 0;
    }
}

.blog-container {
    max-width: 1200px;
    margin: 100px auto 0 auto;
    padding: 0 24px 60px 24px;
}
.blog-title {
    font-size: 3em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 32px;
}
.blog-featured {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}
.blog-featured-img {
    width: 60%;
    border-radius: 16px;
    object-fit: cover;
    min-height: 220px;
    max-height: 320px;
}
.blog-featured-content {
    background: #181b19cc;
    border-radius: 16px;
    padding: 32px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.blog-featured-content h2 {
    color: #fff;
    font-size: 1.6em;
    margin-bottom: 12px;
}
.blog-featured-content p {
    color: #bdbdbd;
    font-size: 1.1em;
    margin-bottom: 24px;
}
.blog-featured-meta {
    color: #888;
    font-size: 0.95em;
    margin-top: auto;
}
.blog-categories {
    display: flex;
    gap: 18px;
    margin-bottom: 32px;
}
.blog-category {
    background: #232623cc;
    color: #e6e6e6;
    border: none;
    border-radius: 8px;
    padding: 7px 18px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.blog-category.active, .blog-category:hover {
    background: #e6e6e6;
    color: #232623;
}
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.blog-card {
    background: #181b19cc;
    border-radius: 14px;
    padding: 28px 24px 22px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
}
.blog-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    transform: translateY(-4px) scale(1.02);
    background: #232623ee;
}
.blog-card h3 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 10px;
}
.blog-card p {
    color: #bdbdbd;
    font-size: 1em;
    margin-bottom: 18px;
}
.blog-card-meta {
    color: #888;
    font-size: 0.95em;
    margin-top: auto;
}
@media (max-width: 900px) {
    .blog-featured {
        flex-direction: column;
    }
    .blog-featured-img {
        width: 100%;
        max-height: 220px;
    }
} 

footer {
    text-align: center; /* 文本居中 */
    padding: 2px 0; /* 上下内边距 */
    margin-top: 40px; /* 与上方内容的间距 */
    border-top: 1px solid #eee; /* 顶部边框线，可选 */
    font-size: 1.1em; /* 字体大小 */
    color: #ffffff; /* 字体颜色 */
}