* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #000;
    color: #fff;
    background-image: url('https://dss2.bdstatic.com/lfoZeXSm1A5BphGlnYG/skin/445.jpg?2');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    /* 移除最小宽度限制，使页面可以在小屏幕上正常显示 */
    /* min-width: 1250px; */
}
.header {
    height: 60px;
    padding: 20px 0;
    position: relative;
}
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    font-size: 13px;
    background: rgba(0,0,0,.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 24px;
    background-color: #0078d7;
    border-radius: 4px;
    margin-right: 8px;
}
.nav-left {
    display: flex;
    align-items: center;
}
.nav-left a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    margin-left: 20px;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.nav-left a:hover {
    opacity: 1;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-right a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.nav-right a:hover {
    opacity: 1;
}
.main {
    padding-top: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.version-switch {
    display: inline-flex;
    font-size: 32px;
    /* background: rgba(255, 255, 255, 0.1); */
    border-radius: 20px;
    padding: 5px;
    margin: 30px auto 0px auto;
}
.version-switch a {
    padding: 5px 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    font-size: 14px;
}
.version-switch a.active {
    background: rgba(255, 255, 255, 0.2);
}
.search-wrapper {
    margin: 10px auto 40px auto;
    max-width: 650px;
    position: relative;
}
.search-container {
    display: flex;
    border: 2px solid #4e6ef2;
    border-radius: 24px;
    padding: 0;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.search-box {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    outline: none;
    border-radius: 24px 0 0 24px;
     background: transparent;
    color: #fff;
}
.search-box::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.search-btn {
    width: 80px;
    height: 50px;
    border: none;
    background: #4e6ef2;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0 21px 21px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.search-btn:hover {
    background: rgba(0, 120, 215, 1);
}
.search-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}
.search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}