/* Basic Styles - Binance Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #0b0e11 0%, #181a20 50%, #1e2329 100%);
    background-attachment: fixed;
    color: #eaecef;
    overflow-x: hidden;
    position: relative;
}

/* 动态背景粒子效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(240, 185, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(14, 203, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(246, 70, 93, 0.1) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

a {
    color: #f0b90b;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header - Binance Style */
header {
    background: rgba(24, 26, 32, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(240, 185, 11, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #f0b90b, transparent);
    animation: headerGlow 3s ease-in-out infinite alternate;
}

@keyframes headerGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

/* PC端导航菜单容器 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex: 1;
    justify-content: space-between;
    margin-left: 3rem;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #f0b90b;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-actions a {
    margin-left: 0;
}

.btn {
    background: linear-gradient(135deg, #f0b90b 0%, #fcd535 100%);
    color: #181a20;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(240, 185, 11, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 185, 11, 0.4);
    text-decoration: none;
}

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

.btn-secondary {
    background: linear-gradient(135deg, #2b3139 0%, #3c4043 100%);
    color: #eaecef;
    border: 1px solid rgba(240, 185, 11, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #3c4043 0%, #4a4d52 100%);
    border-color: #f0b90b;
    color: #f0b90b;
}

/* Hero Section - Binance Style */
.hero {
    text-align: center;
    padding: 8rem 2rem 6rem;
    margin-top: 80px; /* 为fixed header留出空间 */
    background: linear-gradient(135deg, rgba(11, 14, 17, 0.9) 0%, rgba(24, 26, 32, 0.8) 50%, rgba(30, 35, 41, 0.9) 100%);
    border-bottom: 1px solid rgba(240, 185, 11, 0.2);
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(240, 185, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(14, 203, 129, 0.1) 0%, transparent 50%);
    animation: heroFloat 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes heroFloat {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #f0b90b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

.hero p {
    font-size: 1.375rem;
    color: #b7bdc6;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-description {
    margin-bottom: 3rem;
}

.hero-description > p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-features li {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: rgba(240, 185, 11, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(240, 185, 11, 0.1);
    transition: all 0.3s ease;
}

.hero-features li:hover {
    background: rgba(240, 185, 11, 0.1);
    transform: translateX(5px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #0ecb81;
    color: #181a20;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

/* 移动端媒体查询将在文件末尾统一处理 */

.btn-primary {
    font-size: 1.25rem;
    padding: 0.75rem 2rem;
    background-color: #f0b90b;
    color: #121212;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #f3c32c;
}

/* Section Styling */
section {
    padding: 4rem 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

section h2 {
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
}

.features, .market-data, .about {
    background-color: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Knowledge Grid */
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
}

.card {
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.8) 0%, rgba(30, 35, 41, 0.9) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(240, 185, 11, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, transparent 0%, rgba(240, 185, 11, 0.05) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(240, 185, 11, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(240, 185, 11, 0.3);
}

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

.card:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f0b90b, #ffdd2d);
    animation: shimmer 1.5s infinite;
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
}

.card-icon {
    font-size: 2.5rem;
    color: #f0b90b;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.card h3 {
    font-size: 1.2rem;
    color: #f0b90b;
    margin-bottom: 0.75rem;
}

.card p {
    color: #b7bdc6;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.card-features {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

.card-features li {
    color: #b7bdc6;
    padding: 3px 0;
    position: relative;
    padding-left: 20px;
    font-size: 0.8rem;
    line-height: 1.3;
}

.card-features li:before {
    content: '✓';
    color: #f0b90b;
    position: absolute;
    left: 0;
}

.card a {
    display: inline-block;
    background-color: #f0b90b;
    color: #121212;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.card a:hover {
    background-color: #f3c32c;
    text-decoration: none;
}

.card a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f0b90b;
    animation: slideIn 0.3s forwards;
}

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Market Table - Binance Style */
.market-table-container {
    overflow-x: auto;
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.6) 0%, rgba(30, 35, 41, 0.8) 100%);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(240, 185, 11, 0.1);
}

.market-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.market-table th, .market-table td {
    padding: 1.25rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(43, 49, 57, 0.8);
    transition: all 0.3s ease;
}

.market-table th {
    background: linear-gradient(135deg, rgba(43, 49, 57, 0.8) 0%, rgba(60, 64, 67, 0.6) 100%);
    color: #f0b90b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.market-table tbody tr {
    transition: all 0.3s ease;
}

.market-table tbody tr:hover {
    background: rgba(240, 185, 11, 0.05);
    transform: scale(1.01);
}

.change-up {
    color: #0ecb81;
    font-weight: 600;
    position: relative;
}

.change-up::before {
    content: '▲';
    margin-right: 4px;
    font-size: 0.75rem;
}

.change-down {
    color: #f6465d;
    font-weight: 600;
    position: relative;
}

.change-down::before {
    content: '▼';
    margin-right: 4px;
    font-size: 0.75rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #f0b90b 0%, #fcd535 100%);
    color: #181a20;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(240, 185, 11, 0.4);
}

/* Form Container */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #121212;
}

form {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
}

form h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #a0a0a0;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background-color: #2c2c2c;
    border: 1px solid #333;
    border-radius: 4px;
    color: #e0e0e0;
}

.form-switch {
    text-align: center;
    margin-top: 1rem;
}

/* 第二个移动端媒体查询将合并到末尾 */

/* 添加动画相关样式 */
.flash {
    animation: flash-animation 0.5s;
}

@keyframes flash-animation {
    0% { background-color: rgba(240, 185, 11, 0.3); }
    100% { background-color: transparent; }
}

/* 导航栏滚动效果 */

.header-scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 标签切换样式 */
.tab-header {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #2a2d35;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    color: #b7bdc6;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #f0b90b;
}

.tab-btn.active {
    color: #f0b90b;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #f0b90b;
    animation: slideIn 0.3s forwards;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

/* 图表样式 */
.market-chart {
    margin-top: 30px;
    background-color: #1e2026;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chart-controls {
    display: flex;
}

.chart-btn {
    padding: 5px 15px;
    background: #2a2d35;
    border: none;
    color: #b7bdc6;
    cursor: pointer;
    margin-left: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.chart-btn:hover, .chart-btn.active {
    background: #f0b90b;
    color: #000;
}

.chart-image-placeholder {
    height: 350px;
    background-color: #1e2026;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b7bdc6;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(240, 185, 11, 0.1);
}

.chart-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer-chart 2s infinite;
}

@keyframes shimmer-chart {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 学习路径样式 */
.knowledge-path {
    margin-top: 40px;
    padding: 20px;
    background-color: #1e2026;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.path-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    position: relative;
}

.path-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2a2d35;
    z-index: 1;
}

.path-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 22%;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0b90b;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.path-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(240, 185, 11, 0.5);
}

.step-content {
    text-align: center;
}

.step-content h4 {
    color: #f0b90b;
    margin-bottom: 5px;
}

.step-content p {
    color: #b7bdc6;
    font-size: 14px;
}


/* 通知系统样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(24, 26, 32, 0.95) 0%, rgba(30, 35, 41, 0.95) 100%);
    border-radius: 12px;
    border: 1px solid rgba(240, 185, 11, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    background: #0ecb81;
    color: #181a20;
}

.notification-error .notification-icon {
    background: #f6465d;
    color: #ffffff;
}

.notification-info .notification-icon {
    background: #f0b90b;
    color: #181a20;
}

.notification-message {
    color: #eaecef;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #f0b90b, #fcd535);
    animation: notificationProgress 3s linear forwards;
}

@keyframes notificationProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* 加载动画样式 */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(24, 26, 32, 0.3);
    border-radius: 50%;
    border-top-color: #181a20;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hero统计数据样式 */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(24, 26, 32, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(240, 185, 11, 0.1);
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f0b90b;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

.stat-label {
    font-size: 0.875rem;
    color: #b7bdc6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 卡片入场动画 */
.card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card.card-visible {
    opacity: 1;
    transform: translateY(0);
}

.card:nth-child(1) { transition-delay: 0.1s; }
.card:nth-child(2) { transition-delay: 0.2s; }
.card:nth-child(3) { transition-delay: 0.3s; }
.card:nth-child(4) { transition-delay: 0.4s; }

/* 市场数据更新动画 */
.market-update-pulse {
    animation: marketPulse 1s ease-in-out;
}

@keyframes marketPulse {
    0% { background: transparent; }
    50% { background: rgba(240, 185, 11, 0.1); }
    100% { background: transparent; }
}

/* Hero内容动画 */
.hero-content {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-content h1 {
    animation: titleSlideIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

.hero-content p {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-buttons {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

.hero-stats {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页面加载动画 */
body.loading {
    overflow: hidden;
}

body.loading::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b0e11 0%, #181a20 50%, #1e2329 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.loading::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border: 3px solid rgba(240, 185, 11, 0.3);
    border-radius: 50%;
    border-top-color: #f0b90b;
    animation: spin 1s ease-in-out infinite;
    z-index: 100000;
}

/* 第三个移动端媒体查询将合并到末尾 */

/* 模拟交易样式 */
.simulator {
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.6) 0%, rgba(30, 35, 41, 0.8) 100%);
    border-radius: 16px;
    border: 1px solid rgba(240, 185, 11, 0.1);
    backdrop-filter: blur(10px);
}

.simulator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.simulator-panel, .positions-panel {
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.8) 0%, rgba(30, 35, 41, 0.9) 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(240, 185, 11, 0.1);
}

.simulator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(240, 185, 11, 0.2);
}

.account-balance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.balance-label {
    color: #b7bdc6;
    font-size: 0.875rem;
}

.balance-amount {
    color: #0ecb81;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.instrument-selector {
    margin-bottom: 1.5rem;
}

.instrument-selector label {
    display: block;
    color: #eaecef;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.instrument-selector select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(43, 49, 57, 0.6);
    border: 1px solid rgba(240, 185, 11, 0.2);
    border-radius: 8px;
    color: #eaecef;
    font-size: 14px;
    outline: none;
}

.price-display {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(43, 49, 57, 0.3);
    border-radius: 8px;
}

.current-price {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-label {
    color: #b7bdc6;
    font-size: 0.875rem;
}

.price-value {
    color: #eaecef;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.price-change {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.price-change.positive {
    background: rgba(14, 203, 129, 0.2);
    color: #0ecb81;
}

.price-change.negative {
    background: rgba(246, 70, 93, 0.2);
    color: #f6465d;
}

.order-type {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.order-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-btn {
    background: linear-gradient(135deg, #0ecb81 0%, #2dd4aa 100%);
    color: #181a20;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 203, 129, 0.4);
}

.sell-btn {
    background: linear-gradient(135deg, #f6465d 0%, #ff6b7a 100%);
    color: #ffffff;
}

.sell-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 70, 93, 0.4);
}

.order-btn.active {
    transform: scale(0.98);
}

.order-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    color: #eaecef;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(43, 49, 57, 0.6);
    border: 1px solid rgba(240, 185, 11, 0.2);
    border-radius: 8px;
    color: #eaecef;
    font-size: 14px;
    outline: none;
}

.input-group input:focus {
    border-color: #f0b90b;
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.1);
}

.submit-order-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #f0b90b 0%, #fcd535 100%);
    color: #181a20;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 185, 11, 0.4);
}

.positions-table table {
    width: 100%;
    border-collapse: collapse;
}

.positions-table th,
.positions-table td {
    padding: 0.75rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(43, 49, 57, 0.8);
    font-size: 0.875rem;
}

.positions-table th {
    color: #f0b90b;
    font-weight: 600;
    background: rgba(43, 49, 57, 0.3);
}

.positions-table td {
    color: #eaecef;
}

.no-positions td {
    text-align: center;
    color: #b7bdc6;
    font-style: italic;
    padding: 2rem;
}

.close-position-btn {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #f6465d 0%, #ff6b7a 100%);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-position-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(246, 70, 93, 0.4);
}

.profit {
    color: #0ecb81 !important;
    font-weight: 600;
}

.loss {
    color: #f6465d !important;
    font-weight: 600;
}

.balance-update {
    animation: balanceFlash 0.6s ease-in-out;
}

@keyframes balanceFlash {
    0%, 100% { background: transparent; }
    50% { background: rgba(14, 203, 129, 0.2); border-radius: 4px; }
}

/* 学习进度样式 */
.learning-progress {
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.6) 0%, rgba(30, 35, 41, 0.8) 100%);
    border-radius: 16px;
    border: 1px solid rgba(240, 185, 11, 0.1);
    backdrop-filter: blur(10px);
}

.progress-container {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.progress-item {
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.8) 0%, rgba(30, 35, 41, 0.9) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(240, 185, 11, 0.1);
    transition: all 0.3s ease;
}

.progress-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(240, 185, 11, 0.3);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-header h3 {
    color: #eaecef;
    margin: 0;
    font-size: 1.125rem;
}

.progress-percentage {
    color: #f0b90b;
    font-weight: 600;
    font-size: 1.25rem;
    font-family: 'Courier New', monospace;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(43, 49, 57, 0.6);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f0b90b, #fcd535);
    border-radius: 4px;
    transition: width 1s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

.progress-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-details span {
    color: #b7bdc6;
    font-size: 0.875rem;
}

.continue-learning {
    color: #f0b90b;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(240, 185, 11, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.continue-learning:hover {
    background: rgba(240, 185, 11, 0.1);
    border-color: #f0b90b;
    transform: translateX(3px);
    text-decoration: none;
}

/* 关于我们样式 */
.about-content {
    margin-top: 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-item {
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.8) 0%, rgba(30, 35, 41, 0.9) 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(240, 185, 11, 0.1);
    transition: all 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(240, 185, 11, 0.3);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.about-item h3 {
    color: #f0b90b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.about-item p {
    color: #b7bdc6;
    line-height: 1.6;
    font-size: 0.875rem;
}

/* 关于我们CTA区域 */
.about-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(145deg, rgba(240, 185, 11, 0.1) 0%, rgba(30, 35, 41, 0.8) 100%);
    border-radius: 16px;
    border: 1px solid rgba(240, 185, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f0b90b, #fcd535, #f0b90b);
    animation: shimmer 3s infinite;
}

.about-cta h3 {
    color: #f0b90b;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-cta p {
    color: #b7bdc6;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-cta .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* 财经新闻区域 */
.finance-news-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e2026 0%, #2a2d35 100%);
}

.news-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.news-search {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.news-search input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    background: rgba(30, 35, 41, 0.8);
    border: 1px solid rgba(240, 185, 11, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
}

.news-search input::placeholder {
    color: #8b949e;
}

.news-search i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #f0b90b;
}

.news-category-filter select {
    padding: 12px 16px;
    background: rgba(30, 35, 41, 0.8);
    border: 1px solid rgba(240, 185, 11, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    min-width: 150px;
}

.finance-news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-item {
    background: rgba(30, 35, 41, 0.8);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(240, 185, 11, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.news-item:hover {
    transform: translateY(-5px);
    border-color: rgba(240, 185, 11, 0.5);
    box-shadow: 0 10px 30px rgba(240, 185, 11, 0.1);
}

.news-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.hot-badge, .featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.hot-badge {
    background: #ff4757;
    color: #ffffff;
}

.featured-badge {
    background: #f0b90b;
    color: #1e2026;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #8b949e;
}

.news-category {
    color: #f0b90b;
    font-weight: 600;
}

.news-date {
    color: #8b949e;
}

.news-views {
    color: #8b949e;
}

.news-title {
    margin-bottom: 1rem;
}

.news-title a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #f0b90b;
}

.news-text {
    color: #e6e6e6;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: #e6e6e6;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 新闻标签样式 */
.news-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.2rem 0.6rem;
    background: rgba(240, 185, 11, 0.1);
    border: 1px solid rgba(240, 185, 11, 0.3);
    border-radius: 12px;
    color: #f0b90b;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(240, 185, 11, 0.2);
    transform: translateY(-1px);
}

.news-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}

.btn-view-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f0b90b 0%, #fcd535 100%);
    color: #181a20;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-view-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-view-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 185, 11, 0.3);
    text-decoration: none;
    color: #181a20;
}

.btn-view-detail:hover::before {
    left: 100%;
}

.btn-view-detail i {
    transition: transform 0.3s ease;
}

.btn-view-detail:hover i {
    transform: translateX(3px);
}

.btn-like, .btn-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 12px;
    background: rgba(240, 185, 11, 0.1);
    border: 1px solid rgba(240, 185, 11, 0.3);
    border-radius: 6px;
    color: #f0b90b;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-like:hover, .btn-share:hover {
    background: rgba(240, 185, 11, 0.2);
    transform: translateY(-2px);
}

/* 优化的翻页样式 */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding: 1.5rem 0;
    position: relative;
}

.news-pagination::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(240, 185, 11, 0.3), transparent);
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    background: linear-gradient(145deg, rgba(30, 35, 41, 0.9) 0%, rgba(24, 26, 32, 0.9) 100%);
    border: 1px solid rgba(240, 185, 11, 0.2);
    border-radius: 8px;
    color: #eaecef;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.page-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 185, 11, 0.1), transparent);
    transition: left 0.5s ease;
}

.page-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(240, 185, 11, 0.5);
    box-shadow: 0 8px 20px rgba(240, 185, 11, 0.15);
    color: #f0b90b;
}

.page-btn:hover::before {
    left: 100%;
}

.page-btn.active {
    background: linear-gradient(135deg, #f0b90b 0%, #fcd535 100%);
    color: #181a20;
    border-color: #f0b90b;
    box-shadow: 0 8px 20px rgba(240, 185, 11, 0.3);
    font-weight: 600;
    transform: translateY(-2px);
}

.page-btn.active::before {
    display: none;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.page-btn:disabled:hover {
    transform: none;
    border-color: rgba(240, 185, 11, 0.2);
    box-shadow: none;
    color: #eaecef;
}

/* 翻页导航按钮特殊样式 */
.page-btn.prev-btn,
.page-btn.next-btn {
    min-width: auto;
    padding: 8px 16px;
    font-size: 12px;
    gap: 0.4rem;
    font-weight: 500;
}

.page-btn.prev-btn i,
.page-btn.next-btn i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.page-btn.prev-btn:hover i {
    transform: translateX(-2px);
}

.page-btn.next-btn:hover i {
    transform: translateX(2px);
}

/* 省略号样式 */
.page-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #8b949e;
    font-size: 16px;
    font-weight: bold;
    position: relative;
}

.page-ellipsis::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #8b949e 2px, transparent 2px);
    background-size: 8px 8px;
    animation: ellipsisPulse 2s infinite;
}

@keyframes ellipsisPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 页面信息样式 */
.page-info {
    margin-left: 1rem;
    padding: 8px 16px;
    background: rgba(30, 35, 41, 0.6);
    border: 1px solid rgba(240, 185, 11, 0.2);
    border-radius: 20px;
    color: #b7bdc6;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.page-info:hover {
    border-color: rgba(240, 185, 11, 0.4);
    color: #eaecef;
}

/* 翻页容器动画 */
.news-pagination {
    animation: paginationFadeIn 0.5s ease-out;
}

@keyframes paginationFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端翻页优化 */
@media (max-width: 768px) {
    .news-pagination {
        flex-wrap: wrap;
        gap: 0.3rem;
        padding: 1rem 0;
    }
    
    .page-btn {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
        padding: 6px 8px;
    }
    
    .page-btn.prev-btn,
    .page-btn.next-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .page-info {
        order: -1;
        width: 100%;
        text-align: center;
        margin: 0 0 1rem 0;
        font-size: 12px;
    }
    
    .page-ellipsis {
        width: 35px;
        height: 35px;
    }
}

/* 加载状态和错误状态 */
.news-loading, .news-error {
    text-align: center;
    padding: 3rem 2rem;
    color: #8b949e;
}

.news-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.news-loading i {
    font-size: 2rem;
    color: #f0b90b;
    animation: spin 1s linear infinite;
}

.news-error {
    color: #ff6b6b;
    background: rgba(246, 70, 93, 0.1);
    border: 1px solid rgba(246, 70, 93, 0.2);
    border-radius: 12px;
    margin: 2rem 0;
}

.news-error i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .finance-news-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-controls {
        flex-direction: column;
    }
    
    .news-search {
        min-width: auto;
    }
    
    .news-actions {
        flex-direction: column;
    }
}

/* 中等屏幕优化 (769px - 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .knowledge-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

/* 大屏幕优化 (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .knowledge-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
}

/* 超大屏幕优化 (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .knowledge-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.2rem;
    }
}

/* 客户登记CTA区域 */
.customer-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e2026 0%, #2a2d35 100%);
    border-top: 1px solid rgba(240, 185, 11, 0.2);
}

.customer-cta {
    background: linear-gradient(145deg, rgba(240, 185, 11, 0.1) 0%, rgba(30, 35, 41, 0.8) 100%);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(240, 185, 11, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.customer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f0b90b, #fcd535, #f0b90b);
    animation: shimmer 3s infinite;
}

.cta-content h2 {
    color: #f0b90b;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f0b90b 0%, #fcd535 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    color: #b7bdc6;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.cta-buttons .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 160px;
}

@media (max-width: 768px) {
    .customer-cta {
        padding: 2rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* 移动端菜单切换按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: #f0b90b;
    border-radius: 10px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 统一移动端适配 */
@media (max-width: 768px) {
    /* 导航栏 */
    header {
        padding: 1rem 1.5rem;
    }
    
    nav {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }
    
    .mobile-menu-toggle:active {
        transform: scale(0.95);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(24, 26, 32, 0.98);
        backdrop-filter: blur(20px);
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: -1;
    }
    
    .nav-menu.active::before {
        opacity: 1;
        pointer-events: auto;
    }
    
    body.menu-open {
        overflow: hidden;
    }

    nav ul {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    nav ul li {
        margin: 0;
        border-bottom: 1px solid rgba(240, 185, 11, 0.1);
    }
    
    nav ul li a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        color: #eaecef;
        text-decoration: none;
        transition: color 0.3s ease;
        position: relative;
        z-index: 1;
        pointer-events: auto;
    }
    
    nav ul li a:hover {
        color: #f0b90b;
    }
    
    nav ul li a:active {
        color: #f0b90b;
        transform: scale(0.98);
    }
    
    .user-actions {
        flex-direction: column;
        margin-top: 2rem;
        gap: 1rem;
    }
    
    .user-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        position: relative;
        z-index: 1;
        pointer-events: auto;
    }

    /* Hero区域 */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }

    /* 通用区域 */
    section {
        padding: 2rem 1rem;
    }

    section h2 {
        font-size: 2rem;
    }
    
    /* 关于我们 */
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    /* 模拟交易 */
    .simulator-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .order-inputs {
        grid-template-columns: 1fr;
    }
    
    .order-type {
        flex-direction: column;
    }
    
    .current-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    
    /* 通知系统 */
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

/* 行业资讯页面样式 */
.page-header {
    background: linear-gradient(135deg, #1e2026 0%, #2a2d35 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #eaecef;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f0b90b 0%, #fcd535 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.2rem;
    color: #b7bdc6;
    max-width: 600px;
    margin: 0 auto;
}

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

/* 期货知识部分 */
.knowledge-section {
    padding: 80px 0;
    background: #1e2026;
}

.knowledge-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #eaecef;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.knowledge-card {
    background: linear-gradient(145deg, rgba(30, 35, 41, 0.8) 0%, rgba(24, 26, 32, 0.8) 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(240, 185, 11, 0.2);
    transition: all 0.3s ease;
}

.knowledge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(240, 185, 11, 0.1);
    border-color: rgba(240, 185, 11, 0.4);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.knowledge-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f0b90b;
    margin-bottom: 1.5rem;
}

.card-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #eaecef;
    margin: 1.5rem 0 0.8rem 0;
}

.card-content p {
    color: #b7bdc6;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-content ul {
    color: #b7bdc6;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.card-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.comparison-table {
    margin: 1.5rem 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(30, 35, 41, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(240, 185, 11, 0.2);
}

.comparison-table th {
    background: rgba(240, 185, 11, 0.1);
    color: #f0b90b;
    font-weight: 600;
}

.comparison-table td {
    color: #b7bdc6;
}

.example-box {
    background: rgba(240, 185, 11, 0.1);
    border: 1px solid rgba(240, 185, 11, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.example-box p {
    margin: 0.5rem 0;
    color: #eaecef;
}

/* 投资技巧部分 */
.tips-section {
    padding: 80px 0;
    background: #181a20;
}

.tips-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #eaecef;
}

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

.tip-card {
    background: linear-gradient(145deg, rgba(30, 35, 41, 0.8) 0%, rgba(24, 26, 32, 0.8) 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(240, 185, 11, 0.2);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(240, 185, 11, 0.1);
    border-color: rgba(240, 185, 11, 0.4);
}

.tip-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tip-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
}

.tip-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f0b90b;
    margin: 0;
}

.tip-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #eaecef;
    margin: 1.2rem 0 0.8rem 0;
}

.tip-content ul {
    color: #b7bdc6;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.tip-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.formula-box {
    background: rgba(240, 185, 11, 0.1);
    border: 1px solid rgba(240, 185, 11, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
}

.formula-box p {
    margin: 0.5rem 0;
    color: #eaecef;
}

/* 案例分析部分 */
.cases-section {
    padding: 80px 0;
    background: #1e2026;
}

.cases-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #eaecef;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.case-card {
    background: linear-gradient(145deg, rgba(30, 35, 41, 0.8) 0%, rgba(24, 26, 32, 0.8) 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(240, 185, 11, 0.2);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(240, 185, 11, 0.1);
    border-color: rgba(240, 185, 11, 0.4);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(240, 185, 11, 0.2);
}

.case-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #eaecef;
    margin: 0;
}

.case-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.case-tag.success {
    background: rgba(14, 203, 129, 0.2);
    color: #0ecb81;
    border: 1px solid rgba(14, 203, 129, 0.3);
}

.case-tag.failure {
    background: rgba(246, 70, 93, 0.2);
    color: #f6465d;
    border: 1px solid rgba(246, 70, 93, 0.3);
}

.case-tag.neutral {
    background: rgba(183, 189, 198, 0.2);
    color: #b7bdc6;
    border: 1px solid rgba(183, 189, 198, 0.3);
}

.case-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #eaecef;
    margin: 1.2rem 0 0.8rem 0;
}

.case-content p {
    color: #b7bdc6;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.case-content ul {
    color: #b7bdc6;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.case-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.result-box {
    background: rgba(14, 203, 129, 0.1);
    border: 1px solid rgba(14, 203, 129, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.result-box p {
    margin: 0.5rem 0;
    color: #eaecef;
}

.lesson-box {
    background: rgba(246, 70, 93, 0.1);
    border: 1px solid rgba(246, 70, 93, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.lesson-box p {
    margin: 0.5rem 0;
    color: #eaecef;
}

.lesson-box ul {
    color: #b7bdc6;
    padding-left: 1.5rem;
}

/* 学习资源部分 */
.resources-section {
    padding: 80px 0;
    background: #181a20;
}

.resources-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #eaecef;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-card {
    background: linear-gradient(145deg, rgba(30, 35, 41, 0.8) 0%, rgba(24, 26, 32, 0.8) 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(240, 185, 11, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(240, 185, 11, 0.1);
    border-color: rgba(240, 185, 11, 0.4);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f0b90b;
    margin-bottom: 1.5rem;
}

.resource-card ul {
    color: #b7bdc6;
    text-align: left;
    padding-left: 1.5rem;
}

.resource-card li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .knowledge-section h2,
    .tips-section h2,
    .cases-section h2,
    .resources-section h2 {
        font-size: 2rem;
    }
    
    .knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tips-grid,
    .cases-grid,
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .knowledge-card,
    .tip-card,
    .case-card,
    .resource-card {
        padding: 1.5rem;
    }
    
    .case-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
}

/* 资料下载页面样式 */
.downloads-section {
    padding: 80px 0;
    background: #1e2026;
}

.downloads-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #eaecef;
}

.downloads-list {
    margin-top: 2rem;
}

.category-section {
    margin-bottom: 3rem;
}

.category-title {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #2b3139;
}

.category-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.category-title h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #eaecef;
    margin: 0;
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #1e2329;
    border-radius: 12px;
    border: 1px solid #2b3139;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.file-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #0ecb81;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.file-item:hover {
    background: #2b3139;
    border-color: #0ecb81;
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(14, 203, 129, 0.15);
}

.file-item:hover::before {
    transform: scaleY(1);
}

.file-icon {
    font-size: 2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.file-content {
    flex: 1;
}

.file-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #eaecef;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.file-content p {
    color: #b7bdc6;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.file-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

.file-size {
    color: #0ecb81;
    background: rgba(14, 203, 129, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 500;
}

.file-type {
    color: #f0b90b;
    background: rgba(240, 185, 11, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 500;
}

.file-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    flex-shrink: 0;
}

.view-detail {
    color: #0ecb81;
    font-size: 0.9rem;
    font-weight: 500;
}

.arrow {
    color: #0ecb81;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.file-item:hover .arrow {
    transform: translateX(4px);
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #1e2329;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    border: 1px solid #2b3139;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #2b3139;
}

.modal-header h3 {
    color: #eaecef;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.close {
    color: #b7bdc6;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #f6465d;
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    color: #b7bdc6;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-meta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-label {
    color: #b7bdc6;
    font-size: 0.9rem;
    min-width: 80px;
}

.meta-value {
    color: #eaecef;
    font-weight: 500;
    background: #2b3139;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid #2b3139;
}

.btn-secondary {
    background: #2b3139;
    color: #b7bdc6;
    border: 1px solid #3e4750;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #3e4750;
    color: #eaecef;
    border-color: #0ecb81;
}

.learning-tips {
    padding: 80px 0;
    background: #181a20;
}

.learning-tips h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #eaecef;
}

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

.tip-card {
    background: linear-gradient(145deg, rgba(30, 35, 41, 0.8) 0%, rgba(24, 26, 32, 0.8) 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(240, 185, 11, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(240, 185, 11, 0.1);
    border-color: rgba(240, 185, 11, 0.4);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tip-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f0b90b;
    margin-bottom: 1rem;
}

.tip-card p {
    color: #b7bdc6;
    line-height: 1.6;
}

.resource-link {
    color: #f0b90b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-link:hover {
    color: #fcd535;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .download-item {
        flex-direction: column;
        text-align: center;
    }
    
    .download-btn {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .item-meta {
        justify-content: center;
    }
}

/* Footer 样式 */
footer {
    background: linear-gradient(135deg, #0b0e11 0%, #181a20 100%);
    border-top: 1px solid rgba(240, 185, 11, 0.2);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content p {
    color: #b7bdc6;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.icp-info {
    margin-top: 0.5rem !important;
}

.icp-info a {
    color: #f0b90b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: #fcd535;
    text-decoration: underline;
}

/* Footer 响应式设计 */
@media (max-width: 768px) {
    footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-content p {
        font-size: 0.8rem;
    }
    
    .icp-info a {
        font-size: 0.75rem;
    }
}