/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* 顶部标题栏 */
.header {
    color: #eeeded;
    text-align: center;
    top: 0;
    z-index: 100;
}

/* 搜索框 */
.search-box {
    padding: 15px;
    background-color: white;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.search-box input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
    background-color: #f5f5f5;
}

.search-box input:focus {
    border-color: #6e8efb;
    background-color: white;
}

/* 分类标签 */
.category-tabs {
    display: flex;
    overflow-x: auto;
    padding: 0 15px 10px;
    position: sticky;
    top: 40px;
    z-index: 90;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    padding: 8px 15px;
    margin-right: 8px;
    border-radius: 15px;
    margin-top: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    background-color: #f5f5f5;
    color: #666;
    cursor: pointer;
}

.category-tab.active {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
}

/* 导航网格布局 */
.nav-grid {
    display: block;
    padding: 5px;
    cursor: pointer;
}

/* 导航卡片 */
.nav-card {
    background-color: #0d1c12;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    height: 25px;
    float: left;
    margin: 2px;
}

.nav-card:active {
    transform: scale(0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 导航图标 */
.nav-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 10px;
    display: flex;
    font-size: 1.5rem;
    color: #6e8efb;
}
.nav-icon i{
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 32px;
    margin-left: 5px;
}

/* 导航标题 */
.nav-title {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    padding: 0 5px;
    color: #dee3e3;
    margin-left: 1px;
    display: initial;
    line-height: 25px;
}

/* 分类标题 */
.section-title {
    padding: 10px 5px 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 8px;
    color: #dee3e3;
}

.section-title > span {
    color: #dee3e3;
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #888;
    font-size: 0.8rem;
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 3px;
}

.nav-item.active {
    color: #6e8efb;
}

/* 响应式调整 */
@media (min-width: 500px) {
    .nav-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .nav-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
/* 响应式设计 */
@media (min-width: 800px) {
    body {
        max-width: 800px;
        margin-left: 50% !important;
        transform: translateX(-50%);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
}

.header {
    color: #e3e0e0;
    position: relative;
    overflow: hidden;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.notification-container {
    flex-grow: 1;
    margin: 0 10px;
    overflow: hidden;
    height: 20px;
    position: relative;
}

.notification-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    /*animation: scrollText 15s linear infinite;*/
}

.notification-icon {
    margin-right: 10px;
    color: #f1c40f;
}

.notification-text {
    font-size: 13px;
    margin-right: 50px; /* 消息间隔 */
}

@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.user-actions a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
}

.user-actions a:hover {
    color: #f1c40f;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    /*background-color: #132A1C;*/
    background: linear-gradient(0deg, #3A5243, #132A1C);
    min-height: 750px;
}

.home-img, .home-img-dev{
    box-shadow: 0 5px 10px rgb(31, 60, 41);
    width: 99%;
    margin-left: 0.5%;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.home-img-dev {

}

.content {
    flex: 1;
    padding: 20px;
}

.footer {
    color: white;
    padding: 20px 0;
    text-align: center;
    position: absolute;
    bottom:0;
}

.footer-content {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 10px;
}

.footer-section {
    flex: 1;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.footer-section a {
    display: block;
    text-decoration: none;
    margin-bottom: 8px;
    float: left;
    margin-left: 5px;
}

.footer-section a:hover {
    color: white;
}

.copyright {
    width: 100%;
    text-align: center;
    padding-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 5px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-section {
        flex: 100%;
        text-align: center;
    }
}
.section-title-icon{
    width: 20px;
    height: 20px;
}
.nav-card-icon{
    width: 16px;
    height: 16px;
    margin-top: 5px;
    margin-left: 5px;
    border-radius: 5px;
}
#section0 {
    display: none;
}
