/* ===== 基础样式 ===== */
body {
    background-color: #121212;
    color: #E0E0E0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

a {
    color: #00ff66;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: #2ECC71;
    text-decoration: none;
}
 
/* ===== 卡片基础样式 ===== */
.card-style {
    background-color: #1E1E1E;
    color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-style:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}

/* ===== 应用卡片样式的组件 ===== */
.price-card, 
.card, 
.info-card,
.okb-header,
.bg-dark {
    composes: card-style;
}
 
.price-change.positive {
    color: #0f0; /* 绿色 */
}
.price-change.negative {
    color: #f00; /* 红色 */
}
/* 下载弹窗按钮统一样式 */
#downloadModal .btn {
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 6px;
  min-width: 120px;
  margin-right: 0.5rem;
  transition: all 0.2s ease;
}

/* 安卓下载按钮 - 主按钮 */
#btn-primary {
  background: #28a745;  /* 亮绿 */
  color: #fff;
  border: none;
}
#btn-primary:hover {
  background: #218838;
}

/* 在线注册按钮 - 次按钮 */
#btn-backup1 {
  background: #007bff;  /* 蓝色 */
  color: #fff;
  border: none;
}
#btn-backup1:hover {
  background: #0069d9;
}

/* 备用下载按钮 - 三按钮 */
#btn-backup2 {
  background: #ffc107;  /* 黄色 */
  color: #000;          /* 黑色字体保证可读 */
  border: none;
}
#btn-backup2:hover {
  background: #e0a800;
}

/* loader 小圆圈 */
.loader {
  display: none;
  width: 1em;
  height: 1em;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 0.5em;
}
@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}
 

/* ===== 文本颜色 ===== */
.text-white { color: #ffffff !important; }
.text-secondary { color: #b0b0b0 !important; }
.text-success { color: #00ff66 !important; }
.text-info { color: #3498DB !important; }

/* ===== 价格变化样式 ===== */
.price-change {
    font-weight: bold;
    font-size: 1.1em;
}
.price-change.positive { color: #00ff66; }
.price-change.negative { color: #F6465D; }

/* ===== 头部样式 ===== */
.okb-header {
    border-bottom: 1px solid #333;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.okb-logo {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    border-radius: 50%;
    background-color: #00ff66;
    padding: 5px;
    box-shadow: 0 0 10px rgba(38, 161, 123, 0.5);
}

/* ===== 按钮样式 ===== */
.btn-outline-success, 
.btn-outline-primary {
    border-color: #00ff66;
    color: #00ff66;
    transition: all 0.2s ease;
}

.btn-outline-success:hover, 
.btn-outline-primary:hover {
    background-color: #00ff66;
    color: #FFF;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(38, 161, 123, 0.3);
}

/* ===== 信息卡片特殊样式 ===== */
.info-card { 
    border-left: 4px solid #00ff66;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #00ff66, #2ECC71);
}

/* ===== 表格样式 ===== */
.table-dark {
    background-color: transparent;
}

.table-dark td, 
.table-dark th {
    border-color: rgba(255,255,255,0.1);
    padding: 12px 15px;
}

.table-dark tr:hover td {
    background-color: rgba(255,255,255,0.05);
}

/* ===== 导航标签样式 ===== */
.nav-tabs {
    border-bottom: 1px solid #333;
}

.nav-tabs .nav-link {
    color: #E0E0E0;
    border: none;
    padding: 10px 20px;
    margin-right: 5px;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    background-color: rgba(38, 161, 123, 0.1);
    color: #00ff66;
}

.nav-tabs .nav-link.active {
    color: #00ff66 !important;
    background-color: rgba(38, 161, 123, 0.2);
    border-bottom: 3px solid #00ff66 !important;
    font-weight: bold;
}

/* ===== 图表容器 ===== */
.chart-container { 
    height: 400px; 
    margin-top: 20px;
    background-color: #1E1E1E;
    border-radius: 8px;
    padding: 15px;
}

/* ===== 页脚样式 ===== */
.footer {
    background-color: #1A1A1A;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #333;
}

.footer a {
    color: #E0E0E0;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #00ff66;
    text-decoration: none;
}

/* ===== 标题样式 ===== */
.card-title {
    font-weight: 600;
    color: #00ff66;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.card-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #00ff66, transparent);
}

h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF;
}

/* ===== 价格卡片特殊样式 ===== */
.price-card {
    padding: 20px;
    transition: all 0.3s ease;
}

.price-card h2 {
    font-size: 2rem;
    margin: 10px 0 5px;
}

.price-card .small {
    font-size: 0.85rem;
    opacity: 0.8;
}
/* 币种介绍卡片基础样式 */
.crypto-intro-card {
    background: linear-gradient(135deg, #1a2a3a 0%, #121212 100%);
    border: 1px solid rgba(38, 161, 123, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.crypto-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(38, 161, 123, 0.2);
}

/* 卡片标题样式 */
.crypto-intro-title {
    color: #00ff66;
    font-size: 1.5rem;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(38, 161, 123, 0.3);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* 内容文本样式 */
.crypto-intro-text {
    color: #E0E0E0;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

/* 各部分标题样式 */
.crypto-section-title {
    color: #00ff66;
    font-size: 1.2rem;
    margin: 25px 0 15px;
    display: flex;
    align-items: center;
}

/* 特点列表样式 */
.crypto-feature-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.crypto-feature-list li {
    color: #E0E0E0;
    padding: 8px 0;
    padding-left: 10px;
    border-left: 3px solid rgba(38, 161, 123, 0.5);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.crypto-feature-list li:hover {
    background-color: rgba(38, 161, 123, 0.1);
    border-left: 3px solid #00ff66;
    transform: translateX(5px);
}

/* 图标样式 */
.fas {
    color: #00ff66;
    font-size: 0.9em;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .crypto-intro-title {
        font-size: 1.3rem;
    }
    
    .crypto-section-title {
        font-size: 1.1rem;
    }
    
    .crypto-feature-list li {
        font-size: 0.95rem;
    }
}
/* ===== 响应式调整 ===== */
@media (max-width: 768px) {
    .okb-header {
        flex-direction: column;
        text-align: center;
    }
    
    .okb-logo {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .price-card h2 {
        font-size: 1.8rem;
    }
}
 