/* 全局基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 页面最外层背景 */
body {
    background-color: #1e1f24;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

/* 手机端主容器 */
.phone-container {
    width: 100%;
    max-width: 420px;
    background-color: #1e1f24;
    min-height: 100vh;
    padding: 16px 14px 96px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}

/* 头部与文本控制 */
.header-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.date-text {
    text-align: center;
    font-size: 11px;
    color: #777777;
    margin-bottom: 16px;
}

.intro-text {
    font-size: 12px;
    line-height: 1.5;
    color: #e9cf8f;
    text-align: justify;
    margin-bottom: 18px;
    padding: 0 4px;
    opacity: 0.95;
}

/* 👑 C位核心大卡片 */
.c-position-card {
    border: 2px solid #e9cf8f;
    border-radius: 16px;
    background: linear-gradient(135deg, #171717 0%, #090909 100%);
    padding: 14px 12px;
    margin-bottom: 22px;
    box-shadow: 0 0 14px rgba(233, 207, 143, 0.15);
}

.card-body {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 80px;
}

/* ==================== 3D高精全息光幕底座：C位大图 ==================== */
.icon-base-main {
    position: relative;
    width: 76px;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* 最底层：3D立体金属大托盘 */
.icon-base-main::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 74px;
    height: 16px;
    background: linear-gradient(90deg, #332205 0%, #c68824 25%, #e9cf8f 50%, #c68824 75%, #332205 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(198, 136, 36, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.2);
    z-index: 1;
}

/* 中间层：黑金核心粒子发射轨 */
.icon-base-main::before {
    content: '';
    position: absolute;
    bottom: 8px;
    width: 58px;
    height: 10px;
    background: #000000;
    border: 1.5px solid #e9cf8f;
    border-radius: 50%;
    box-sizing: border-box;
    box-shadow: 0 0 12px #c68824, inset 0 0 6px #e9cf8f;
    z-index: 2;
}

/* 悬浮光环 */
.hover-ring-main {
    position: absolute;
    bottom: 11px;
    width: 72px;
    height: 12px;
    border: 1px solid rgba(233, 207, 143, 0.4);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 0 4px rgba(198, 136, 36, 0.2);
}

/* 3D全息能量包裹罩 */
.light-curtain-main {
    position: absolute;
    bottom: 13px;
    width: 52px;
    height: 48px;
    z-index: 4;
    pointer-events: none;
    mix-blend-mode: screen;
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
    background:
        linear-gradient(to right, rgba(233, 207, 143, 0.8) 0%, rgba(233, 207, 143, 0) 8%, rgba(233, 207, 143, 0) 92%, rgba(233, 207, 143, 0.8) 100%),
        linear-gradient(to top, rgba(255, 225, 140, 0.6) 0%, rgba(198, 136, 36, 0.25) 35%, rgba(0, 0, 0, 0) 90%);
    filter: blur(0.4px);
}

/* 图标占位框，向上提起悬浮 */
.image-placeholder-main {
    width: 44px;
    height: 44px;
    background-color: #110e0a;
    border: 1px dashed rgba(233, 207, 143, 0.4);
    border-radius: 11px;
    z-index: 3;
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.image-placeholder-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-title-gold {
    margin-top: 2px;
    font-size: 13px;
    font-weight: bold;
    color: #e9cf8f;
    text-align: center;
}

.card-right-desc {
    flex: 1;
}

.brand-text-gold {
    font-size: 18px;
    font-weight: bold;
    color: #e9cf8f;
    margin-bottom: 4px;
}

.instructions-text {
    font-size: 11px;
    color: #ffffff;
    line-height: 1.4;
    text-align: justify;
    opacity: 0.85;
}

.instructions-text span {
    color: #e9cf8f;
    font-weight: bold;
}

.btn-action-gold {
    display: block;
    width: 110px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(180deg, #e9cf8f 0%, #c68824 100%);
    color: #231805;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 0;
    border-radius: 15px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

/* 📱 下方九宫格网格布局 */
.wallet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 10px;
    padding-bottom: 15px;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==================== 3D高精全息光幕底座：九宫格小图 ==================== */
.icon-base-wrapper {
    position: relative;
    width: 72px;
    height: 66px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* 金属金环托底 */
.icon-base-wrapper::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 66px;
    height: 12px;
    background: linear-gradient(90deg, #332205 0%, #c68824 25%, #e9cf8f 50%, #c68824 75%, #332205 100%);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(198, 136, 36, 0.45);
    z-index: 1;
}

/* 轨道槽 */
.icon-base-wrapper::before {
    content: '';
    position: absolute;
    bottom: 7px;
    width: 52px;
    height: 8px;
    background: #000000;
    border: 1px solid #ebd297;
    border-radius: 50%;
    box-shadow: 0 0 10px #c68824, inset 0 0 4px #e9cf8f;
    z-index: 2;
}

/* 九宫格细悬浮圈 */
.hover-ring-grid {
    position: absolute;
    bottom: 9px;
    width: 64px;
    height: 10px;
    border: 0.8px solid rgba(233, 207, 143, 0.35);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

/* 九宫格粒子全息能量光幕 */
.light-curtain-grid {
    position: absolute;
    bottom: 11px;
    width: 46px;
    height: 42px;
    z-index: 4;
    pointer-events: none;
    mix-blend-mode: screen;
    clip-path: polygon(12% 0%, 88% 0%, 100% 100%, 0% 100%);
    background:
        linear-gradient(to right, rgba(233, 207, 143, 0.75) 0%, rgba(233, 207, 143, 0) 10%, rgba(233, 207, 143, 0) 90%, rgba(233, 207, 143, 0.75) 100%),
        linear-gradient(to top, rgba(255, 225, 140, 0.55) 0%, rgba(198, 136, 36, 0.2) 40%, rgba(0, 0, 0, 0) 95%);
    filter: blur(0.4px);
}

.image-placeholder-grid {
    width: 42px;
    height: 42px;
    background-color: #110e0a;
    border: 1px dashed rgba(233, 207, 143, 0.25);
    border-radius: 10px;
    z-index: 3;
    margin-bottom: 15px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.image-placeholder-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wallet-label-name {
    font-size: 11px;
    color: #e9cf8f;
    font-weight: bold;
    margin: 2px 0 5px 0;
    white-space: nowrap;
}

.btn-grid-download {
    background: linear-gradient(180deg, #ebd297 0%, #b2791e 100%);
    color: #291c04;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

/* ==================== 底部固定四按钮导航 ==================== */
.fixed-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 420px;
    height: 78px;
    background: #000000;
    border-top: 1px solid rgba(233, 207, 143, 0.45);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    z-index: 9999;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.75);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    border-right: 1px solid rgba(233, 207, 143, 0.28);
    -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item:last-child {
    border-right: none;
}

.bottom-nav-item img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.bottom-nav-item span {
    line-height: 1;
    white-space: nowrap;
}

.bottom-nav-item:active {
    background: rgba(233, 207, 143, 0.14);
}