:root {
            --primary-color: #ff5e62;
            --primary-gradient: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
            --blue-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            --green-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
            --purple-gradient: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
            --bg-color: #f7f8fa;
            --card-bg: #ffffff;
            --text-main: #333333;
            --text-sub: #999999;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
            --radius-md: 12px;
            --radius-lg: 16px;
            --app-max-width: 540px; /* 定义最大宽度，保证电脑端比例协调 */
        }

        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        
        /* Body 基础样式 */
        body { 
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
            background-color: #eef2f5; /* 电脑端背景色 */
            color: var(--text-main); 
            min-height: 100vh;
            display: flex;
            justify-content: center; /* 居中显示 */
        }

        /* 核心容器：限制最大宽度，模拟 APP 视图 */
        .app-container {
            width: 100%;
            max-width: var(--app-max-width);
            background-color: var(--bg-color);
            min-height: 100vh;
            position: relative;
            box-shadow: 0 0 40px rgba(0,0,0,0.1); /* 电脑端增加阴影提升质感 */
            padding-top: 50px; /* 留出 header 高度 */
            padding-bottom: 70px; /* 留出 footer 高度 */
        }
        
        /* 顶部导航 */
        .header { 
            position: fixed; 
            top: 0; 
            width: 100%; 
            max-width: var(--app-max-width); /* 限制宽度 */
            height: 50px; 
            background: rgba(255,255,255,0.95); 
            backdrop-filter: blur(10px); 
            display: flex; 
            align-items: center; 
            justify-content: space-between; 
            padding: 0 15px; 
            box-shadow: 0 1px 0 rgba(0,0,0,0.05); 
            z-index: 1000; 
            /* 保证在电脑屏幕居中 */
            left: 50%;
            transform: translateX(-50%);
        }

        .logo { font-size: 18px; font-weight: 700; color: #333; }
        .user-info span { font-size: 13px; color: #666; margin-right: 8px; }
        .logout-btn, .login-btn { border: none; padding: 6px 14px; border-radius: 20px; font-size: 12px; cursor: pointer; transition: 0.2s; }
        .logout-btn { background: #f0f0f0; color: #666; }
        .login-btn { background: var(--primary-gradient); color: #fff; }
        .logout-btn:active, .login-btn:active { transform: scale(0.95); }

        /* Banner styles moved to index.php style block */

        /* 跑马灯 */
        .marquee { display: flex; align-items: center; background: #fff; margin: 0 15px 15px; padding: 10px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
        .marquee-icon { color: #ff9966; margin-right: 10px; display: flex; flex-shrink: 0; }
        .marquee-content { flex: 1; overflow: hidden; white-space: nowrap; }
        .marquee-text { display: inline-block; animation: marquee 15s linear infinite; font-size: 13px; color: #555; }
        @keyframes marquee { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

        /* 功能图标 */
        .features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 15px; margin-bottom: 20px; }
        .feature-item { background: #fff; padding: 15px; border-radius: var(--radius-md); display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: var(--shadow-sm); transition: 0.2s; cursor: pointer; }
        .feature-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
        .feature-item:active { transform: scale(0.97); }
        .feature-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: bold; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
        .feature-text { font-size: 13px; font-weight: 500; color: #333; }

        /* 按钮区域 */
        .action-buttons { display: flex; gap: 15px; padding: 0 15px; margin-bottom: 20px; }
        .action-btn { flex: 1; border: none; background: var(--primary-gradient) !important; color: white; padding: 12px; border-radius: var(--radius-md); font-weight: 600; font-size: 14px; box-shadow: 0 4px 12px rgba(255, 94, 98, 0.3); cursor: pointer; transition: 0.2s; }
        .action-btn:hover { filter: brightness(1.05); }
        .action-btn:active { transform: scale(0.97); filter: brightness(0.95); }

        /* 任务导航 */
        .task-nav { display: flex; background: #fff; padding: 5px; margin: 0 15px 15px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
        .task-nav button { flex: 1; border: none; background: transparent; padding: 10px; font-size: 14px; font-weight: 600; color: #888; border-radius: 8px; transition: 0.3s; cursor: pointer; }
        .task-nav button:hover { color: var(--primary-color); background: rgba(0,0,0,0.02); }
        .task-nav button.active { background: #f0f2f5; color: var(--primary-color); }

        /* 内容区域通用 */
        .content-section { display: none; padding: 0 15px; animation: fadeIn 0.3s; }
        .content-section.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

        /* 大神预测卡片 */
        .prediction-cards { display: grid; gap: 12px; }
        .prediction-card { padding: 20px; border-radius: var(--radius-lg); color: white; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-md); cursor: pointer; position: relative; overflow: hidden; transition: 0.3s; }
        .prediction-card:hover { transform: translateY(-2px); box-shadow: 0 8px 15px rgba(0,0,0,0.15); }
        .prediction-card::after { content: ''; position: absolute; right: -20px; bottom: -20px; width: 80px; height: 80px; background: rgba(255,255,255,0.1); border-radius: 50%; }
        .prediction-card h3 { font-size: 18px; margin-bottom: 5px; z-index: 1; }
        .prediction-card button { font-size: 12px; border: 1px solid rgba(255,255,255,0.5) !important; padding: 4px 10px; border-radius: 20px; cursor: pointer; z-index: 1; }

        /* 高手代打区域样式 */
        .expert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
        
        .expert-card { 
            background: #fff; 
            padding: 16px; 
            border-radius: var(--radius-lg); 
            position: relative; 
            overflow: hidden; 
            box-shadow: var(--shadow-sm); 
            transition: all 0.2s ease;
            cursor: pointer;
            border: 1px solid rgba(0,0,0,0.03);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 120px;
        }

        .expert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
        .expert-card:active { transform: scale(0.98); }

        .expert-card::before {
            content: '';
            position: absolute;
            top: -10px;
            right: -10px;
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: currentColor;
            opacity: 0.08;
            pointer-events: none;
        }

        .expert-icon-wrap {
            width: 32px;
            height: 32px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 16px;
            margin-bottom: 8px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .expert-info h3 { font-size: 15px; color: #333; margin-bottom: 4px; font-weight: 700; }
        
        .expert-status { 
            font-size: 11px; 
            color: #888; 
            display: flex; 
            align-items: center; 
            gap: 5px; 
            background: #f5f7fa; 
            padding: 2px 8px; 
            border-radius: 10px; 
            width: fit-content;
        }
        
        .expert-status::before { 
            content: ''; 
            width: 6px; 
            height: 6px; 
            background: #10b981; 
            border-radius: 50%; 
            display: inline-block; 
        }

        .theme-canada { color: #ef4444; }
        .theme-taiwan { color: #a855f7; }
        .theme-bitcoin { color: #f59e0b; }
        
        .expert-card.theme-canada .expert-icon-wrap { background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%); }
        .expert-card.theme-taiwan .expert-icon-wrap { background: linear-gradient(135deg, #c471ed 0%, #f64f59 100%); }
        .expert-card.theme-bitcoin .expert-icon-wrap { background: linear-gradient(135deg, #fce38a 0%, #f38181 100%); }

        .expert-card.join-us {
            border: 1px dashed #3b82f6;
            background: #f0f7ff;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .expert-card.join-us::before { display: none; }
        .expert-card.join-us .icon-plus {
            width: 40px;
            height: 40px;
            background: #dbeafe;
            color: #3b82f6;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }
        .expert-card.join-us h3 { margin: 0; color: #1d4ed8; }
        .expert-card.join-us .sub-text { font-size: 11px; color: #60a5fa; }
        
        /* --- 新增：技术服务列表样式 (重新设计) --- */
        .tech-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .tech-card {
            display: flex;
            align-items: center;
            background: #fff;
            padding: 18px 15px;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            transition: 0.2s;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(0,0,0,0.02);
        }

        .tech-card:active {
            transform: scale(0.98);
            background: #fafafa;
        }

        .tech-icon-box {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 20px;
            margin-right: 15px;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .tech-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .tech-title {
            font-size: 15px;
            font-weight: 700;
            color: #333;
        }

        .tech-desc {
            font-size: 12px;
            color: #999;
        }
        
        .tech-arrow {
            color: #ddd;
            margin-left: 10px;
        }

        /* 技术服务主题色 */
        .tech-theme-api .tech-icon-box { background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%); }
        .tech-theme-tg .tech-icon-box { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
        .tech-theme-algo .tech-icon-box { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
        
        .more-services {
            text-align: center;
            padding: 25px 0 10px;
            color: #aeb4be;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        .more-services::before, .more-services::after {
            content: '';
            width: 20px;
            height: 1px;
            background: #e0e0e0;
        }
        /* --- 技术服务样式结束 --- */

        /* 底部链接 */
        .footer-links { text-align: center; padding: 20px 0; font-size: 12px; color: #999; }
        .footer-link { margin: 0 8px; cursor: pointer; position: relative; transition: 0.2s; }
        .footer-link:hover { color: var(--primary-color); }
        .footer-link::after { content: '|'; position: absolute; right: -10px; color: #eee; }
        .footer-link:last-child::after { display: none; }
        .footer-divider-text { display: block; margin-top: 10px; font-size: 11px; opacity: 0.6; }

        /* 底部导航 */
        .bottom-nav { 
            position: fixed; 
            bottom: 0; 
            width: 100%;
            max-width: var(--app-max-width); /* 限制宽度 */
            height: 60px; 
            background: #fff; 
            display: flex; 
            justify-content: space-around; 
            align-items: center; 
            box-shadow: 0 -2px 10px rgba(0,0,0,0.05); 
            z-index: 999; 
            padding-bottom: env(safe-area-inset-bottom); 
            /* 保证在电脑屏幕居中 */
            left: 50%;
            transform: translateX(-50%);
        }
        .nav-item { border: none; background: none; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #999; font-size: 11px; cursor: pointer; width: 100%; transition: 0.2s; }
        .nav-item:hover { color: #666; }
        .nav-item svg { width: 22px; height: 22px; stroke-width: 2; }
        .nav-item.active { color: var(--primary-color); font-weight: 500; }
        .nav-item.active svg { stroke: var(--primary-color); fill: rgba(255, 94, 98, 0.1); }

        /* 模态框优化 */
        .modal-overlay { 
            position: fixed; 
            top: 0; 
            width: 100%; 
            max-width: var(--app-max-width); /* 限制模态框遮罩的宽度 */
            height: 100%; 
            background: rgba(0,0,0,0.5); 
            backdrop-filter: blur(4px); 
            display: none; 
            align-items: center; 
            justify-content: center; 
            z-index: 2000; 
            opacity: 0; 
            transition: opacity 0.3s; 
            left: 50%;
            transform: translateX(-50%);
        }
        .modal-overlay.active { display: flex; opacity: 1; }
        .modal-content { background: #fff; width: 85%; max-width: 320px; border-radius: var(--radius-lg); overflow: hidden; animation: zoomIn 0.3s; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
        @keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
        .modal-header { padding: 15px; text-align: center; font-weight: bold; font-size: 16px; border-bottom: 1px solid #f0f0f0; }
        .modal-body { padding: 25px 20px; text-align: center; color: #666; font-size: 14px; line-height: 1.5; }
        .modal-footer { padding: 15px; display: flex; justify-content: center; }
        .confirm-btn { background: var(--primary-gradient); color: white; border: none; padding: 10px 40px; border-radius: 20px; font-weight: 500; width: 100%; cursor: pointer; font-size: 14px; transition: 0.2s; }
        .confirm-btn:hover { filter: brightness(1.05); }

        /* 免责声明模态框 */
        .disclaimer-modal { 
            display: none; 
            position: fixed; 
            z-index: 2001; 
            left: 50%; /* 居中定位 */
            top: 0; 
            width: 100%; 
            max-width: var(--app-max-width); /* 限制宽度 */
            height: 100%; 
            overflow: hidden; 
            background-color: rgba(0,0,0,0.6); 
            backdrop-filter: blur(4px); 
            transform: translateX(-50%);
        }
        .disclaimer-modal-content { background-color: #fff; margin: 10% auto; padding: 25px; border-radius: var(--radius-lg); width: 90%; max-width: 480px; position: relative; max-height: 80vh; overflow-y: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
        .disclaimer-modal-content h1 { font-size: 20px; text-align: center; margin-bottom: 20px; color: #333; }
        .disclaimer-section h3 { font-size: 15px; color: #333; margin: 15px 0 8px; border-left: 4px solid var(--primary-color); padding-left: 10px; }
        .disclaimer-section p { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 10px; text-align: justify; }
        .disclaimer-close { position: absolute; top: 15px; right: 20px; color: #aaa; font-size: 28px; font-weight: bold; cursor: pointer; transition: 0.2s; }
        .disclaimer-close:hover { color: #333; }

        /* 隐藏滚动条但保留功能 */
        .disclaimer-modal-content::-webkit-scrollbar { width: 5px; }
        .disclaimer-modal-content::-webkit-scrollbar-thumb { background: #ccc; border-radius: 5px; }
