/*
Theme Name: MMT Theme
Theme URI: https://musicmarketingtool.com
Description: IC Markets - IC Markets Affiliate (v2 - 完整版)
Version: 2.0
*/

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:'DM Sans','Geist',-apple-system,sans-serif;color:#101828;background:#fff;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* === Header - 深蓝 + 橙红 === */
.site-header{background:#0b1426;position:sticky;top:0;z-index:1000}
.top-bar{background:#0d1730;border-bottom:1px solid rgba(255,255,255,.06);padding:5px 0;font-size:11px}
.top-bar .container{display:flex;justify-content:space-between;padding:0 20px;margin:0 auto}
.top-left,.top-right{display:flex;align-items:center;gap:6px}
.top-left a,.top-right a{color:rgba(255,255,255,.55);padding:3px 10px;border-radius:3px;transition:all .2s;text-decoration:none}
.top-left a:hover,.top-right a:hover{color:#fff;background:rgba(255,255,255,0.08)}
.top-right .top-cta{background:#E85D2C;color:#fff!important;font-weight:600;padding:4px 14px;border-radius:4px}
.top-right .top-cta:hover{background:#d44d1e}
.top-bonus{color:#73E355!important}

.header-main{background:#0b1426;padding:0 20px;border-bottom:1px solid rgba(255,255,255,0.06)}
.header-main .container{display:flex;align-items:center;justify-content:space-between;padding:8px 0}
.header-logo{display:flex;align-items:center;gap:10px}
.header-logo svg{display:block}
.header-nav{display:flex;align-items:center;gap:2px}
.header-nav a{color:rgba(255,255,255,.7);padding:8px 14px;font-size:13px;font-weight:500;transition:all .2s;border-radius:4px;text-decoration:none}
.header-nav a:hover,.header-nav a.active{color:#fff;background:rgba(255,255,255,.08)}
.header-nav .nav-cta{margin-left:8px;background:#E85D2C;color:#fff!important;padding:8px 20px;font-weight:600}
.header-nav .nav-cta:hover{background:#d44d1e}

/* === Hero === */
.hero{background:linear-gradient(135deg,#0b1426 0%,#0d1730 50%,#162240 100%);padding:50px 20px;min-height:420px;display:flex;align-items:center}
.hero .container{display:flex;justify-content:space-between;align-items:center;gap:40px;width:100%}
.hero-text{flex:1;max-width:580px}
.hero-text h1{font-size:36px;font-weight:800;color:#fff;line-height:1.2;margin-bottom:16px;letter-spacing:-0.5px}
.hero-text h1 span{color:#E85D2C}
.hero-text p{color:rgba(255,255,255,.6);font-size:14px;line-height:1.7;margin-bottom:20px}
.hero-text .features{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;list-style:none;padding:0}
.hero-text .features li{background:rgba(232,93,44,.15);color:#E85D2C;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600}
.btn-group{display:flex;gap:12px;flex-wrap:wrap}
.btn-primary{background:#E85D2C;color:#fff;padding:12px 28px;border-radius:6px;font-weight:700;font-size:14px;transition:all .2s;text-decoration:none}
.btn-primary:hover{background:#d44d1e}
.btn-secondary{background:transparent;color:#fff;padding:12px 28px;border-radius:6px;font-weight:600;font-size:14px;border:1px solid rgba(255,255,255,.2);transition:all .2s;text-decoration:none}
.btn-secondary:hover{border-color:#E85D2C}

.hero-prices{flex:1;max-width:500px}
.price-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:20px}
.price-card h3{color:#fff;font-size:16px;margin-bottom:14px}
.price-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.price-item{background:rgba(255,255,255,.03);border-radius:8px;padding:10px 12px;display:flex;justify-content:space-between;align-items:center}
.price-item .pair{color:rgba(255,255,255,.5);font-size:12px;font-weight:500}
.price-item .value{color:#73E355;font-size:14px;font-weight:700}

/* === 优势区域 === */
.advantages{padding:60px 0;background:#fff}
.advantages h2{text-align:center;font-size:28px;margin-bottom:8px;color:#101828}
.advantages>p{text-align:center;color:#6b7280;font-size:14px;max-width:700px;margin:0 auto 40px}
.adv-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.adv-card{text-align:center;padding:20px}
.adv-card .icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;font-size:24px}
.adv-card h3{font-size:15px;margin-bottom:6px;color:#101828}
.adv-card p{color:#6b7280;font-size:12px;line-height:1.6}

/* === 交易平台 === */
.platforms{background:#f9fafb;padding:60px 0}
.platforms h2{text-align:center;font-size:28px;margin-bottom:10px}
.platforms>p{text-align:center;color:#6b7280;margin-bottom:40px}
.plat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.plat-card{background:#fff;border-radius:12px;padding:28px;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,.06);transition:all .2s}
.plat-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.1);transform:translateY(-2px)}
.plat-card .plat-icon{font-size:40px;margin-bottom:12px}
.plat-card h3{font-size:17px;margin-bottom:6px}
.plat-card p{color:#6b7280;font-size:13px;margin-bottom:16px}
.plat-card .btn-outline{display:inline-block;border:1px solid #E85D2C;color:#E85D2C;padding:8px 20px;border-radius:6px;font-weight:600;font-size:13px;transition:all .2s;text-decoration:none}
.plat-card .btn-outline:hover{background:#E85D2C;color:#fff}

/* === 社媒/信息区块 (原文章) === */
.news-section{padding:60px 0}
.news-section h2{text-align:center;font-size:28px;margin-bottom:30px}

.social-cta{background:linear-gradient(135deg,#0b1426,#162240);padding:50px 20px;text-align:center}
.social-cta h2{color:#fff;font-size:26px;margin-bottom:12px}
.social-cta p{color:rgba(255,255,255,.6);font-size:14px;margin-bottom:20px}
.social-cta .btn-group{justify-content:center}

/* === Footer === */
.site-footer{background:#0b1426;padding:50px 20px 20px;color:rgba(255,255,255,.7)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px;max-width:1200px;margin:0 auto 30px}
.footer-col h4{color:#fff;font-size:14px;margin-bottom:14px;font-weight:600}
.footer-col a{display:block;color:rgba(255,255,255,.5);font-size:12px;margin-bottom:8px;transition:all .2s;text-decoration:none}
.footer-col a:hover{color:#E85D2C}
.footer-bottom{border-top:1px solid rgba(255,255,255,.06);padding:16px 0;text-align:center;font-size:11px;color:rgba(255,255,255,.3);max-width:1200px;margin:0 auto}

/* === 文章页 / index === */
.single-content,.page-content{max-width:800px;margin:40px auto;padding:0 20px}
.single-content h1{font-size:28px;margin-bottom:16px}
.single-content h2{font-size:22px;margin:24px 0 12px}
.single-content p{color:#6b7280;line-height:1.8;margin-bottom:16px}

/* === 右侧窄栏 === */
.article-list{max-width:800px;margin:40px auto;padding:0 20px}
.article-item{padding:16px 0;border-bottom:1px solid #eee}
.article-item:last-child{border:none}
.article-item h2{font-size:18px;margin-bottom:4px}
.article-item h2 a{color:#101828;text-decoration:none}
.article-item h2 a:hover{color:#E85D2C}
.article-item .date{color:#999;font-size:12px;margin-bottom:4px}
.article-item p{color:#6b7280;font-size:13px;line-height:1.6}

/* === 响应式 === */
@media(max-width:768px){
    .hero .container{flex-direction:column}
    .adv-grid{grid-template-columns:repeat(2,1fr)}
    .plat-grid{grid-template-columns:1fr}
    .footer-grid{grid-template-columns:1fr}
    .header-nav{display:none}
    .hero-text h1{font-size:28px}
}
/* === 文章正文样式 (IC Markets) === */
.mmt-article-body{font-size:15px;line-height:1.9;color:#374151}
.mmt-article-body h2{font-size:22px;font-weight:700;color:#101828;margin:32px 0 12px;padding-bottom:8px;border-bottom:2px solid #E85D2C}
.mmt-article-body h3{font-size:17px;font-weight:700;color:#101828;margin:24px 0 8px}
.mmt-article-body p{margin-bottom:14px}
.mmt-article-body strong{color:#101828;font-weight:700}
.mmt-article-body a{color:#E85D2C;text-decoration:underline;font-weight:600}
.mmt-article-body a:hover{color:#d44d1e}
.mmt-article-body ul,.mmt-article-body ol{padding-left:22px;margin-bottom:16px}
.mmt-article-body li{margin-bottom:8px}
.mmt-article-body blockquote{border-left:3px solid #E85D2C;background:#f9fafb;padding:12px 18px;margin:16px 0;border-radius:0 6px 6px 0;color:#6b7280;font-style:italic}
.mmt-article-body hr{border:none;border-top:1px solid #e5e7eb;margin:24px 0}
.mmt-article-body img{border-radius:8px;margin:12px 0;max-width:100%}
.mmt-article-body table{width:100%;border-collapse:collapse;margin:16px 0;font-size:13px}
.mmt-article-body table th{background:#0b1426;color:#fff;padding:10px 14px;text-align:left;font-weight:600}
.mmt-article-body table td{padding:10px 14px;border-bottom:1px solid #e5e7eb}
.mmt-article-body table tr:nth-child(even){background:#f9fafb}
.mmt-article-body code{background:#f3f4f6;padding:2px 6px;border-radius:4px;font-size:13px;color:#d44d1e}

/* === 分页 === */
.single-post-prev-next a{color:#374151;text-decoration:none;font-size:14px;font-weight:500;transition:color .2s}
.single-post-prev-next a:hover{color:#E85D2C}
/* === 增强表格样式 === */
.mmt-article-body table{width:100%;border-collapse:separate;border-spacing:0;margin:20px 0;font-size:13px;border-radius:8px;overflow:hidden;box-shadow:0 1px 6px rgba(0,0,0,.08)}
.mmt-article-body table thead th{background:#0b1426;color:#fff;padding:12px 16px;text-align:left;font-weight:700;font-size:13px;letter-spacing:0.3px;white-space:nowrap}
.mmt-article-body table thead th:first-child{border-radius:8px 0 0 0}
.mmt-article-body table thead th:last-child{border-radius:0 8px 0 0}
.mmt-article-body table td{padding:11px 16px;border-bottom:1px solid #e5e7eb;color:#374151;line-height:1.5}
.mmt-article-body table tr:nth-child(even){background:#f3f6fc}
.mmt-article-body table tr:hover{background:#ecf2fa}
.mmt-article-body table td:first-child{font-weight:600;color:#101828;white-space:nowrap}
.mmt-article-body table tr:last-child td:first-child{border-radius:0 0 0 8px}
.mmt-article-body table tr:last-child td:last-child{border-radius:0 0 8px 0}

/* 账户类型表格专用 - Raw Spread列高亮 */
.mmt-article-body table td:nth-child(3){color:#E85D2C;font-weight:600}
