/* 全局样式（纯电脑端，已移除所有移动端适应代码） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f5f7fa;
    color: #333;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航栏 */
.header {
    background-color: #1e2a3a;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 改为默认左对齐，利用flex自动分配 */
}
.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #ffc107;
}
/* 导航菜单：占据中间剩余空间，内部居中对齐 */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 30px;
}
.nav-menu a {
    font-size: 16px;
    transition: color 0.3s;
}
.nav-menu a:hover {
    color: #ffc107;
}

/* 用户操作区（登录/注册或个人中心） */
.user-actions {
    display: flex;
    gap: 15px;
}

/* 头部工具区：客服和语言图标 */
.header-tools {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 15px; /* 与登录按钮保持适当间距 */
}
.icon-link img {
    width: 24px;
    height: 24px;
    display: block;
    filter: brightness(0) invert(1); /* 图标白色以适应深色背景 */
}
.icon-link:hover img {
    filter: brightness(0) invert(0.8);
}
/* 语言切换器 */
.language-switcher {
    position: relative;
}
.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.lang-btn img {
    width: 24px;
    height: 24px;
    display: block;
    filter: brightness(0) invert(1);
}
.lang-btn:hover img {
    filter: brightness(0) invert(0.8);
}
.lang-menu {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 140px;
    overflow: hidden;
    z-index: 10000;
    border: 1px solid #e8e8e8;
}
.lang-menu.show {
    display: block;
}
.lang-option {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    transition: background 0.2s;
    color: #333;
}
.lang-option:hover {
    background: #f0f7ff;
}
.lang-option:last-child {
    border-bottom: none;
}

.user-actions .btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-login {
    background: transparent;
    border: 1px solid #ffc107;
    color: #ffc107;
}
.btn-login:hover {
    background: #ffc107;
    color: #1e2a3a;
}
.btn-register {
    background: #ffc107;
    border: 1px solid #ffc107;
    color: #1e2a3a;
}
.btn-register:hover {
    background: #e0a800;
    border-color: #e0a800;
}

/* 隐藏 translate.js 自动生成的元素 */
#translate, #translateSelectLanguage {
    display: none !important;
}

/* 以下为页面内容样式（保持不变） */
.banner {
    height: 450px;
    background: url('/static/pc/images/banner.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}
.banner-content {
    position: relative;
    z-index: 2;
}
.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.banner p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}
.market {
    padding: 60px 0;
    background: #fff;
}
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ffc107;
    margin: 15px auto 0;
}
.market-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}
.market-table th,
.market-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #ecf0f3;
}
.market-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #666;
}
.market-table tr:hover {
    background-color: #fafbfc;
}
.positive {
    color: #e74c3c;
    font-weight: 600;
}
.negative {
    color: #27ae60;
    font-weight: 600;
}
.zero {
    color: #7f8c8d;
}
.btn-trade {
    background-color: #ffc107;
    color: #1e2a3a;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
.btn-trade:hover {
    background-color: #e0a800;
}
.stats {
    padding: 60px 0;
    background: #f8f9fa;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.stats.visible {
    opacity: 1;
    transform: translateX(0);
}
.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}
.stat-item {
    flex: 1 1 200px;
    text-align: center;
    background: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #1e2a3a;
    margin-bottom: 10px;
    line-height: 1.2;
}
.stat-label {
    font-size: 16px;
    color: #7f8c8d;
    letter-spacing: 1px;
}
.crypto-master {
    padding: 80px 0;
    background: #fff;
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.crypto-master.visible {
    opacity: 1;
    transform: translateX(0);
}
.crypto-master .container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.crypto-text {
    flex: 1;
}
.crypto-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #1e2a3a;
    line-height: 1.3;
}
.crypto-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}
.crypto-text .highlight {
    font-weight: 600;
    color: #ffc107;
}
.crypto-image {
    flex: 1;
    text-align: center;
}
.crypto-image img {
    max-width: 100%;
    height: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.crypto-image img.error {
    display: none;
}
.crypto-image .img-fallback {
    display: none;
    background: #f0f0f0;
    padding: 40px;
    border-radius: 8px;
    color: #999;
}
.crypto-image img.error + .img-fallback {
    display: block;
}
.platform-showcase {
    padding: 80px 0;
    background: #f8f9fa;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.platform-showcase.visible {
    opacity: 1;
    transform: translateX(0);
}
.platform-showcase .container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.platform-text {
    flex: 1;
}
.platform-text h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #1e2a3a;
    line-height: 1.3;
}
.platform-text .subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}
.stats-mini {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.stat-mini-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.stat-mini-item img {
    width: 48px;
    height: auto;
    border: none;
    box-shadow: none;
}
.stat-mini-item .stat-mini-content {
    display: flex;
    flex-direction: column;
}
.stat-mini-number {
    font-size: 36px;
    font-weight: 700;
    color: #1e2a3a;
    line-height: 1.2;
}
.stat-mini-label {
    font-size: 16px;
    color: #7f8c8d;
}
.platform-image {
    flex: 1;
    text-align: center;
}
.platform-image img {
    max-width: 100%;
    height: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.platform-image img.error {
    display: none;
}
.platform-image .img-fallback {
    display: none;
    background: #f0f0f0;
    padding: 40px;
    border-radius: 8px;
    color: #999;
}
.platform-image img.error + .img-fallback {
    display: block;
}
.security-section {
    padding: 80px 0;
    background: #fff;
}
.security-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.security-image {
    flex: 1;
    text-align: center;
}
.security-image img {
    max-width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
}
.security-image img.error {
    display: none;
}
.security-image .img-fallback {
    display: none;
    background: #f0f0f0;
    padding: 40px;
    border-radius: 8px;
    color: #999;
}
.security-image img.error + .img-fallback {
    display: block;
}
.security-text {
    flex: 1;
}
.security-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1e2a3a;
    line-height: 1.3;
}
.security-text .security-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}
.security-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.security-stats .stat-mini-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.security-stats .stat-mini-item img {
    width: 48px;
    height: auto;
    border: none;
    box-shadow: none;
}
.security-stats .stat-mini-item .stat-mini-content {
    display: flex;
    flex-direction: column;
}
.trust-section {
    padding: 80px 0;
    background: #f8f9fa;
}
.trust-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.trust-text {
    flex: 1;
}
.trust-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1e2a3a;
    line-height: 1.3;
}
.trust-text .trust-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}
.trust-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.trust-stats .stat-mini-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.trust-stats .stat-mini-item img {
    width: 48px;
    height: auto;
    border: none;
    box-shadow: none;
}
.trust-stats .stat-mini-item .stat-mini-content {
    display: flex;
    flex-direction: column;
}
.trust-image {
    flex: 1;
    text-align: center;
}
.trust-image img {
    max-width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
}
.trust-image img.error {
    display: none;
}
.trust-image .img-fallback {
    display: none;
    background: #f0f0f0;
    padding: 40px;
    border-radius: 8px;
    color: #999;
}
.trust-image img.error + .img-fallback {
    display: block;
}
.anytime-section {
    padding: 80px 0;
    background: #fff;
}
.anytime-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.anytime-text {
    flex: 1;
}
.anytime-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #1e2a3a;
    line-height: 1.3;
}
.anytime-list {
    list-style: none;
    margin-bottom: 20px;
}
.anytime-list li {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    padding-left: 28px;
    position: relative;
}
.anytime-list li::before {
    content: "✓";
    color: #ffc107;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}
.anytime-note {
    font-size: 14px;
    color: #999;
    margin-top: 20px;
    font-style: italic;
}
.anytime-image {
    flex: 1;
    text-align: center;
}
.anytime-image img {
    max-width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
}
.anytime-image img.error {
    display: none;
}
.anytime-image .img-fallback {
    display: none;
    background: #f0f0f0;
    padding: 40px;
    border-radius: 8px;
    color: #999;
}
.anytime-image img.error + .img-fallback {
    display: block;
}
.workflow {
    padding: 80px 0;
    background: #f8f9fa;
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.workflow.visible {
    opacity: 1;
    transform: translateX(0);
}
.workflow .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 50px;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.step-item {
    background: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.step-image {
    margin-bottom: 20px;
}
.step-image img {
    max-width: 80px;
    height: auto;
    border: none;
    box-shadow: none;
}
.step-image img.error {
    display: none;
}
.step-image .img-fallback {
    display: none;
    background: #f0f0f0;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    color: #999;
    margin: 0 auto;
}
.step-image img.error + .img-fallback {
    display: block;
}
.step-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1e2a3a;
}
.step-item p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}
.footer {
    background: #1e2a3a;
    color: #a0b3c9;
    padding: 50px 0 20px;
}
.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer-left {
    flex: 1;
    min-width: 300px;
    margin-right: 40px;
}
.footer-left h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}
.footer-left p {
    line-height: 1.8;
    margin-bottom: 20px;
}
.footer-right {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.footer-links {
    min-width: 140px;
}
.footer-links h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #a0b3c9;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #ffc107;
}
.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #2a3b4e;
    font-size: 14px;
}