* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

/* 手机端全屏显示调整 */
body {
    background-color: #f5f7fa;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #1a3a8f 0%, #0d2259 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 120px;
}

/* Logo容器样式 - 增强可见性 */
.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: white; /* 添加白色背景 */
    border-radius: 8px; /* 圆角 */
    padding: 8px 15px; /* 内边距 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); /* 更深的阴影 */
    border: 2px solid rgba(255, 255, 255, 0.8); /* 白色边框 */
    position: relative;
    overflow: hidden;
}

/* Logo发光效果 */
.header-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    z-index: 1;
    pointer-events: none;
}

.header-logo img {
    max-width: 210px;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3)); /* Logo本身添加阴影 */
}

.header-content {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ==================== 广告容器样式 ==================== */
.advertisement-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 300px;
    animation: slideInUp 0.5s ease-out;
}

.advertisement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: linear-gradient(135deg, #1a3a8f 0%, #0d2259 100%);
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.ad-close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.ad-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.advertisement-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.advertisement-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.advertisement-text {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
}

.advertisement-link {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #1a3a8f 0%, #0d2259 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.advertisement-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 58, 143, 0.3);
}

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

/* 手机端广告容器样式 */
@media (max-width: 768px) {
    .advertisement-container {
        bottom: 15px;
        right: 15px;
        left: 15px;
        max-width: none;
        width: auto;
    }
    
    .advertisement-header {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .advertisement-content {
        padding: 12px;
    }
    
    .advertisement-text {
        font-size: 13px;
    }
}

/* 小屏幕手机 */
@media (max-width: 480px) {
    .advertisement-container {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
}

/* 公告栏样式 */
.announcement-bar {
    background-color: #ffffff;
    border: 1px solid #16337f;
    border-radius: 8px;
    padding: 8px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    height: 36px;
}

.announcement-icon {
    color: #183585;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
}

.announcement-content {
    overflow: hidden;
    position: relative;
    flex-grow: 1;
    height: 20px;
    display: flex;
    align-items: center;
}

.marquee {
    white-space: nowrap;
    display: inline-block;
    animation: marquee 30s linear infinite;
    font-size: 14px;
    color: #0f2359;
    font-weight: 500;
    position: relative;
    padding-left: 100%;
    text-align: center;
    cursor: default;
    line-height: 20px;
}

/* 鼠标悬停时暂停动画 */
.announcement-bar:hover .marquee {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ============== 平台网格布局 - 手机端 ============== */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    justify-items: center;
}

.platform-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 340px;
    position: relative;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.platform-rank {
    position: absolute;
    top: -8px;
    left: 15px;
    background: #05c46b;
    color: white;
    padding: 6px 12px;
    border-radius: 0 0 3px 3px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

.platform-rank::after {
    content: "";
    position: absolute;
    top: 0;
    right: -7px;
    border-width: 7px 0 0 7px;
    border-style: solid;
    border-color: transparent transparent transparent #006400;
}

.platform-rank::before {
    content: "";
    position: absolute;
    top: 0;
    left: -7px;
    border-width: 0 0 7px 7px;
    border-style: solid;
    border-color: transparent transparent #006400;
}

.platform-logo {
    width: 120px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 5px;
}

.platform-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.platform-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

/* 账户类型标签容器 */
.account-types {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    padding: 0 5px;
    width: 100%;
}

.account-tag {
    display: inline-block;
    padding: 1px 8px;
    font-size: 11px;
    border-radius: 3px;
    font-weight: 500;
    white-space: nowrap;
}

/* 不同账户类型的颜色 */
.account-gold {
    background-color: #fff8e1;
    color: #ff9800;
    border: 1px solid #ffd54f;
}

.account-oil {
    background-color: #e8f5e9;
    color: #388e3c;
    border: 1px solid #81c784;
}

.account-ecn {
    background-color: #e3f2fd;
    color: #1976d2;
    border: 1px solid #64b5f6;
}

/* 新增：上市公司标签样式 */
.account-listed {
    background-color: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #ba68c8;
}

.platform-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.rating-stars {
    color: #ffc107;
    font-size: 18px;
    margin-right: 8px;
}

.rating-value {
    font-size: 18px;
    font-weight: bold;
    color: #286fb1;
}

.rating-total {
    font-size: 10px;
    color: #286fb1;
    margin-left: 2px;
}

.rating-comment {
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
}

.platform-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 5px;
}

.stat-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.platform-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* ==================== 炫酷"了解更多"按钮样式 ==================== */
.platform-btn {
    display: inline-block;
    padding: 12px 24px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    margin-top: auto;
    border: none;
    color: white;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(26, 58, 143, 0.3);
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, 
        #1a3a8f 0%, 
        #0d2259 25%, 
        #2a4ba0 50%, 
        #0d2259 75%, 
        #1a3a8f 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.platform-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.7s ease;
    z-index: 2;
}

.platform-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(26, 58, 143, 0.4);
}

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

.platform-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 75%, 
        rgba(255, 255, 255, 0.1) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    z-index: 1;
    border-radius: 8px;
}

.platform-btn span {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ============== 电脑端横向布局 - 优化版 ============== */
@media (min-width: 992px) {
    .container {
        max-width: 1200px; /* 减小容器最大宽度 */
        padding: 30px;
    }
    
    .platform-grid {
        display: block;
        max-width: 100%;
    }
    
    .platform-card {
        max-width: 100%;
        margin-bottom: 15px;
        flex-direction: row;
        padding: 15px 20px;
        text-align: center;
        align-items: center;
        height: auto;
        min-height: 140px;
        position: relative;
        display: grid;
        /* 调整网格列宽：Logo区域加宽，平台名称区域变窄 */
        grid-template-columns: 170px 130px 1fr 1.2fr 150px; /* 增加按钮区域宽度 */
        gap: 12px; /* 减小间隙 */
        align-items: center;
    }
    
    .platform-card:hover {
        transform: translateY(-3px);
    }
    
    .platform-rank {
        position: absolute;
        top: -8px;
        left: 15px;
        background: #05c46b;
        color: white;
        padding: 6px 12px;
        border-radius: 0 0 3px 3px;
        font-size: 12px;
        font-weight: bold;
        z-index: 1;
        width: auto;
    }
    
    .platform-rank::after,
    .platform-rank::before {
        display: block;
    }
    
    /* 区域1: Logo区域 - 加宽 */
    .card-logo-section {
        grid-column: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .platform-logo {
        width: 150px; /* 增加Logo尺寸 */
        height: 70px;
        margin: 0 auto;
        padding: 4px;
        background-color: #ffffff;
        border-radius: 5px;
        border: 1px solid #ffffff;
    }
    
    .platform-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    
    /* 区域2: 评分区域 - 调整顺序并缩短 */
    .card-rating-section {
        grid-column: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0 8px;
        border-right: 1px solid #eee;
    }
    
    .rating-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px; /* 保持评分元素间距一致 */
        width: 100%;
    }
    
    /* 第一行：评分数值 */
    .rating-value-row {
        display: flex;
        align-items: baseline;
        justify-content: center;
        width: 100%;
        margin-bottom: 0;
    }
    
    .rating-value {
        font-size: 22px; /* 稍微增大字体 */
        font-weight: bold;
        color: #286fb1;
    }
    
    .rating-total {
        font-size: 12px;
        color: #666;
        margin-left: 2px;
    }
    
    /* 第二行：评分星 */
    .rating-stars-row {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 0;
    }
    
    .rating-stars {
        font-size: 16px; /* 调整字体大小 */
        color: #ffc107;
        margin: 0;
    }
    
    /* 第三行：用户评论数 */
    .rating-comment-row {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .rating-comment {
        font-size: 12px;
        color: #888;
        margin-bottom: 0;
    }
    
    /* 区域3: 平台名称和账户类型 - 变窄 */
    .card-info-section {
        grid-column: 3;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        height: 100%;
        padding: 0 10px;
        border-right: 1px solid #eee;
    }
    
    .platform-name {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px; /* 恢复原有间距 */
        color: #333;
        text-align: left;
        line-height: 1.3;
        width: 100%;
    }
    
    .account-types {
        justify-content: flex-start;
        margin-bottom: 0;
        width: 100%;
        gap: 4px;
    }
    
    .account-tag {
        font-size: 10px;
        padding: 2px 6px;
        margin-bottom: 2px;
    }
    
    /* 区域4: 统计信息 - 两行布局 */
    .card-stats-section {
        grid-column: 4;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0 10px;
        border-right: 1px solid #eee;
    }
    
    .stats-container {
        width: 100%;
    }
    
    .stats-labels {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px; /* 恢复原有间距 */
        width: 100%;
    }
    
    .stats-values {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    
    .stat-label-item {
        flex: 1;
        text-align: center;
        font-size: 12px;
        color: #777;
        padding: 0 3px;
        margin-bottom: 0; /* 移除额外间距 */
    }
    
    .stat-value-item {
        flex: 1;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        color: #333;
        padding: 0 3px;
        margin-top: 0; /* 移除额外间距 */
    }
    
    /* 区域5: 按钮区域 */
    .card-button-section {
        grid-column: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .platform-btn {
        margin-top: 0;
        padding: 10px 18px; /* 稍微加宽按钮 */
        font-size: 14px; /* 稍微增大字体 */
        width: 100%;
        max-width: 140px; /* 增加按钮最大宽度 */
        align-self: center;
    }
    
    /* 隐藏手机端特定元素 */
    .platform-desc {
        display: none;
    }
    
    /* 隐藏原始的三个区域 */
    .card-left-section,
    .card-middle-section,
    .card-right-section {
        display: none !important;
    }
}

/* ============== 弹窗样式 ============== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 5px;
    overflow-y: auto;
}

.modal-content {
    width: 100%;
    max-width: 480px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    margin: 0 10px;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    color: #666;
    background: rgba(255, 255, 255, 0.9);
}

.modal-header {
    padding: 25px 20px 15px;
    text-align: center;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.modal-logo-box {
    width: 180px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 0px;
}

.modal-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.modal-subtitle {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.modal-body {
    padding: 0 40px;
    background-color: #f8fafc;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.modal-btn-container {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    min-height: 220px;
}

.modal-btn-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 10px 0;
}

.modalbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: white !important;
}

.modalbtn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.copy-btn {
    background-color: #f0f5ff;
    color: #1a3a8f;
    border: 1px solid #1a3a8f;
}

.copy-btn:hover {
    background-color: #e1ebff;
}

.copy-btn.copied {
    background-color: #e8f5e8;
    color: #2e7d32;
    border-color: #2e7d32;
}

.copy-icon {
    margin-left: 8px;
}

.modal-footer {
    text-align: center;
    padding: 15px 15px 20px;
    font-size: 12px;
    color: #777;
    background-color: #ffffff;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.modal-regulatory-info {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    font-weight: 500;
}

.modal-platform-copyright {
    font-size: 12px;
    color: #777;
    font-weight: 500;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* 各平台特定样式 */
/* 泽汇  gtc */
.zehui .modal-title {
    color: #1a2b4c;
}
.zehui .modalbtn-primary {
    background: linear-gradient(135deg, #1a2b4c 0%, #2c3e6e 100%);
    box-shadow: 0 4px 12px rgba(26, 43, 76, 0.2);
}
.zehui .modalbtn-secondary {
    background: linear-gradient(135deg, #1a2b4c 0%, #4a5b81 100%);
    box-shadow: 0 4px 12px rgba(26, 43, 76, 0.2);
}
.zehui .copy-btn {
    background-color: #43547a;
    color: #1a2b4c;
    border: 1px solid #1d2e50;
}
/* wetrade */
.wetrade .modal-title {
    color: #fa4f00;
}
.wetrade .modalbtn-primary {
    background: linear-gradient(135deg, #fa4f00 0%, #994114 100%);
    box-shadow: 0 4px 12px rgba(250, 79, 0, 0.2);
}
.wetrade .modalbtn-secondary {
    background: linear-gradient(135deg, #fa4f00 0%, #d7784c 100%);
    box-shadow: 0 4px 12px rgba(250, 79, 0, 0.2);
}
.wetrade .copy-btn {
    background-color: #e54c04;
    color: #fa4f00;
    border: 1px solid #fa4f00;
}
/* juno */
.juno .modal-title {
    color: #ff6900;
}
.juno .modalbtn-primary {
    background: linear-gradient(135deg, #ff6900 0%, #ff6900 100%);
    box-shadow: 0 4px 12px rgba(255, 105, 0, 0.2);
}
.juno .modalbtn-secondary {
    background: linear-gradient(135deg, #ffa236 0%, #ffa236 100%);
    box-shadow: 0 4px 12px rgba(255, 162, 54, 0.2);
}
.juno .copy-btn {
    background-color: #f5ae20;
    color: #ff6900;
    border: 1px solid #ffa236;
}
/* cpt */
.cpt .modal-title {
    color: #05d5b4;
}
.cpt .modalbtn-primary {
    background: linear-gradient(135deg, #05d5b4 0%, #0f99c7 100%);
    box-shadow: 0 4px 12px rgba(5, 213, 180, 0.2);
}
.cpt .modalbtn-secondary {
    background: linear-gradient(135deg, #05d5b4 0%, #0cabc1 100%);
    box-shadow: 0 4px 12px rgba(5, 213, 180, 0.2);
}
.cpt .copy-btn {
    background-color: #09b8bc;
    color: #05d5b4;
    border: 1px solid #05d5b4;
}
/* TMGM */
.tmgm .modal-title {
    color: #2a5ba8;
}
.tmgm .modalbtn-primary {
    background: linear-gradient(135deg, #1b79de 0%, #67b0ff 100%);
    box-shadow: 0 4px 12px rgba(5, 213, 180, 0.2);
}
.tmgm .modalbtn-secondary {
    background: linear-gradient(135deg, #0c7bef 0%, #0553a7 100%);
    box-shadow: 0 4px 12px rgba(5, 213, 180, 0.2);
}
.tmgm .copy-btn {
    background-color: #0955ab;
    color: #286fb1;
    border: 1px solid #0955ab;
}
/* 山海 shanhaisz*/
.shanhaisz .modal-title {
    color: #1a3a8f;
}
.shanhaisz .modalbtn-primary {
    background: linear-gradient(135deg, #1a3a8f 0%, #0d2259 100%);
    box-shadow: 0 4px 12px rgba(26, 58, 143, 0.2);
}
.shanhaisz .modalbtn-secondary {
    background: linear-gradient(135deg, #2a4ba0 0%, #1a3a8f 100%);
    box-shadow: 0 4px 12px rgba(42, 75, 160, 0.2);
}
.shanhaisz .copy-btn {
    background-color: #1640af;
    color: #1a3a8f;
    border: 1px solid #1a3a8f;
}
/* xm */
.xm .modal-title {
    color: #00a050;
}
.xm .modalbtn-primary {
    background: linear-gradient(135deg, #00a050 0%, #008040 100%);
    box-shadow: 0 4px 12px rgba(0, 160, 80, 0.2);
}
.xm .modalbtn-secondary {
    background: linear-gradient(135deg, #00c060 0%, #00a050 100%);
    box-shadow: 0 4px 12px rgba(0, 192, 96, 0.2);
}
.xm .copy-btn {
    background-color: #25955d;
    color: #00a050;
    border: 1px solid #00a050;
}
/* fxtm */
.fxtm .modal-title {
    color: #00aeef;
}
.fxtm .modalbtn-primary {
    background: linear-gradient(135deg, #00aeef 0%, #0088cc 100%);
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.2);
}
.fxtm .modalbtn-secondary {
    background: linear-gradient(135deg, #00c6ff 0%, #00aeef 100%);
    box-shadow: 0 4px 12px rgba(0, 198, 255, 0.2);
}
.fxtm .copy-btn {
    background-color: #19b9f3;
    color: #00aeef;
    border: 1px solid #00aeef;
}
/* avatrade */
.avatrade .modal-title {
    color: #0064b4;
}
.avatrade .modalbtn-primary {
    background: linear-gradient(135deg, #0064b4 0%, #004a8c 100%);
    box-shadow: 0 4px 12px rgba(0, 100, 180, 0.2);
}
.avatrade .modalbtn-secondary {
    background: linear-gradient(135deg, #0084d6 0%, #0064b4 100%);
    box-shadow: 0 4px 12px rgba(0, 132, 214, 0.2);
}
.avatrade .copy-btn {
    background-color: #1b92df;
    color: #0064b4;
    border: 1px solid #0064b4;
}
/* forexcom */
.forexcom .modal-title {
    color: #0072c6;
}
.forexcom .modalbtn-primary {
    background: linear-gradient(135deg, #0072c6 0%, #0052a6 100%);
    box-shadow: 0 4px 12px rgba(0, 114, 198, 0.2);
}
.forexcom .modalbtn-secondary {
    background: linear-gradient(135deg, #0086e6 0%, #0072c6 100%);
    box-shadow: 0 4px 12px rgba(0, 134, 230, 0.2);
}
.forexcom .copy-btn {
    background-color: #0e7bd1;
    color: #0072c6;
    border: 1px solid #0072c6;
}

/* 客服样式 */
.customer-service-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.service-options {
    display: none;
    flex-direction: column;
    margin-right: 10px;
}

.service-option {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 10px;
    margin-bottom: 6px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s;
    width: 110px;
    text-decoration: none;
}

.service-option:active {
    background-color: #3d8b40;
    transform: scale(0.98);
}

.service-icon {
    background-color: #4CAF50;
    color: white;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.service-icon:active {
    transform: scale(0.95);
}

.service-options.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(15px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 页脚 */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #eee;
}

/* ============== 响应式设计 - 手机端 ============== */
/* 手机端保持原有布局 */
@media (max-width: 991px) {
    /* 显示手机端布局元素 */
    .platform-desc {
        display: block;
    }
    
    /* 隐藏电脑端特定元素 */
    .card-logo-section,
    .card-rating-section,
    .card-info-section,
    .card-stats-section,
    .card-button-section,
    .stats-container,
    .stats-labels,
    .stats-values,
    .rating-value-row,
    .rating-stars-row,
    .rating-comment-row {
        display: none !important;
    }
    
    /* 显示原始三个区域 */
    .card-left-section,
    .card-middle-section,
    .card-right-section {
        display: block !important;
        width: 100%;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .rating-container {
        display: block;
        margin-bottom: 15px;
    }
    
    /* 手机端按钮调整 - 长度稍长 */
    .platform-btn {
        width: 80%;
        margin: 0 auto;
        display: block;
        padding: 12px 24px;
    }
}

/* 手机端全屏显示调整 */
@media (max-width: 768px) {
    body {
        padding: 0;
    }
    
    .container {
        padding: 15px;
        width: 100%;
        max-width: 100%;
    }
    
    header {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        min-height: auto;
    }
    
    .header-logo {
        justify-content: center;
        padding: 6px 12px; /* 调整内边距 */
    }
    
    .header-logo img {
        max-width: 180px;
        max-height: 45px;
    }
    
    .header-content {
        padding: 0;
        width: 100%;
    }
    
    header h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    header p {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 15px;
        padding: 0;
    }
    
    .platform-card {
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 15px;
    }
    
    .modal-header {
        padding: 20px 15px 10px;
    }
    
    .modal-logo-box {
        width: 160px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-body {
        padding: 0 20px;
    }
    
    .modalbtn {
        padding: 12px;
    }
    
    .announcement-bar {
        padding: 8px 12px;
        margin-bottom: 15px;
        height: 36px;
        width: 100%;
    }
    
    .announcement-icon {
        margin-right: 8px;
        height: 18px;
    }
    
    .announcement-content {
        height: 18px;
    }
    
    .marquee {
        font-size: 13px;
        line-height: 18px;
    }
    
    /* 手机端按钮调整 */
    .platform-btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
    }
    
    footer {
        padding: 15px;
        margin-top: 30px;
    }
    
    /* 客服按钮在手机端调整 */
    .customer-service-container {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }
    
    header {
        padding: 15px 12px;
    }
    
    .header-logo {
        padding: 5px 10px; /* 调整内边距 */
    }
    
    .header-logo img {
        max-width: 150px;
        max-height: 40px;
    }
    
    header h1 {
        font-size: 20px;
    }
    
    header p {
        font-size: 13px;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .platform-card {
        padding: 12px;
    }
    
    .modal-header {
        padding: 15px 10px 10px;
    }
    
    .modal-logo-box {
        width: 140px;
        height: 45px;
        margin-bottom: 10px;
    }
    
    .modal-title {
        font-size: 22px;
    }
    
    .modal-subtitle {
        font-size: 14px;
    }
    
    .modal-body {
        padding: 0 15px;
    }
    
    .modal-btn-container {
        min-height: 200px;
        padding: 15px 0;
    }
    
    .modal-btn-group {
        gap: 12px;
    }
    
    .modalbtn {
        padding: 10px;
        font-size: 15px;
    }
    
    .modal-footer {
        padding: 12px 12px 18px;
        font-size: 11px;
    }
    
    .modal-regulatory-info {
        font-size: 12px;
    }
    
    .modal-platform-copyright {
        font-size: 11px;
    }
    
    .modal-content {
        margin: 0 15px;
        max-width: calc(100% - 30px);
    }
    
    .announcement-bar {
        padding: 8px 10px;
        height: 34px;
    }
    
    .announcement-icon {
        margin-right: 6px;
    }
    
    .marquee {
        font-size: 12px;
        line-height: 18px;
    }
    
    /* 小屏幕调整账户类型标签 */
    .account-tag {
        font-size: 10px;
        padding: 1px 6px;
    }
    
    /* 手机端按钮调整 */
    .platform-btn {
        padding: 11px 18px;
        font-size: 18px;
        max-width: 100%;
    }
    
    footer {
        padding: 12px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 10px;
    }
    
    header {
        padding: 12px 10px;
    }
    
    .header-logo {
        padding: 4px 8px; /* 调整内边距 */
    }
    
    .header-logo img {
        max-width: 130px;
        max-height: 35px;
    }
    
    header h1 {
        font-size: 18px;
    }
    
    header p {
        font-size: 12px;
    }
    
    .modal-content {
        margin: 0 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-body {
        padding: 0 12px;
    }
    
    .platform-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .announcement-bar {
        padding: 6px 8px;
        height: 32px;
    }
    
    .marquee {
        font-size: 11px;
    }
}