@charset "UTF-8";

*{padding:0;margin:0;box-sizing:border-box;font-size:14px}
a{text-decoration:none;color:#333}
ul,ol{list-style:none}
.button{border:0;outline:none;-webkit-appearance:none}
input,textarea{outline:none;border:none}
body{width:100vw;min-height:100vh;overflow-x:hidden;color:#000000d9;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
    background:linear-gradient(180deg,#b93fef,#7b2cbf,#3c096c 40%,#000,#000);
    background-attachment:fixed;
}
body:before{content:"";position:fixed;top:-20%;right:-15%;width:350px;height:350px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.3) 0%,rgba(255,255,255,.1) 40%,transparent 70%);pointer-events:none;z-index:1}
body:after{content:"";position:fixed;top:10%;left:-10%;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.25) 0%,rgba(255,255,255,.08) 40%,transparent 70%);pointer-events:none;z-index:1}

.body-container { position:relative; z-index:10; padding-bottom: 76px; }
.title{display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-size:21px;padding-top:10px}
.title-icon{width:28px;height:28px;flex-shrink:0}
.language-btn-container{position:absolute;top:8px;right:15px;z-index:100}
.chain-info-container{position:absolute;top:8px;left:15px;z-index:100;height:30px;display:flex;align-items:center}
.chain-info-display{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#232639e6;border:1px solid #3a3f58;border-radius:20px;color:#fff;font-size:13px}
.chain-icon{width:20px;height:20px;border-radius:50%}
.chain-name{font-weight:500}

.current-lang{display:flex;align-items:center;gap:5px;padding:6px 12px;background:#232639e6;border:1px solid #3a3f58;border-radius:20px;cursor:pointer;color:#fff;font-size:12px;transition:all .3s ease}
.flag{font-size:16px}
.lang-code{font-weight:500}
.arrow{font-size:8px;transition:transform .3s ease}

.bom{margin-top:5px;width:100%;height:390px;background-repeat:no-repeat;background-size:contain;background-position:center;background-image:url(assets/1-BWWEe40I.png);color:#fff;overflow:hidden}
.bom .btn{margin:0 auto;background-image:url(assets/btn-BtfEwQVn.png);background-repeat:no-repeat;background-size:contain;background-position:center;text-align:center;padding-top:26px;width:80%;height:55px;line-height:5px; cursor:pointer;}
.maskable{font-size:13px;color:#fff;max-width:48%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.tao{display:flex;justify-content:space-between;padding:0 25px}
.tao .item{width:47%;color:#fff;height:120px;background:linear-gradient(to bottom,#232639,#090c17);border-radius:6px}

.rate-table-container{width:100%;overflow-x:auto;border-radius:7px;background-color:#191d2f;box-shadow:0 2px 8px #0000004d}
.rate-table{width:100%;border-collapse:collapse;text-align:center}
.rate-table th{padding:14px 10px;font-size:14px;color:#fff;background-color:#232639;border-bottom:1px solid #3a3f58}
.rate-table td{padding:16px 10px;font-size:13px;color:#bacce1;border-bottom:1px solid #2a2f48}
.rate-table tbody tr:hover{background-color:#232639;transition:background-color .3s ease}

.appTab{position:fixed;bottom:12px;left:12px;right:12px;height:56px;background:rgba(26,27,36,0.95);backdrop-filter:blur(12px);display:flex;justify-content:space-around;align-items:center;z-index:999;border-radius:28px;box-shadow:0 4px 20px rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.08)}
.appTab .li{flex:1;display:flex;justify-content:center;cursor:pointer}
.appTab .link{display:flex;flex-direction:column;align-items:center}
.appTab .link span{font-size:11px;color:#7d7e80;margin-top:4px}
.appTab .li.active .link span{color:#fff}

.faq-item{height:auto;padding:15px;background-color:rgb(25, 29, 47);border-radius:7px;margin-bottom:10px;cursor:pointer;position:relative;color:#fff}
.faq-arrow{position:absolute;right:20px;transition:transform .3s}
.faq-content{margin-top:10px;font-size:13px;color:#bacce1;display:none;}
.faq-item.open .faq-arrow{transform:rotate(180deg)}
.faq-item.open .faq-content{display:block;}

.view-section { display: none; }
.view-section.active { display: block; }

/* ========== Tab SVG 图标颜色切换 ========== */
.appTab .li svg { transition: all .3s ease; }
.appTab .li.active svg { stroke: #fff !important; }
.appTab .li:not(.active) svg { stroke: #7d7e80; }

/* ========== 通用卡片样式 ========== */
.team-level-card, .team-stats-grid, .team-referral-card,
.team-members-section,
.wallet-info-card, .wallet-balance-card,
.wallet-records-section {
    background: #191d2f;
    border-radius: 12px;
    padding: 18px;
    margin: 14px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* ========== 团队页面 ========== */
.team-level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.team-level-label {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}
.team-level-badge {
    background: linear-gradient(135deg, #9945FF, #14F195);
    color: #fff;
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
}
.team-progress-bar {
    width: 100%;
    height: 6px;
    background: #2a2f48;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}
.team-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9945FF, #14F195);
    border-radius: 3px;
    transition: width .5s ease;
}
.team-level-hint {
    color: #7d7e80;
    font-size: 12px;
    text-align: right;
}

.team-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px;
}
.team-stat-card {
    background: #232639;
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
}
.team-stat-value {
    color: #14F195;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.team-stat-label {
    color: #7d7e80;
    font-size: 12px;
}

.team-referral-label {
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}
.team-referral-link-row {
    display: flex;
    gap: 8px;
}
.team-referral-input {
    flex: 1;
    background: #232639;
    border: 1px solid #3a3f58;
    border-radius: 8px;
    padding: 10px 12px;
    color: #bacce1;
    font-size: 12px;
}
.team-copy-btn {
    background: linear-gradient(135deg, #9945FF, #7b2cbf);
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.team-section-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}
.team-empty-state, .wallet-empty-state {
    text-align: center;
    padding: 30px 0 20px;
}
.team-empty-icon, .wallet-empty-icon {
    font-size: 36px;
    margin-bottom: 10px;
}
.team-empty-text, .wallet-empty-text {
    color: #bacce1;
    font-size: 14px;
    margin-bottom: 6px;
}
.team-empty-hint, .wallet-empty-hint {
    color: #7d7e80;
    font-size: 12px;
}

.team-member-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #2a2f48;
}
.team-member-item:last-child { border-bottom: none; }
.team-member-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.team-member-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9945FF, #14F195);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.team-member-name {
    color: #fff;
    font-size: 13px;
}
.team-member-time {
    color: #7d7e80;
    font-size: 11px;
}
.team-member-status {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
}
.team-member-status.active {
    background: rgba(20, 241, 149, 0.15);
    color: #14F195;
}
.team-member-status.pending {
    background: rgba(125, 126, 128, 0.2);
    color: #7d7e80;
}

/* ========== 钱包页面 ========== */
.wallet-info-card {
    padding: 16px 18px;
}
.wallet-header-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.wallet-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9945FF, #14F195);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wallet-address-block {
    flex: 1;
    min-width: 0;
}
.wallet-address-label {
    color: #bacce1;
    font-size: 12px;
    margin-bottom: 4px;
}
.wallet-address-value {
    color: #fff;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wallet-superior {
    color: #7d7e80;
    font-size: 11px;
    margin-top: 4px;
}

.wallet-balance-card {
    padding: 16px 18px;
}
.wallet-balance-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
}
.wallet-balance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.wallet-asset-item {
    background: #232639;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.wallet-asset-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sol-icon { background: rgba(153, 69, 255, 0.2); }
.usdc-icon { background: rgba(39, 117, 202, 0.2); }
.wallet-asset-name {
    color: #bacce1;
    font-size: 12px;
    margin-bottom: 4px;
}
.wallet-asset-balance {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.wallet-records-section {
    padding: 16px 18px;
}
.wallet-section-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.wallet-record-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #2a2f48;
}
.wallet-record-item:last-child { border-bottom: none; }
.wallet-record-left {
    display: flex;
    flex-direction: column;
}
.wallet-record-type {
    color: #fff;
    font-size: 13px;
    margin-bottom: 3px;
}
.wallet-record-time {
    color: #7d7e80;
    font-size: 11px;
}
.wallet-record-amount {
    font-weight: 700;
    font-size: 14px;
}
.wallet-record-amount.positive { color: #14F195; }
.wallet-record-amount.negative { color: #d93025; }
