@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f8f8f8;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 快手风格头部 - 使用快手橙色 */
.header {
    background-color: #ff9900;
    color: white;
    box-shadow: 0 2px 10px rgba(255, 153, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: 12px 0;
    background: linear-gradient(to right, #ff9900, #ff6600);
}

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

.site-title {
    font-size: 28px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.site-title i {
    margin-right: 10px;
    font-size: 32px;
}

.slogan {
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 6px 18px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* 导航菜单 - 快手橙色，加大字体 */
.nav-menu {
    background-color: #ff9900;
    padding: 12px 0;
}

.nav-menu .container {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: 30px;
}

.nav-links li {
    margin-right: 30px;
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    padding: 10px 0;
    position: relative;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    transform: translateY(-2px);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(255,255,255,0.5);
}


/* 底部信息 - 使用快手橙色 */
.footer {
    background: linear-gradient(to right, #ff9900, #ff6600);
    padding: 50px 0 25px;
    margin-top: 60px;
    color: white;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ff6600, #ff9900);
}

.footer-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 250px;
    margin-bottom: 25px;
    padding: 0 20px;
}

.feature-title {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.feature-title i {
    color: white;
    margin-right: 12px;
    font-size: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
}

.feature-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.footer-bottom a:hover,
.footer-bottom a{
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

/* 移动端底部菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #ff9900, #ff6600);
    z-index: 1000;
    padding: 12px 0;
    box-shadow: 0 -3px 15px rgba(255, 153, 0, 0.2);
}

.mobile-menu-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    flex: 1;
    transition: all 0.3s;
}

.mobile-menu-item:hover {
    transform: translateY(-5px);
}

.mobile-menu-icon {
    font-size: 22px;
    margin-bottom: 5px;
}

.mobile-menu-text {
    font-size: 12px;
}

.mobile-menu-item.active {
    color: white;
    position: relative;
}

.mobile-menu-item.active:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
}


@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    /* 隐藏桌面端导航，显示移动端菜单 */
    .nav-menu {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    /* 移动端布局调整 */
    .main-content {
        width: 100%;
        flex-direction: column;
        margin: 15px auto;
        gap: 15px;
    }
    
    /* 移动端底部只保留版权信息 */
    .footer-features {
        display: none;
    }
    
    .footer {
        padding: 20px 0 10px;
        margin-top: 30px;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 12px;
    }
    
    /* 底部边距调整，避免被移动菜单遮挡 */
    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 24px;
    }
    
    .site-title i {
        font-size: 28px;
    }
    
    .slogan {
        font-size: 16px;
        padding: 5px 14px;
    }
    .footer {
        padding: 15px 0 10px;
    }
}