.header,
.top-header {
    pointer-events: auto;
}

.header .container,
.top-header .container {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav {
    display: flex;
    gap: 50px;
}

.nav a {
    position: relative;
    color: #111827;
    text-decoration: none;
    font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 8px rgba(255,255,255,0.62), 0 1px 2px rgba(0,0,0,0.12);
    transition: color 0.25s ease, transform 0.25s ease, text-shadow 0.25s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -7px;
    height: 2px;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    transform: scaleX(0.35);
    background: linear-gradient(90deg, transparent, rgba(130, 207, 255, 0.88), rgba(184, 168, 255, 0.68), transparent);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav a:hover {
    color: #4b78d8;
    transform: translateY(-1px);
    text-shadow: 0 2px 12px rgba(118, 197, 255, 0.45);
}

.nav a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.blog-title {
    font-family: "STKaiti", "KaiTi", "FangSong", "Songti SC", "Noto Serif CJK SC", "PingFang SC", "Microsoft YaHei", serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #203048;
    background: linear-gradient(135deg, #203048 0%, #4f77d9 45%, #8fcfff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 0 rgba(255,255,255,0.74), 0 8px 24px rgba(126, 202, 255, 0.24);
}
