:root {
            --primary-color: #4361ee;
            --secondary-color: #6c757d;
            --success-color: #2ecc71;
            --info-color: #00b4d8;
            --warning-color: #f39c12;
            --danger-color: #e74c3c;
            --light-color: #f8f9fa;
            --dark-color: #2c3e50;
            --border-radius: 12px;
            --shadow: 0 4px 20px rgba(0,0,0,0.08);
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            --gradient-primary: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
            --glass-effect: rgba(255, 255, 255, 0.8);
            --backdrop-blur: blur(10px);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            background: #f8fafc;
            color: #333;
            overflow-x: hidden;
            padding-bottom: 80px;
            line-height: 1.6;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(67, 97, 238, 0.03) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(58, 12, 163, 0.03) 0%, transparent 20%);
            background-attachment: fixed;
        }

        /* 主要内容区域 */
        .main-content {
            padding: 0;
            background: transparent;
            max-width: 600px;
            margin: 0 auto;
        }

        /* 轮播Banner */
        .banner-section {
            margin: 0 !important;
            position: relative;
            padding: 0;
        }

        .banner-carousel {
            position: relative;
            border-radius: 16px; /* 容器圆角 */
            overflow: hidden;
            box-shadow: var(--shadow);
            height: 220px;
            margin: 16px;
        }

        .banner-slides {
            display: flex;
            width: 100%;
            height: 100%;
            transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .banner-slide {
            min-width: 100%;
            width: 100%;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fff;
            position: relative;
            height: 100%;
        }

        .banner-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .banner-title {
            position: absolute;
            left: 20px;
            top: 20px;
            color: white;
            font-size: 22px;
            font-weight: 700;
            z-index: 2;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
            max-width: 70%;
            background: rgba(0,0,0,0.3);
            padding: 8px 12px;
            border-radius: 8px;
            backdrop-filter: blur(5px);
        }

        /* 轮播导航按钮 - 矩形样式 */
        .banner-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            border: none;
            color: #333;
            width: 44px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            opacity: 0;
            z-index: 3;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            border-radius: 6px;
            font-size: 0;
            background: var(--glass-effect);
            backdrop-filter: var(--backdrop-blur);
        }
        
        .banner-nav i {
            font-size: 20px;
            color: var(--primary-color);
            transition: transform 0.2s ease;
        }
        
        .banner-carousel:hover .banner-nav {
            opacity: 1;
        }
        
        .banner-nav:hover {
            background: white;
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        }
        
        .banner-nav:hover i {
            transform: scale(1.2);
        }
        
        .banner-nav.prev {
            left: 20px;
        }
        
        .banner-nav.next {
            right: 20px;
        }
        
        /* 指示点样式 - 小矩形 */
        .banner-indicators {
            display: flex;
            justify-content: center;
            gap: 6px;
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3;
        }
        
        .banner-dot {
            width: 12px;
            height: 3px;
            border-radius: 2px;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .banner-dot.active {
            width: 24px;
            background: white;
            box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
        }

   .marquee-notice-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-notice-icon {
    margin-right: 10px;
}

.marquee-notice-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;  /* 初始位置在容器右侧 */
    animation: marquee 15s linear infinite;
    /* 设置动画延迟，让文字一开始就走出4个字 */
    animation-delay: -1s; /* 根据动画速度和文字长度调整这个值 */
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}


        .marquee-notice-close {
            margin-left: 16px;
            color: #999;
            cursor: pointer;
            flex-shrink: 0;
            transition: color 0.2s;
            font-size: 18px;
            background: none;
            border: none;
            padding: 0;
        }

        .marquee-notice-close:hover {
            color: var(--danger-color);
            transform: rotate(90deg);
            transition: transform 0.3s ease;
        }

        /* 功能按钮网格 */
        .function-grid {
            padding: 12px 16px;
            margin: 0 !important;
            position: relative;
            z-index: 1;
            background: transparent;
        }

        .function-buttons {
            display: flex;
            gap: 20px;
            padding: 10px 0;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            white-space: nowrap;
        }

        .function-buttons::-webkit-scrollbar {
            display: none;
        }

        .function-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none !important;
            color: #333 !important;
            min-width: 60px;
            padding: 8px;
        }

        .function-icon {
            width: 56px !important;
            height: 56px !important;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white !important;
            border-radius: 14px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            margin-bottom: 8px !important;
            background: var(--glass-effect) !important;
            backdrop-filter: var(--backdrop-blur);
            border: 1px solid rgba(255, 255, 255, 0.7);
            overflow: hidden; /* 确保图片不会超出容器 */
        }

        .function-icon img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important; /* 铺满容器，可能会裁剪图片 */
        }

        .function-text {
            font-size: 12px !important;
            font-weight: 500;
            color: #555 !important;
            text-align: center;
            white-space: nowrap;
        }

        /* 项目分类 */
        .category-section {
            padding: 0 16px;
            margin-bottom: 24px;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
            padding: 0 6px;
        }

        .section-title {
            font-size: 20px;
            font-weight: 700;
            color: #2c3e50;
            letter-spacing: -0.2px;
        }

        .more-link {
            color: #7f8c8d;
            font-size: 14px;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 3px;
            transition: all 0.2s ease;
        }

        .more-link:hover {
            color: #34495e;
            transform: translateX(2px);
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 16px;
        }

        .category-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 28px 16px;
            background: #ffffff;
            border-radius: 16px;
            text-decoration: none;
            color: #34495e;
            transition: all 0.2s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            border: 1px solid #ecf0f1;
        }

        .category-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
            border-color: #e0e6eb;
        }

        .category-item-icon {
            font-size: 52px;
            margin-bottom: 14px;
            line-height: 1;
            color: #3498db;
        }

        .category-item-text {
            font-size: 14px;
            font-weight: 600;
            color: #2c3e50;
            text-align: center;
            letter-spacing: -0.1px;
        }

        /* 更多项目 */
        .more-categories {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 16px;
            margin-top: 16px;
        }

        .more-category-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 24px 16px;
            background: #ffffff;
            border-radius: 16px;
            text-decoration: none;
            color: #34495e;
            transition: all 0.2s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            border: 1px solid #ecf0f1;
        }

        .more-category-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
            border-color: #e0e6eb;
        }

        /* 底部导航 */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            border-top: 1px solid rgba(0,0,0,0.05);
            padding: 8px 0;
            display: flex;
            justify-content: space-around;
            z-index: 1000;
            box-shadow: 0 -2px 15px rgba(0,0,0,0.05);
            max-width: 600px;
            margin: 0 auto;
            background: var(--glass-effect);
            backdrop-filter: var(--backdrop-blur);
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #888;
            padding: 8px 12px;
            transition: all 0.3s ease;
            border-radius: 8px;
            position: relative;
        }

        .nav-item.active {
            color: var(--primary-color);
        }

        .nav-item.active::after {
            content: "";
            position: absolute;
            bottom: -8px;
            width: 6px;
            height: 6px;
            background: var(--primary-color);
            border-radius: 50%;
        }

        .nav-item i {
            font-size: 22px;
            margin-bottom: 4px;
        }

        .nav-item span {
            font-size: 12px;
            font-weight: 500;
        }

        /* 弹窗样式 */
        .notice-dialog, .first-visit-dialog {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .notice-dialog.show, .first-visit-dialog.show {
            display: flex;
            opacity: 1;
        }

        .notice-dialog-content, .first-visit-dialog-content {
            background: white;
            border-radius: 16px;
            padding: 24px;
            width: 90%;
            max-width: 500px;
            max-height: 80vh;
            overflow-y: auto;
            transform: translateY(20px);
            transition: transform 0.3s ease;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            background: var(--glass-effect);
            backdrop-filter: var(--backdrop-blur);
        }

        .notice-dialog.show .notice-dialog-content,
        .first-visit-dialog.show .first-visit-dialog-content {
            transform: translateY(0);
        }

        .notice-dialog-header, .first-visit-dialog-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid #eee;
        }

        .notice-dialog-title, .first-visit-dialog-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--dark-color);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .notice-dialog-close, .first-visit-dialog-close {
            background: none;
            border: none;
            font-size: 22px;
            color: #999;
            cursor: pointer;
            padding: 0;
            transition: color 0.2s;
        }

        .notice-dialog-close:hover, .first-visit-dialog-close:hover {
            color: var(--danger-color);
        }

        .notice-dialog-body, .first-visit-dialog-body {
            font-size: 15px;
            line-height: 1.7;
            color: #555;
        }

        .notice-dialog-footer, .first-visit-dialog-footer {
            margin-top: 20px;
            text-align: center;
        }

        .notice-dialog-btn, .first-visit-dialog-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
            background: var(--gradient-primary);
        }

        .notice-dialog-btn:hover, .first-visit-dialog-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(67, 97, 238, 0.4);
        }

        /* 响应式调整 */
        @media (max-width: 480px) {
            .banner-carousel {
                height: 180px;
                margin: 12px;
            }
            
            .function-icon {
                width: 50px !important;
                height: 50px !important;
            }
            
            .category-item {
                padding: 20px 12px;
            }
            
            .category-item-icon {
                font-size: 36px;
            }
            
            .marquee-notice-container {
                padding: 12px 16px;
                margin: 14px;
            }
            
            .marquee-text {
                font-size: 14px;
            }
            
            .banner-nav {
                width: 36px;
                height: 50px;
            }
        }