/* =====================================================================
 * 简化的统一样式文件 - 清理重复和冗余
 * ===================================================================== */

/* CSS 变量定义 */
:root {
    --primary-color: #3a6fdd;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --text-muted: #6c757d;
    --monospace-font: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

/* ===================================================================== 
 * 基础样式
 * ===================================================================== */

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #f8f9fc;
    padding: 0;
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 数字和英文使用等宽字体 */
.table td:nth-child(4),
.summary-value,
.text-success,
.text-danger,
.text-info,
.text-warning {
    font-family: var(--monospace-font);
    font-variant-numeric: tabular-nums;
}

/* ===================================================================== 
 * 卡片组件
 * ===================================================================== */

.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    padding: 10px 15px;
    color: #2c3e50;
    font-size: 0.95rem;
}

.card-body {
    padding: 12px 15px;
}

/* ===================================================================== 
 * 按钮组件
 * ===================================================================== */

.btn {
    border-radius: 4px;
    padding: 0.35rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 500;
    border-width: 1px;
    transition: all 0.25s;
}

.btn-sm {
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 3px;
}

.btn-primary {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    border-color: #4e73df;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #224abe 0%, #1e3a8a 100%);
    border-color: #224abe;
    transform: translateY(-1px);
}

/* ===================================================================== 
 * 表格组件
 * ===================================================================== */

.table {
    border-radius: 4px;
    overflow: hidden;
    font-size: 0.82rem;
    table-layout: fixed;
    width: 100%;
    margin-bottom: 0;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem;
    text-align: center;
}

.table tbody tr:hover {
    background-color: #f8f9fc;
}

.table tbody td {
    padding: 0.4rem 0.5rem;
    vertical-align: middle;
    border-top: 1px solid #f3f3f3;
    color: #2c3e50;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* ===================================================================== 
 * 工具类
 * ===================================================================== */

.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-muted { color: var(--text-muted) !important; }
.cursor-pointer { cursor: pointer !important; }

/* ===================================================================== 
 * 账单页面样式
 * ===================================================================== */

.bill-page {
    --bill-primary-color: var(--primary-color);
    --deposit-color: #dc3545;
    --withdrawal-color: #28a745;
}

.bill-page body {
    background: #f5f5f5 !important;
    min-height: 100vh !important;
    font-family: 'Noto Sans SC', sans-serif !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
}

.bill-page .main-container {
    background: rgba(255,255,255,0.95) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1) !important;
    margin: 10px !important;
    max-width: none !important;
    overflow: hidden !important;
}

/* 头部样式 */
.bill-page .bill-header {
    background: #f8f9fa !important;
    color: #6c757d !important;
    padding: 15px !important;
    text-align: center !important;
    border-radius: 12px 12px 0 0 !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.bill-page .bill-header h1 {
    margin: 0 !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #6c757d !important;
}

.bill-page .bill-header .subtitle {
    opacity: 0.9 !important;
    font-size: 0.85rem !important;
    margin-top: 5px !important;
    color: #6c757d !important;
}

/* 操作按钮区域 */
.bill-page .action-bar {
    background: white !important;
    padding: 15px !important;
    border-bottom: 1px solid #eee !important;
}

.bill-page .date-filter-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.bill-page .date-inputs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}

.bill-page .button-group {
    display: flex !important;
    gap: 8px !important;
}

.bill-page .btn-modern {
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    border: none !important;
    flex: 1 !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

/* 统计卡片 */
.bill-page .stats-grid {
    display: block !important;
    padding: 15px !important;
}

.bill-page .stat-card {
    background: white !important;
    border-radius: 12px !important;
    padding: 15px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1) !important;
    margin-bottom: 15px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.bill-page .stat-card h5 {
    color: #343a40 !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 1rem !important;
}

.bill-page .stat-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.bill-page .stat-item:last-child {
    border-bottom: none !important;
}

.bill-page .stat-label {
    font-weight: 500 !important;
    color: #333 !important;
    font-size: 0.9rem !important;
}

.bill-page .stat-value {
    font-weight: 600 !important;
    font-family: var(--monospace-font) !important;
    font-size: 0.9rem !important;
}

/* 分类标题 */
.bill-page .classification-header {
    cursor: pointer !important;
    transition: color 0.2s ease !important;
    user-select: none !important;
}

.bill-page .classification-header:hover {
    color: #0056b3 !important;
}

.bill-page .classification-header[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg) !important;
    transition: transform 0.2s ease !important;
}

.bill-page .classification-header .bi-chevron-down {
    transition: transform 0.2s ease !important;
}

/* 分类统计表格 */
.bill-page .stat-card .table th {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    padding: 6px 4px !important;
    text-align: center !important;
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.bill-page .stat-card .table td {
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    padding: 4px !important;
    text-align: center !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-family: var(--monospace-font) !important;
}

/* 交易记录 */
.bill-page .transactions-section {
    background: white !important;
    margin: 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
}

.bill-page .section-header {
    background: #f8f9fa !important;
    padding: 12px 15px !important;
    border-bottom: 1px solid #dee2e6 !important;
    font-weight: 600 !important;
    color: #343a40 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.95rem !important;
}

/* 桌面表格 */
.bill-page .desktop-table {
    display: table !important;
    width: 100% !important;
    margin: 0 !important;
}

.bill-page .desktop-table th {
    background: #f8f9fa !important;
    font-weight: 600 !important;
    color: #343a40 !important;
    padding: 12px 8px !important;
    border: none !important;
    font-size: 0.9rem !important;
    text-align: center !important;
}

.bill-page .desktop-table td {
    padding: 12px 8px !important;
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    vertical-align: middle !important;
    text-align: center !important;
    font-size: 0.85rem !important;
    color: #999 !important;
}

.bill-page .desktop-table td:nth-child(1) { /* 时间 */
    font-family: var(--monospace-font) !important;
    color: #343a40 !important;
}

.bill-page .desktop-table td:nth-child(3) { /* 金额 */
    color: #343a40 !important;
    font-weight: 700 !important;
    font-family: var(--monospace-font) !important;
}

.bill-page .desktop-table tbody tr:hover {
    background: #f8f9fa !important;
}

/* 移动端卡片 */
.bill-page .mobile-table {
    display: none !important;
    padding: 0 !important;
}

.bill-page .transaction-card {
    background: white !important;
    margin: 0 !important;
    padding: 16px !important;
    border-bottom: 1px solid #eee !important;
    position: relative !important;
}

.bill-page .transaction-card:hover {
    background-color: #f8f9fa !important;
}

.bill-page .transaction-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.bill-page .transaction-time {
    font-size: 0.9rem !important;
    color: #343a40 !important;
    font-weight: 500 !important;
    font-family: var(--monospace-font) !important;
}

.bill-page .transaction-amount {
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    font-family: var(--monospace-font) !important;
}

.bill-page .transaction-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.bill-page .transaction-detail {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid #f8f9fa !important;
}

.bill-page .detail-label {
    color: #999 !important;
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    min-width: 60px !important;
}

.bill-page .detail-value {
    font-weight: 400 !important;
    color: #999 !important;
    font-size: 0.85rem !important;
    text-align: right !important;
    flex: 1 !important;
    word-break: break-word !important;
}

/* 金额颜色 */
.bill-page .amount-positive {
    color: var(--deposit-color) !important;
}

.bill-page .amount-negative {
    color: var(--withdrawal-color) !important;
}

/* 图片链接 */
.bill-page .photo-link {
    color: var(--bill-primary-color) !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: color 0.2s ease !important;
    text-align: right !important;
}

.bill-page .photo-link:hover {
    color: #0056b3 !important;
}

/* 页脚样式 */
.bill-page .bill-footer {
    background: #f8f9fa !important;
    border-top: 1px solid #dee2e6 !important;
    padding: 15px !important;
    margin-top: 20px !important;
}

.bill-page .footer-content {
    text-align: center !important;
    font-size: 0.85rem !important;
    color: #6c757d !important;
}

.bill-page .footer-info {
    margin-bottom: 5px !important;
    text-align: center !important;
}

/* ===================================================================== 
 * 图片查看器样式 - 修复居中问题
 * ===================================================================== */

.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    margin: 0;
    padding: 0;
    display: none; /* 默认隐藏 */
}

.image-viewer.show {
    display: flex !important;
}

.image-viewer-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    cursor: pointer !important;
}

.image-viewer-content {
    position: relative !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden !important;
    z-index: 100000 !important;
}

.image-viewer-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 20px !important;
    background: #f8f9fa !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.image-viewer-title {
    font-weight: 600 !important;
    color: #343a40 !important;
    font-size: 1.1rem !important;
}

.image-viewer-close {
    background: none !important;
    border: none !important;
    font-size: 24px !important;
    cursor: pointer !important;
    color: #6c757d !important;
    padding: 0 !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    transition: background-color 0.2s !important;
}

.image-viewer-close:hover {
    background-color: #e9ecef !important;
    color: #495057 !important;
}

.image-viewer-body {
    padding: 20px !important;
    text-align: center !important;
    max-height: 70vh !important;
    overflow: auto !important;
}

.image-loader {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 200px !important;
    color: #6c757d !important;
}

.image-loader.hidden {
    display: none !important;
}

.spinner {
    width: 40px !important;
    height: 40px !important;
    border: 4px solid #f3f3f3 !important;
    border-top: 4px solid #007bff !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
    margin-bottom: 15px !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.viewer-image {
    max-width: 100% !important;
    max-height: 60vh !important;
    object-fit: contain !important;
    border-radius: 4px !important;
}

/* ===================================================================== 
 * 响应式设计 - 合并所有媒体查询
 * ===================================================================== */

@media (max-width: 768px) {
    /* 账单页面专用的基础调整 */
    .bill-page body {
        font-size: 0.85rem;
    }
    
    .bill-page .container {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    /* 卡片优化 */
    .card-header {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 10px 12px;
    }
    
    /* 表格优化 */
    .table thead th {
        font-size: 0.6rem;
        padding: 3px 1px;
        white-space: nowrap;
    }
    
    .table tbody td {
        padding: 4px 1px;
        font-size: 0.6rem;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* 账单页面移动端 */
    .bill-page .main-container {
        margin: 5px !important;
        border-radius: 8px !important;
    }
    
    .bill-page .desktop-table {
        display: none !important;
    }
    
    .bill-page .mobile-table {
        display: block !important;
    }
    
    /* 图片查看器移动端 */
    .image-viewer-content {
        max-width: 95vw !important;
        max-height: 95vh !important;
        margin: 10px !important;
    }
    
    .image-viewer-header {
        padding: 10px 15px !important;
    }
    
    .image-viewer-body {
        padding: 15px !important;
        max-height: 75vh !important;
    }
    
    .viewer-image {
        max-height: 65vh !important;
    }
}

@media (max-width: 480px) {
    /* 账单页面极小屏幕优化 */
    .bill-page .container {
        padding-left: 3px;
        padding-right: 3px;
    }
    
    /* 表格优化 */
    .table thead th {
        font-size: 0.55rem;
        padding: 2px 0px;
    }
    
    .table tbody td {
        padding: 3px 0px;
        font-size: 0.55rem;
    }
    
    .bill-page .transaction-card {
        padding: 12px !important;
    }
}

/* ===================================================================== 
 * 密码验证页面样式
 * ===================================================================== */

.password-page body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Noto Sans SC', sans-serif !important;
    padding: 10px !important;
    margin: 0 !important;
}

.password-page .password-card {
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    padding: 2rem !important;
    max-width: 400px !important;
    width: 100% !important;
}

.password-page .password-icon {
    font-size: 3rem !important;
    color: #667eea !important;
    margin-bottom: 1rem !important;
}

.password-page .form-control {
    border-radius: 10px !important;
    border: 2px solid #e9ecef !important;
    padding: 12px 16px !important;
    font-size: 1.1rem !important;
    text-align: center !important;
    letter-spacing: 0.5em !important;
}

.password-page .form-control:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
}

.password-page .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px !important;
    font-weight: 500 !important;
}

.password-page .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4) !important;
}

/* ===================================================================== 
 * 首页样式
 * ===================================================================== */

.home-page {
    font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 导航栏 */
.home-page .navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.home-page .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.home-page .nav-link {
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem !important;
}

.home-page .nav-link:hover {
    transform: translateY(-2px);
}

.home-page .navbar .btn-primary {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.home-page .navbar .btn-primary:hover {
    background: white;
    color: #667eea !important;
}

/* Hero 区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero .lead {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero .btn-light {
    background: white;
    color: #667eea;
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.hero .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.hero .btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
}

.hero .btn-outline-light:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

/* 功能特点区域 */
#features {
    background: white;
}

#features h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

#features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.3s;
}

.feature-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.feature-card {
    transition: all 0.3s;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-card h4 {
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #718096;
    line-height: 1.7;
    margin-bottom: 0;
}

/* 机器人列表区域 */
#bots {
    background: #f5f7fa;
}

#bots h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

#bots h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.bot-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    background: white;
}

.bot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.bot-card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.bot-card .badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

.bot-card .card-body {
    padding: 2rem;
}

.bot-card .card-body p {
    color: #4a5568;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.bot-card .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.8rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s;
}

.bot-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* 使用帮助区域 */
#help h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

#help h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

#help .card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

#help h4 {
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#help .table {
    border-radius: 10px;
    overflow: hidden;
}

#help .table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem;
}

#help .table tbody td {
    padding: 1rem;
    border-color: #e2e8f0;
    color: #4a5568;
}

#help .table tbody tr:hover {
    background: #f7fafc;
}

#help code {
    background: #edf2f7;
    color: #667eea;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-family: 'SF Mono', Consolas, Monaco, monospace;
    font-size: 0.9em;
}

#help .alert-info {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    color: #4a5568;
}

#help .alert-info h6 {
    color: #667eea;
    font-weight: 700;
    font-size: 1.1rem;
}

#help .alert-info ul li {
    margin-bottom: 0.5rem;
}

/* 底部 */
.footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: #cbd5e0;
    padding: 3rem 0 2rem;
    margin-top: auto;
    border-top: 3px solid #667eea;
}

.footer p {
    color: #cbd5e0;
    font-size: 0.95rem;
}

.footer .footer-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer .footer-link:hover {
    color: #a78bfa;
    transform: translateY(-2px);
}

.footer .footer-link i {
    font-size: 1.1rem;
}

/* 首页响应式优化 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    #features h2,
    #bots h2,
    #help h2 {
        font-size: 2rem;
    }
    
    .hero .btn-light,
    .hero .btn-outline-light {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer p {
        font-size: 0.85rem;
    }
}
