.bg{ 
    
    margin-bottom: 0px;
    background:#d7d7d7;
    box-shadow: 0 0 5px rgb(0 0 0 / 20%)
    
} 
body {
    padding-top: 2rem;
    background: #f0f0f0;
}
text1{font-size:22px}

.navbar-new {
    position: relative;
    float: right;
    margin-right: 15px;
    padding: 9px 10px;
    margin-top: 2px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 0;
}

.nav-second {
    font-size: 15px;
    height: 40px;
    background-color: #ddd;
    padding: 0 !important;
}
.pure-menu-list {
    list-style: none;
	float:left;
	justify-content:center;
    margin: 0;
    padding: 0;
}

.pure-menu-horizontal.pure-menu-scrollable {
    white-space: nowrap;
    overflow-y: hidden;
    overflow-x: auto;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: .5em 0;
}

.menu-item {
    display: inline-block;
    zoom: 1.2;
    vertical-align: middle;
	margin: auto;
    margin-top: 5px;
}
.menu-item a{
    color:black;
}
.alert-warning {
color: #8a6d3b;
background-color: #fcf8e3;
border-color: #faebcc;
}

.alert {
padding: 15px;
margin-bottom: 2px;
border: 1px solid transparent;
border-radius: 4px;
}

.dropdown-menu {
    min-width: 60px;
    background:rgb(79,79,79);
}
.dropdown-menu>li>a{
    padding: 2px 10px;
    font-size: small;
    color:#2780E3;
}
/* 搜索容器 */
.search-mobile-container {
    padding: 10px 15px;
}

.mobile-alert {
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
    margin-bottom: 12px;
    background: #fff3cd;
    border: none;
}

/* 搜索输入组 */
.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* 输入框样式 */
.search-input {
    flex: 1;
    height: 42px;
    padding: 0 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    transition: all 0.3s;
    background: #f8f9fa;
}

.search-input:focus {
    border-color: #337ab7;
    background: #fff;
}

/* 热搜词容器 */
.hot-search-tags {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 10px;
    display: none;
    z-index: 1000;
}

/* 显示热搜词 */
.search-input:focus + .hot-search-tags {
    display: block;
}

/* 热搜标签 */
.tag {
    display: inline-block;
    padding: 8px 15px;
    margin: 4px;
    background: #f3f4f6;
    border-radius: 18px;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.tag:hover {
    background: #337ab7;
    color: #fff;
}

/* 搜索按钮 */
.search-btn {
    position: absolute;
    right: 1px;
    width: 6em;
    height: 42px;
    padding: 0 20px;
    background: #337ab7;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.search-btn:hover {
    background: #286090;
    transform: translateY(-1px);
}
/* 热搜标题 */
.hot-search-header {
    padding: 6px 10px;
    border-bottom: 1px solid #eee;
}

.hot-search-header span {
    color: #333;
    font-weight: 400;
    margin-right: 4px;
}

.hot-search-header small {
    color: #999;
    font-size: 12px;
}

.list-boxes{
    position: relative;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(55, 55, 55, 211);
}
.tc-box{
    box-shadow: 0 2px 10px;
    border-radius: 20px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    padding-top: 80px;
    background-color: #f5f7fa;
    color: #333;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(44, 62, 80, 0.85);
    backdrop-filter: blur(10px);
    padding: 5px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
}

.navbar-header {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 22px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo img {
    width: 180px;
    height: auto;
    margin-right: 12px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
    margin: 0 5px;
}

.menu-item > a {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-item > a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #f39c12;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu-item > a:hover:after,
.menu-item.active > a:after {
    width: 80%;
}

.menu-item > a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.menu-item.active > a {
    background: rgba(255, 255, 255, 0.15);
}

.dropdown-toggle {
    display: flex;
    align-items: center;
}

.dropdown-toggle .caret {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.new-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
}

.new-dropdown-menu:before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.dropdown:hover .new-dropdown-menu,
.dropdown.active .new-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.dropdown.active .dropdown-toggle .caret1 {
    transform: rotate(180deg);
}

.new-dropdown-menu li {
    margin: 0;
}

.new-dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.new-dropdown-menu a:hover {
    background: #f8f9fa;
    border-left: 3px solid #3498db;
    padding-left: 25px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.content h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.content p {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.demo-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }
    
    .main-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2c3e50;
        flex-direction: column;
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    .main-menu.active {
        max-height: 500px;
        padding: 10px;
    }
    
    .menu-item {
        margin: 5px 0;
        width: 100%;
    }
    
    .menu-item > a {
        padding: 5px 10px;
        border-radius: 6px;
        justify-content: space-between;
    }
    
    .new-dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin-top: 10px;
        border-radius: 6px;
        transform: none;
        max-height: 0;
        opacity: 1;
        font-size: 12px;
        visibility: visible;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .new-dropdown-menu {
        max-height: 300px;
    }
    
    .new-dropdown-menu:before {
        display: none;
    }
    
    .new-dropdown-menu a {
        color: rgba(255, 255, 255, 0.9);
        padding: 3px 15px;
    }
    
    .new-dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 576px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo img {
        width: 180px;
    }
}
