
html,body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    font-size: 16px;
}

header {
    width: 100%;
    height: 5.2vw;
    padding: 0 5% 0 3%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-sizing: border-box;
}

/* 左侧logo区域 */
.header-left {
    display: flex;
    align-items: center;
    gap: 1.56vw;
     pointer-events: none;
}

.logo {
    width: 5.83vw;
    height: 3.125vw;
    /* 请替换实际logo图片路径 */
    background: url('./logo.png') no-repeat center/contain;
   
}

.site-name {
    color: #fff;
    font-size: clamp(1rem, 1.5vw, 1.75rem);
    white-space: nowrap;
}

/* 右侧导航 */
.nav-links {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    min-width: 0; /* 允许容器缩小 */
}

.nav-links a {
    color: #999;
    text-decoration: none;
    font-size: clamp(0.6rem, 0.8vw, 1.125rem); /* 减小最小字体 */
    position: relative;
    transition: color 0.3s;
    padding: 0 0.6vw; /* 减小间距 */
    white-space: nowrap; /* 防止文本换行 */
    overflow: hidden; /* 溢出处理 */
    text-overflow: ellipsis; /* 溢出显示省略号 */
}

/* 添加分隔线 */
.nav-links a + a::before {
    content: "";
    position: absolute;
    left: -0.05vw;
    top: 50%;
    transform: translateY(-50%);
    height: 0.73vw;
    width: 0.05vw;
    background: #666;
}

.nav-links a.active,
.nav-links a:hover {
    color: #fff;
}

.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.banner-img {
    width: 100%;
    height: auto;
}

.search {
    width: 100%;
    height: 8.33vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    position: relative;
}

.search-input {
    width: 40%;
    height: 2.34vw;
    padding: 0 2.34vw 0 1.04vw;
    border: 0.05vw solid #fff;
    border-radius: 1.3vw;
    background: transparent;
    color: #fff;
    font-size: 0.83vw;
    z-index: 1;
}

.search-icon {
    width: 1.98vw;
    height: 1.98vw;
    position: absolute;
    right: calc(50% - 20% + 0.36vw);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    z-index: 2;
}

.footer {
    width: 100%;
    height: auto;
    padding: 1.56vw 2.6vw 5.2vw;
    border-top: 0.05vw solid #333;
    background: #000;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.footer-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4.16vw;
    align-items: center;
    min-width: 0; /* 允许容器缩小 */
}

.footer-column {
    min-width: 0; /* 允许列缩小 */
}

.footer-img img {
    max-width: 10.4vw;
    display: block;
    margin: 0 auto;
}

.ip {
    color: #eee
}

.footer-column img {
    max-width: 10.4vw;
    display: block;
    margin: 0 auto 0.78vw;
}

.contact-info {
    line-height: 1.8;
    color: white;
    font-size: clamp(0.6rem, 0.8vw, 1rem); /* 调整字体范围 */
    min-width: 0; /* 允许内容缩小 */
}

.footer-links {
    margin-top: 1.04vw;
    font-size: clamp(0.6rem, 0.8vw, 1rem); /* 调整字体范围 */
    min-width: 0; /* 允许内容缩小 */
}

.footer-links a {
    text-decoration: none;
    color: #fff;
}

.ip {
    color: #eee;
    font-size: clamp(0.6rem, 0.8vw, 1rem); /* 调整字体范围 */
}

.ip a {
    text-decoration: none;
    color: #fff;
}

/* 移动端适配 - 仅调整极端情况 */
@media (max-width: 480px) {
    .nav-links a {
        font-size: 2.5vw;
        padding: 0 1.5vw;
    }
    
    .contact-info, .footer-links, .ip {
        font-size: 2.5vw;
    }
}    