/* 头部样式 */
header {
    background-color: #f8f9fa;
}

.logo {
    display: inline-block;
}

.logo img {
    max-height: 60px;
    width: auto;
}

.search-form {
    display: flex;
    justify-content: flex-end;
}

.search-form .input-group {
    width: 100%;
    max-width: 400px;
}

.search-form .form-control {
    border-radius: 4px 0 0 4px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
    font-size: 14px;
}

.search-form .btn {
    border-radius: 0 4px 4px 0;
    padding: 0 20px;
    background-color: #ff4400;
    border: 1px solid #ff4400;
}

.search-form .btn:hover {
    background-color: #e63c00;
    border-color: #e63c00;
}

/* 导航栏样式 */
nav {
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-top: 15px;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-menu a:hover {
    background-color: #f8f8f8;
    color: #ff4400;
    transform: translateY(-2px);
}

.nav-menu a:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav{
        display: none;
    }
}

/* 左侧区域样式 */
.left-sidebar {
    position: relative;
    transition: all 0.3s ease;
}

.left-sidebar .left-sidebar-content {
    /* position: absolute;
    top: 0; */
    width: 100%;
}

/* 幸运大抽奖 */
.lottery {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.lottery:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lottery i {
    font-size: 20px;
    animation: pulse 2s infinite;
}
.lottery a{
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #1dd1a1, #5f27cd, #ff9ff3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* 左侧导航菜单 */
.nave {
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nave ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nave li {
    border-bottom: 1px solid #f0f0f0;
}

.nave li:last-child {
    border-bottom: none;
}

.nave a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nave a:hover {
    background-color: #e8e8e8;
    color: #ff4400;
    padding-left: 20px;
}

.nave a i {
    margin-right: 10px;
}

/* 左侧广告 */
.left-ad {
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.left-ad a {
    display: block;
}

.left-ad img {
    width: 100%;
    height: auto;
}


/* 新footer样式 */
.newfooter {
    background-color: #fff;
    padding: 30px 0 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 30px;
}

.newfooter .inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.newfooter-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.company-info {
    flex: 1;
    min-width: 300px;
}

.company-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.company-info p {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.contact-info {
    flex: 1;
    /* min-width: 200px; */
}

.contact-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-info p {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.qrcode-section {
    flex: 0 0 auto;
}

.qrcode-section h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.qrcode-container2 ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.qrcode-container2 li {
    flex: 0 0 auto;
}

.qrcode-img2 {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #e0e0e0;
    color: #888;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .newfooter-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .company-info,
    .contact-info {
        min-width: 100%;
    }
    
    .qrcode-section {
        margin-top: 20px;
    }
}

/* 移动端底部导航 */
.mobile_footer {
    width: 100%;
    height: 60px;
    background-color: #f5f5f5;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: block;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: none !important;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media screen and (min-width: 768px) {
    .mobile_footer {
        display: none;
    }
}

/* 弹出层样式 */
.mobile_model_category,
.mobile_model_user {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 60px;
    background-color: #ffffff;
    z-index: 999;
    display: none;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

/* 弹出动画 */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* 底部导航样式 */
.mobile_footer_main {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile_footer_item {
    flex: 1;
    text-align: center;
}

.mobile_footer_item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666666;
    text-decoration: none;
    height: 100%;
}

.mobile_footer_icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.mobile_footer_text {
    font-size: 12px;
}

.mobile_footer_item a:hover,
.mobile_footer_item a.active {
    color: #ff4400;
}

/* 目录弹出层样式 */
.mobile_model_category_main {
    padding: 15px;
}

.mobile_model_category_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile_model_category_item {
    margin-bottom: 15px;
}

.mobile_model_category_item a {
    display: block;
    padding: 12px 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile_model_category_item a:hover {
    background-color: #e8e8e8;
    color: #ff4400;
}

.mobile_model_category_ad {
    margin-top: 15px;
}

.mobile_model_category_ad li {
    margin-bottom: 15px;
}

.mobile_model_category_ad li img {
    margin: 0 auto;
    max-width: 100%;
}

/* 用户弹出层样式 */
.mobile_model_user_main {
    padding: 15px;
}

.mobile_model_user_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile_model_user_item {
    margin-bottom: 15px;
}

.mobile_model_user_item a {
    display: block;
    padding: 12px 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile_model_user_item a:hover {
    background-color: #e8e8e8;
    color: #ff4400;
}