/* 智能响应式兼容性优化 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 设备特定样式类 */
.wechat-browser {
    /* 微信浏览器特殊样式 */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
}

.ios-device {
    /* iOS设备特殊样式 */
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.android-device {
    /* Android设备特殊样式 */
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
}

.desktop-device {
    /* 桌面端特殊样式 */
    cursor: pointer;
}

/* 响应式断点优化 */
@media (max-width: 480px) {
    /* 超小屏幕优化 */
    .main-title {
        font-size: 2rem;
    }
    
    .nav-btn {
        padding: 8px 4px;
        font-size: 0.8rem;
    }
    
    .character-card {
        margin: 10px;
    }
}

@media (max-width: 768px) {
    /* 移动端优化 */
    .header {
        padding: 20px 0;
    }
    
    /* 职业排名按钮移动端优化 */
    .ranking-tabs {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .ranking-tab {
        padding: 8px 12px;
        font-size: 0.9rem;
        min-width: 80px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .nav-buttons {
        gap: 8px;
    }
    
    .nav-btn {
        padding: 10px 6px;
        font-size: 0.9rem;
    }
    
    .character-image {
        width: 120px;
        height: 120px;
    }
    
    .character-info {
        height: 120px;
    }
    
    .character-name {
        font-size: 1.4rem;
    }
    
    .character-generation {
        font-size: 0.9rem;
    }
    
    .action-buttons {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 6px;
    }
    
    .action-btn {
        padding: 6px 8px;
        font-size: 0.7rem;
        min-height: 50px;
    }
    
    .action-btn span {
        font-size: 0.6rem;
    }
    
    .action-preview {
        min-height: 180px;
        padding: 12px;
    }
    
    .action-gif {
        max-height: 220px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* 平板端优化 */
    .main-title {
        font-size: 3rem;
    }
    
    .character-image {
        width: 160px;
        height: 160px;
    }
    
    .character-info {
        height: 160px;
    }
    
    .character-name {
        font-size: 1.6rem;
    }
    
    .character-generation {
        font-size: 1rem;
    }
}

@media (min-width: 1025px) {
    /* 桌面端优化 */
    .main-title {
        font-size: 3.5rem;
    }
    
    .character-image {
        width: 200px;
        height: 200px;
    }
    
    .character-info {
        height: 200px;
    }
    
    .character-name {
        font-size: 1.8rem;
    }
    
    .character-generation {
        font-size: 1.1rem;
    }
    
    .action-buttons {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 8px;
    }
    
    .action-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-height: 60px;
    }
    
    .action-btn span {
        font-size: 0.7rem;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 触摸设备特殊优化 */
    .action-btn:hover {
        transform: none;
    }
    
    .character-card:hover {
        transform: none;
    }
    
    .nav-btn:hover {
        transform: none;
    }
    
    /* 增加触摸目标大小 */
    .action-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* 高分辨率屏幕优化 */
    .character-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .action-gif {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    /* 深色模式样式 */
    body {
        background-color: #1a1a1a;
        color: #ffffff;
    }
    
    .character-card {
        background-color: #2d2d2d;
        border-color: #404040;
    }
    
    .nav-btn {
        background-color: #2d2d2d;
        color: #ffffff;
    }
    
    .nav-btn.active {
        background-color: #4ade80;
        color: #000000;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    line-height: 1.6;
    /* 禁用下拉刷新和微信误触 */
    overscroll-behavior: none;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    /* 防止水平滚动 */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* 禁用下拉刷新 */
html {
    overscroll-behavior: none;
    /* 防止水平滚动 */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* 防止页面滚动时的意外刷新 */
.main-content {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

/* 头部样式 */
.header {
    background-color: #1e3a5f;
    color: white;
    padding: 25px 0;
    text-align: center;
    position: relative;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-title {
    font-size: 3.5rem; /* 稍微缩小标题 */
    font-weight: bold;
    color: #4ade80;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.title-underline {
    width: 60px;
    height: 3px;
    background-color: #4ade80;
    margin: 0 auto 10px;
    border-radius: 2px;
}

.header-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.powered-by {
    font-size: 0.9rem;
    color: white;
    opacity: 0.8;
    margin: 0;
    font-weight: 400;
}

.contact-tag {
    display: inline-flex;
    align-items: center;
    background-color: #22c55e;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-tag i {
    font-size: 0.8rem;
}


/* 主要内容区域 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    /* 防止水平滚动 */
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* 导航容器 */
.nav-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-btn {
    background: white;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    width: 140px;
    justify-content: center;
    flex-shrink: 0;
}

.nav-btn:hover {
    border-color: #22c55e;
    color: #22c55e;
}

.nav-btn.active {
    background-color: #22c55e;
    color: white;
    border-color: #22c55e;
}

.nav-btn i {
    font-size: 0.9rem;
    color: #fbbf24;
}

.nav-btn.active i {
    color: white;
}

/* 筛选容器 */
.filter-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none; /* 默认隐藏筛选按钮 */
}

.filter-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.filter-btn {
    background: white;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.filter-btn:hover {
    border-color: #22c55e;
    color: #22c55e;
}

.filter-btn.active {
    background-color: #22c55e;
    color: white;
    border-color: #22c55e;
}

.filter-btn i {
    font-size: 0.8rem;
    color: #fbbf24;
}

.filter-btn.active i {
    color: white;
}

/* 内容区域 */
.content-area {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    display: none;
}

.content-area.active {
    display: block;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.content-section h2 {
    color: #1f2937;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

/* 角色网格 */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* 图鉴网格 */
.gallery-grid {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.gallery-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gallery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 150px;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

.gallery-card-full {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
}

.gallery-card-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gallery-image-full {
    width: 100%;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.9rem;
    padding: 20px;
}

.gallery-info {
    padding: 15px;
}

.gallery-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.gallery-generation {
    color: #6b7280;
    font-size: 0.8rem;
}

.character-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; /* 改为垂直布局 */
    padding: 20px;
}

.character-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.character-header {
    display: flex;
    align-items: center; /* 垂直居中对齐 */
    margin-bottom: 20px;
    width: 100%;
}

.character-image {
    width: 240px; /* 放大3倍：80px * 3 = 240px */
    height: 240px;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.9rem;
    overflow: hidden;
    border-radius: 50%; /* 圆形头像 */
    margin-right: 20px;
    flex-shrink: 0; /* 防止头像被压缩 */
    border: 4px solid #22c55e; /* 绿色边框 */
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2); /* 绿色阴影 */
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* 显示图片上半部分（头像区域） */
}

.character-info {
    flex: 1; /* 占据剩余空间 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中 */
    height: 240px; /* 与头像等高 */
}

.character-name {
    font-size: 2rem;
    font-weight: 700;
    color: #22c55e; /* 绿色主题 */
    margin-bottom: 4px; /* 减少间距 */
    margin-top: 0;
    text-shadow: 0 2px 4px rgba(34, 197, 94, 0.1);
}

.character-generation {
    color: #16a34a; /* 深绿色 */
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px; /* 减少间距 */
    margin-top: 0;
}

.character-description {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* 动作容器 */
.character-actions-container {
    width: 100%;
    margin-top: 20px;
}

/* 角色动作区域 */
.character-actions {
    border-top: 2px solid #22c55e; /* 绿色分割线 */
    padding-top: 20px;
    width: 100%; /* 全宽 */
}

.character-actions h4 {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
    margin-bottom: 15px;
    width: 100%; /* 全宽 */
}

.action-btn {
    background: white;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-height: 50px;
    justify-content: center;
    user-select: none; /* 防止文本选择 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.action-btn:hover {
    border-color: #22c55e;
    color: #22c55e;
    transform: translateY(-1px);
}

.action-btn.active {
    background-color: #22c55e;
    color: white;
    border-color: #22c55e;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.3);
}

.action-btn i {
    font-size: 0.9rem;
    color: #fbbf24;
}

.action-btn.active i {
    color: white;
}

.action-btn span {
    font-size: 0.6rem;
    text-align: center;
    line-height: 1.2;
}

.action-preview {
    background: #f9fafb;
    border-radius: 8px;
    padding: 15px;
    min-height: 200px; /* 增加最小高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* 全宽 */
}

.gif-container {
    text-align: center;
    width: 100%;
}

.gif-container p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.action-gif {
    width: 100% !important;
    max-height: 300px !important; /* 增加最大高度 */
    height: auto !important;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: contain !important; /* 改为contain保持比例 */
}

.action-name {
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 8px;
}

/* GIF加载状态样式 */
.gif-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #666;
    font-size: 14px;
}

.gif-loading i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #007bff;
}

.gif-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #dc3545;
    font-size: 14px;
}

.gif-error i {
    font-size: 24px;
    margin-bottom: 10px;
}

/* 懒加载提示样式 */
.lazy-load-tip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #4CAF50;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lazy-load-tip:hover {
    color: #45a049;
    transform: scale(1.05);
}

.lazy-load-tip i {
    font-size: 32px;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* 懒加载容器样式 */
.actions-container[style*="cursor: pointer"] {
    transition: all 0.3s ease;
}

.actions-container[style*="cursor: pointer"]:hover {
    background-color: #e8f5e8 !important;
    border-color: #45a049 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.2);
}




/* 职业排名样式 */
.ranking-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
}

.ranking-tab {
    background: white;
    border: 2px solid #e5e7eb;
    color: #374151;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    justify-content: center;
}

.ranking-tab:hover {
    border-color: #22c55e;
    color: #22c55e;
}

.ranking-tab.active {
    background-color: #22c55e;
    color: white;
    border-color: #22c55e;
}

.ranking-tab i {
    font-size: 0.9rem;
}

.ranking-content {
    width: 100%;
}

.ranking-item {
    display: none;
    width: 100%;
}

.ranking-item.active {
    display: block;
}



.ranking-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.ranking-image:hover {
    transform: scale(1.02); /* 轻微放大效果 */
}

/* 超特对比样式 */
.comparison-content {
    width: 100%;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comparison-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.comparison-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.comparison-image:hover {
    transform: scale(1.02);
}

.comparison-info {
    margin-top: 15px;
    text-align: center;
}

.comparison-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.comparison-description {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.4;
}

/* 全屏显示样式 */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.fullscreen-image {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    /* 移除默认旋转，改为可控制 */
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.fullscreen-image:active {
    cursor: grabbing;
}

.fullscreen-image.rotated {
    transform: rotate(-90deg);
}

.fullscreen-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.2s ease;
}

.fullscreen-close-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.fullscreen-close-btn i {
    color: white;
    font-size: 20px;
}

/* 分享悬浮窗样式 */
.share-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.share-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.share-btn i {
    color: white;
    font-size: 24px;
}

.share-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 10px;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.share-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-option:hover {
    background: #f3f4f6;
}

.share-option i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.share-option:first-child i {
    color: #07c160;
}

.share-option:last-child i {
    color: #6b7280;
}

.share-option span {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

/* FS账号按钮高亮样式 */
.nav-btn[data-section="account"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid #4ade80;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    animation: pulse-highlight 2s infinite;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.nav-btn[data-section="account"]:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    transform: translateY(-2px);
}

.mobile-nav-item[data-section="account"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid #4ade80;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    animation: pulse-highlight 2s infinite;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.mobile-nav-item[data-section="account"]:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

@keyframes pulse-highlight {
    0% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        border-color: #4ade80;
    }
    50% {
        box-shadow: 0 4px 25px rgba(102, 126, 234, 0.7);
        border-color: #22c55e;
    }
    100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        border-color: #4ade80;
    }
}

/* 账号推荐内容样式 */
.account-recommend-content {
    width: 100%;
}

/* 分区按钮样式 */
.district-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.district-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: #fff;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.district-btn:hover {
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,123,255,0.2);
}

.district-btn.active {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-color: #007bff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.district-btn i {
    font-size: 16px;
}

/* 移动端分区按钮适配 */
@media (max-width: 768px) {
    .district-buttons {
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .district-btn {
        padding: 10px 16px;
        font-size: 13px;
        flex: 1;
        min-width: 0;
        justify-content: center;
    }
    
    .district-btn span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* 图片模块样式 */
.images-container {
    width: 100%;
}

.images-tip {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0369a1;
    font-size: 14px;
}

.images-tip i {
    font-size: 16px;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 0 10px;
}

.image-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.image-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.image-display {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.image-display:hover {
    transform: scale(1.02);
}

.image-info {
    padding: 15px;
    text-align: center;
}

.image-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

/* FS账号页面标题高亮样式 */
#account-section h2 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
    padding: 15px 25px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    animation: pulse-highlight 2s infinite;
    margin-bottom: 30px;
    border: 2px solid #4ade80;
}

.recommend-tip {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0369a1;
    font-size: 14px;
}

.recommend-tip i {
    font-size: 16px;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.recommend-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.recommend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.recommend-image {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.recommend-image:hover {
    transform: scale(1.02);
}


/* 移动端全屏显示优化 */
@media (max-width: 768px) {
    .fullscreen-image {
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 0;
    }
    
    /* 移动端分享悬浮窗优化 */
    .share-float {
        bottom: 20px;
        right: 20px;
    }
    
    .share-btn {
        width: 50px;
        height: 50px;
    }
    
    .share-btn i {
        font-size: 20px;
    }
    
    .share-menu {
        bottom: 60px;
        min-width: 100px;
    }
    
    .share-option {
        padding: 10px 12px;
    }
    
    .share-option i {
        font-size: 16px;
    }
    
    .share-option span {
        font-size: 13px;
    }
    
    /* 移动端账号推荐样式 */
    .recommend-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .recommend-tip {
        padding: 10px 12px;
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    /* 移动端图片模块样式 */
    .images-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .images-tip {
        padding: 10px 12px;
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .image-display {
        max-height: 500px;
        width: 100%;
        object-fit: contain;
    }
    
    .image-item {
        margin: 0 5px;
    }
    
    .images-grid {
        padding: 0 5px;
    }
    
    .fullscreen-overlay {
        padding: 0;
    }
}

/* 课程样式 */
.courses-container {
    padding: 20px 0;
}

.course-category {
    margin-bottom: 40px;
}

.course-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.course-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    height: 130px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #3b82f6, #f59e0b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: rgba(34, 197, 94, 0.2);
}

.course-card:hover::before {
    opacity: 1;
}

.course-banner {
    width: 220px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.course-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -40%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 0, 0.4) 0%, rgba(255, 255, 0, 0.1) 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.course-banner::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -25%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 0, 0.3) 0%, rgba(255, 255, 0, 0.05) 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

.course-banner-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 18px;
    width: 100%;
}

.course-banner-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.course-banner-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 8px;
    line-height: 1.3;
}

.course-banner-desc {
    font-size: 0.7rem;
    opacity: 0.8;
    line-height: 1.2;
}

.course-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #3b82f6;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.course-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.5;
    margin: 0;
}



/* FS账号页面样式 */
.account-container {
    padding: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.account-module {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: fit-content;
}

.account-module:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.module-header {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.module-header i {
    font-size: 1.5rem;
}

.module-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.module-content {
    padding: 55px;
}

.service-desc, .store-desc {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-info {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
}

.wechat-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.wechat-section label {
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
}

.wechat-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(74, 222, 128, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    flex: 1;
}

#wechat-number {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #4ade80 !important;
    font-size: 1rem;
}

.copy-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-tip {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
    font-style: italic;
}

.store-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: auto;
    min-width: 140px;
    justify-content: center;
    margin: 0 auto;
}

.store-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.store-btn:active {
    transform: translateY(0);
}

/* 移动端FS账号样式 */
@media (max-width: 768px) {
    .account-container {
        padding: 5px 0;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .account-module {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .module-header {
        padding: 8px 12px;
    }
    
    .module-header i {
        font-size: 1rem;
    }
    
    .module-header h3 {
        font-size: 0.9rem;
    }
    
    .module-content {
        padding: 10px 12px;
    }
    
    .service-desc, .store-desc {
        font-size: 0.85rem;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    
    .contact-info {
        padding: 10px;
        border-radius: 6px;
    }
    
    .wechat-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .wechat-section label {
        font-size: 0.85rem;
    }
    
    .wechat-display {
        width: 100%;
        padding: 4px 8px;
    }
    
    #wechat-number {
        font-size: 0.85rem;
    }
    
    .copy-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .copy-tip {
        font-size: 0.75rem;
        margin-top: 6px;
    }
    
    .store-btn {
        padding: 15px 15px;
        font-size: 1rem;
        border-radius: 10px;
        min-width: 120px;
    }
}

/* 移动端课程样式 */
@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .course-card {
        height: auto;
        flex-direction: column;
    }
    
    .course-banner {
        width: 100%;
        height: 100px;
    }
    
    .course-banner-content {
        padding: 10px;
    }
    
    .course-banner-title {
        font-size: 1rem;
    }
    
    .course-banner-subtitle {
        font-size: 0.75rem;
    }
    
    .course-banner-desc {
        font-size: 0.65rem;
    }
    
    .course-info {
        padding: 12px;
    }
    
    .course-title {
        font-size: 0.9rem;
    }
    
    .course-price {
        font-size: 1.1rem;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem; /* 移动端也适当放大 */
    }
    
    .nav-buttons {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 每行固定3个 */
        gap: 8px;
        width: 100%;
    }
    
    .nav-btn {
        width: 100%; /* 固定宽度 */
        min-width: 120px; /* 保持最小宽度 */
        max-width: none;
        padding: 12px 16px; /* 统一内边距 */
        font-size: 0.9rem; /* 调整字体大小 */
        gap: 8px; /* 统一图标和文字间距 */
        text-align: center; /* 文字居中 */
        justify-content: center;
        flex-shrink: 0; /* 防止收缩 */
    }
    
    .nav-btn i {
        font-size: 1rem; /* 调整图标大小 */
    }
    
    .nav-btn span {
        white-space: nowrap; /* 防止文字换行 */
        text-align: center; /* 确保文字居中 */
    }
    
    .filter-buttons {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 0;
    }
    
    .characters-grid {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding: 20px 15px;
        /* 移动端防止水平滚动 */
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .content-area {
        padding: 20px;
    }
    
    /* 移动端头像和布局优化 */
    .character-header {
        flex-direction: column; /* 改为垂直布局 */
        align-items: center;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .character-image {
        width: 120px; /* 移动端头像缩小 */
        height: 120px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .character-info {
        height: auto; /* 自适应高度 */
        justify-content: center;
        text-align: center;
    }
    
    .character-name {
        font-size: 1.5rem; /* 移动端字体稍小 */
        margin-bottom: 3px; /* 减少移动端间距 */
    }
    
    .character-generation {
        font-size: 1rem;
        margin-bottom: 10px; /* 减少移动端间距 */
    }
    
    .action-buttons {
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
        gap: 4px;
    }
    
    .action-btn {
        padding: 4px 6px;
        font-size: 0.6rem;
        min-height: 40px;
    }
    
    .action-btn span {
        font-size: 0.5rem;
    }
    
    .action-preview {
        min-height: 150px; /* 移动端也增加高度 */
        padding: 10px;
    }
    
    .action-gif {
        max-height: 200px; /* 移动端增加最大高度 */
        width: 100%;
        object-fit: contain; /* 保持比例 */
    }
}

/* 中等屏幕响应式设计 */
@media (max-width: 1024px) and (min-width: 769px) {
    .character-image {
        width: 180px; /* 中等屏幕头像适中 */
        height: 180px;
    }
    
    .character-info {
        height: 180px; /* 与头像等高 */
    }
    
    .character-name {
        font-size: 1.8rem;
    }
    
    .character-generation {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 30px 0;
    }
    
    .main-title {
        font-size: 2.2rem; /* 小屏幕也适当放大 */
    }
    
    .filter-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .filter-btn {
        padding: 6px 8px;
        font-size: 0.75rem;
        min-width: 0;
    }
    
    /* 超小屏幕导航栏优化 */
    .nav-buttons {
        gap: 6px; /* 增加间距 */
    }
    
    .nav-btn {
        padding: 12px 6px; /* 增加内边距 */
        font-size: 0.9rem; /* 放大字体 */
    }
    
    .nav-btn i {
        font-size: 1rem; /* 放大图标 */
    }
    
}




/* 首页样式 */
.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* 防止水平滚动 */
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.home-hero {
    text-align: center;
    margin-bottom: 30px;
}

.home-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e3a5f;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.home-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
    font-weight: 500;
}

.home-description {
    max-width: 600px;
    margin: 0 auto;
    color: #6b7280;
    line-height: 1.8;
}

.home-description p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.home-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-card {
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #4ade80;
}

/* FS账号特色卡片高亮样式 */
.feature-card[onclick*="account"] {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
    border: 2px solid #4ade80 !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
    animation: pulse-highlight 2s infinite !important;
}

.feature-card[onclick*="account"]:hover {
    background: linear-gradient(135deg, #764ba2, #667eea) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6) !important;
    transform: translateY(-8px) !important;
    border-color: #22c55e !important;
}

.feature-card[onclick*="account"] .feature-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.feature-card[onclick*="account"] h3 {
    color: white !important;
    font-weight: bold !important;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: white;
    font-size: 1.2rem;
}

.feature-card h3 {
    font-size: 1rem;
    color: #1e3a5f;
    margin: 0;
    font-weight: 600;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

.home-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.home-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 160px;
    justify-content: center;
}

.home-action-btn.primary {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
}

.home-action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.4);
}

.home-action-btn.secondary {
    background: white;
    color: #1e3a5f;
    border: 2px solid #4ade80;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.home-action-btn.secondary:hover {
    background: #4ade80;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.3);
}


.contact-card {
    background: linear-gradient(135deg, #1e3a5f, #2d4a6b) !important;
    color: white !important;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(74, 222, 128, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #4ade80;
}

.contact-info h4 {
    color: white !important;
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 5px;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* 移动端首页样式 */
@media (max-width: 768px) {
    .home-container {
        padding: 15px 10px;
        min-height: auto;
        /* 移动端防止水平滚动 */
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .home-title {
        font-size: 2rem;
    }
    
    .home-subtitle {
        font-size: 1rem;
    }
    
    .home-description p {
        font-size: 1rem;
    }
    
    .home-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .feature-card {
        padding: 15px 10px;
    }
    
    .feature-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .feature-card h3 {
        font-size: 0.9rem;
    }
    
    .home-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .home-action-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .contact-card {
        padding: 15px;
        gap: 12px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .home-title {
        font-size: 1.8rem;
    }
    
    .home-subtitle {
        font-size: 1rem;
    }
    
    .home-description p {
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 20px 12px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
}


/* 移动端导航样式 */
.mobile-nav {
    display: none;
    background: #1e3a5f;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* 防止水平滚动 */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


.mobile-nav-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #4ade80;
    padding: 8px 0;
}

.mobile-nav-menu {
    display: flex;
    background: #2d4a6b;
    padding: 6px;
    margin: 0;
    list-style: none;
    max-height: 300px;
    overflow: visible;
    transition: max-height 0.3s ease;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    /* 防止水平滚动 */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.mobile-nav-menu.active {
    display: flex;
    max-height: 300px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 80px;
    min-width: 80px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 6px;
    color: white;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.6rem;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-nav-item:hover {
    background: rgba(74, 222, 128, 0.2);
    transform: translateY(-1px);
}

.mobile-nav-item.active {
    background: #4ade80;
    color: #1e3a5f;
    border-color: #4ade80;
}

.mobile-nav-item i {
    font-size: 0.8rem;
    width: auto;
    text-align: center;
}

.mobile-nav-item span {
    font-size: 0.5rem;
    font-weight: 500;
    line-height: 1.1;
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
    .mobile-nav {
        display: block;
    }
    
    .nav-container {
        display: none;
    }
    
    .main-content {
        padding-top: 0;
        /* 移动端防止水平滚动 */
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .header {
        padding: 20px 0;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .header-bottom {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
}

@media (max-width: 480px) {
    
    .mobile-nav-title {
        font-size: 0.9rem;
        padding: 6px 0;
    }
    
    .mobile-nav-item {
        padding: 6px 10px;
        width: 70px;
        min-width: 70px;
    }
    
    .mobile-nav-item span {
        font-size: 0.45rem;
    }
    
    .mobile-nav-item i {
        font-size: 0.7rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .header {
        padding: 15px 0;
    }
}


/* 欢迎弹窗样式 */
.welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.welcome-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.welcome-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.welcome-header {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.welcome-header h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-body {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.welcome-body p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.welcome-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.welcome-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.start-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.contact-btn {
    background: linear-gradient(45deg, #2196F3, #1976D2);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.wechat-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wechat-info p {
    color: #ffffff;
    margin: 5px 0;
    font-size: 16px;
}

.wechat-number {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 5px;
}

.wechat-number:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.copy-tip {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-style: italic;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .welcome-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .welcome-header h2 {
        font-size: 24px;
    }
    
    .welcome-body p {
        font-size: 14px;
    }
    
    .welcome-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .welcome-btn {
        width: 100%;
        padding: 15px 20px;
    }
}

/* 网站备案信息样式 */
.website-footer {
    background: #1e3a5f;
    color: white;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 2px solid #4ade80;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-beian {
    margin: 0;
}

.footer-beian a {
    color: #4ade80;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-beian a:hover {
    color: #22c55e;
    text-decoration: underline;
}

.footer-beian a::after {
    content: '🔗';
    font-size: 0.8rem;
    opacity: 0.7;
}

/* 移动端备案信息样式 */
@media (max-width: 768px) {
    .website-footer {
        padding: 15px 0;
        margin-top: 30px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-info {
        gap: 8px;
    }
    
    .footer-text {
        font-size: 0.8rem;
    }
    
    .footer-beian a {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .website-footer {
        padding: 12px 0;
        margin-top: 20px;
    }
    
    .footer-content {
        padding: 0 12px;
    }
    
    .footer-text {
        font-size: 0.75rem;
    }
    
    .footer-beian a {
        font-size: 0.75rem;
    }
}


/* 首页联系卡片样式优化 */
.contact-card .wechat-section {
    margin-bottom: 15px;
}

.contact-card .wechat-label {
    color: #ffffff !important;
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-card .wechat-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.contact-card .wechat-number {
    color: #4ade80;
    font-weight: 600;
    font-size: 1rem;
    flex: 1;
}

.contact-card .copy-btn {
    background: #4ade80;
    color: #1e3a5f;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.contact-card .copy-btn:hover {
    background: #22c55e;
    transform: translateY(-1px);
}

.contact-card .service-desc {
    color: #ffffff !important;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.contact-card .copy-tip {
    color: #ffffff !important;
    font-size: 0.8rem;
    margin: 0;
    font-style: italic;
    opacity: 0.8;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .contact-card .wechat-display {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .contact-card .wechat-number {
        text-align: center;
        padding: 8px 0;
    }
    
    .contact-card .copy-btn {
        justify-content: center;
    }
    
    .contact-card .wechat-label {
        text-align: center;
    }
    
    .contact-card .service-desc {
        text-align: center;
    }
    
    .contact-card .copy-tip {
        text-align: center;
    }
}


/* 强制联系卡片文字颜色 */
.contact-card * {
    color: inherit;
}

.contact-card h4 {
    color: #4ade80 !important;
}

.contact-card .wechat-label,
.contact-card .service-desc,
.contact-card .copy-tip {
    color: #ffffff !important;
}

.contact-card .wechat-number {
    color: #4ade80 !important;
}

.contact-card .copy-btn {
    color: #1e3a5f !important;
    background: #4ade80 !important;
}

.contact-card .copy-btn:hover {
    background: #22c55e !important;
    color: #1e3a5f !important;
}


/* 强制修复首页联系卡片微信号背景 */
.contact-card .wechat-display {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(74, 222, 128, 0.3) !important;
}

.contact-card .wechat-number {
    color: #4ade80 !important;
    background: transparent !important;
}

.contact-card #home-wechat-number {
    color: #4ade80 !important;
    background: transparent !important;
}


/* 强制设置联系卡片背景色 */
.contact-card {
    background: linear-gradient(135deg, #1e3a5f, #2d4a6b) !important;
    color: white !important;
}

/* 确保联系卡片内部所有元素都使用正确颜色 */
.contact-card .contact-info {
    color: white !important;
}

.contact-card .contact-info * {
    color: inherit !important;
}

.contact-card .contact-info h4 {
    color: #4ade80 !important;
}

.contact-card .contact-info .wechat-label {
    color: #ffffff !important;
}

.contact-card .contact-info .service-desc {
    color: #ffffff !important;
}

.contact-card .contact-info .copy-tip {
    color: #ffffff !important;
    opacity: 0.8;
}




/* 移动端导航提示文字 */
.mobile-nav-tip {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
    display: block;
    text-align: center;
    font-style: italic;
}

.mobile-nav-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #4ade80;
}

/* 移动端小屏幕优化 */
@media (max-width: 480px) {
    .mobile-nav-tip {
        font-size: 0.65rem;
    }
    
    .mobile-nav-title {
        font-size: 1.1rem;
    }
}


/* 微信显示区域 */
.wechat-display {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.wechat-label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
}

#wechat-number {
    color: #4ade80 !important;
    font-weight: 600;
    font-size: 1rem;
}

.copy-btn {
    background: rgba(74, 222, 128, 0.2);
    border: 1px solid #4ade80;
    color: #4ade80 !important;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.copy-btn:hover {
    background: #4ade80;
    color: white !important;
}

.copy-tip {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.75rem;
    margin: 5px 0 0 0;
    font-style: italic;
}

.contact-info {
    flex: 1;
}

/* 老非课程页面样式 */
.course-buttons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
}

.course-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    font-size: 14px;
    font-weight: 600;
    min-height: 80px;
}

.course-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.course-btn:active {
    transform: translateY(-1px);
}

.course-btn.active {
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
    transform: translateY(-2px);
}

.course-btn i {
    font-size: 24px;
    margin-bottom: 8px;
}

.course-btn span {
    text-align: center;
    line-height: 1.3;
}

.collection-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.collection-btn:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.collection-btn.active {
    background: linear-gradient(135deg, #e17055 0%, #d63031 100%);
    box-shadow: 0 6px 20px rgba(214, 48, 49, 0.4);
    transform: translateY(-2px);
}

.course-display-area {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.course-access-tip {
    background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(253, 203, 110, 0.3);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.course-access-tip i {
    font-size: 16px;
    color: #fff;
}

.contact-tip {
    background: #f0f2f5;
    color: #333333;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 13px;
}

.contact-info {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 8px;
}

.contact-info i {
    font-size: 14px;
    color: #74b9ff;
}

.wechat-number {
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    padding: 3px 8px;
    background: #e9ecef;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 12px;
    margin-right: 8px;
}

.wechat-number:hover {
    background: #dee2e6;
    transform: scale(1.05);
}

.copy-wechat-btn {
    background: #74b9ff;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.copy-wechat-btn:hover {
    background: #0984e3;
    transform: translateY(-1px);
}

.scan-tip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666666;
    background: #e9ecef;
    padding: 8px 12px;
    border-radius: 4px;
    margin-top: 8px;
}

.scan-tip i {
    font-size: 14px;
    color: #74b9ff;
}

.single-course-display {
    text-align: center;
}

.course-title {
    font-size: 24px;
    color: #2d3436;
    margin-bottom: 20px;
    font-weight: 700;
}

.course-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.course-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.image-scan-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #666666;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 6px;
    margin-top: 15px;
    border: 1px solid #e9ecef;
}

.image-scan-tip i {
    font-size: 16px;
    color: #74b9ff;
}

.course-collection {
    text-align: center;
}

.collection-title {
    font-size: 28px;
    color: #2d3436;
    margin-bottom: 30px;
    font-weight: 700;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.collection-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.collection-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-name {
    font-size: 18px;
    color: #2d3436;
    margin-bottom: 15px;
    font-weight: 600;
}

.collection-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.collection-image:hover {
    transform: scale(1.05);
}

.collection-scan-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #666666;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    margin-top: 10px;
    border: 1px solid #e9ecef;
}

.collection-scan-tip i {
    font-size: 14px;
    color: #74b9ff;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .course-buttons-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
        padding: 10px;
    }
    
    .course-btn {
        padding: 12px 8px;
        min-height: 60px;
        font-size: 11px;
    }
    
    .course-btn i {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .contact-tip {
        padding: 10px 12px;
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .course-title {
        font-size: 20px;
    }
    
    .collection-title {
        font-size: 24px;
    }
    
    .image-scan-tip {
        font-size: 12px;
        padding: 8px 12px;
        margin-top: 12px;
    }
    
    .collection-scan-tip {
        font-size: 11px;
        padding: 6px 10px;
        margin-top: 8px;
    }
    
    .course-access-tip {
        font-size: 12px;
        padding: 10px 12px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .course-buttons-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 8px;
    }
    
    .course-btn {
        padding: 8px 6px;
        min-height: 50px;
        font-size: 10px;
    }
    
    .course-btn i {
        font-size: 14px;
        margin-bottom: 3px;
    }
    
    .course-display-area {
        padding: 15px;
    }
    
    .contact-tip {
        padding: 8px 10px;
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .contact-info {
        gap: 4px;
        margin-bottom: 6px;
    }
    
    .course-title {
        font-size: 18px;
    }
    
    .collection-title {
        font-size: 20px;
    }
    
    .image-scan-tip {
        font-size: 11px;
        padding: 6px 10px;
        margin-top: 10px;
    }
    
    .collection-scan-tip {
        font-size: 10px;
        padding: 5px 8px;
        margin-top: 6px;
    }
    
    .course-access-tip {
        font-size: 11px;
        padding: 8px 10px;
        margin-bottom: 10px;
    }
}

/* 电脑配置页面样式 */
.computer-config-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.config-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border: 1px solid #e9ecef;
}

.config-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.config-item:hover {
    background: #e3f2fd;
    border-left-color: #2196f3;
    transform: translateX(5px);
}

.config-item:last-child {
    margin-bottom: 0;
}

.config-label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
    font-weight: 600;
    color: #374151;
    font-size: 16px;
}

.config-label i {
    font-size: 18px;
    color: #667eea;
    width: 20px;
    text-align: center;
}

.config-value {
    flex: 1;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.6;
    margin-left: 20px;
}

.config-value div {
    margin-bottom: 5px;
}

.config-value div:last-child {
    margin-bottom: 0;
}

/* 特殊配置项样式 */
.config-item:nth-child(1) .config-label i { color: #f59e0b; } /* 处理器 - 橙色 */
.config-item:nth-child(2) .config-label i { color: #10b981; } /* 主板 - 绿色 */
.config-item:nth-child(3) .config-label i { color: #8b5cf6; } /* 内存 - 紫色 */
.config-item:nth-child(4) .config-label i { color: #ef4444; } /* 显卡 - 红色 */
.config-item:nth-child(5) .config-label i { color: #06b6d4; } /* 显示器 - 青色 */
.config-item:nth-child(6) .config-label i { color: #f97316; } /* 磁盘 - 橙色 */
.config-item:nth-child(7) .config-label i { color: #84cc16; } /* 声卡 - 绿色 */
.config-item:nth-child(8) .config-label i { color: #3b82f6; } /* 网卡 - 蓝色 */

/* 移动端优化 */
@media (max-width: 768px) {
    .computer-config-container {
        padding: 15px;
    }
    
    .config-card {
        padding: 20px;
    }
    
    .config-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .config-label {
        min-width: auto;
        margin-bottom: 10px;
        font-size: 15px;
    }
    
    .config-value {
        margin-left: 0;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .computer-config-container {
        padding: 10px;
    }
    
    .config-card {
        padding: 15px;
    }
    
    .config-item {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .config-label {
        font-size: 14px;
    }
    
    .config-value {
        font-size: 13px;
    }
}
