.bi-zh { color:#e5e7eb; }
.bi-en { color:#94a3b8; font-size: 0.9em; margin-top: 2px; }
/* 根据语言仅显示一行 */
body[data-lang="zh"] .bi-zh { display:block; }
body[data-lang="zh"] .bi-en { display:none; }
body[data-lang="en"] .bi-zh { display:none; }
body[data-lang="en"] .bi-en { display:block; }
.how-it-works .title .bi-en { font-size: 0.9em; }
.how-it-works .desc .bi-en { font-size: 0.9em; }
.tech-highlights .tech-title .bi-en { font-size: 0.9em; }
.tech-highlights .tech-desc .bi-en { font-size: 0.9em; }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(1200px 600px at 10% -10%, rgba(255,215,0,0.15), transparent 60%),
                radial-gradient(1000px 600px at 110% 10%, rgba(255,193,7,0.12), transparent 60%),
                linear-gradient(135deg, #000000 0%, #0a0a0a 60%, #1a1a1a 100%);
    min-height: 100vh;
    padding: 20px;
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    border: 1px solid rgba(255,215,0,0.3);
    backdrop-filter: saturate(130%) blur(6px);
    position: relative;
    z-index: 9999;
}

.header-right-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

header h1 {
    font-size: 2em;
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 50%, #FFEB3B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(255,215,0,0.3));
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.header-right {
    margin-left: auto;
    margin-right: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.network-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #000000;
    border: 1px solid rgba(255,215,0,0.5);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.lang-switch { display:flex; gap:6px; background: rgba(0,0,0,0.5); border:1px solid rgba(255,215,0,0.3); padding:4px; border-radius: 999px; }
.lang-btn { background: transparent; color:#ffffff; border:none; padding:8px 12px; border-radius: 999px; cursor:pointer; font-weight:700; font-size:13px; min-width: 50px; }
.lang-btn.active { background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%); box-shadow:0 6px 14px rgba(255,215,0,0.4); color: #000000; }

#walletAddress {
    font-size: 0.9em;
    color: #ffffff;
    background: rgba(255,215,0,0.15);
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,215,0,0.4);
    font-family: 'Courier New', monospace;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-primary, .btn-secondary, .btn-success, .btn-large {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 60%, #FFA000 100%);
    color: #000000;
    box-shadow: 0 10px 25px rgba(255,215,0,0.4);
    font-weight: 700;
}

.btn-secondary {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: #ffffff;
    border: 1px solid rgba(255,215,0,0.3);
}

.btn-success {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #000000;
    box-shadow: 0 10px 25px rgba(255,215,0,0.4);
    font-weight: 700;
}

.btn-large {
    font-size: 1.2em;
    padding: 18px 50px;
}

.btn-primary:hover, .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(2,6,23,0.45);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(2,6,23,0.45);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hidden {
    display: none !important;
}

.card {
    background: radial-gradient(600px 300px at 10% -30%, rgba(255,215,0,0.08), transparent 60%),
                linear-gradient(180deg, rgba(0,0,0,0.95), rgba(10,10,10,0.92));
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,215,0,0.25);
    position: relative;
    overflow: hidden;
    backdrop-filter: saturate(130%) blur(6px);
}

.welcome-card-layout.card {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
}

.welcome-card-layout.card::before,
.welcome-card-layout.card::after {
    display: none;
}

/* 高质感渐变描边与光晕 */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,215,0,0.6), rgba(255,193,7,0.5), rgba(255,235,59,0.55));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.card::after {
    content: "";
    position: absolute;
    inset: -30% -10% auto -10%;
    height: 120px;
    background: radial-gradient(200px 80px at 50% 50%, rgba(255,215,0,0.15), transparent 60%);
    filter: blur(10px);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 60px rgba(0,0,0,0.9);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card h2 {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.welcome-content h2 {
    text-align: left;
    margin-bottom: 0;
    align-self: flex-start;
}

.card-description {
    color: #ffffff;
    margin-bottom: 20px;
}

.welcome-screen .card {
    text-align: center;
}

.welcome-card-layout {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    min-height: 400px;
    overflow: hidden;
}

.welcome-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(1px);
    align-items: flex-start;
    text-align: left;
}

.welcome-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    opacity: 0.8;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(0px);
}

.description {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.8;
    text-align: left;
    align-self: flex-start;
}

.description [data-i18n="welcome_desc_line1"] {
    color: #FFD700;
    font-weight: 700;
    font-size: 1.1em;
}

.description [data-i18n="welcome_desc_line2"] {
    font-size: 0.95em;
}

.desc-divider {
    display: inline-block;
    width: 100px;
    height: 3px;
    background: #FFD700;
    border: none;
    margin: 8px 0;
    border-radius: 2px;
}

.hero-cta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}

.link-secondary {
    color: #111827;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 10px 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.link-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 0;
    align-self: stretch;
    text-align: center;
}

.stats-strip .stat {
    position: relative;
    background: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(10,10,10,0.85));
    border: 1px solid rgba(255,215,0,0.25);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    overflow: hidden;
}

.stats-strip .label { color: #FFD700; font-size: 12px; margin-bottom: 6px; text-align: center; }
.stats-strip .value { color: #ffffff; font-weight: 800; text-align: center; }

.stats-strip .stat::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,215,0,0.5), rgba(255,193,7,0.4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.stats-strip .stat:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(0,0,0,0.8); }

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    padding: 25px;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(10,10,10,0.9) 100%);
    border: 1px solid rgba(255,215,0,0.25);
    border-radius: 15px;
}

.feature h3 {
    color: #FFD700;
    margin-bottom: 10px;
}

.feature p {
    color: #ffffff;
}

.how-it-works {
    text-align: left;
    margin-top: 26px;
}

.how-it-works h3 {
    margin-bottom: 12px;
    color: #FFD700;
}

.steps { display: grid; grid-template-columns: 1fr; gap: 12px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; position: relative; background: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(10,10,10,0.85)); border: 1px solid rgba(255,215,0,0.25); border-radius: 12px; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.7); overflow: hidden; }
.step::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(255,215,0,0.5), rgba(255,193,7,0.4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.step .num { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%); color: #000; display: flex; align-items: center; justify-content: center; font-weight: 800; box-shadow: 0 8px 18px rgba(255,215,0,0.4); }
.step .title { font-weight: 700; color: #FFD700; }
.step .desc { color: #ffffff; font-size: 0.95em; margin-top: 4px; }
.step:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(0,0,0,0.8); }
/* RWA 亮点展示区域 - PPT风格 */
.rwa-highlights {
    margin-top: 12px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 
                0 0 0 1px rgba(255,215,0,0.3),
                inset 0 0 100px rgba(0,0,0,0.3);
    min-height: 500px;
    background: #000;
}

/* 背景图片层 */
.rwa-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.rwa-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) contrast(1.1) saturate(1.05);
    transform: scale(1.05);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.rwa-highlights:hover .rwa-bg-img {
    transform: scale(1.08);
    filter: brightness(0.75) contrast(1.15) saturate(1.1);
}

/* 渐变遮罩层 - 极轻遮罩，让图片更明显 */
.rwa-bg-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.15) 0%,
        rgba(0,0,0,0.05) 30%,
        rgba(0,0,0,0.1) 70%,
        rgba(0,0,0,0.2) 100%
    );
    z-index: 1;
}

/* 内容包装层 - 极轻遮罩，让图片透视出来 */
.rwa-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 50px 40px;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.15) 30%,
        rgba(0,0,0,0.2) 70%,
        rgba(0,0,0,0.3) 100%
    );
    backdrop-filter: blur(0.5px);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hebe 介绍区域 - 简洁卡片式设计 */
.hebe-intro {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hebe-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    text-align: left;
}

.hebe-logo-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.hebe-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(255,215,0,0.5));
    transition: transform 0.3s ease;
}

.hebe-logo:hover {
    transform: scale(1.05);
}

.hebe-title {
    font-size: 1.8em;
    font-weight: 900;
    color: #FFD700 !important;
    text-shadow: 0 4px 20px rgba(255,215,0,0.5),
                 0 2px 10px rgba(0,0,0,0.8);
    letter-spacing: 1px;
    line-height: 1.4;
}

.hebe-title span {
    color: #FFD700 !important;
}

.hebe-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    width: 100%;
}

.hebe-card {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.9) 100%);
    border: 2px solid rgba(255,215,0,0.4);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6),
                0 0 0 1px rgba(255,215,0,0.15) inset,
                0 4px 20px rgba(255,215,0,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(3px);
}

.hebe-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.1), transparent);
    transition: left 0.6s ease;
}

.hebe-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,215,0,0.6);
    box-shadow: 0 15px 50px rgba(0,0,0,0.7),
                0 0 0 1px rgba(255,215,0,0.25) inset,
                0 6px 25px rgba(255,215,0,0.3);
}

.hebe-card:hover::before {
    left: 100%;
}

.card-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255,215,0,0.3);
}

.card-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #FFD700 !important;
    text-shadow: 0 2px 8px rgba(255,215,0,0.4);
    letter-spacing: 0.5px;
    margin: 0;
}

.card-title span {
    color: #FFD700 !important;
}

.card-content {
    position: relative;
}

.card-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin: 0;
    letter-spacing: 0.3px;
}

/* RWA 流程图区域 */
.rwa-flow {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.flow-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.flow-logo-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.flow-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(255,215,0,0.5));
    transition: transform 0.3s ease;
}

.flow-logo:hover {
    transform: scale(1.05);
}

.flow-title {
    font-size: 1.8em;
    font-weight: 900;
    color: #FFD700 !important;
    text-align: left;
    margin-bottom: 0;
    text-shadow: 0 4px 20px rgba(255,215,0,0.5),
                 0 2px 10px rgba(0,0,0,0.8);
    letter-spacing: 1px;
    line-height: 1.4;
}

.flow-title span {
    color: #FFD700 !important;
}

.flow-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
    align-items: start;
}

.flow-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #FFD700 !important;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(255,215,0,0.4);
}

.section-title span {
    color: #FFD700 !important;
}

.flow-diagram {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
    flex: 1;
}

/* 第一行：1个卡片居中 - RWA生态扩张 */
.flow-item:nth-child(1) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
}

/* 第二行：2个卡片 - 更多优质生息资产、吸引大量用户与资金 */
.flow-item:nth-child(2),
.flow-item:nth-child(3) {
    grid-column: span 1;
}

/* 第三行：2个卡片 - 对Hebe代币需求激增、Hebe代币价值提升 */
.flow-item:nth-child(4),
.flow-item:nth-child(5) {
    grid-column: span 1;
}

/* 第四行：1个卡片居中 - 生态吸引力与融资能力增强 */
.flow-item:nth-child(6) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
}

.flow-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow-box {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.9) 100%);
    border: 2px solid rgba(255,215,0,0.4);
    border-radius: 12px;
    padding: 14px 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6),
                0 0 0 1px rgba(255,215,0,0.15) inset,
                0 3px 15px rgba(255,215,0,0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
    width: 100%;
    max-width: 100%;
}

.flow-box:hover {
    transform: translateY(-3px);
    border-color: rgba(255,215,0,0.6);
    box-shadow: 0 8px 25px rgba(0,0,0,0.7),
                0 0 0 1px rgba(255,215,0,0.25) inset,
                0 4px 20px rgba(255,215,0,0.3);
}

.flow-box span {
    font-size: 0.85em;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    line-height: 1.4;
    font-weight: 500;
}

.flow-arrow {
    font-size: 1.5em;
    color: #FFD700;
    text-shadow: 0 2px 10px rgba(255,215,0,0.6);
    line-height: 1;
    margin: 3px 0;
}

.flow-arrow-down {
    font-size: 1.2em;
    color: #FFD700;
    text-shadow: 0 2px 10px rgba(255,215,0,0.6);
    line-height: 1;
    margin: 3px 0;
}

/* 需求侧：代币应用场景 */
.use-cases {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 20px;
    flex: 1;
}

.use-case-item {
    width: 100%;
}

.use-case-box {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.9) 100%);
    border: 2px solid rgba(255,215,0,0.4);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6),
                0 0 0 1px rgba(255,215,0,0.15) inset,
                0 3px 15px rgba(255,215,0,0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.use-case-box:hover {
    transform: translateX(5px);
    border-color: rgba(255,215,0,0.6);
    box-shadow: 0 8px 25px rgba(0,0,0,0.7),
                0 0 0 1px rgba(255,215,0,0.25) inset,
                0 4px 20px rgba(255,215,0,0.3);
}

.use-case-title {
    font-size: 0.9em;
    font-weight: 700;
    color: #FFD700 !important;
    text-shadow: 0 2px 8px rgba(255,215,0,0.4);
    flex-shrink: 0;
    min-width: 70px;
}

.use-case-title span {
    color: #FFD700 !important;
}

.use-case-arrow {
    font-size: 1.3em;
    color: #FFD700;
    text-shadow: 0 2px 10px rgba(255,215,0,0.6);
    line-height: 1;
    flex-shrink: 0;
}

.use-case-desc {
    font-size: 0.85em;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 500;
    flex: 1;
}

.flow-summary {
    margin-top: auto;
    padding: 16px;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(20,20,20,0.85) 100%);
    border: 2px solid rgba(255,215,0,0.3);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5),
                0 0 0 1px rgba(255,215,0,0.1) inset;
}

.summary-text {
    font-size: 0.85em;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin: 0;
    letter-spacing: 0.3px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.8), rgba(10,10,10,0.6));
    border-radius: 14px;
    border: 1px solid rgba(255,215,0,0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    position: relative;
    gap: 12px;
}


.info-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFD700;
    margin-bottom: 0;
    font-size: 0.9em;
    flex-shrink: 0;
}

.info-item .value {
    font-size: 1.6em;
    font-weight: 800;
    color: #ffffff;
    text-align: right;
    flex-shrink: 0;
}

.info-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h2::before {
    content: "📊";
}

.info-item::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFD700;
    box-shadow: 0 0 0 4px rgba(255,215,0,0.3);
}

/* 针对地址类显示的优化 */
.info-item #referrerAddress {
    display: inline-block;
    font-family: 'Courier New', monospace;
    background: rgba(255,215,0,0.15);
    border: 1px dashed rgba(255,215,0,0.4);
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 8px;
}

/* 推荐人地址特殊样式 - 黑黄白主题 */
#referrerAddress {
    font-family: 'Courier New', monospace;
    font-size: 0.9em !important;
    background: rgba(255,215,0,0.15);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255,215,0,0.4);
    color: #ffffff;
    transition: all 0.3s ease;
}

/* 有推荐人时显示为可点击 */
#referrerAddress:not([style*="cursor: default"]) {
    cursor: pointer !important;
}

#referrerAddress:not([style*="cursor: default"]):hover {
    background: rgba(255,215,0,0.25) !important;
    border-color: rgba(255,215,0,0.6) !important;
    transform: scale(1.02);
}

/* 无推荐人时无悬停效果 - 使用class标记 */
#referrerAddress.no-referrer,
#referrerAddress[style*="cursor: default"] {
    cursor: default !important;
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
}

#referrerAddress.no-referrer:hover,
#referrerAddress[style*="cursor: default"]:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.2) !important;
    transform: none !important;
    cursor: default !important;
}

.status {
    background: linear-gradient(180deg, rgba(0,0,0,0.8), rgba(10,10,10,0.6));
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,215,0,0.25);
}

.status p {
    margin-bottom: 10px;
    color: #ffffff;
}

.referral-section {
    margin-top: 30px;
    padding: 24px;
    border-top: none;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(10,10,10,0.65));
    border: 1px solid rgba(255,215,0,0.25);
}

.referral-section h3 {
    color: #FFD700;
    margin-bottom: 15px;
}

.referral-input-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.referral-input-group input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #dbeafe;
    border-radius: 12px;
    font-size: 1em;
    font-family: 'Courier New', monospace;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(59,130,246,0.08);
    color: #111827;
}

.referral-input-group textarea#referralLinkInput {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid rgba(255,215,0,0.3);
    border-radius: 12px;
    font-size: 0.95em;
    font-family: 'Courier New', monospace;
    background: rgba(0,0,0,0.85);
    box-shadow: 0 2px 6px rgba(255,215,0,0.15);
    color: #ffffff;
    resize: none;
    line-height: 1.4;
    white-space: normal;
    word-break: break-all;
}

.referral-input-group input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 4px rgba(255,215,0,0.4);
}

.referral-section .btn-secondary {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #000000;
    border-radius: 12px;
    padding: 10px 14px;
    min-width: 80px;
    font-weight: 700;
}

.referral-section .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255,215,0,0.4);
}

.referral-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.referral-section h3::before {
    content: "🔗";
}

.reward-tiers {
    margin-bottom: 20px;
}

.tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
}

.tier-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 1.1em;
}

.tier-amount {
    font-weight: bold;
    color: #11998e;
}

.claimable-info {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 70%);
    color: #000000;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.claimable-info p {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
}

#claimableRewardAmount {
    font-size: 1.5em;
    color: #000000;
    font-weight: 800;
}

/* ===== USDT 任务进度样式 ===== */
.usdt-progress {
    margin-top: 10px;
}

.usdt-progress .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 14px;
}

.usdt-progress .item {
    background: linear-gradient(180deg, rgba(0,0,0,0.8), rgba(10,10,10,0.6));
    border-radius: 12px;
    padding: 16px 18px;
    border: 1px solid rgba(255,215,0,0.25);
}

.usdt-progress .item.highlight {
    background: linear-gradient(135deg, rgba(255,215,0,0.2) 0%, rgba(255,193,7,0.15) 100%);
    border-color: rgba(255,215,0,0.4);
}

.usdt-progress .label {
    color: #FFD700;
    font-size: 0.9em;
    margin-bottom: 6px;
}

.usdt-progress .value {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2em;
}

.reward-card .actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.reward-card .btn-success {
    min-width: 180px;
}

.referral-list {
    min-height: 100px;
}

.referral-list .empty {
    text-align: center;
    color: #ffffff;
    padding: 36px 20px;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(10,10,10,0.65) 100%);
    border: 1px dashed rgba(255,215,0,0.3);
    border-radius: 12px;
}

.referral-item {
    background: linear-gradient(180deg, rgba(0,0,0,0.8), rgba(10,10,10,0.6));
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,215,0,0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    position: relative;
    transition: all 0.25s ease;
}

.referral-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(0,0,0,0.8);
}

.referral-info {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-bottom: 6px;
}

.referral-address {
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    color: #ffffff;
    font-weight: 700;
    background: rgba(255,215,0,0.15);
    border: 1px dashed rgba(255,215,0,0.4);
    padding: 4px 8px;
    border-radius: 8px;
}

.referral-level {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #000000;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 700;
}

.referral-reward {
    color: #FFD700;
    font-weight: 700;
    font-size: 0.95em;
}

.referral-meta {
    display: flex;
    gap: 14px;
    color: #ffffff;
    font-size: 0.9em;
}

.referral-meta span::before {
    content: "•";
    margin-right: 8px;
    color: #FFD700;
}

.check-in-card button {
    width: 100%;
    margin-top: 20px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2,6,23,0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid #FFD700;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    color: white;
    margin-top: 20px;
    font-size: 1.2em;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: linear-gradient(180deg, rgba(0,0,0,0.95), rgba(10,10,10,0.92));
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255,215,0,0.3);
    color: #ffffff;
}

/* =============== 推荐详情（用户端）样式 =============== */
#refDetailModal .modal-content {
    max-width: 920px;
    width: 92vw;
    text-align: left;
}

#refDetailContent .ref-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 10px 0 16px;
}

#refDetailContent .ref-stat-card {
    background: linear-gradient(180deg, rgba(0,0,0,0.8), rgba(10,10,10,0.6));
    border: 1px solid rgba(255,215,0,0.25);
    border-radius: 10px;
    padding: 10px 12px;
}

#refDetailContent .ref-stat-card .label { font-size: 12px; color: #FFD700; }
#refDetailContent .ref-stat-card .value { font-size: 18px; font-weight: 700; color: #ffffff; }

#refDetailContent .ref-level-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
}

#refDetailContent .ref-badge {
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.4);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    color: #ffffff;
}

#refDetailContent .ref-table-wrap {
    margin-top: 14px;
    max-height: 380px;
    overflow: auto;
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 10px;
}

#refDetailContent table.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

#refDetailContent table.data-table thead th {
    position: sticky;
    top: 0;
    background: rgba(0,0,0,0.9);
    color: #FFD700;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,215,0,0.3);
    z-index: 1;
}

#refDetailContent table.data-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,215,0,0.15);
    color: #ffffff;
}

#refDetailContent table.data-table tbody tr:nth-child(odd) { background: rgba(10,10,10,0.6); }

@media (max-width: 480px) {
    #refDetailModal .modal-content { width: 96vw; padding: 18px; }
    #refDetailContent .ref-stat-card .value { font-size: 16px; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2em;
    color: #999;
    cursor: pointer;
}

.modal-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

.site-footer {
    margin-top: 24px;
    background: rgba(0,0,0,0.8);
    border: 1px solid rgba(255,215,0,0.25);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    backdrop-filter: saturate(130%) blur(6px);
}

.site-footer .footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
}

.site-footer .brand { font-weight: 800; color: #FFD700; }
.site-footer .links { display: flex; gap: 12px; }
.site-footer .links a { color: #ffffff; text-decoration: none; }
.site-footer .links a:hover { color: #FFD700; text-decoration: underline; }
.site-footer .copy { text-align: right; color: #ffffff; font-size: 12px; }

.dashboard {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    header {
        flex-direction: row;
        gap: 12px;
        justify-content: space-between;
        align-items: center;
    }
    .header-right { 
        order: 2; 
        width: auto;
        justify-content: flex-end;
    }
    .wallet-info, #connectBtn { 
        order: 3; 
        width: auto;
        justify-content: center;
    }
    .wallet-info {
        flex-wrap: nowrap;
        overflow: hidden;
    }
    .site-footer .footer-inner { grid-template-columns: 1fr; text-align: center; }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        display: block;
        font-size: 0; /* 移除inline-block元素之间的空白间隙 */
    }
    
    /* 移动端：探索天数和连续天数并排 */
    .info-item {
        display: block;
        width: 100%;
        margin-bottom: 20px;
        font-size: 1rem; /* 恢复字体大小 */
    }
    
    .info-item:nth-of-type(2),
    .info-item:nth-of-type(3) {
        display: inline-block !important;
        width: calc(50% - 10px) !important;
        vertical-align: top;
        margin-bottom: 20px;
        box-sizing: border-box;
        font-size: 1rem;
    }
    
    .info-item:nth-of-type(2) {
        margin-right: 20px !important;
        margin-left: 0 !important;
    }
    
    .info-item:nth-of-type(3) {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .welcome-card-layout {
        min-height: 350px;
    }
    
    .welcome-content {
        text-align: center;
        padding: 20px;
    }
    
    .welcome-banner {
        opacity: 0.4;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .rwa-highlights {
        min-height: 400px;
    }
    
    .rwa-content-wrapper {
        padding: 30px 20px;
        min-height: 400px;
    }
    
    .hebe-intro {
        padding: 30px 15px;
    }
    
    .hebe-header {
        flex-direction: row;
        gap: 15px;
    }
    
    .hebe-logo {
        height: 50px;
    }
    
    .hebe-title {
        font-size: 1.2em;
    }
    
    .hebe-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .hebe-card {
        padding: 25px;
    }
    
    .card-title {
        font-size: 1.1em;
    }
    
    .card-text {
        font-size: 0.9em;
    }
    
    .rwa-flow {
        padding: 30px 15px;
    }
    
    .flow-title-wrapper {
        flex-direction: row;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .flow-logo {
        height: 50px;
    }
    
    .flow-title {
        font-size: 1.2em;
        margin-bottom: 0;
    }
    
    .flow-sections {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 1.1em;
        margin-bottom: 25px;
    }
    
    .flow-diagram {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .flow-box {
        padding: 15px 20px;
        min-width: auto;
    }
    
    .flow-box span {
        font-size: 0.9em;
    }
    
    .flow-arrow,
    .flow-arrow-down {
        font-size: 1.3em;
    }
    
    .use-cases {
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .use-case-box {
        padding: 12px 18px;
    }
    
    .use-case-title {
        font-size: 0.95em;
        min-width: 70px;
    }
    
    .use-case-arrow {
        font-size: 1.3em;
    }
    
    .use-case-desc {
        font-size: 0.9em;
    }
    
    .flow-summary {
        padding: 18px;
        margin-top: 15px;
    }
    
    .summary-text {
        font-size: 0.9em;
    }
    
    .description {
        font-size: 1.1em;
    }
    
    .description [data-i18n="welcome_desc_line1"] {
        font-size: 1.05em;
    }
    
    .description [data-i18n="welcome_desc_line2"] {
        font-size: 0.9em;
    }
    
    .header-right {
        gap: 6px;
        margin-right: 8px;
    }
    
    .network-badge {
        padding: 5px 8px;
        font-size: 10px;
        white-space: nowrap;
    }
    
    .lang-switch {
        gap: 3px;
        padding: 3px;
    }
    
    .lang-btn {
        padding: 5px 8px;
        font-size: 10px;
        min-width: 38px;
    }
    
    .wallet-info {
        padding: 5px 8px;
        gap: 6px;
        flex-wrap: nowrap;
    }
    
    #walletAddress {
        font-size: 0.8em;
        padding: 5px 8px;
        max-width: 100px;
    }
    
    .wallet-info .btn-secondary {
        padding: 5px 10px;
        font-size: 0.8em;
        white-space: nowrap;
    }
}

/* 更小屏幕字体与间距优化 */
@media (max-width: 480px) {
    .welcome-card-layout {
        min-height: 300px;
    }
    
    .welcome-content {
        padding: 15px;
    }
    
    .welcome-banner {
        opacity: 0.35;
    }
    
    .rwa-highlights {
        min-height: 350px;
    }
    
    .rwa-content-wrapper {
        padding: 25px 15px;
        min-height: 350px;
    }
    
    .hebe-intro {
        padding: 25px 10px;
    }
    
    .hebe-header {
        flex-direction: row;
        gap: 12px;
    }
    
    .hebe-logo {
        height: 40px;
    }
    
    .hebe-title {
        font-size: 1.1em;
    }
    
    .hebe-cards {
        gap: 20px;
    }
    
    .hebe-card {
        padding: 20px;
    }
    
    .card-header {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .card-title {
        font-size: 1em;
    }
    
    .card-text {
        font-size: 0.85em;
        line-height: 1.6;
    }
    
    .rwa-flow {
        padding: 25px 10px;
    }
    
    .flow-title-wrapper {
        flex-direction: row;
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .flow-logo {
        height: 40px;
    }
    
    .flow-title {
        font-size: 1.1em;
        margin-bottom: 0;
    }
    
    .flow-sections {
        gap: 25px;
    }
    
    .section-title {
        font-size: 1em;
        margin-bottom: 20px;
    }
    
    .flow-diagram {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .flow-box {
        padding: 12px 18px;
        min-width: auto;
    }
    
    .flow-box span {
        font-size: 0.85em;
    }
    
    .flow-arrow,
    .flow-arrow-down {
        font-size: 1.2em;
    }
    
    .use-cases {
        gap: 14px;
        margin-bottom: 15px;
    }
    
    .use-case-box {
        padding: 10px 15px;
        gap: 12px;
    }
    
    .use-case-title {
        font-size: 0.9em;
        min-width: 60px;
    }
    
    .use-case-arrow {
        font-size: 1.2em;
    }
    
    .use-case-desc {
        font-size: 0.85em;
    }
    
    .flow-summary {
        padding: 15px;
        margin-top: 15px;
    }
    
    .summary-text {
        font-size: 0.85em;
        line-height: 1.6;
    }
    
    header h1 {
        font-size: 1.6em;
    }
    .header-logo {
        height: 32px;
    }
    .card h2 {
        font-size: 1.2em;
    }
    .info-item .value {
        font-size: 1.3em;
    }
    #walletAddress {
        font-size: 0.8em;
        max-width: 150px;
    }
    .btn-primary, .btn-secondary, .btn-success, .btn-large {
        padding: 10px 18px;
        font-size: 0.95em;
        border-radius: 20px;
    }
    .referral-input-group textarea#referralLinkInput {
        font-size: 0.9em;
        line-height: 1.3;
    }
    .usdt-progress .value {
        font-size: 1.05em;
    }
    .description {
        font-size: 1em;
    }
    .description [data-i18n="welcome_desc_line1"] {
        font-size: 1em;
    }
    .description [data-i18n="welcome_desc_line2"] {
        font-size: 0.85em;
    }
    .desc-divider {
        width: 80px;
        height: 2px;
    }
    .header-right {
        gap: 4px;
        margin-right: 6px;
    }
    
    .network-badge {
        padding: 4px 6px;
        font-size: 9px;
        white-space: nowrap;
    }
    
    .lang-switch {
        gap: 2px;
        padding: 2px;
    }
    
    .lang-btn {
        padding: 4px 6px;
        font-size: 9px;
        min-width: 32px;
    }
    
    .wallet-info {
        padding: 4px 6px;
        gap: 4px;
        flex-wrap: nowrap;
    }
    
    #walletAddress {
        font-size: 0.7em;
        padding: 4px 6px;
        max-width: 80px;
    }
    
    .wallet-info .btn-secondary {
        padding: 4px 8px;
        font-size: 0.7em;
        white-space: nowrap;
    }
}

/* 汉堡菜单样式 */
.hamburger-menu-container {
    position: relative;
    z-index: 10000;
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    z-index: 10001;
    position: relative;
}

.hamburger-btn:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-color: rgba(255,215,0,0.5);
    box-shadow: 0 4px 12px rgba(255,215,0,0.2);
}

.hamburger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* 菜单遮罩层 */
.hamburger-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99998;
}

.hamburger-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hamburger-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: radial-gradient(600px 300px at 10% -30%, rgba(255,215,0,0.08), transparent 60%),
                linear-gradient(180deg, rgba(0,0,0,0.98), rgba(10,10,10,0.95));
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9), 0 0 40px rgba(255,215,0,0.2);
    min-width: 280px;
    width: 90%;
    max-width: min(360px, calc(100vw - 40px));
    max-height: min(80vh, calc(100vh - 40px));
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 0;
    backdrop-filter: saturate(130%) blur(6px);
    z-index: 99999;
    overflow-y: auto;
    overflow-x: hidden;
}

.hamburger-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.hamburger-menu .menu-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: #e5e7eb;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
    position: relative;
    margin: 2px 0;
}

.hamburger-menu .menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #FFD700, #FFC107);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hamburger-menu .menu-item:hover {
    background: rgba(255,215,0,0.08);
    color: #FFD700;
    padding-left: 25px;
    transform: translateX(3px);
}

.hamburger-menu .menu-item:hover::before {
    opacity: 1;
}

.hamburger-menu .menu-item.active {
    background: rgba(255,215,0,0.12);
    border-left-color: #FFD700;
    color: #FFD700;
    padding-left: 23px;
}

.hamburger-menu .menu-item.active::before {
    opacity: 1;
}

.hamburger-menu .menu-item .bi-zh,
.hamburger-menu .menu-item .bi-en {
    display: block;
}

/* 菜单中的钱包信息 */
.menu-wallet-info {
    padding: 12px 20px;
    background: rgba(255,215,0,0.05);
    border-bottom: 1px solid rgba(255,215,0,0.2);
    margin-bottom: 0;
}

.menu-wallet-info.hidden {
    display: none;
}

.menu-wallet-address {
    margin-bottom: 10px;
}

.menu-wallet-address span {
    display: block;
    font-size: 0.8em;
    color: #FFD700;
    background: rgba(255,215,0,0.1);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,215,0,0.3);
    font-family: 'Courier New', monospace;
    word-break: break-all;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.menu-wallet-address span:hover {
    background: rgba(255,215,0,0.15);
    border-color: rgba(255,215,0,0.5);
}

.menu-disconnect-btn {
    width: 100%;
    padding: 6px 12px;
    font-size: 0.8em;
    margin-top: 0;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.menu-disconnect-btn:hover {
    background: rgba(255,215,0,0.1);
    border-color: rgba(255,215,0,0.5);
    transform: translateY(-1px);
}

/* 菜单中的网络和语言切换 */
.menu-header-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255,215,0,0.03);
    border-bottom: 1px solid rgba(255,215,0,0.2);
    margin-bottom: 0;
}

.menu-header-controls .network-badge {
    flex-shrink: 0;
    font-size: 11px;
    padding: 5px 10px;
    font-weight: 700;
}

.menu-header-controls .lang-switch {
    flex-shrink: 0;
    gap: 4px;
    padding: 3px;
}

.menu-header-controls .lang-switch .lang-btn {
    padding: 5px 10px;
    font-size: 11px;
    min-width: 42px;
    font-weight: 700;
}

/* 菜单分隔线 */
.menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
    margin: 12px 20px;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .hamburger-menu {
        min-width: 280px;
        max-width: 90%;
        width: 90%;
    }
    
    .hamburger-menu .menu-item {
        padding: 12px 18px;
        font-size: 0.9em;
    }
    
    .menu-header-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 18px;
    }
    
    .menu-header-controls .network-badge {
        width: 100%;
        text-align: center;
    }
    
    .menu-header-controls .lang-switch {
        width: 100%;
        justify-content: center;
    }
    
    .menu-wallet-info {
        padding: 14px 18px;
    }
    
    .menu-wallet-address {
        margin-bottom: 10px;
    }
    
    .menu-wallet-address span {
        font-size: 0.8em;
        padding: 8px 12px;
    }
    
    .menu-disconnect-btn {
        padding: 6px 12px;
        font-size: 0.75em;
    }
    
    .menu-header-controls .network-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .menu-header-controls .lang-switch .lang-btn {
        padding: 4px 8px;
        font-size: 10px;
        min-width: 38px;
    }
}