/* ---------------------------------------
   基础设置 & 变量
--------------------------------------- */
:root {
    --bg-color: #0a0514; /* 深紫黑背景 */
    --neon-pink: #ff00ff;
    --neon-blue: #00f2ff;
    --neon-purple: #bc13fe;
    --neon-orange: #ff9500;
    --neon-gold: #ffd700;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --card-bg: rgba(255, 255, 255, 0.05);
    
    /* 黑金风格变量 */
    --bg-dark: #110d0a;
    --panel-bg: rgba(30, 25, 20, 0.9);
    --gold-border: #a08040;
    --btn-yellow: #ffe600;
}

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image: url('/Application/Home/View/images/home/bg.png');
    background-size: cover; /* 覆盖整个屏幕 */
    background-position: center top; /* 从顶部居中开始 */
    background-repeat: no-repeat;
    background-attachment: fixed; /* 固定背景，滚动时不动 */
}

/* ---------------------------------------
   旧版样式 (index.html)
--------------------------------------- */

/* 背景网格特效 */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(68, 26, 122, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(68, 26, 122, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    pointer-events: none;
    transform: perspective(500px) rotateX(20deg) translateY(-50px) scale(1.5);
    opacity: 0.4;
}

.bg-glow {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 60%;
    background: radial-gradient(circle, rgba(119, 0, 255, 0.3) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

#app {
    padding: 20px 15px;
    max-width: 480px;
    margin: 0 auto;
}

/* ---------------------------------------
   Header
--------------------------------------- */
.main-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

/* 菜单按钮 */
.menu-toggle {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    color: var(--neon-pink);
    font-size: 20px;
    z-index: 100;
    transition: all 0.3s;
}

.menu-toggle:hover {
    background: rgba(255, 0, 255, 0.2);
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

/* 导航菜单 */
.main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(10, 5, 20, 0.98) 0%, rgba(30, 15, 40, 0.98) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
}

.main-nav.active {
    left: 0;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-menu {
    height: 100%;
    overflow-y: auto;
    padding: 20px 0;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.nav-user-info {
    flex: 1;
}

.wallet-address {
    font-size: 12px;
    color: var(--text-gray);
    word-break: break-all;
    
}

.wallet-status {
    font-size: 11px;
    color: var(--neon-green, #00ff00);
}

.nav-close {
    width: 30px;
    height: 30px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-close:hover {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
}

.nav-items {
    padding: 0 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 15px;
    margin-bottom: 5px;
    color: var(--text-white);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 18px;
    color: var(--neon-blue);
}

.nav-item:hover {
    background: rgba(255, 0, 255, 0.1);
    border-color: rgba(255, 0, 255, 0.3);
    transform: translateX(5px);
}

.nav-item:hover i {
    color: var(--neon-pink);
}

.main-header h1 {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    background: linear-gradient(to bottom, #fff, #a6c1ee);
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent; /* 兼容性写法 */
    /* Fallback color just in case */
    text-shadow: none; 
    color: #fff; 
}

/* Re-apply gradient text properly */
.main-header h1 {
    background: linear-gradient(180deg, #FFFFFF 0%, #B4C6FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 0px 8px rgba(0, 163, 255, 0.6));
}


.subtitle-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 12px;
    transform: skewX(-10deg);
}

.subtitle-box .text {
    transform: skewX(10deg); /* 文字摆正 */
    font-weight: bold;
}

/* ---------------------------------------
   Hero Visual (盲盒大图)
--------------------------------------- */
.hero-visual {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.main-gift {
    width: 200px;
    height: 180px;
    background: radial-gradient(circle, #ff5ca8 0%, #5b0038 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.main-gift i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 0 10px #ff00ff);
}

/* ---------------------------------------
   Box Selection (场次)
--------------------------------------- */
.box-rule-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 20px 15px;
    margin-bottom: 25px;
}

.box-selection {
    margin-bottom: 20px;
}

.box-grid {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 15px;
}

.top-row .game-card {
    width: 32%;
}

.bottom-row {
    justify-content: center;
    gap: 20px;
}

.bottom-row .game-card {
    width: 40%; /* 下面两个宽一点 */
}

.game-card {
    background: linear-gradient(180deg, rgba(255,0,255,0.1) 0%, rgba(0,0,0,0.8) 100%);
    border: 1px solid var(--neon-pink);
    border-radius: 12px;
    padding: 10px 5px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.2), inset 0 0 10px rgba(255, 0, 255, 0.1);
    position: relative;
}

.card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.box-icon {
    width: 40px;
    height: 40px;
    /* 用颜色块代替具体图片 */
    background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 20px;
    margin-bottom: 5px;
    border: 1px solid #fff;
}

.price-tag {
    background: linear-gradient(90deg, #ff00ff 0%, #ff9500 100%);
    color: #fff;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 6px;
    font-weight: bold;
    width: auto;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.dotted-line {
    width: 1px;
    height: 8px;
    margin: 2px auto;
    background-image: linear-gradient(to bottom, 
        transparent 0px,
        transparent 1px,
        #00f2ff 1px,
        #00f2ff 2px,
        transparent 2px,
        transparent 3px,
        #00f2ff 3px,
        #00f2ff 4px,
        transparent 4px,
        transparent 5px,
        #00f2ff 5px,
        #00f2ff 6px,
        transparent 6px
    );
    background-size: 1px 8px;
    background-repeat: repeat-y;
    position: relative;
}

.game-card .label {
    font-size: 10px;
    color: #fff;
    margin-top: 0;
    text-align: center;
}

/* 开团横幅 */
.group-banner {
    margin-bottom: 15px;
    background: linear-gradient(90deg, #0055ff, #00f2ff);
    border-radius: 20px;
    padding: 10px 20px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.rule-section {
    margin-top: 0;
    background-image: url('/Application/Home/View/images/home/image 255.png');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 10px;
    padding: 15px;
}

.rule-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    z-index: 0;
    pointer-events: none;
}

.rule-section > * {
    position: relative;
    z-index: 1;
}

.group-banner-text {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

/* ---------------------------------------
   通用 Section 样式
--------------------------------------- */
section {
    margin-bottom: 25px;
    position: relative;
}

/* 霓虹边框容器 */
[class*="neon-border"] {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 20px 15px;
    position: relative;
    border: 1px solid;
}

.neon-border-blue {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2), inset 0 0 15px rgba(0, 242, 255, 0.1);
}

.neon-border-pink {
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.2), inset 0 0 15px rgba(255, 0, 255, 0.1);
}

.neon-border-purple {
    border-color: var(--neon-purple);
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.2), inset 0 0 15px rgba(188, 19, 254, 0.1);
}

.neon-border-pink-thin {
    border: 1px solid var(--neon-pink);
    border-radius: 15px;
    padding: 15px;
}


/* 标题药丸样式 */
.section-title {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    z-index: 2;
}

.blue-pill {
    background: linear-gradient(90deg, #0055ff, #bc13fe);
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.5);
    color: #fff;
}

.purple-pill {
    background: linear-gradient(90deg, #6600ff, #bc13fe);
    box-shadow: 0 0 10px var(--neon-purple);
}


/* ---------------------------------------
   Tables (规则 & 团队)
--------------------------------------- */
.data-table, .rank-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 13px;
}

.data-table td {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table td:first-child {
    color: #aaa;
}

.data-table td:last-child {
    color: var(--neon-blue);
}

/* 团队表 */
.rank-table th {
    color: var(--neon-gold);
    font-weight: normal;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.rank-table td {
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rank-table tr:last-child td {
    border-bottom: none;
}

/* ---------------------------------------
   Recruit Section (招募)
--------------------------------------- */
.recruit-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recruit-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 5px;
    border: 1px solid var(--neon-orange);
    position: relative;
    overflow: hidden;
}

.recruit-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 149, 0, 0.1), transparent);
    z-index: 0;
}

.label-pill {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    z-index: 1;
}

.label-pill.orange {
    background: linear-gradient(90deg, #ff4e00, #ff9500);
}

.recruit-bar .text {
    flex: 1;
    text-align: center;
    font-size: 12px;
    z-index: 1;
}

.recruit-bar .percent {
    font-size: 16px;
    font-weight: bold;
    padding: 5px 15px;
    color: var(--neon-orange);
    z-index: 1;
    font-style: italic;
    background-image: url('/Application/Home/View/images/home/image 253.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-width: 60px;
    text-align: center;
}


/* ---------------------------------------
   Computing Section (算力)
--------------------------------------- */
.computing-flex {
    display: flex;
    align-items: center;
}

.icon-side {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 10px;
}

.coin-icon {
    font-size: 24px;
    color: var(--neon-gold);
}

.pink-tag {
    background: var(--neon-pink);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.small-text {
    font-size: 10px;
    color: #aaa;
}

.formula-side {
    flex: 1;
    padding-left: 15px;
    font-size: 12px;
}

.formula-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.fraction {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 0 5px;
    vertical-align: middle;
}

.fraction .line {
    width: 100%;
    height: 1px;
    background: #fff;
    margin: 2px 0;
}

.fraction .numerator, .fraction .denominator {
    font-size: 10px;
}

/* ---------------------------------------
   Bonus Section (分红)
--------------------------------------- */
.badges-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0 15px;
}

.badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid;
}

.badge.gold {
    border: none;
    color: #fff;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    background: var(--neon-gold);
}

.bonus-text {
    text-align: center;
    font-size: 14px;
}

.pink-text {
    color: var(--neon-pink);
    font-size: 18px;
    font-weight: bold;
    margin-left: 5px;
}

/* ---------------------------------------
   Footer Info
--------------------------------------- */
.info-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #ccc;
}

.info-item .triangle {
    color: var(--neon-pink);
    font-size: 10px;
    margin-top: 2px;
}

/* --- 图片适配样式 --- */

/* 主盲盒 */
.main-gift-img {
    width: 80%;
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
    /* 如果图片本身没有发光，加一点 */
    filter: drop-shadow(0 0 15px rgba(255, 0, 255, 0.4));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* 小盲盒图标 */
.box-icon-img {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.box-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* V1-V5 徽章 */
.badges-row {
    gap: 10px; /* 调整间距 */
}

.badge-img {
    width: 40px;
    height: 40px;
}

.badge-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 算力金币 */
.coin-icon img {
    display: block;
    margin: 0 auto;
}

/* 头部标题图片 */
.header-title-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto;
    /* 增加一点发光效果增强氛围 */
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.3));
}

/* 修正：头部图片高清适配 */
.header-title-img {
    /* 取消之前的固定宽度限制，改为百分比适配，但限制最大宽度以免过大 */
    width: 80%; 
    max-width: 320px; 
    /* 关键：image-rendering 属性尝试优化渲染 */
    image-rendering: -webkit-optimize-contrast;
}

/* --- Hero 区域层级调整 --- */
.gift-box-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 300px; /* 给容器一个高度 */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 背景网格图 (image 236) */
.hero-grid-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; /* 比容器大一点 */
    max-width: none;
    z-index: 0; /* 在后面 */
    opacity: 0.6; /* 稍微透明一点，不要抢戏 */
    pointer-events: none;
}

/* 前景大礼盒 */
.main-gift-img {
    position: relative;
    z-index: 1; /* 在前面 */
    width: 70%; /* 调整礼盒大小 */
    margin-top: 20px;
}

/* --- 星空背景图 (750x1875) --- */
/* body 样式已合并到上方定义中 */

/* 调整原有的网格背景，让它叠加在星空图上（可选，如果不需要可以删除） */
.bg-grid {
    /* 降低不透明度，让它作为装饰叠加在星空背景上 */
    opacity: 0.2;
}

.bg-glow {
    /* 降低光效的不透明度，避免抢戏 */
    opacity: 0.3;
}

/* ========================================
   黑金风格样式 (New Design)
======================================== */

/* 顶部导航 */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon .logo-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.logo-text {
    font-weight: bold;
    font-size: 16px;
    color: #d4a574; /* 浅棕色/米色 */
    margin-right: 6px;
}

.logo-tag {
    display: inline-block;
    font-size: 11px;
    color: #333;
    background-color: #e8d5b7; /* 浅米色背景 */
    padding: 2px 8px;
    border-radius: 8px 8px 8px 0; /* 只有左下角是直角，其他三个角圆角 */
    font-weight: normal;
    line-height: 1.4;
}

.user-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-address {
    background: linear-gradient(90deg, #FF8913, #B7FF05); /* 修正为设计图色值 */
    color: #000;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end; /* 右对齐 */
    gap: 4px;
    cursor: pointer;
    padding: 4px;
}

.menu-line {
    height: 2px;
    background-color: #E7AE7E;
    border-radius: 1px;
    transition: all 0.3s;
}

.menu-line.line-1 {
    width: 20px; /* 最长 - 上面 */
}

.menu-line.line-2 {
    width: 16px; /* 中等 - 中间 */
}

.menu-line.line-3 {
    width: 12px; /* 最短 - 下面 */
}

/* 通用面板样式 */
.panel-section {
    background: rgba(0, 0, 0, 0.8);
    border: 1.5px solid #EAAD51;
    border-radius: 15px;
    padding: 10px 10px;
    margin-bottom: 10px;
    position: relative;
}

/* ------------------ digital-ecology 特有样式 ------------------ */

/* 公告栏 */
.notice-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #fff;
}

.notice-bar i {
    margin-right: 8px;
    color: #aaa;
}

.notice-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    
}

.notice-bar .more {
    margin-left: 10px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}
.notice-bar .more:hover {
    color: #F4C7A1;
}

/* 主视觉 */
.hero-cube {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.cube-img {
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
    position: relative;
    z-index: 2;
}

/* 金币装饰 - 左右各一张，设置透明度和翻转 */
.coin {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35vw;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

.coin-left {
    left: 5%;
}

.coin-right {
    right: 5%;
    transform: translateY(-50%) scaleX(-1);
}

/* 盲盒列表特定样式 */
.blind-box-list {
    position: relative;
    border: 1.5px solid #EAAD51; /* 金色细边框 */
    background: rgba(20, 20, 20, 0.9);
    padding-top: 32px; /* 增加顶部内边距 */
    margin-top: 30px;
    overflow: visible; /* 允许标题溢出 */
}

.panel-header-img {
    position: absolute;
    top: -20px; /* 调整为 -20px 以便垂直居中于边框线 (高度约40px的一半) */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
    margin-bottom: 0;
}

.header-bg-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #F3D0AB, #C28139); /* 统一使用超级节点的金色渐变 */
    padding: 7px 68px; /* 减小内边距，使整体变小 */
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.header-text {
    font-family: "FZHanZhenGuangBiaoS-GB", "SimHei", "Microsoft YaHei", sans-serif;
    font-weight: bold;
    font-size: 26px; /* 减小字号 */
    color: #3e2c00;
    margin: 0;
    line-height: 100%;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bull-deco {
    width: 50px; /* 稍微减小牛头大小以匹配更小的标题 */
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.3));
}

.bull-deco.left {
    left: 10px;
}

.bull-deco.right {
    right: 10px;
    transform: translateY(-50%) scaleX(-1);
}

.list-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-item {
    background: #30281c;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border: 1px solid #51442C;
    background: #252319;
    padding: 4px;
    border-radius: 5px;
}

.item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-info {
    flex: 1;
    color: #F9D480;
    font-size: 14px;
    font-weight: bold;
}

/* 更新按钮颜色为亮黄色/酸橙色 */
.action-btn {
    background: linear-gradient(90deg, #FF8913, #B7FF05); /* 修正为设计图色值 */
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    min-width: 90px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 超级节点 & 资产确权 共同梯形标题 - 倒梯形 */
.trapezoid-header {
    background: linear-gradient(to right, #F2CFA9, #C3833B);
    color: #3d2e10;
    font-weight: 900;
    font-size: 16px;
    display: inline-block;
    padding: 4px 50px; /* 增加宽度 */
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 15% 100%); /* 倒梯形：上宽下窄 */
    position: absolute;
    top: 0; /* 紧贴顶部边框 */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* 阴影可能被clip-path裁剪，但先留着 */
}

/* 超级节点内容 */
.super-node .node-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
}

.chest-wrapper {
    width: 80px;
    position: relative;
}

.chest-img {
    width: 100%;
}

.node-price {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

/* 邀请好友 */
.invite-friend {
    padding-bottom: 25px; /* 给金牛留空间 */
}

/* 资产确权特定样式 */
.asset-rights {
    padding-top: 50px; /* 增加顶部间距，让内容离标题远一点 */
}

.invite-header {
    color: #fff; /* 默认白色 */
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.invite-header .highlight {
    color: #F9D480; /* 邀请好友四个字改为橙色 */
}

.invite-link-box {
    background: transparent; /* 去掉黑色背景 */
    color: #fff; /* 文字改为白色 */
    font-size: 14px; /* 放大链接文字 */
    margin-bottom: 15px;
    word-break: break-all;
    line-height: 1.4;
}

.copy-btn {
    background: linear-gradient(90deg, #FF8913, #B7FF05); /* 修正为设计图色值 */
    border: none;
    padding: 8px 40px; /* 增加内边距，使按钮更长 */
    border-radius: 8px;
    color: #000; /* 文字保持黑色 */
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 168px; /* 设置最小宽度 */
    justify-content: center;
}

.copy-btn i {
    display: none;
}

.copy-icon {
    width: 17px;
    height: 17px;
    object-fit: contain;
    vertical-align: middle;
    margin-left: 4px;
    cursor: pointer;
    display: inline-block;
}

.copy-btn .btn-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.8;
}

.bull-deco-large {
    position: absolute;
    bottom: 20px;
    right: -20px; /* 稍微往右一点，避免遮挡太多文字 */
    width: 160px; /* 放大图片 */
    z-index: 1;
}

/* 资产确权 (新样式) */
.asset-grid {
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

/* 第一行：三列 */
.top-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.asset-item {
    flex: 1;
    display: flex;
    flex-direction: column; 
}

.asset-item .label {
    font-size: 15px;
    color: #F9D480; /* 标签颜色 */
    text-align: center;
    background: #2b2218; /* 深褐色背景 */
    padding: 6px 0;
    border-radius: 7px 7px 0 0;
    font-weight: 700;
}

/* FZHanZhenGuangBiaoS-GB 字体定义 */
@font-face {
    font-family: 'FZHanZhenGuangBiaoS-GB';
    src: url('../fonts/FZHanZhenGuangBiaoS-GB.ttf') format('truetype'),
         url('../fonts/FZHanZhenGuangBiaoS-GB.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.value-box {
    text-align: center;
    padding: 8px 6px;
    font-weight: bold;
    color: #513E0C !important; /* 强制纯黑色 */
    font-family: "FZHanZhenGuangBiaoS-GB", "FZHanZhenGuangBiao", "SimHei", sans-serif;
    font-size: 18px;
    border-radius: 0 0 7px 7px;
}

.value-box.green {
    background: #1dd1a1; /* 纯青绿色 */
    color: #000;
}

/* 下面几行 */
.wide-row {
    background: #473404;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.row-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    width: 65%;
}

.row-left .label {
    font-size: 15px;
    color: #F9D480;
    font-weight: 700;
}

.row-left .address {
    font-size: 14px;
    color: #FFF1D1;
    display: flex;
    align-items: center;
    gap: 4px;
    width: 90%;
   span{
     display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
}

.row-right {
    width: 32%;
}

.value-box.orange {
    background: linear-gradient(90deg, #FF8913, #B7FF05); /* 修正为设计图色值 */
    border-radius:0 4px 4px 0; /* 完全圆角 */
    font-size: 18px;
    color: #463404;
    font-weight: bold;
}

/* ========================================
   我的资产页面样式 (My Assets)
======================================== */

/* 页面标题区域 */
.page-title-section {
    margin-bottom: 25px; 
}

.page-title { 
    font-weight: bold;
    color: #DDBC75;
    margin: 0;
    text-shadow: 0 0 10px rgba(208, 160, 64, 0.3);
}

/* 资产列表容器 */
.assets-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 资产卡片 */
.asset-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1.5px solid #EAAD51;
    border-radius: 15px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.card-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coin-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}

.coin-icon.green-icon {
    background: linear-gradient(135deg, #00bfa5, #00a085);
    box-shadow: 0 0 10px rgba(0, 191, 165, 0.4);
}

.coin-icon.gold-icon {
    background: linear-gradient(135deg, #ffd700, #d4af37);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.coin-name {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

.detail-link {
    color: #F9D480;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
}

.detail-link:hover {
    color: #ffd700;
}

.card-balance {
    font-size: 22px;
    color: #ffe6a0;
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    text-align: center;
}

.card-approx {
    font-size: 14px;
    color: #F6DD9A;
    margin-bottom: 10px;
    text-align: center;
}

/* 资产操作按钮 */
.asset-action-btn {
    width: 85%;
    max-width: 200px;
    padding: 10px 0;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #3d2e10;
    cursor: pointer;
    background: linear-gradient(90deg, #ff8c00, #adff2f); /* 橙到黄绿渐变 */
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.asset-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.asset-action-btn:active {
    transform: translateY(0);
}

/* 信息卡片（两列布局） */
.info-card {
    background: linear-gradient(180deg, rgba(40, 35, 30, 0.95) 0%, rgba(10, 10, 10, 1) 100%);
    border: 1.5px solid #EAAD51;
    border-radius: 15px;
    padding: 12px;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.info-label {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.info-value {
    font-size: 15px;
    font-weight: bold;
    color: #ffe6a0;
    text-align: center;
}

.border-left {
    border-left: 1px solid rgba(160, 128, 64, 0.3);
    padding-left: 15px;
}

.info-detail-btn {

    
    background: linear-gradient(170.4deg, #EAC195 5.89%, #CB8F4D 92.21%);
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    color: #3d2e10;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

.info-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(224, 192, 128, 0.3);
}

.info-detail-btn:active {
    transform: translateY(0);
}

/* 隐藏 header.html 中的旧导航 sc-nav，避免在底部显示 */
.sc-nav {
    display: none !important;
}
