body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #121212;
    color: #fff;
    margin: 0;
    padding: 0;
    padding-top: 48px;
    min-height: 100vh;
    font-size: 13px;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent !important;
    padding: 15px;
}

.strategy-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.strategy-card h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 12px;
}

.strategy-intro {
    background: linear-gradient(135deg, #1a1f25 0%, #2d3436 100%);
    color: white;
    padding: 20px;
    margin-bottom: 15px;
}

.strategy-intro h2 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 12px;
}

.strategy-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.strategy-description {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
}

.strategy-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 150px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
}

.strategy-button {
    display: inline-block;
    padding: 12px 30px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 10px;
}

.strategy-button:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
}

tr:hover {
    background-color: #f5f5f5;
}

.strategy-summary {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 8px;
    padding: 6px 0;
    flex-shrink: 0;
}

.strategy-summary .summary-item {
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 8px 16px;
    min-width: 160px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.strategy-summary .summary-label {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 1px;
    font-weight: normal;
}

.strategy-summary .summary-value {
    font-size: 16px;
    font-weight: bold;
    color: #4CAF50;
}

/* 复用策略一的深色卡片风格 */
.strategy-card.strategy-intro {
    background: linear-gradient(135deg, #1a1f25 0%, #2d3436 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-height: 550px;
    display: flex;
    flex-direction: column;
}

/* 标题样式 */
.strategy-card.strategy-intro h2 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

/* 统计区风格，紧凑版 */
.strategy-summary {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 12px;
    padding: 10px 0;
    flex-shrink: 0;
}

.strategy-summary .summary-item {
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 10px 22px;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 17px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.strategy-summary .summary-label {
    font-size: 13px;
    color: #a0a0a0;
    margin-bottom: 2px;
    font-weight: normal;
}

.strategy-summary .summary-value {
    font-size: 20px;
    font-weight: bold;
    color: #4CAF50;
}

/* 表格深色风格 */
.strategy-card.strategy-intro .table-container {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    
    scrollbar-width: thin;
    scrollbar-color: #666 #333;
}

.strategy-card.strategy-intro table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 12px;
}

.strategy-card.strategy-intro thead {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #2b2b2b;
}

.strategy-card.strategy-intro th {
    background-color: #2b2b2b;
    color: #fff;
    padding: 8px 12px;
    text-align: left;
    font-weight: bold;
    padding-top: 6px;
    padding-bottom: 6px;
}

.strategy-card.strategy-intro td {
    padding: 8px 12px;
    border-bottom: 1px solid #444;
    color: #e0e0e0;
    padding-top: 6px;
    padding-bottom: 6px;
}

.strategy-card.strategy-intro tbody tr:hover {
    background-color: rgba(255,255,255,0.04);
}

.nav-item.join-community{
    position: absolute;
    top: 0;
    right: 0;
    margin-left: auto;
    margin-right: 40px;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.nav-item {
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-item:hover,
.nav-item.active {
    background: #444;
}

.nav-item.home-button {
    position: absolute;
    top: 0;
    right: 144px;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-item.home-button:hover,
.nav-item.home-button.active {
    background: #444;
}



.top-navbar {
    width: 100%;
    height: 42px;
    background: #23272e;
    display: flex;
    justify-content: flex-end;
    align-items: center; /* 保证子元素上下居中 */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding-right: 30px;
}

.top-navbar .nav-item,
.top-navbar .nav-item.home-button,
.top-navbar .nav-item.join-community {
  display: flex;
  align-items: center;
  height: 78%;
}

body {
    padding-top: 48px;
}

.top-navbar .nav-item {
    color: #fff;
    background: transparent;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    margin-left: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.top-navbar .nav-item:hover {
    background: #444;
    color: #ffd700;
}

/* 表格滚动条调整 */
.table-container::-webkit-scrollbar {
    width: 6px;
}

/* 如果有按钮，调整按钮大小 */
button {
    font-size: 13px;
    padding: 8px 15px;
}

/* 页面容器 */
.page-container {
    display: flex;
    padding-top: 48px; /* 与顶部导航栏高度一致 */
    min-height: 100vh;
}

/* 左侧导航样式 */
.side-nav {
    width: 200px;
    background: #1e1e1e;
    position: fixed;
    left: 0;
    top: 48px; /* 与顶部导航栏高度一致 */
    bottom: 0;
    border-right: 1px solid #333;
    z-index: 100;
}

.nav-list {
    padding: 15px 0;
}

.side-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
}

.side-nav .nav-item:hover {
    background: #2a2a2a;
    color: #fff;
}

.side-nav .nav-item.active {
    background: #2d3436;
    color: #fff;
    border-left: 3px solid #f0b90b;
}

.nav-icon {
    margin-right: 10px;
    font-size: 16px;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    margin-left: 200px; /* 与侧边栏宽度一致 */
    padding: 20px;
}

/* 策略卡片样式调整 */
.strategy-card {
    margin-bottom: 20px;
    scroll-margin-top: 68px; /* 滚动定位时预留顶部空间 = 顶部导航 + 间距 */
}

/* 确保内容区域不被顶部导航遮挡 */
body {
    padding-top: 0;
}

/* SEO 隐藏标题 */
.seo-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 确保文本对比度符合WCAG标准 */
.nav-item {
    color: #ffffff; /* 确保文本清晰可见 */
}

/* 添加焦点样式，提高可访问性 */
.nav-item:focus {
    outline: 2px solid #f0b90b;
    outline-offset: 2px;
} 

.ad-banner {
    position: static;
    flex: 1 1 100px;      /* 占据剩余空间，最小宽度320px */
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.06); */
    height: 20px; /* 与导航栏高度一致 */
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-left: 10px;
    margin-right: 200px;

    /* background: linear-gradient(90deg, #222 0%, #444 100%); */
  }
  
  .ad-banner-content {
    display: flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    animation: ad-scroll 20s linear infinite;
  }
  
  @keyframes ad-scroll {
    0% { transform: translateX(180%); }
    100% { transform: translateX(-100%); }
  }