/* 全局样式 */
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  padding: 0;
  margin: 0;
  background-color: #f5f8fa; /* 默认背景色 */
  color: #333333;
  overflow-x: hidden; /* 防止页面整体出现横向滚动条 */
}

/* 顶部提示框样式 */
.top-alert {
  background-color: #fff3e0;
  border: 1px solid #F3BA2F;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  width: 100%;
}

.top-alert::before {
  content: "📢";
  font-size: 16px;
}

@media (max-width: 768px) {
  .top-alert {
    margin: 10px;
    width: calc(100% - 20px);
  }
}

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

/* 标题样式 */
h1 {
  text-align: center;
  color: #000000;
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
}

/* 按钮容器 */
.button-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

/* 通用按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-align: center;
}

/* 币安主题按钮 */
.binance-btn { 
  background: #F3BA2F; 
  color: #000; 
}

/* YouTube主题按钮 */
.youtube-btn { 
  background: #FF0000; 
  color: #fff; 
}

/* 分析按钮 */
.fenxi-btn {
  background-color: #FF6B35;
  color: #fff;
}

/* 按钮悬停效果 */
.btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
}

.feixi-btn:hover {
  background-color: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* 主容器布局 - 整个应用的布局，左右分离 */
.app-layout {
  display: flex;
  min-height: 100vh; /* 确保占据至少100%视口高度 */
  width: 100vw; /* 占据整个视口宽度 */
  overflow: hidden; /* 防止整体溢出 */
}

/* 左侧导航栏 */
.sidebar {
  width: 280px;
  background: #ffffff;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  position: fixed; /* 固定定位 */
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 0; /* 移除圆角，紧贴边缘 */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); /* 侧边栏阴影 */
  z-index: 1000;
}

.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.app-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.app-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #F3BA2F, #FFA500);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

.app-name {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.app-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
  margin: 0;
}

.flame-icon {
  color: #ff6b35;
  font-size: 14px;
}

.sidebar-nav {
  flex: 1;
  padding: 20px 0;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  position: relative;
}

/* 突出显示的导航项样式 */
.nav-item.highlight-nav {
  background: #fff3e0;
  border: 2px solid #F3BA2F;
  border-radius: 8px;
  margin: 5px 10px;
  width: calc(100% - 20px);
  position: relative;
  overflow: hidden;
  font-weight: 600;
  color: #f37a2f;
}

.nav-item.highlight-nav:hover {
  background: #ffefd1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(243, 186, 47, 0.2);
}

.highlight-badge {
  position: absolute;
  right: -10px;
  top: 2px;
  background: #ff6b35;
  color: #fff;
  font-size: 12px;
  padding: 2px 14px;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  min-width: 14px;
  text-align: center;
}

.nav-item:hover {
  background: #f8f9fa;
  color: #F3BA2F;
}

.nav-item.active {
  background: #fff3e0;
  color: #F3BA2F;
  border-right: 3px solid #F3BA2F;
}

.nav-item .nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* 主要内容区域 */
.main-content {
  flex: 1; /* 占据剩余空间 */
  margin-left: 280px; /* 为固定侧边栏留出空间 */
  padding: 20px 30px; /* 增加右侧内边距 */
  background: #f5f8fa; /* 主内容区背景色 */
  box-sizing: border-box; /* 确保内边距包含在宽度内 */
  max-width: calc(100% - 280px); /* 限制最大宽度，防止内容过宽 */
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.content-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-info {
  color: #666;
  font-size: 14px;
}

.auto-refresh {
  color: #28a745;
  font-size: 14px;
  font-weight: 600;
}

/* 移动端菜单切换 */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  padding: 8px;
  cursor: pointer;
  color: #333;
}

/* 移动端顶部导航栏 - 默认隐藏 */
.mobile-header {
  display: none;
}



/* 主容器布局 */
.container {
  max-width: 100%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

/* 搜索区域样式优化 */
.search-section {
    margin-bottom: 24px;
}

.search-form {
  display: flex;
  gap: 10px;
    margin-bottom: 12px;
}

#address-input {
  flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
    min-width: 0; /* 防止在flex布局中溢出 */
}

#search-btn {
    padding: 12px 24px;
    background: #F3BA2F;
  color: #000;
  border: none;
  border-radius: 6px;
    font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

#search-btn:hover {
    background: #f4c23d;
  transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(243, 186, 47, 0.2);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .search-form {
  flex-direction: column;
  gap: 8px;
}

    #address-input {
  width: 100%;
        font-size: 16px; /* 移动端更大的字体 */
    }

    #search-btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}

/* 配置区域样式 */
.config-section {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.config-section h3 {
  margin: 0 0 20px 0;
  color: #000;
  font-size: 20px;
  font-weight: 600;
}

/* API密钥区域 */
.api-key-section {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 6px;
}

.api-key-section h4 {
  margin-bottom: 10px;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}

.api-key-input-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.api-key-section input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.api-key-section input:focus {
  outline: none;
  border-color: #F3BA2F;
  box-shadow: 0 0 0 3px rgba(243, 186, 47, 0.1);
}

/* 保存按钮 */
.save-btn {
  background-color: #F3BA2F;
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.save-btn:hover {
  background-color: #e3af0a;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(243, 186, 47, 0.3);
}

/* 保存消息提示 */
.save-message {
  margin-top: 8px;
  padding: 8px 12px;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  color: #155724;
  font-size: 14px;
  animation: fadeInOut 2s ease-in-out;
}

/* 动画效果 */
@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-10px); }
  20% { opacity: 1; transform: translateY(0); }
  80% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}

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

@keyframes slideIn {
  from { 
    opacity: 0; 
    transform: translateY(-30px) scale(0.95); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

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

/* 统一的弹出层基础样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none; /* 默认隐藏 */
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  animation: slideIn 0.3s ease-out;
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 12px 12px 0 0;
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: all 0.2s;
}

.modal-close:hover {
  color: #333;
}

.modal-body {
  padding: 20px;
}

/* 表单元素样式 */
.form-group {
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #F3BA2F;
  outline: none;
  box-shadow: 0 0 0 2px rgba(243, 186, 47, 0.1);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* 错误消息样式 */
.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 8px;
  display: none;
}

/* 列表样式（用于教程内容） */
.modal-body ol {
  margin: 0;
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #333;
}

.modal-body li:last-child {
  margin-bottom: 0;
}

.modal-body a {
  color: #F3BA2F;
  text-decoration: none;
  transition: color 0.2s;
}

.modal-body a:hover {
  color: #d4a012;
  text-decoration: underline;
}

/* 底部按钮区域 */
.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background-color: #fff;
  border-radius: 0 0 12px 12px;
}

/* 按钮样式 */
.modal-btn {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.modal-btn-primary {
  background: #F3BA2F;
  color: #000;
  border-color: #F3BA2F;
}

.modal-btn-secondary {
  background: #f5f5f5;
  color: #666;
  border-color: #ddd;
}

.modal-btn-danger {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

.modal-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-btn-primary:hover {
  background: #f4c23d;
}

.modal-btn-secondary:hover {
  background: #e9e9e9;
}

.modal-btn-danger:hover {
  background: #c82333;
}

/* 动画效果 */
@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10px;
  }
  
  .modal-header {
    padding: 14px 16px;
  }
  
  .modal-body {
    padding: 16px;
  }
  
  .modal-footer {
    padding: 14px 16px;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 16px; /* 移动端更大的字体size */
  }
}

/* 显示弹出层时的样式 */
.modal-overlay[style*="display: flex"] {
  animation: fadeIn 0.2s ease-out;
}

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

/* 空投相关样式 */
.airdrop-container {
  display: flex;
  gap: 20px;
  margin: 20px auto 0 auto;
  flex-wrap: wrap;
}

.current-airdrop {
  max-width: 100%;
  margin: 20px auto;
  background: #ffffff;
  padding: 25px 25px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.current-airdrop h2 {
  margin: 0 0 20px 0;
  color: #000;
  font-size: 24px;
  text-align: center;
}

.airdrop-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.airdrop-token {
  font-size: 32px;
  font-weight: bold;
  color: #ff00a2;
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px dotted #b9b7b7;
}

.airdrop-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* gap: 20px; */
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-label {
  color: #666;
  font-size: 14px;
}

.detail-value {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.detail-value.highlight {
  color: #22aa22;
}

.detail-value.warning {
  color: #ff6b35;
}

.countdown {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 15px;
  text-align: center;
  margin-top: 20px;
}

.countdown-label {
  font-size: 14px;
  color: #856404;
  margin-bottom: 5px;
}

.countdown-time {
  font-size: 24px;
  font-weight: bold;
  color: #856404;
}

/* 历史记录表格样式补充 */
.history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
}

.history-table th,
.history-table td {
  padding: 12px 15px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.history-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.history-table td {
  color: #333;
}

.history-table tr:hover {
  background-color: #f5f5f5;
}

.history-table .token-name {
  font-weight: 600;
  color: #000;
}

.history-table .points-required {
  color: #22aa22;
  font-weight: 600;
}

.history-table .airdrop-amount {
  font-weight: 600;
}

.history-table .price-cell {
  color: #666;
}

.history-table .earnings {
  color: #22aa22;
  font-weight: 600;
}

/* 图表标签页样式补充 */
.section-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}

.tab-button {
  padding: 10px 20px;
  border: none;
  background: none;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.tab-button:hover {
  background: #f5f5f5;
  color: #333;
}

.tab-button.active {
  background: #F3BA2F;
  color: #000;
  font-weight: 600;
}

/* 图表容器样式补充 */
#chartTab .chart-container {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  height: 400px;
}

/* 空投历史页面响应式补充 */
/* 这部分样式已合并到主要的移动端媒体查询中 */

/* 主容器布局 */
.main-container {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

/* 计算器列样式 */
.calculator-column {
  flex: 2;
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 规则列样式 */
.rules-column {
  flex: 1;
  min-width: 300px;
}

/* .rules-section 样式已在下方定义，这里保留注释 */

.rules-section h2 {
  margin: 0 0 20px 0;
  color: #000;
  font-size: 24px;
}

.rules-content h3 {
  margin: 25px 0 15px 0;
  color: #000;
  font-size: 20px;
}

.rules-content h4 {
  margin: 20px 0 10px 0;
  color: #000;
  font-size: 16px;
}

.rules-content p {
  margin: 15px 0;
  line-height: 1.6;
  color: #333;
}

.rules-content ul {
  margin: 15px 0;
  padding-left: 20px;
}

.rules-content li {
  margin: 8px 0;
  line-height: 1.6;
  color: #333;
}

/* 输入区域样式 */
#inputSection {
  margin-bottom: 30px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
}

.input-field {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.input-field:focus {
  border-color: #F3BA2F;
  outline: none;
  box-shadow: 0 0 0 3px rgba(243, 186, 47, 0.1);
}

/* 复选框组样式 */
.checkbox-group {
  margin-bottom: 20px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 8px;
  width: 18px;
  height: 18px;
}

.checkbox-container label {
  font-size: 16px;
  color: #333;
  cursor: pointer;
}

/* 信息图标和提示框 */
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f3ba2f;
  color: #000;
  font-size: 12px;
  margin-left: 8px;
  cursor: help;
  position: relative;
}

.tooltip {
  display: none;
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  width: 300px;
  z-index: 100;
  font-size: 14px;
  color: #333;
}

.info-icon:hover .tooltip {
  display: block;
}

.tooltip p {
  margin: 8px 0;
  line-height: 1.4;
}

.tooltip ul {
  margin: 8px 0;
  padding-left: 20px;
}

.tooltip li {
  margin: 4px 0;
}

/* 刷分模式内联输入 */
.farming-amount-inline {
  display: none;
  margin-top: 10px;
  margin-left: 26px;
}

.farming-amount-inline.show {
  display: block;
}

.farming-amount-inline input {
  width: 100px;
  padding: 8px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  margin-left: 8px;
}

/* 计算按钮 */
#applyBtn {
  width: 100%;
  background-color: #F3BA2F;
  color: #000;
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#applyBtn:hover {
  background-color: #e3af0a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(243, 186, 47, 0.3);
}

/* 结果区域样式 */
#resultSection {
  margin-top: 30px;
  display: none;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.result-table td {
  padding: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.result-table td:first-child {
  color: #666;
  width: 40%;
}

.normal-text {
  color: #333;
  font-weight: 600;
}

.result-highlight {
  color: #22aa22;
  font-weight: 600;
}

.result-redhighlight {
  color: #ff6b35;
  font-weight: 600;
}

/* 对照表区域 */
.comparison-table-section {
  margin-top: 40px;
}

.comparison-table-section h3 {
  margin: 0 0 15px 0;
  color: #000;
  font-size: 20px;
}

.table-description {
  margin-bottom: 15px;
  color: #666;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e0e0e0;
}

.comparison-table th,
.comparison-table td {
  padding: 12px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.comparison-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.comparison-table tr:nth-child(even) {
  background: #f8f9fa;
}

/* 交易量积分对照表 */
.volume-points-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  border: 1px solid #e0e0e0;
}

.volume-points-table th,
.volume-points-table td {
  padding: 10px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.volume-points-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.volume-points-table tr:nth-child(even) {
  background: #f8f9fa;
}

/* 统计区域样式 */
.stats-section {
  max-width: 100%;
  margin: 20px auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 20px 0;
}

.stat-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 180px;
}

.stat-title {
  font-size: 16px;
  color: #666;
  margin-bottom: 15px;
  white-space: nowrap;
}

.stat-value {
  font-size: 36px;
  font-weight: bold;
  color: #000;
  margin-bottom: 8px;
}

.stat-subtitle {
  font-size: 14px;
  color: #999;
}

/* 历史记录区域容器 */
.history-section {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

/* 图表区域标题 */
.chart-header {
  text-align: center;
  margin-bottom: 20px;
}

.chart-header h3 {
  margin: 0 0 8px 0;
  color: #000;
  font-size: 20px;
}

.chart-header p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* 移动端滚动提示 */
.mobile-scroll-hint {
  display: none;
  text-align: center;
  color: #999;
  font-size: 14px;
  margin-bottom: 10px;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 4px;
}

/* 表格容器 */
.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 页脚样式 */
.footer {
  margin: 20px auto 0;
  text-align: center;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 8px;
  color: #666;
}

.footer p {
  margin: 5px 0;
  font-size: 14px;
}

/* 这部分样式已合并到主要的移动端媒体查询中 */

/* 交易分析页面样式 */
.collapsible-section {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
}

.section-header {
  padding: 15px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.section-header h3 {
  margin: 0;
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

.section-content {
  padding: 20px;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.section-content.expanded {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.section-header.expanded .arrow {
  transform: rotate(180deg);
}

.summary-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.summary-item:last-child {
  border-bottom: none;
}

.summary-item span:first-child {
  color: #666;
}

.summary-item span:last-child {
  font-weight: 600;
  color: #333;
}

.summary-red {
  color: #e74c3c !important;
}

/* 日期分组样式 */
.day-summary {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.day-header {
  padding: 20px;
  background: #f8f9fa;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.day-header:hover {
  background: #f0f0f0;
}

.day-header.expanded {
  background: #F3BA2F;
  color: #000;
}

.day-content {
  display: none;
  padding: 0;
  background: #fff;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.day-content.expanded {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.day-stats {
  padding: 20px;
  border-radius: 0 0 8px 8px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.summary-item:hover {
  background-color: #f8f9fa;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item span:first-child {
  color: #666;
}

.summary-item span:last-child {
  font-weight: 600;
  color: #333;
}

.token-flow {
  color: #28a745;
}

.token-flow.outflow {
  color: #dc3545;
}

.day-header.expanded .arrow {
  transform: rotate(180deg);
}

.day-summary-overview {
  margin-bottom: 15px;
}

.token-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  border: 1px solid #e0e0e0;
  margin: 4px;
}

.token-badge.outflow {
  background: #fff3cd;
  border-color: #ffeaa7;
  color: #856404;
}

.token-badge.value {
  background: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.token-badge.difference {
  background: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.token-badge .token-amount {
  font-weight: 600;
  margin-left: 4px;
}

.day-outflow-stats {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.pagination button {
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination button:hover {
  background: #f5f5f5;
}

.pagination button.active {
  background: #F3BA2F;
  color: #000;
  border-color: #F3BA2F;
}

.pagination button:disabled {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

/* 多地址管理页面样式 */
.section {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.button-wrapper {
  margin-bottom: 20px;
  text-align: right;
}

.add-address-btn {
  background: #F3BA2F;
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-address-btn:hover {
  background: #e3af0a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(243, 186, 47, 0.3);
}

/* 这部分样式已在下方定义，避免重复 */

/* 这部分样式已在下方定义，避免重复 */

/* 这部分样式已合并到主要的移动端媒体查询中 */

/* 交易分析页面补充样式 */
.arrow.collapsed {
  transform: rotate(-90deg);
}

/* 交易表格样式 */
#transactions-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
}

#transactions-table th,
#transactions-table td {
  padding: 12px 15px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

#transactions-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

#transactions-table td {
  color: #333;
  font-size: 14px;
}

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

.hash-cell {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hash-cell a {
  color: #1565C0;
  text-decoration: none;
}

.hash-cell a:hover {
  text-decoration: underline;
}

.status-success {
  color: #22aa22;
}

.status-failed {
  color: #e74c3c;
}

/* 多地址管理页面补充样式 */
#addresses-container {
  margin-top: 20px;
}

.address-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
}

.address-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.address-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.address-info {
  flex: 1;
}

.address-text {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #333;
  word-break: break-all;
  margin-bottom: 8px;
  background: #fff;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.address-remark {
  color: #666;
  font-size: 14px;
  margin-top: 8px;
  font-style: italic;
}

.address-actions {
  display: flex;
  gap: 10px;
}

.edit-btn,
.delete-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.edit-btn {
  background: #F3BA2F;
  color: #000;
}

.delete-btn {
  background: #ff6b6b;
  color: #fff;
}

.edit-btn:hover,
.delete-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 表单样式已在上方定义，这里省略重复部分 */

#remark-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  min-height: 100px;
  resize: vertical;
  transition: all 0.3s ease;
}

#remark-input:focus {
  border-color: #F3BA2F;
  outline: none;
  box-shadow: 0 0 0 3px rgba(243, 186, 47, 0.1);
}

/* 模态框按钮样式已在上方定义，这里只补充悬停效果 */
.modal-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 错误消息样式补充 */
#address-error {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 8px;
  display: none;
  padding: 8px;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 4px;
}

/* 这部分样式已合并到主要的移动端媒体查询中 */

/* 多地址管理页面表格样式 */
.table-scroll-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

.addresses-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.addresses-table th,
.addresses-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.addresses-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.addresses-table tr:last-child td {
  border-bottom: none;
}

.addresses-table tr:hover {
  background-color: #f5f5f5;
}

.address-cell {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #1565C0;
  cursor: pointer;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-cell:hover {
  text-decoration: underline;
}

.action-buttons {
  display: flex;
  gap: 8px;
}

.action-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.action-btn.analyze-btn {
  background: #4CAF50;
  color: white;
}

.action-btn.edit-btn {
  background: #F3BA2F;
  color: #000;
}

.action-btn.delete-btn {
  background: #ff6b6b;
  color: white;
}

.action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 空状态样式 */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.empty-state .icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.empty-state p {
  margin: 10px 0;
  font-size: 16px;
}

.empty-state p:last-child {
  color: #999;
  font-size: 14px;
}

/* 这部分样式已合并到主要的移动端媒体查询中 */

/* 池子深度页面样式 */
.pool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pool-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.update-info {
    color: #666;
    font-size: 14px;
}

.refresh-status {
    color: #28a745;
    font-size: 14px;
    font-weight: 600;
}

.liquidity-section {
    margin-bottom: 32px;
}

/* .section-title 已在前面定义 */

.liquidity-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.pool-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.pool-card.recommend {
    background: linear-gradient(135deg, #fff3e0, #fff9e6);
    border: 1px solid #F3BA2F;
}

.pool-card.moderate {
    background: linear-gradient(135deg, #f5f9ff, #f8faff);
    border: 1px solid #4a90e2;
}

.card-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.status-recommend {
    background: #ff6b35;
    color: #fff;
}

.status-moderate {
    background: #4a90e2;
    color: #fff;
}

.status-not-recommend {
    background: #f5f5f5;
    color: #666;
}

.pair-info {
    margin-bottom: 12px;
}

.pair-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.pool-depth {
    font-size: 24px;
    font-weight: 700;
    color: #00a389;
}

/* 详细信息表格样式优化 */
.detail-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.detail-table th {
    background: #f8f9fa;
    padding: 16px;
    font-weight: 600;
    color: #333;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.detail-table td {
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.token-balance-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.token-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 500;
    font-size: 12px;
}

.percentage {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.percentage.high {
    background: #e6f7f5;
    color: #00a389;
}

.percentage.medium {
    background: #fff3e0;
    color: #f3ba2f;
}

.percentage.low {
    background: #f5f5f5;
    color: #666;
}

.detail-table-section .table-container {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

.detail-table-section {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    width: 100%;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    min-width: 900px;
    table-layout: fixed;
}

.detail-table th,
.detail-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.detail-table th:nth-child(1),
.detail-table td:nth-child(1) {
    width: 15%;
}

.detail-table th:nth-child(2),
.detail-table td:nth-child(2) {
    width: 15%;
}

.detail-table th:nth-child(3),
.detail-table td:nth-child(3) {
    width: 15%;
}

.detail-table th:nth-child(4),
.detail-table td:nth-child(4) {
    width: 15%;
}

.detail-table th:nth-child(5),
.detail-table td:nth-child(5) {
    width: 40%;
}

.detail-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #000;
}

.detail-table tr:hover {
    background-color: #f8f9fa;
}

.pool-link {
    color: #1565C0;
    text-decoration: none;
}

.pool-link:hover {
    text-decoration: underline;
}

.token-balance-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.balance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.balance-item:last-child {
    border-bottom: none;
}

.token-name-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.balance-info {
    text-align: right;
}

.balance-value {
    font-weight: 600;
    color: #000;
}

.balance-details {
    font-size: 12px;
    color: #666;
}

.percentage {
    font-weight: 600;
}

.percentage.high {
    color: #dc3545;
}

.percentage.medium {
    color: #ffc107;
}

.percentage.low {
    color: #28a745;
}

.token-balance-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    padding: 6px 8px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 12px;
}

.token-balance-row:last-child {
    margin-bottom: 0;
}

.token-symbol {
    font-weight: 600;
    color: #333;
    min-width: 40px;
}

.token-amount {
    color: #666;
    min-width: 50px;
}

.token-price {
    color: #999;
    font-size: 11px;
    min-width: 60px;
}

/* 规则详解页面样式 */
.rules-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rules-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

/* .rules-section 样式已在其他地方定义 */

/* .subsection-title 已在前面定义 */

/* .rules-content 相关样式已在前面定义 */

/* .rules-table 相关样式已在前面定义 */

/* .example-box 和 .note-box 相关样式已在前面定义 */

/* 添加缺失的rules-section样式 */
.rules-section {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* 添加缺失的example-box样式 */
.example-box {
    background: #f8f9fa;
    border-left: 4px solid #F3BA2F;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.example-box h4 {
    margin: 0 0 10px 0;
    color: #000;
    font-size: 18px;
}

.example-box p {
    margin: 10px 0;
}

/* 添加缺失的note-box样式 */
.note-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.note-box h4 {
    margin: 0 0 10px 0;
    color: #856404;
    font-size: 18px;
}

.note-box ul {
    margin: 10px 0;
    padding-left: 20px;
}

.note-box li {
    margin: 8px 0;
    color: #856404;
}

/* 添加缺失的rules-table样式 */
.rules-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 1px solid #e0e0e0;
}

.rules-table th,
.rules-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.rules-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #000;
}

.rules-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* 添加缺失的subsection-title样式 */
.subsection-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 25px 0 15px 0;
}

/* 视频教程页面样式 */
.video-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-top: 20px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 宽高比 */
    margin-bottom: 30px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-description {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.video-description h2 {
    color: #000;
    font-size: 20px;
    margin: 0 0 20px 0;
}

.description-content {
    color: #333;
    line-height: 1.6;
}

.description-content p {
    margin: 0 0 15px 0;
}

.description-content ul {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.description-content li {
    margin: 8px 0;
}

.tips {
    background: #fff3e0;
    border-left: 4px solid #F3BA2F;
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
}

.tips p {
    color: #000;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.tips ul {
    margin: 0;
}

.tips li {
    color: #666;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .video-section {
        padding: 15px;
        margin-top: 10px;
    }

    .video-container {
        margin-bottom: 20px;
    }

    .video-description {
        padding: 15px;
    }

    .video-description h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .tips {
        padding: 12px 15px;
    }
}

/* Loading 状态样式优化 */
.loading {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #F3BA2F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

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

/* 功能卡片网格布局 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

/* 功能卡片样式 */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #F3BA2F;
}

.feature-icon {
    font-size: 28px;
    background: #f8f9fa;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.feature-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}

/* 币安开户卡片特殊样式优化 */
.feature-card.highlight-card {
    background: linear-gradient(135deg, #fff3e0, #fff9e6);
    border: 2px solid #F3BA2F;
    position: relative;
    overflow: hidden;
}

/* 修改推荐标签样式 */
.feature-card.highlight-card::before {
    content: "推荐";
    position: absolute;
    top: 8px;         /* 调整向下的距离 */
    right: -35px;
    width: 100px;     /* 保持宽度 */
    background: #ff6b35;  /* 保持醒目的橙色 */
    color: #fff;      /* 白色文字 */
    padding: 3px 0;   /* 保持小巧的内边距 */
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    z-index: 1;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .feature-card.highlight-card::before {
        top: 12px;
        right: -32px;
        font-size: 12px;
    }
}

.feature-card.highlight-card .feature-icon {
    background: #fff3e0;
    color: #F3BA2F;
    font-size: 32px;
}

.feature-card.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(243, 186, 47, 0.2);
    border-color: #f4c23d;
}

.feature-card.highlight-card h3 {
    color: #d4a012;
}

/* 导航栏推荐标签样式 */
.nav-item.recommend {
    position: relative;
    overflow: hidden;
}

.nav-item.recommend::before {
    content: "推荐";
    position: absolute;
    top: 8px;
    right: -35px;
    width: 100px;
    background: #ff6b35;
    color: #fff;
    padding: 3px 0;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    z-index: 1;
}


/* 不推荐卡片样式优化 */
.pool-card.not-recommend {
    background: #fff;
    border: 2px solid #ff4d4f;  /* 红色边框 */
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.1);
}

.status-not-recommend {
    background: #ff4d4f;  /* 红色背景 */
    color: #fff;
    font-weight: 500;
}

/* 卡片悬停效果 */
.pool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pool-card.not-recommend:hover {
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.15);
}

/* 保持其他样式不变 */
.pool-card.recommend {
    background: linear-gradient(135deg, #fff3e0, #fff9e6);
    border: 1px solid #F3BA2F;
}

.pool-card.moderate {
    background: linear-gradient(135deg, #f5f9ff, #f8faff);
    border: 1px solid #4a90e2;
}

.status-recommend {
    background: #ff6b35;
    color: #fff;
}

.status-moderate {
    background: #4a90e2;
    color: #fff;
}


/* 响应式设计 */
@media (max-width: 1024px) {
  .sidebar {
    width: 240px; /* 1024px 以下侧边栏宽度调整 */
  }
  .main-content {
    margin-left: 240px; /* 相应调整 margin-left */
    max-width: calc(100% - 240px); /* 调整最大宽度 */
  }
}
@media (max-width: 768px) {
  .app-layout {
    flex-direction: column; /* 垂直堆叠 */
    width: 100%; /* 确保在移动端占据整个宽度 */
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
  
  /* 移动端顶部导航栏 */
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px; /* 增加与内容的距离 */
  }
  
  .mobile-header .app-title {
    display: flex;
    align-items: center;
    gap: 10px; /* 增加图标和文字的间距 */
    margin: 0;
  }
  
  .mobile-header .app-icon {
    width: 32px; /* 增大图标尺寸 */
    height: 32px;
    font-size: 18px;
  }
  
  .mobile-header .app-name {
    font-size: 20px; /* 增大字体 */
    margin: 0;
    font-weight: 600;
  }
  
  .sidebar {
    position: fixed; /* 改为固定定位 */
    width: 280px; /* 增加侧边栏宽度 */
    height: 100%; /* 占满整个高度 */
    left: -280px; /* 默认隐藏在左侧 */
    top: 0;
    border-right: 1px solid #e0e0e0;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease; /* 添加过渡效果 */
    z-index: 2000; /* 确保在其他内容之上 */
    background: #ffffff; /* 确保背景色 */
  }
  
  .sidebar.mobile-open {
    left: 0; /* 显示菜单 */
  }
  
  .main-content {
    margin-left: 0; /* 移动端移除 margin-left */
    padding: 16px; /* 调整移动端内边距 */
    max-width: 100%; /* 移动端占满宽度 */
  }
  
  /* 移动端菜单切换相关样式 */
  .sidebar-nav {
    display: block; /* 始终显示导航，但整个侧边栏被隐藏 */
  }
  
  .mobile-menu-toggle {
    display: block; /* 移动端显示菜单切换按钮 */
    background: none;
    border: none;
    font-size: 26px; /* 增大菜单图标 */
    padding: 5px;
    cursor: pointer;
    color: #333;
  }
  
  /* 移动端标题居中 */
  .content-header {
    position: relative; /* 为绝对定位的菜单按钮提供参考 */
    text-align: center; /* 文本居中 */
    padding: 15px;
    margin-top: 10px; /* 增加与顶部的距离 */
    margin-bottom: 20px; /* 增加与下方内容的距离 */
  }
  
  .page-title {
    margin: 0 auto; /* 水平居中 */
    font-size: 22px; /* 移动端字体稍小 */
  }
  
  /* 遮罩层，点击关闭菜单 */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999; /* 低于菜单但高于其他内容 */
  }
  
  .menu-overlay.active {
    display: block;
  }
  
  /* 侧边栏头部在移动端的调整 */
  .sidebar-header {
    text-align: center;
    padding: 25px 15px; /* 增加内边距 */
    border-bottom: 1px solid #f0f0f0;
  }
  
  .sidebar .app-title {
    margin-bottom: 10px; /* 增加与副标题的距离 */
  }
  
  .sidebar .app-icon {
    width: 36px; /* 增大图标尺寸 */
    height: 36px;
    font-size: 20px;
  }
  
  .app-name {
    font-size: 20px;
    font-weight: 600;
  }
  
  /* 侧边栏导航项调整 */
  .nav-item {
    padding: 14px 20px; /* 增加导航项的内边距 */
    font-size: 16px; /* 调整字体大小 */
  }
  
  .nav-icon {
    font-size: 20px; /* 增大导航图标 */
  }
  
  /* 空投历史页面响应式补充 */
  .airdrop-details {
    grid-template-columns: 1fr;
  }
  
  .detail-value {
    font-size: 16px;
  }
  
  .countdown-time {
    font-size: 20px;
  }
  
  .history-table {
    font-size: 14px;
  }
  
  .history-table th,
  .history-table td {
    padding: 8px;
  }
  
  #chartTab .chart-container {
    height: 300px;
  }
  
  .tab-button {
    padding: 8px 15px;
    font-size: 14px;
  }
  
  /* 响应式布局补充 */
  .main-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .calculator-column,
  .rules-column {
    width: 100%;
    min-width: unset;
  }
  
  .rules-section {
    margin-top: 0;
    padding: 15px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 15px 0;
  }
  
  .stat-card {
    padding: 20px;
    min-height: 150px;
  }
  
  .stat-value {
    font-size: 28px;
  }
  
  .mobile-scroll-hint {
    display: block !important;
    text-align: center;
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
  }
  
  .history-section {
    padding: 15px;
  }
  
  .footer {
    margin-top: 40px;
    padding: 20px;
  }
  
  /* 多地址管理页面响应式调整 */
  .address-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .address-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .edit-btn,
  .delete-btn {
    flex: 1;
  }
  
  .section {
    padding: 15px;
  }
  
  .address-card {
    padding: 15px;
  }
  
  .summary-item {
    font-size: 14px;
  }
  
  .day-stats {
    margin-bottom: 15px;
  }
  
  .day-header {
    padding: 12px 15px;
  }
  
  .day-content {
    padding: 15px;
  }
  
  .token-badge {
    font-size: 12px;
    padding: 3px 6px;
  }
  
  .hash-cell {
    max-width: 80px;
  }
  
  #transactions-table {
    font-size: 12px;
  }
  
  #transactions-table th,
  #transactions-table td {
    padding: 8px;
  }
  
  .modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .addresses-table th,
  .addresses-table td {
    padding: 8px 12px;
  }
  
  .address-cell {
    max-width: 120px;
  }
  
  .action-buttons {
    flex-direction: column;
    gap: 4px;
  }
  
  .action-btn {
    width: 100%;
    padding: 4px 8px;
  }
  
  /* 池子深度页面移动端样式 */
  .pool-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .header-controls {
    flex-direction: column;
    gap: 10px;
  }
  
  .liquidity-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .pool-card {
    padding: 10px;
  }
  
  .pair-name {
    font-size: 12px;
  }
  
  .pool-depth {
    font-size: 16px;
  }
  
  .token-icon {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  
  .pair-info {
    gap: 6px;
    margin-bottom: 8px;
  }
  
  .two-column-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .detail-table {
    font-size: 12px;
    min-width: 500px;
    width: auto;
  }
  
  .detail-table th,
  .detail-table td {
    padding: 6px 8px;
    white-space: nowrap;
  }
  
  .detail-table-section .table-container {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  .container {
    padding: 10px;
  }
  
  .liquidity-section {
    margin-bottom: 20px;
  }
  
  .detail-table-section {
    padding: 15px;
  }
  
  .token-balance-row {
    gap: 4px;
    padding: 4px 6px;
    font-size: 10px;
  }
  
  .token-symbol {
    min-width: 30px;
  }
  
  .token-amount {
    min-width: 40px;
  }
  
  .token-price {
    min-width: 50px;
    font-size: 9px;
  }
  
  /* 规则详解页面移动端样式 */
  .rules-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 15px;
  }
  
  .section-title {
    font-size: 20px;
  }
  
  .subsection-title {
    font-size: 18px;
  }
  
  .rules-table {
    font-size: 14px;
  }
  
  .rules-table th,
  .rules-table td {
    padding: 8px 10px;
  }
  
  .example-box,
  .note-box {
    padding: 12px 15px;
  }
}