/* ===== 顶部栏 ===== */
.header-1 .top-bar {
    background: #fafafa;
    height: 30px;
    line-height: 30px;
}

.header-1 .top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-1 .top-bar .slogan {
    color: #666;
    font-size: 13px;
}

.header-1 .top-bar .links {
    display: flex;
    gap: 4px;
}

.header-1 .top-bar .links a {
    color: #555;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 3px;
    transition: color .2s;
    padding: 0 10px;
}

.header-1 .top-bar .links a:hover {
    color: #e8511a;
}

.header-1 .top-bar .links a.fire::before {
    content: "🔥";
    font-size: 13px;
}

/* ===== 中间Logo+搜索区 ===== */
.header-1 .header-main {
    height: 80px;
}

.header-1 .header-main .container {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Logo */
.header-1 .logo {
    flex-shrink: 0;
    margin-right: 60px;
    text-decoration: none;
    display: inline-block;
    width: 152px;
    height: 63px;
    margin-top: 15px;
}

.header-1 .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 搜索 */

.header-1 .search-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 438px;
    height: 42px;
    /*margin: 0;*/
}

.header-1 .search-input-wrap {
    position: relative;
    flex: 1;
}

.header-1 .search-icon {
    width: 40px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

/* 静态占位文字 + 轮播软件名 */
.header-1 .search-placeholder {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0;
    pointer-events: none;
    color: #999;
    font-size: 14px;
    white-space: nowrap;
}

.header-1 .search-placeholder .kw {
    color: #999;
    transition: opacity 0.4s;
}

.header-1 #searchInput {
    width: 100%;
    height: 40px;
    border: 1px solid #4182e1;
    border-right: none;
    border-radius: 4px 0 0 4px;
    padding: 0 12px 0 50px;
    font-size: 14px;
    color: #666;
    outline: none;
    font-family: inherit;
    background: transparent;
    box-sizing: border-box;
}

.header-1 #searchInput:focus+.search-placeholder {
    display: none;
}

.header-1 .search-btn {
    height: 40px;
    width: 90px;
    background: #4182e1;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-1 .search-btn:hover {
    background: #316ec6;
}

/* 热词 — 与搜索框同行，紧跟其后 */
.header-1 .hot-words {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.header-1 .hot-words a {
    color: #5c5c5c;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
    white-space: nowrap;
}

.header-1 .hot-words a:hover {
    color: #ff5a60;
}

.header-1 .hot-words a.highlight {
    color: red;
}

/* ===== 导航栏 ===== */
.header-1 .nav-bar {
    background: #4182e1;
    height: 46px;
    box-shadow: 0px 4px 18px 0px rgba(185, 177, 255, 0.53);
    margin-top: 5px;
}

.header-1 .nav-bar .container {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.header-1 .nav-bar .item {
    display: flex;
    align-items: stretch;
    width: 109px;
    flex-shrink: 0;
}

.header-1 .nav-bar .item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: background .18s, color .18s;
    white-space: nowrap;
}

.header-1 .nav-bar .item a:hover,
.header-1 .nav-bar .item a.active {
    background: #316ec6;
    color: #fff;
}

/* 占位展示用 */
.header-1 .page-demo {
    text-align: center;
    padding: 60px 0;
    color: #aaa;
    font-size: 20px;
}