/* =========================================
   DEFI PRO - 合并精简版样式表
   原始: main.css + modules.css → 合并为一个
   ========================================= */

/* ===== 1. 全局重置 ===== */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: none; }
html, body { height: 100%; margin: 0; padding: 0; overflow-x: hidden; background-color: #000; }
body {
    max-width: 480px; margin: 0 auto; background-color: #0b0f19;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #fff; padding-bottom: 80px; position: relative;
}
.hidden { display: none; }

/* ===== 2. 顶部导航栏 ===== */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid #1f2937;
}
.logo-tri {
    width: 0; height: 0;
    border-left: 8px solid transparent; border-right: 8px solid transparent;
    border-bottom: 14px solid #00e0c6;
    margin-right: 8px; filter: drop-shadow(0 0 8px rgba(0,224,198,0.6));
}
.brand { display: flex; align-items: center; }
.brand-text { font-family:'DIN Alternate', sans-serif; font-size:18px; font-weight:bold; letter-spacing:1px; }
.nav-right { display: flex; gap: 8px; }
.nav-btn {
    background: #151e32; border: 1px solid #2d3748;
    padding: 6px 14px; border-radius: 20px;
    font-size: 11px; color: #cbd5e1;
    display: flex; align-items: center; gap: 4px;
    cursor: pointer; transition: 0.2s;
}
.nav-btn:active { transform: scale(0.95); }

/* 网络状态圆点 */
.dot-bsc, .dot-eth {
    width: 7px; height: 7px; border-radius: 50%;
    display: inline-block; margin-right: 8px;
    vertical-align: middle; transition: all 0.3s ease;
}
.dot-bsc { background: #eab308; box-shadow: 0 0 5px rgba(234, 179, 8, 0.8); }
.dot-eth { background: #4d6ffa; box-shadow: 0 0 5px rgba(71, 108, 253, 0.95); }

/* 下拉菜单 */
.dropdown { position: relative; }
.dropdown-content {
    display: none; position: absolute; top: 110%; right: 0;
    background-color: #1e293b; min-width: 140px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    border: 1px solid #334155; border-radius: 8px; z-index: 200; overflow: hidden;
}
.show-dropdown { display: block; animation: fadeIn 0.2s; }
.dd-item {
    padding: 12px; font-size: 12px; color: #94a3b8;
    display: flex; gap: 8px; cursor: pointer; border-bottom: 1px solid #334155;
}
.dd-item:last-child { border-bottom: none; }
.dd-item.active { color: #00e0c6; background: rgba(0,224,198,0.05); }

/* ===== 3. VIP 卡片 ===== */
.vip-card {
    margin: 15px; padding: 15px 20px;
    background: #0f172a; border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    position: relative; overflow: hidden;
}
.vip-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.vip-badge {
    font-family: "Times New Roman", serif; font-size: 14px;
    color: #94a3b8; font-weight: normal; letter-spacing: 0.5px; text-shadow: none;
}
.vip-link { font-size: 11px; color: #64748b; cursor: pointer; display: flex; align-items: center; }
.total-assets { text-align: center; margin-bottom: 15px; }
.asset-label { font-family: "Times New Roman", serif; font-size: 13px; color: #94a3b8; letter-spacing: 0.5px; margin-bottom: 5px; }
.total-assets h2 {
    font-family: "Times New Roman", serif; font-weight: bold; font-size: 38px;
    margin: 0 0 15px; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.1);
}
.wallet-pill {
    display: inline-block; padding: 8px 30px; min-width: 140px;
    background: rgba(0,224,198,0.05); border: 1px solid #00e0c6; border-radius: 25px;
    color: #00e0c6; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.vip-footer { margin-top: 15px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 10px; }
.progress-track { width: 100%; height: 8px; background: #1e293b; border-radius: 4px; overflow: hidden; margin-top: 8px; }
.progress-fill { height: 100%; background: #00e0c6; width: 0%; transition: width 1s ease-out; box-shadow: 0 0 10px #00e0c6; border-radius: 4px; }
.progress-fill.force-red { background: #ef4444 !important; box-shadow: 0 0 8px #ef4444 !important; }
#vip-next-hint { font-size: 11px; color: #eab308; text-align: center; margin-bottom: 5px; font-weight: 500; }

/* VIP 进度条 (旧版) */
.vip-banner {
    background: linear-gradient(90deg, #1a1f2e, #000);
    padding: 15px; margin: 15px; border-radius: 10px;
    border: 1px solid #ffd700; display: flex; flex-direction: column; gap: 8px;
}
.vip-info { display: flex; justify-content: space-between; color: #ffd700; font-size: 0.9rem; }
.progress-bar-bg { background: rgba(255,255,255,0.1); height: 3px; border-radius: 3px; }
.progress-bar-fill { background: #ffd700; height: 100%; border-radius: 3px; transition: width 0.5s; }

/* ===== 4. 公告栏 ===== */
.notice-container { padding: 0 15px; margin-bottom: 12px; }
.notice-bar {
    position: relative; height: 40px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid #fbbf24; border-radius: 6px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 12px; overflow: hidden; white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
#sys-notice-wrapper { flex: 1; height: 100%; position: relative; overflow: hidden; min-width: 0; }
#sys-notice {
    height: 100%; display: flex; align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
    font-size: 12px; color: #94a3b8; letter-spacing: 0.3px;
    opacity: 0; transform: translateY(12px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#sys-notice.show-up { opacity: 1; transform: translateY(0); }

.n-badge {
    padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 800;
    font-family: 'DIN Alternate', sans-serif; text-transform: uppercase;
    letter-spacing: 0.5px; margin-right: 8px; flex-shrink: 0;
    border: 1px solid transparent; backdrop-filter: blur(4px);
    display: inline-flex; align-items: center; gap: 4px;
}
.n-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; display: block; }
.n-badge.blue { background: rgba(59,130,246,0.1); color: #60a5fa; border-color: rgba(59,130,246,0.3); text-shadow: 0 0 8px rgba(59,130,246,0.5); }
.n-badge.green { background: rgba(16,185,129,0.1); color: #34d399; border-color: rgba(16,185,129,0.3); text-shadow: 0 0 8px rgba(16,185,129,0.5); }
.n-badge.gold { background: rgba(245,158,11,0.1); color: #fbbf24; border-color: rgba(245,158,11,0.3); text-shadow: 0 0 8px rgba(245,158,11,0.5); }
.n-badge.red { background: rgba(239,68,68,0.1); color: #f87171; border-color: rgba(239,68,68,0.3); text-shadow: 0 0 8px rgba(239,68,68,0.5); box-shadow: 0 0 10px rgba(239,68,68,0.5); }
.n-badge.cyan { background: rgba(6,182,212,0.1); color: #22d3ee; border-color: rgba(6,182,212,0.3); text-shadow: 0 0 8px rgba(6,182,212,0.5); }
.n-badge.purple { background: rgba(168,85,247,0.1); color: #c084fc; border-color: rgba(168,85,247,0.3); text-shadow: 0 0 8px rgba(168,85,247,0.5); }
.n-badge.orange { background: rgba(249,115,22,0.1); color: #fb923c; border-color: rgba(249,115,22,0.3); text-shadow: 0 0 8px rgba(249,115,22,0.5); }
.n-badge.pink { background: rgba(236,72,153,0.1); color: #f472b6; border-color: rgba(236,72,153,0.3); text-shadow: 0 0 8px rgba(236,72,153,0.5); }
.highlight-num { color: #f1f5f9; font-weight: 600; font-family: 'DIN Alternate', monospace; }
.highlight-gold { color: #facc15; text-shadow: 0 0 5px rgba(250,204,21,0.3); }
.highlight-green { color: #4ade80; }
.notice-more { color: #475569; font-size: 14px; margin-left: 8px; opacity: 0.6; flex-shrink: 0; }

/* IEO 模式公告栏 */
.notice-bar.ieo-mode {
    background: linear-gradient(90deg, rgba(245,158,11,0.2) 0%, rgba(15,23,42,0.9) 100%) !important;
    border-left: 3px solid #f59e0b !important;
    border-color: rgba(245,158,11,0.4) !important;
    box-shadow: 0 0 15px rgba(245,158,11,0.3) !important;
    animation: ieo-notice-pulse-gold 2s infinite ease-in-out;
}
.n-text.ieo-shimmer {
    background: linear-gradient(to right, #fff 20%, #facc15 40%, #fff 50%, #facc15 60%, #fff 80%);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: lightning-sweep 3s linear infinite;
    font-weight: 900 !important; letter-spacing: 0.5px;
    filter: drop-shadow(0 0 5px rgba(250,204,21,0.4));
}

/* 旧版滚动兼容 */
.notice-scroller { display: inline-block; padding-left: 100%; animation: marquee-scroll 25s linear infinite; }

/* ===== 5. 功能切换 Tab ===== */
.action-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 0 15px; margin-bottom: 20px; }
.action-btn {
    background: #111827 !important; border: 1px solid #374151 !important;
    color: #94a3b8 !important; border-radius: 10px !important;
    padding: 12px 5px !important; text-align: center;
    box-shadow: none !important; font-weight: normal !important;
    cursor: pointer; transition: all 0.3s ease; overflow: hidden;
}
.action-btn.active, .action-btn:hover {
    background: rgba(0,224,198,0.1) !important;
    border: 1px solid #00e0c6 !important;
    color: #00e0c6 !important;
    text-shadow: 0 0 8px rgba(0,224,198,0.6) !important;
    box-shadow: 0 0 15px rgba(0,224,198,0.2) !important;
    font-weight: bold !important; transform: translateY(-2px);
}
.act-title { font-weight: 900; font-size: 13px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-sub { font-size: 9px; opacity: 0.8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== 6. 折叠介绍卡片 (Info Card) ===== */
.info-card {
    margin: 15px 15px 10px; border-radius: 12px; overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer; position: relative;
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 4px solid transparent !important;
    background: linear-gradient(145deg, rgba(30,41,59,0.8) 0%, rgba(15,23,42,0.8) 100%);
    backdrop-filter: blur(10px);
}
.info-card:hover { filter: brightness(1.2); transform: translateX(2px); }
.ic-header {
    height: 56px; box-sizing: border-box; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.ic-left { display: flex; flex-direction: column; justify-content: center; }
.ic-title {
    font-size: 15px; font-weight: 800; line-height: 1;
    color: #f1f5f9 !important; display: flex; align-items: center; gap: 8px;
    letter-spacing: 0.5px; text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.ic-title i { font-size: 18px; margin-top: -2px; }
.ic-arrow { color: #64748b; font-size: 20px; transition: transform 0.3s ease; opacity: 0.7; margin-left: 10px; }
.ic-body {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out;
    background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.03);
}
.ic-tags-row { padding: 15px 15px 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.ic-tags-row span {
    font-size: 10px; font-weight: 600; color: #cbd5e1;
    background: rgba(255,255,255,0.1); padding: 4px 8px; border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}
.ic-desc-content { padding: 0 15px 15px; }
.ic-row { font-size: 12px; color: #94a3b8; line-height: 1.6; margin-bottom: 8px; text-align: justify; }
.ic-row:last-child { margin-bottom: 0; }
.ic-row b { color: #fff; font-weight: 600; margin-right: 4px; }
.ic-row em { color: #00e0c6; font-style: normal; font-weight: bold; }

/* 展开状态 */
.info-card.open { box-shadow: 0 4px 20px rgba(0,0,0,0.4); background: rgba(15,23,42,0.95); }
.info-card.open .ic-arrow { transform: rotate(180deg); color: #fff; opacity: 1; }
.info-card.open .ic-body { max-height: 500px; }

/* 挖矿 - 青色 */
.mining-card {
    background: linear-gradient(90deg, rgba(0,224,198,0.15) 0%, rgba(15,23,42,0.9) 100%) !important;
    border-left-color: #00e0c6 !important;
    border-top: 1px solid rgba(0,224,198,0.1) !important;
    border-bottom: 1px solid rgba(0,224,198,0.1) !important;
    border-right: 1px solid rgba(0,224,198,0.1) !important;
}
.mining-card .ic-title i { color: #00e0c6 !important; text-shadow: 0 0 10px rgba(0,224,198,0.4); }
.mining-card:hover, .mining-card.open { box-shadow: 0 0 20px rgba(0,224,198,0.15) !important; border-color: rgba(0,224,198,0.3) !important; }

/* 质押 - 紫色 */
.staking-card {
    background: linear-gradient(90deg, rgba(168,85,247,0.15) 0%, rgba(15,23,42,0.9) 100%) !important;
    border-left-color: #a855f7 !important;
    border-top: 1px solid rgba(168,85,247,0.1) !important;
    border-bottom: 1px solid rgba(168,85,247,0.1) !important;
    border-right: 1px solid rgba(168,85,247,0.1) !important;
}
.staking-card .ic-title i { color: #a855f7 !important; text-shadow: 0 0 10px rgba(168,85,247,0.4); }
.staking-card:hover, .staking-card.open { box-shadow: 0 0 20px rgba(168,85,247,0.15) !important; border-color: rgba(168,85,247,0.3) !important; }

/* IEO 折叠卡片 - 金色 */
.info-card.ieo-card {
    padding: 0 !important;
    background: linear-gradient(90deg, rgba(234,179,8,0.15) 0%, rgba(15,23,42,0.9) 100%) !important;
    border-left: 4px solid #eab308 !important;
    border-top: 1px solid rgba(234,179,8,0.1) !important;
    border-bottom: 1px solid rgba(234,179,8,0.1) !important;
    border-right: 1px solid rgba(234,179,8,0.1) !important;
}
.info-card.ieo-card:hover, .info-card.ieo-card.open {
    box-shadow: 0 0 20px rgba(234,179,8,0.15) !important;
    border-color: rgba(234,179,8,0.5) !important;
}

/* ===== 7. 挖矿面板 ===== */
#sub-mining { animation: fadeIn 0.3s; }
.mining-section {
    margin: 0 15px 15px; background: #111827;
    border-radius: 16px; padding: 15px 15px 10px !important;
    border: 1px solid #374151; position: relative; margin-top: 5px !important;
}
.status-tag {
    position: absolute; top: 12px; right: 15px;
    background: rgba(0,224,198,0.1); color: #00e0c6;
    font-size: 9px; padding: 2px 6px; border-radius: 4px;
    border: 1px solid rgba(0,224,198,0.2);
}
.mining-flex { display: flex; align-items: center; gap: 20px; margin-bottom: 10px !important; }
.circle-box {
    width: 90px !important; height: 90px !important;
    display: flex; justify-content: center; align-items: center; position: relative;
}
.tech-ring {
    width: 90px !important; height: 90px !important; border-radius: 50%;
    border: 3px solid #374151;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: #6b7280; position: relative; z-index: 1;
}
.tech-ring::after {
    content: ""; position: absolute;
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    border-radius: 50%; border: 3px solid transparent;
    border-top-color: #00e0c6; border-right-color: rgba(0,224,198,0.3);
    opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.mining-active::after { opacity: 1; animation: spin 1.5s linear infinite; }
.mining-active { color: #00e0c6; text-shadow: 0 0 5px rgba(0,224,198,0.5); border-color: rgba(0,0,0,0.5); }
#mining-status-text { font-size: 12px !important; }
.stats-list { flex: 1; }
.stat-row {
    display: flex; justify-content: space-between; font-size: 12px;
    margin-bottom: 8px !important; padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.log-container {
    height: 80px !important; background: #000; border-radius: 6px; padding: 8px;
    overflow: hidden; position: relative; border: 1px solid #334155; margin-top: 5px !important;
}
.log-item {
    font-family: 'Courier New', monospace; font-size: 10px; color: #00e0c6;
    white-space: nowrap; line-height: 1.6; animation: slideInLeft 0.3s;
}
.start-btn-container { margin: 10px 15px 15px !important; }
.btn-main {
    width: 100%; padding: 12px !important;
    border: none; border-radius: 12px !important;
    background: #00e0c6 !important; color: #000 !important;
    font-weight: 600 !important; font-size: 14px !important;
    box-shadow: 0 0 20px rgba(0,224,198,0.3);
    cursor: pointer; transition: 0.2s;
}
.btn-main:active { transform: scale(0.98); }
.btn-main:disabled { background: #374151 !important; color: #9ca3af !important; box-shadow: none; cursor: not-allowed; }

/* ===== 8. 质押面板 ===== */
#sub-staking { animation: fadeIn 0.3s; }
.stake-grid-container { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 15px; margin-bottom: 15px; }
.stake-option {
    background: #111827; border: 1px solid #374151; border-radius: 10px;
    padding: 15px 10px; text-align: center; cursor: pointer;
}
.stake-option.active { border-color: #00e0c6; background: rgba(0,224,198,0.05); }
.s-days { font-size: 18px; font-weight: bold; color: #fff; margin-bottom: 4px; }
.s-rate { font-size: 11px; color: #00e0c6; }
.stake-input-group { padding: 0 15px; }
.stake-input-group input {
    width: 100%; background: #111827; border: 1px solid #374151;
    border-radius: 8px; padding: 14px; color: #fff; font-size: 14px;
}
.stake-record-box { margin: 25px 15px; background: #111827; border-radius: 12px; padding: 15px; border: 1px solid #374151; }
.sr-title { font-size: 14px; font-weight: bold; margin-bottom: 10px; color: #fff; border-left: 3px solid #00e0c6; padding-left: 8px; }
.sr-header { display: flex; justify-content: space-between; font-size: 10px; color: #64748b; padding-bottom: 8px; border-bottom: 1px solid #374151; }
.sr-empty { text-align: center; color: #475569; font-size: 12px; padding: 20px 0; }
.sr-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sr-amount { color: #fff; font-weight: bold; font-size: 13px; }
.sr-time { font-size: 10px; color: #6b7280; }
.sr-profit { color: #00e0c6; font-size: 12px; }

/* ===== 9. IEO 面板 ===== */
#sub-ieo { animation: fadeIn 0.3s; }

/* IEO 英雄标题 */
.ieo-hero-header {
    padding: 10px 15px 20px !important;
    background: radial-gradient(circle at top right, rgba(0,224,198,0.05), transparent 70%) !important;
    text-align: left !important; margin-top: 10px !important;
}
.hero-title {
    font-family: 'DIN Alternate', 'Roboto', sans-serif !important;
    font-size: 26px !important; font-weight: 900 !important; margin: 0 0 6px 0 !important;
    background: linear-gradient(90deg, #fff 0%, #00e0c6 100%) !important;
    -webkit-background-clip: text !important; background-clip: text !important;
    -webkit-text-fill-color: transparent !important; color: transparent !important;
    filter: drop-shadow(0 0 15px rgba(0,224,198,0.3)) !important;
    display: flex !important; align-items: center !important; gap: 8px !important;
}
.hero-title .rocket-icon {
    -webkit-text-fill-color: initial !important; color: #fff !important;
    filter: drop-shadow(0 0 0 transparent) !important; font-size: 22px !important;
    animation: rocket-float 3s ease-in-out infinite !important;
}
.hero-subtitle {
    font-size: 11px !important; color: #94a3b8 !important; margin: 0 !important;
    font-weight: 500 !important; letter-spacing: 1px !important; opacity: 0.8 !important;
}

/* IEO 项目卡片 */
.ieo-card {
    background: #111827; border: 1px solid #374151; border-radius: 12px;
    padding: 15px; margin: 0 15px 15px; position: relative; overflow: hidden; transition: all 0.3s;
}
.ieo-card.disabled {
    opacity: 1 !important; filter: none !important;
    border-color: #374151 !important;
}
div.ieo-card.locking {
    border: 1px solid #eab308 !important;
    animation: breathing-inner 3s infinite ease-in-out !important; z-index: 10;
}
.ieo-icon.grayscale {
    filter: grayscale(100%) !important; opacity: 0.5;
    box-shadow: none !important; background: #374151 !important;
}

/* IEO 头部布局 */
.ieo-top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.ieo-head-left { flex: 1; }
.ieo-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.ieo-icon {
    width: 36px; height: 36px; border-radius: 50%; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; margin-right: 10px; font-size: 14px;
}
.ieo-info { flex: 1; }
.ieo-title { color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.ieo-rate { color: #94a3b8; font-size: 10px; margin-top: 2px; }

/* IEO 徽章 */
.ieo-badge { font-size: 9px; padding: 1px 5px; border-radius: 4px; text-transform: uppercase; }
.ieo-badge.gray { background: #374151; color: #9ca3af; }
.ieo-badge.green { background: rgba(34,197,94,0.2); color: #22c55e; border: 1px solid rgba(34,197,94,0.4); }
.ieo-badge.red { background: rgba(239,68,68,0.2); color: #ef4444; border: 1px solid rgba(239,68,68,0.4); }
.ieo-badge.gold { background: rgba(234,179,8,0.2); color: #eab308; border: 1px solid rgba(234,179,8,0.4); }

/* IEO 右上角大框 */
.ieo-big-box {
    width: 130px; background: rgba(15,23,42,0.6); border: 1px dashed #475569;
    border-radius: 8px; padding: 8px; text-align: center;
    display: flex; flex-direction: column; justify-content: center;
    height: 65px; position: relative;
}
.ieo-big-box.active { border-color: #00e0c6; background: rgba(0,224,198,0.05); animation: boxPulse 2s infinite; }
.ibb-label { font-size: 9px; color: #94a3b8; margin-bottom: 2px; }
.ibb-val { font-size: 16px; font-weight: 800; color: #fff; font-family: monospace; letter-spacing: -0.5px; }
.ibb-percent { font-size: 10px; font-weight: bold; color: #22c55e; margin-top: 2px; }
.ibb-increase-text { font-size: 18px; font-weight: 900; color: #00e0c6; text-shadow: 0 0 10px rgba(0,224,198,0.3); }

/* IEO 红框 */
.ieo-redbox {
    border: 1px dashed #334155; background: rgba(0,0,0,0.3);
    border-radius: 6px; padding: 6px 10px; min-width: 90px; text-align: right;
}
.pb-label { font-size: 9px; color: #94a3b8; }
.pb-val { font-size: 14px; font-weight: 800; color: #fff; margin: 2px 0; }
.pb-sub { font-size: 9px; color: #64748b; }
.pb-rate { font-size: 10px; font-weight: bold; }

/* 焦虑进度条 */
.panic-bar-box { height: 6px; background: #1f2937; border-radius: 3px; overflow: hidden; margin-bottom: 4px; }
.panic-bar { height: 100%; transition: width 0.5s, background-color 0.5s; }
.panic-text { display: flex; justify-content: space-between; font-size: 9px; color: #64748b; margin-bottom: 12px; }
.progress-fill.red-alert { background: #ef4444 !important; box-shadow: 0 0 10px #ef4444 !important; animation: pulse-red 1s infinite; }

/* IEO 按钮 */
.ieo-action-row { display: flex; gap: 8px; align-items: flex-start; }
.ieo-input-box { flex: 1; }
.ieo-input-box input {
    width: 100%; background: #000; border: 1px solid #333;
    color: #fff; padding: 10px; border-radius: 6px; font-size: 13px;
}
.token-preview { font-size: 9px; color: #00e0c6; margin-top: 4px; padding-left: 2px; }
.btn-ieo {
    width: 75px; height: 38px; border-radius: 6px;
    font-weight: bold; font-size: 12px; border: none; cursor: pointer; transition: 0.2s;
}
.btn-ieo.live { background: #00e0c6; color: #000; box-shadow: 0 0 10px rgba(0,224,198,0.2); }
.btn-ieo.disabled {
    pointer-events: auto !important; cursor: pointer !important;
    background: #374151 !important; color: #94a3b8 !important;
    opacity: 1 !important; box-shadow: none !important;
}
.btn-ieo.locked {
    background: #0f172a !important; border: 1px solid #FCD34D !important;
    color: #FCD34D !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    font-weight: 900 !important; font-size: 16px !important;
    cursor: default !important; letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(252,211,77,0.5);
    box-shadow: inset 0 0 15px rgba(252,211,77,0.1) !important;
    height: 42px !important;
}
.btn-ieo.claim {
    animation: none !important;
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%) !important;
    color: #000 !important; font-weight: 800 !important;
    border: none !important; box-shadow: 0 4px 15px rgba(245,158,11,0.4) !important;
    letter-spacing: 1px;
}
.btn-ieo.claim:hover {
    background: linear-gradient(135deg, #FDE68A 0%, #FBBF24 100%) !important;
    box-shadow: 0 6px 20px rgba(245,158,11,0.6) !important; transform: translateY(-1px);
}
.btn-ieo.withdraw {
    background: linear-gradient(90deg, #8b5cf6, #ec4899); color: #fff;
    animation: pulse 2s infinite;
}

/* IEO 资产卡片 */
.ieo-banner { padding: 15px; background: linear-gradient(90deg, #111827 0%, #0f172a 100%); margin-bottom: 15px; border-bottom: 1px solid #1f2937; }
.assets-panel { margin: 0 15px; }
.ap-header { font-size:12px; color:#cbd5e1; margin-bottom:10px; display:flex; align-items:center; gap:6px; }
.ieo-asset-card { background:#1e293b; padding:12px; border-radius:8px; margin-bottom:8px; border:1px solid #334155; }
.ac-top { display:flex; justify-content:space-between; margin-bottom:8px; border-bottom:1px solid rgba(255,255,255,0.05); padding-bottom:5px; }
.ac-symbol { font-weight:bold; color:#fff; }
.ac-status { font-size:10px; color:#94a3b8; }
.ac-row { display:flex; justify-content:space-between; font-size:11px; margin-bottom:4px; }
.ac-val { color:#fff; font-family:monospace; }
.btn-withdraw { width:100%; margin-top:5px; padding:6px; background:#334155; color:#fff; border:none; border-radius:4px; font-size:10px; cursor:pointer; }
.ieo-assets-panel summary span { color: #00e0c6 !important; text-shadow: 0 0 10px rgba(0,224,198,0.3); }
.ieo-assets-panel i.ri-pie-chart-2-fill { color: #00e0c6 !important; }

/* IEO 红点 & Toast */
.ieo-dot {
    display: none; width: 8px; height: 8px; background: #ef4444; border-radius: 50%;
    position: absolute; top: 2px; right: 2px;
    animation: dot-pulse 1.5s infinite; box-shadow: 0 0 6px rgba(239,68,68,0.6);
}
.ieo-dot.active { display: block; }
.ieo-toast {
    position: fixed; bottom: 80px; left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid rgba(234,179,8,0.4); border-radius: 12px;
    padding: 12px 20px; color: #fbbf24; font-size: 13px; font-weight: 600;
    z-index: 9999; opacity: 0; pointer-events: none; white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.ieo-toast.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }

/* ===== 10. 兑换中心 ===== */
#view-exchange { animation: fadeIn 0.3s; }
.ex-header {
    padding: 30px 20px; background: linear-gradient(180deg, #0f172a 0%, #0b0f19 100%);
    text-align: right; border-bottom: 1px solid #1f2937;
}
.ex-label { font-size: 12px; color: #94a3b8; font-weight: bold; }
.ex-val {
    font-size: 40px; color: #00e0c6; font-family: monospace; font-weight: bold;
    text-shadow: 0 0 20px rgba(0,224,198,0.3); margin-top: 5px;
}
.ex-box {
    margin: 15px; background: #1e293b; border-radius: 12px; padding: 20px;
    border: 1px solid #334155; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.ex-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 12px; }
.tag-rate { background: rgba(0,224,198,0.1); color: #00e0c6; padding: 2px 6px; border-radius: 4px; font-size: 10px; }
.ex-input-group { position: relative; margin: 15px 0; }
.ex-input-group input {
    width: 100%; background: #0b0f19; border: 1px solid #374151;
    padding: 15px; color: #fff; font-size: 16px; border-radius: 8px;
}
.ex-input-group .unit { position: absolute; right: 32px; top: 15px; color: #94a3b8; font-weight: bold; }
.ex-history { margin: 0 15px 15px; }
.ex-h-title { display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin-bottom: 10px; }
.ex-item {
    display: flex; justify-content: space-between; padding: 12px;
    background: #111827; border-bottom: 1px solid #1f2937; align-items: center;
}
.ex-item:first-child { border-top-left-radius: 8px; border-top-right-radius: 8px; }
.ex-item:last-child { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; border-bottom: none; }

/* 实时交易跑马灯 */
.live-feed-box { margin: 0 15px 15px; background: #0b0f19; border: 1px solid #1f2937; border-radius: 8px; overflow: hidden; }
.lf-title { padding: 8px 12px; background: #111827; font-size: 11px; color: #94a3b8; border-bottom: 1px solid #1f2937; display: flex; align-items: center; gap: 6px; }
.dot-green { width: 6px; height: 6px; background: #00e0c6; border-radius: 50%; box-shadow: 0 0 5px #00e0c6; animation: pulse 1s infinite; }
.lf-list { height: 140px; overflow: hidden; position: relative; }
.lf-item {
    padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 10px; display: flex; justify-content: space-between;
    color: #cbd5e1; animation: slideUp 0.5s ease-out;
}
.lf-action { color: #fff; font-weight: bold; margin-right: 4px; }

/* ===== 11. 个人中心 ===== */
#view-mine { animation: fadeIn 0.3s; background: #0b0f19 !important; min-height: 100vh; padding-bottom: 100px; }
.mine-header {
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
    padding: 20px; padding-top: 30px; border-bottom: 1px solid #1f2937;
}
.user-info-row { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.avatar-circle {
    width: 50px; height: 50px; background: #1e293b; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #94a3b8; border: 2px solid #334155;
}
.user-details { flex: 1; }
.u-addr-box { font-size: 16px; font-weight: bold; color: #fff; display: flex; align-items: center; gap: 8px; }
.u-addr-box i { font-size: 14px; color: #64748b; cursor: pointer; }
.u-vip-tag {
    display: inline-block; background: #eab308; color: #000;
    font-size: 10px; font-weight: bold; padding: 1px 6px; border-radius: 4px; margin-top: 4px;
}
.credit-score {
    font-size: 10px; color: #00e0c6; background: rgba(0,224,198,0.1);
    padding: 4px 8px; border-radius: 20px; border: 1px solid rgba(0,224,198,0.3); cursor: pointer;
}
.mine-assets-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 12px; padding: 20px; border: 1px solid #334155;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.ma-row { display: flex; justify-content: space-between; color: #94a3b8; font-size: 11px; margin-bottom: 5px; }
.mine-assets-card h2 { font-size: 32px; color: #fff; margin: 0 0 15px; font-family: monospace; letter-spacing: -1px; }
.ma-actions { display: flex; gap: 10px; }
.ma-btn {
    flex: 1; text-align: center; padding: 10px; border-radius: 8px;
    font-size: 13px; font-weight: bold; background: #334155; color: #fff;
    cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ma-btn.primary { background: #00e0c6; color: #000; }

/* 折叠资产面板 */
.ma-top-row {
    display: flex; justify-content: space-between; align-items: center;
    color: #94a3b8; font-size: 11px; margin-bottom: 5px; cursor: pointer;
}
.ma-toggle { font-size: 11px; color: #00e0c6; display: flex; align-items: center; gap: 4px; }
.ma-toggle i { transition: transform 0.3s; }
.ma-toggle.open i { transform: rotate(180deg); }
#asset-details-grid {
    display: none; grid-template-columns: 1fr 1fr; gap: 10px;
    margin-bottom: 20px; padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.ad-item { background: rgba(0,0,0,0.2); padding: 8px; border-radius: 6px; }
.ad-label { font-size: 10px; color: #64748b; margin-bottom: 2px; }
.ad-val { font-size: 12px; color: #fff; font-weight: bold; font-family: monospace; }

/* 金刚区工具栏 */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 20px 15px; background: #0b0f19; }
.tool-item { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
.tool-item span {
    font-size: 11px; color: #cbd5e1;
    display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis; word-break: break-word;
    text-align: center; min-height: 2.6em; line-height: 1.3;
}
.t-icon {
    width: 45px; height: 45px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff; box-shadow: 0 4px 6px rgba(0,0,0,0.2); transition: transform 0.2s;
}
.tool-item:active .t-icon { transform: scale(0.9); }
.t-icon.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.t-icon.gold { background: linear-gradient(135deg, #eab308, #ca8a04); }
.t-icon.red { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.t-icon.purple { background: linear-gradient(135deg, #a855f7, #7e22ce); }

/* 菜单列表 */
.menu-list { padding: 0 15px; }
.menu-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0; border-bottom: 1px solid #1f2937; cursor: pointer; color: #fff;
}
.m-left {
    display: flex; align-items: center; gap: 10px; font-size: 13px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1;
}
.m-left i { font-size: 18px; }
.m-right { display: flex; align-items: center; gap: 5px; color: #64748b; font-size: 12px; }
.ver-tag { background: #334155; padding: 1px 5px; border-radius: 4px; font-size: 10px; max-width: 85px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-logout {
    width: 100%; padding: 15px; background: #1f2937;
    color: #ef4444; border: 1px solid #374151; border-radius: 8px; font-weight: bold; cursor: pointer;
}

/* FAQ */
.faq-box { margin: 0 15px 100px; }
.faq-item { background: #111827; border: 1px solid #374151; border-radius: 8px; margin-bottom: 10px; overflow: hidden; transition: all 0.3s; }
.faq-q {
    padding: 15px; font-size: 12px; color: #fff;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-weight: 500;
}
.faq-q i:first-child { color: #00e0c6; margin-right: 8px; }
.faq-a {
    padding: 0 15px 15px; font-size: 11px; color: #94a3b8; line-height: 1.6;
    display: none; border-top: 1px solid rgba(255,255,255,0.05); margin-top: -5px; padding-top: 10px;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q { color: #00e0c6; }
.faq-item.open i { transform: rotate(180deg); }
.faq-q i.ri-arrow-down-s-line { transition: transform 0.3s; }

/* 旧版 FAQ (mine-faq) */
.mine-faq { padding: 0 15px; margin-top: 20px; }
.mf-title { font-size: 11px; color: #64748b; margin-bottom: 10px; font-weight: bold; }
.mf-item { background: #1e293b; border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.mf-q { padding: 12px; font-size: 12px; color: #fff; display: flex; justify-content: space-between; cursor: pointer; }
.mf-a { padding: 0 12px 12px; font-size: 11px; color: #94a3b8; display: none; line-height: 1.5; }
.mf-item.open .mf-a { display: block; }

/* ===== 12. 底部导航 ===== */
.bottom-nav {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 480px;
    background: rgba(11,15,25,0.95); backdrop-filter: blur(10px);
    border-top: 1px solid #1f2937;
    display: flex; justify-content: space-around;
    padding: 10px 0; z-index: 99;
}
.nav-item {
    text-align: center; color: #64748b; font-size: 10px; cursor: pointer;
    transition: 0.2s; white-space: nowrap; overflow: visible; text-overflow: ellipsis; max-width: 80px;
}
.nav-item.active { color: #00e0c6; transform: translateY(-2px); }
.nav-item i { font-size: 20px; display: block; margin-bottom: 2px; }
.nav-mid {
    background: #00e0c6; color: #000;
    width: 45px; height: 45px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: -25px; border: 4px solid #0b0f19;
    box-shadow: 0 0 15px rgba(0,224,198,0.4);
}

/* ===== 13. 弹窗系统 ===== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 999;
    display: none; justify-content: center; align-items: center;
    animation: fadeIn 0.2s;
}
.modal-content {
    background: #1e293b; width: 90%; max-width: 400px;
    padding: 25px 20px; border-radius: 12px; color: #fff;
    border: 1px solid #334155; box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    position: relative !important;
}
.modal-box {
    background: #1e1e1e; width: 90%; max-width: 400px;
    border-radius: 16px; border: 1px solid #333;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    overflow: hidden; animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-header { padding: 20px; text-align: center; border-bottom: 1px solid #2a2a2a; }
.modal-icon { font-size: 40px; margin-bottom: 10px; display: block; }
.modal-title { color: #fff; font-size: 18px; font-weight: 600; margin: 0; }
.modal-body { padding: 20px; color: #a0a0a0; font-size: 14px; line-height: 1.6; background: #161616; max-height: 70vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.highlight-box { background: #252525; border-radius: 8px; padding: 12px; margin: 15px 0; border: 1px solid #333; }
.row { display: flex; justify-content: space-between; margin-bottom: 5px; }
.red-text { color: #ff4d4d; font-weight: bold; }
.green-text { color: #00c087; }
.modal-footer { padding: 15px; display: flex; gap: 10px; background: #1e1e1e; }
.btn-modal { flex: 1; padding: 12px; border-radius: 8px; border: none; font-weight: 600; cursor: pointer; }
.btn-cancel { background: #2a2a2a; color: #888; }
.btn-confirm { background: #eab308; color: #000; }
.btn-danger { background: #ff4b4b; color: white; width: 100%; padding: 12px; margin-top: 20px; border-radius: 8px; }

/* 关闭按钮 */
.modal-close-btn {
    position: absolute !important; top: 15px !important; right: 15px !important; z-index: 100;
    width: 32px !important; height: 32px !important;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.1) !important; border-radius: 50% !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    padding: 0 !important; cursor: pointer; transition: all 0.2s;
    outline: none !important; box-shadow: none !important;
}
.modal-close-btn:active { transform: scale(0.9); background: rgba(255,255,255,0.2) !important; }
.modal-close-btn svg { width: 16px !important; height: 16px !important; color: #cbd5e1 !important; stroke-width: 2.5; }
.btn-close { width: 100%; padding: 10px; background: #334155; color: #fff; border: none; border-radius: 6px; cursor: pointer; margin-top: 10px; }

/* VIP 表格弹窗 */
.vip-table { width: 100%; border-collapse: collapse; font-size: 11px; margin: 15px 0; }
.vip-table th, .vip-table td { border-bottom: 1px solid #334155; padding: 10px 5px; text-align: center; }
.vip-table th { color: #00e0c6; }
.scrollable-content { max-height: 70vh; overflow-y: auto; }
.wp-section { margin-bottom: 20px; }
.wp-section h4 { color: #00e0c6; margin-bottom: 8px; border-left: 3px solid #00e0c6; padding-left: 8px; }
.wp-section p { font-size: 12px; color: #94a3b8; line-height: 1.6; }

/* 白皮书弹窗 */
.whitepaper-mask, .modal-mask { position: fixed; inset: 0; width: 100vw; height: 100vh; overflow: hidden; }
.whitepaper-modal, .whitepaper-container, .modal-whitepaper {
    box-sizing: border-box; width: 100%; max-width: 92vw; margin: 0 auto;
    left: 50%; transform: translateX(-50%); border-radius: 14px;
}
.whitepaper-content { max-height: 70vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 768px) {
    .whitepaper-modal, .whitepaper-container, .modal-whitepaper { max-width: 94vw; padding: 16px; }
}

/* ===== 14. 客服聊天 ===== */
.chat-window {
    width: 90%; max-width: 380px; height: 500px;
    background: #111827; border-radius: 12px;
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8); border: 1px solid #334155;
}
.chat-header {
    background: #1e293b; padding: 15px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #334155;
}
.chat-avatar img { width: 36px; height: 36px; border-radius: 50%; }
.chat-body { flex: 1; padding: 15px; overflow-y: auto; background: #0b0f19; }
.msg-row { display: flex; margin-bottom: 10px; }
.msg-row.left { justify-content: flex-start; }
.msg-row.right { justify-content: flex-end; }
.msg-bubble { max-width: 80%; padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.4; }
.left .msg-bubble { background: #1e293b; color: #fff; border-top-left-radius: 2px; }
.right .msg-bubble { background: #00e0c6; color: #000; border-top-right-radius: 2px; }
.chat-footer { padding: 15px; background: #1e293b; border-top: 1px solid #334155; }
.quick-questions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.quick-questions span {
    background: rgba(255,255,255,0.1); color: #cbd5e1;
    font-size: 11px; padding: 4px 8px; border-radius: 12px; cursor: pointer; transition: 0.2s;
}
.quick-questions span:hover { background: #00e0c6; color: #000; }
.input-area {
    background: #0b0f19; padding: 10px; border-radius: 20px;
    display: flex; justify-content: space-between; align-items: center; border: 1px solid #334155;
}

/* ===== 15. 幸运转盘 ===== */
.wheel-container {
    width: 260px; height: 260px; margin: 0 auto; position: relative;
    border: 8px solid #1e293b; border-radius: 50%;
    box-shadow: 0 0 30px rgba(0,0,0,0.6), inset 0 0 20px rgba(0,0,0,0.8);
    background: #0b0f19; overflow: hidden;
}
.wheel-container::before {
    content: ''; position: absolute; inset: -5px; border-radius: 50%;
    border: 2px dashed rgba(234,179,8,0.3);
    animation: spin 30s linear infinite; pointer-events: none;
}
.wheel-plate {
    width: 100%; height: 100%; border-radius: 50%; position: relative;
    transition: transform 4s cubic-bezier(0.15, 0, 0.15, 1);
    background: conic-gradient(from 0deg,
        #1e293b 0deg 60deg, #0f172a 60deg 120deg,
        #1e293b 120deg 180deg, #0f172a 180deg 240deg,
        #1e293b 240deg 300deg, #0f172a 300deg 360deg
    );
}
.wheel-plate::after {
    content: 'DEFI'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 55px; height: 55px;
    background: radial-gradient(circle, #334155 0%, #0f172a 100%);
    border: 3px solid #1e293b; border-radius: 50%;
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 900; color: #64748b; letter-spacing: 1px; z-index: 20;
}

/* 转盘扇形文字 */
.w-item {
    position: absolute; top: 0; left: 50%;
    width: 60px; height: 50%; margin-left: -30px;
    transform-origin: 50% 100%;
    display: flex; flex-direction: column; align-items: center;
    justify-content: flex-start !important;
    padding-top: 22px !important; z-index: 20 !important;
}
.w-item:nth-child(1) { transform: rotate(0deg); }
.w-item:nth-child(2) { transform: rotate(60deg); }
.w-item:nth-child(3) { transform: rotate(120deg); }
.w-item:nth-child(4) { transform: rotate(180deg); }
.w-item:nth-child(5) { transform: rotate(240deg); }
.w-item:nth-child(6) { transform: rotate(300deg); }

/* 下半圆文字翻转 */
.w-item:nth-child(3) .wi-main, .w-item:nth-child(3) .wi-sub,
.w-item:nth-child(4) .wi-main, .w-item:nth-child(4) .wi-sub,
.w-item:nth-child(5) .wi-main, .w-item:nth-child(5) .wi-sub {
    transform: rotate(180deg); padding-bottom: 5px;
}

.wi-main {
    font-family: 'DIN Alternate', 'Arial Black', sans-serif !important;
    font-size: 14px !important; font-weight: 900 !important;
    letter-spacing: 0.8px !important; text-transform: uppercase;
    margin-bottom: 3px !important; line-height: 1.1 !important;
    color: var(--slot-color, #fff) !important;
    text-shadow: 0 2px 1px rgba(0,0,0,0.9), 0 0 20px var(--slot-color, rgba(255,255,255,0.4)) !important;
}
.wi-sub {
    font-family: sans-serif !important; font-size: 9px !important; font-weight: 700 !important;
    color: var(--slot-color, #fff) !important; opacity: 0.9 !important;
    text-shadow: 0 1px 1px rgba(0,0,0,0.8) !important;
    background: none !important; border: none !important; padding: 0 !important;
}

/* 转盘颜色 */
.w-item:nth-child(1) { --slot-color: #e2e8f0; }
.w-item:nth-child(2) { --slot-color: #38bdf8; }
.w-item:nth-child(3) { --slot-color: #d8b4fe; }
.w-item:nth-child(4) { --slot-color: #facc15; }
.w-item:nth-child(4) .wi-main { font-size: 19px !important; text-shadow: 0 2px 2px #000, 0 0 30px var(--slot-color) !important; }
.w-item:nth-child(5) { --slot-color: #f9a8d4; }
.w-item:nth-child(6) { --slot-color: #4ade80; }

/* 指针 */
.wheel-pointer {
    position: absolute; top: -22px !important; left: 50%; transform: translateX(-50%);
    width: 24px; height: 35px; z-index: 100 !important;
    display: flex; justify-content: center;
    filter: drop-shadow(0 4px 5px rgba(0,0,0,0.5));
}
.wheel-pointer::before {
    content: ''; display: block; width: 0; height: 0;
    border-left: 12px solid transparent; border-right: 12px solid transparent;
    border-top: 25px solid #ef4444;
}
.wheel-pointer::after {
    content: ''; position: absolute; top: -6px;
    width: 10px; height: 10px; background: #fff;
    border: 3px solid #ef4444; border-radius: 50%; box-shadow: 0 0 10px #ef4444;
}

/* 跑马灯 */
.ff-window {
    height: 45px !important; overflow: hidden; position: relative;
    mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
    margin-bottom: 0 !important;
}
.fake-feed-container { margin-bottom: 0 !important; padding-bottom: 0 !important; }

/* 抽奖按钮 */
.spin-btn-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.spin-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 10px; border-radius: 8px; border: none; cursor: pointer; transition: 0.2s;
}
.spin-btn.free { background: #22c55e; color: #fff; box-shadow: 0 0 10px rgba(34,197,94,0.3); }
.spin-btn.paid { background: linear-gradient(135deg, #eab308, #ca8a04); color: #fff; }
.spin-btn:active { transform: scale(0.95); }
.spin-btn span { font-size: 13px; font-weight: bold; }
.spin-btn small { color: #fff !important; opacity: 1 !important; font-weight: 500; font-size: 10px; margin-top: 2px; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }

/* 转盘余额 */
.wheel-balance { background: rgba(255,255,255,0.05); padding: 10px; border-radius: 8px; margin: 15px 0; }
.wheel-text { font-size: 40px; font-weight: bold; color: #fff; }

/* 规则标签 */
.rule-tag {
    display: inline-block; padding: 3px 8px; border-radius: 4px;
    font-size: 11px; margin: 2px 2px 2px 0;
    border: 1px solid #334155; background: #0f172a; color: #94a3b8;
    font-family: 'DIN Alternate', sans-serif;
}
.rule-tag.highlight { color: #fff; border-color: #475569; background: #1e293b; }
.rule-tag.gold { color: #000; background: #facc15; border-color: #facc15; font-weight: bold; box-shadow: 0 0 5px rgba(250,204,21,0.4); }
.rule-item { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed #334155; }
.rule-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

/* ===== 16. 签到 & 卡券 ===== */
.node-box {
    position: absolute; top: 50%; transform: translate(-50%, -50%);
    width: 20px; height: 20px; background: #1e293b;
    border: 1px solid #475569; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; cursor: pointer; z-index: 2; transition: 0.2s;
}
.node-box:hover { transform: translate(-50%, -50%) scale(1.2); background: #eab308; border-color: #fff; }
.btn-sign { padding: 6px 12px; border-radius: 20px; font-size: 11px; font-weight: bold; border: none; cursor: pointer; }
.btn-sign.active { background: #00e0c6; color: #000; animation: pulse 2s infinite; }
.btn-sign.checked { background: #334155; color: #94a3b8; cursor: default; }
.voucher-ticket {
    display: flex; justify-content: space-between; align-items: center;
    background: #1e293b; margin-bottom: 10px; padding: 15px;
    border-radius: 8px; position: relative; overflow: hidden; border-left: 4px solid #334155;
}
.voucher-ticket.gold { border-left-color: #eab308; background: linear-gradient(90deg, rgba(234,179,8,0.1), transparent); }
.voucher-ticket.red { border-left-color: #ef4444; opacity: 0.6; }
.voucher-ticket.gray { border-left-color: #64748b; opacity: 0.5; }
.vt-val { font-size: 18px; font-weight: 900; color: #fff; }
.vt-type { font-size: 10px; color: #94a3b8; }
.vt-status { font-size: 11px; font-weight: bold; color: #eab308; text-align: right; }
.vt-cond { font-size: 9px; color: #64748b; }

/* 邀请 */
.invite-box { background: #000; padding: 15px; border-radius: 8px; margin: 15px 0; border: 1px dashed #334155; word-break: break-all; color: #00e0c6; font-size: 13px; font-family: monospace; }
.invite-stats { display: flex; gap: 10px; margin-bottom: 15px; }
.is-card { flex: 1; background: #1e293b; padding: 10px; border-radius: 6px; text-align: center; }
.is-val { color: #fff; font-weight: bold; font-size: 16px; }
.is-lbl { color: #94a3b8; font-size: 10px; }

/* ===== 17. 管理面板 ===== */
.panel-header-row {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px dashed #333; padding-bottom: 15px; margin-bottom: 15px;
}
.whitelist-control-area {
    display: flex; align-items: center; gap: 15px;
    background: #1e293b; padding: 10px 25px;
    border-radius: 8px; border: 1px solid #334155;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
#target-user-display { font-size: 16px; font-weight: bold; color: #00e0c6; font-family: monospace; letter-spacing: 1px; }
.switch-label-text { font-size: 15px; font-weight: bold; color: #f11010; }
.switch-box { position: relative; display: inline-block; width: 50px; height: 26px; }
.switch-box input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #475569; transition: .4s; border-radius: 30px;
}
.slider:before {
    position: absolute; content: ""; height: 20px; width: 20px;
    left: 3px; bottom: 3px; background-color: white;
    transition: .4s; border-radius: 50%;
}
input:checked + .slider { background-color: #00e0c6; }
input:checked + .slider:before { transform: translateX(24px); }
.user-hint { font-size: 12px; color: #94a3b8; }

/* ===== 18. 伙伴墙 ===== */
.partner-section { padding: 0 15px 20px; }
.partner-title {
    font-size: 12px; color: #64748b; margin-bottom: 15px;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; text-align: center;
}
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.p-card {
    background: #111827; border: 1px solid #1f2937; border-radius: 8px;
    padding: 15px 10px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 15px;
    cursor: pointer; transition: all 0.2s ease; position: relative;
    overflow: hidden; height: 60px;
}
.p-card:hover { border-color: #00e0c6; background: rgba(0,224,198,0.03); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.p-card:hover .p-card-name { color: #fff; }
.p-card-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.p-card-icon svg { width: 100%; height: 100%; }
.p-card-icon i { font-size: 24px; }
.p-card-name {
    font-size: 11px; font-weight: 600; color: #94a3b8; text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color 0.2s; width: 100%;
}

/* ===== 19. 禁用状态 (签到/抽奖通用) ===== */
.disabled {
    background: #3a3a3a !important; color: #808080 !important;
    cursor: not-allowed !important; pointer-events: none !important;
    box-shadow: none !important; border-color: #555 !important; opacity: 0.8;
}

/* ===== 20. 多语言适配 ===== */
html[data-lang="es"] .tool-item span,
html[data-lang="pt"] .tool-item span,
html[data-lang="fr"] .tool-item span,
html[data-lang="de"] .tool-item span { font-size: 10px !important; }

html[data-lang="es"] .m-left,
html[data-lang="pt"] .m-left,
html[data-lang="fr"] .m-left,
html[data-lang="de"] .m-left { font-size: 12px !important; }

html[data-lang="es"] .nav-item,
html[data-lang="pt"] .nav-item,
html[data-lang="fr"] .nav-item,
html[data-lang="de"] .nav-item { font-size: 9px !important; }

html[data-lang="es"] .act-title,
html[data-lang="pt"] .act-title,
html[data-lang="fr"] .act-title,
html[data-lang="de"] .act-title { font-size: 11px !important; }

html[data-lang="es"] .mining-section h3,
html[data-lang="pt"] .mining-section h3,
html[data-lang="fr"] .mining-section h3,
html[data-lang="de"] .mining-section h3 { font-size: 13px !important; }

.footer-links, .ft-links { font-size: 10px !important; }
.footer-links a, .ft-link {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 85px; display: inline-block; vertical-align: middle;
}

/* ===== 21. 动画关键帧 ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { transform: translateY(-3px); } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } }
@keyframes slideInLeft { from { transform: translateX(-10px); opacity: 0; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } }
@keyframes popIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes marquee-scroll { 0% { transform: translateX(0); } }
@keyframes boxPulse { 0% { box-shadow: 0 0 0 rgba(0,224,198,0); } }
@keyframes rocket-float { 0% { transform: translateY(0); } }
@keyframes dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes pulse-red { 0%, 100% { opacity: 1; } 50% { opacity: 0.8; } }
@keyframes spinBlur { 0% { background: #ec4899; } }

@keyframes breathing-inner {
    0% { border-color: rgba(234,179,8,0.3); background-color: #111827; box-shadow: inset 0 0 0 rgba(234,179,8,0); }
    50% { border-color: rgba(234,179,8,1); background-color: rgba(234,179,8,0.05); box-shadow: inset 0 0 30px rgba(234,179,8,0.4); }
    100% { border-color: rgba(234,179,8,0.3); background-color: #111827; box-shadow: inset 0 0 0 rgba(234,179,8,0); }
}

@keyframes ieo-notice-pulse-gold {
    0% { box-shadow: 0 0 5px rgba(245,158,11,0.2); }
    50% { box-shadow: 0 0 25px rgba(245,158,11,0.6); border-color: rgba(245,158,11,0.9); }
    100% { box-shadow: 0 0 5px rgba(245,158,11,0.2); }
}

@keyframes lightning-sweep { to { background-position: 200% center; } }