* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    padding-bottom: 70px;
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    font-family: Arial, "Microsoft YaHei", sans-serif;
}





/* =========================
   顶部导航
   ========================= */
.top-bar {
    width: 100%;
    height: 55px;
    padding: 0 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    background: rgba(238, 238, 238, 0.08);
}

/* LOGO */
.top-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

/* 网站名字 */
.top-name {
    margin-left: 6px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    white-space: nowrap;
}

/* 钱包地址 */
.top-address {
    flex: 1;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 10px;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

/* 钱包状态 */
.top-right {
    font-size: 11px;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
}








/* =========================
   底部导航栏
   ========================= */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;

    display: flex;
    background: rgba(238, 238, 238, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-size: 12px;
    text-decoration: none;
    color: #ffffff;
}

.bottom-nav-icon {
    font-size: 25px;
    line-height: 25px;
    margin-bottom: 3px;
}





/* 首页图片 */
.home-image-box {
    width: 75%;
    margin: 15px auto;
}

.home-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
 animation: baoxianxiangzi 4s ease-in-out infinite;
}
/* 保险箱动态 */
@keyframes baoxianxiangzi {

    0% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.03) rotate(-2deg);
    }

    50% {
        transform: scale(1.06) rotate(0deg);
    }

    75% {
        transform: scale(1.03) rotate(2deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}





/* =========================
   页面背景
   ========================= */

.star-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: #06152f;
    overflow: hidden;

    z-index: -1;
}

.star {
    position: absolute;

    width: 3px;
    height: 3px;

    background: #ffffff;
    border-radius: 50%;

    animation: starMove 5s infinite ease-in-out;
}

.star1 {
    left: 10%;
    top: 20%;
}

.star2 {
    left: 25%;
    top: 40%;
    animation-delay: 1s;
}

.star3 {
    left: 40%;
    top: 15%;
    animation-delay: 2s;
}

.star4 {
    left: 55%;
    top: 55%;
    animation-delay: 3s;
}

.star5 {
    left: 70%;
    top: 25%;
    animation-delay: 1.5s;
}

.star6 {
    left: 85%;
    top: 45%;
    animation-delay: 2.5s;
}

.star7 {
    left: 15%;
    top: 70%;
    animation-delay: 3.5s;
}

.star8 {
    left: 35%;
    top: 80%;
    animation-delay: 4s;
}

.star9 {
    left: 65%;
    top: 75%;
    animation-delay: 2s;
}

.star10 {
    left: 90%;
    top: 80%;
    animation-delay: 4.5s;
}

@keyframes starMove {

    0% {
        transform: translate(0, 0);
        opacity: 0.2;
    }

    50% {
        transform: translate(20px, -15px);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0);
        opacity: 0.2;
    }
}









/* 首页功能按钮 */
.home-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 90%;
    max-width: 500px;
    margin: 30px auto;
}

/* 功能按钮 */
.home-button {
    height: 80px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(255, 255, 255, 0.08);

    /* 黄色框 */
    border: 1px solid #FFD700;
    border-radius: 8px;

    color: #ffffff;
    font-size: 16px;

    box-sizing: border-box;
}









/* 邀请链接 */
.yaoqing-box {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 90%;
    max-width: 500px;
    margin: 20px auto;
}

/* 邀请链接显示框 */
.yaoqing-link {
    flex: 1;
    height: 45px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid #FFD700;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
}

/* 复制按钮 */
.yaoqing-copy {
    height: 45px;
    padding: 0 15px;
    border: 1px solid #FFD700;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 14px;
    white-space: nowrap;
}









/* =========================
   推荐人地址
   ========================= */
.tuijian-box {
    width: 90%;
    max-width: 500px;
    margin: 20px auto 135px auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tuijian-box input {
    flex: 1;
    height: 42px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #FFD700;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 14px;
    outline: none;
}

.tuijian-box input::placeholder {
    color: #FFFFFF;
    opacity: 0.7;
}

.tuijian-box button {
    height: 42px;
    padding: 0 18px;
    border: 1px solid #FFD700;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 14px;
    cursor: pointer;
}











/* 功能图片区域 */
.tuijian-image-box {
    width: 100%;
    margin-top: 15px;
    padding: 0 10px;
    box-sizing: border-box;
}

/* 每一排 */
.tuijian-image-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 18px;
}

/* 第一排4张 */
.row-4 .tuijian-image-item {
    width: 23%;
}

/* 第二排3张 */
.row-3 {
    justify-content: space-around;
}

.row-3 .tuijian-image-item {
    width: 30%;
}

/* 单个图片+文字 */
.tuijian-image-item {
    text-align: center;
    box-sizing: border-box;
}

/* 图片 */
.tuijian-image-item img {
    display: block;
    width: 100%;
    height: 60px;
    object-fit: contain;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* 图片下面文字 */
.tuijian-image-item div {
    margin-top: 0px;
    font-size: 10px;
    color: #ffffff;
    line-height: 20px;
    text-align: center;
}








 /* =========================
    保险记录选择
    ========================= */
.jilu-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 15px;
}

.jilu-button {
    width: 140px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid #FFD700;
    border-radius: 8px;
    text-decoration: none;
    color: #FFFFFF;
}

.jilu-icon {
    font-size: 25px;
    margin-bottom: 5px;
}

.jilu-button div {
    font-size: 15px;
    font-weight: bold;
    color: #FFFFFF;
}

.jilu-button small {
    margin-top: 3px;
    font-size: 11px;
    color: #FFFFFF;
    opacity: 0.7;
}









/* =========================
   有效保险跟 历史保险记录
   ========================= */
#baoxianJiluList {
    width: calc(100% - 30px);
    margin: 20px auto 80px auto;
}

.baoxian-jilu-item {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid #FFD700;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.jilu-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-size: 14px;
}

.jilu-row span {
    color: #FFFFFF;
    opacity: 0.7;
}

.jilu-row strong {
    color: #FFFFFF;
}

.jilu-empty {
    text-align: center;
    padding: 40px 10px;
    color: #FFFFFF;
    opacity: 0.7;
}










/* =========================
   账户佣金
   ========================= */
.yongjin-box {
    margin: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    border: 1px solid #FFD700;
    box-sizing: border-box;
}

/* 标题 */
.yongjin-title {
    font-size: 16px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 12px;
}

/* 每一行 */
.yongjin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

/* 金额 */
.yongjin-amount {
    font-size: 15px;
    font-weight: bold;
    color: #FFFFFF;
}

/* 提现按钮 */
.tixian-button {
    width: 65px;
    height: 32px;
    border: 1px solid #FFD700;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: bold;
}







/* =========================
   团队数据
   ========================= */
.team-box {
    width: calc(100% - 30px);
    margin: 15px auto 0;
    display: flex;
    gap: 15px;
}

.team-item {
    flex: 1;
    padding: 15px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid #FFD700;
    text-align: center;
    box-sizing: border-box;
}

.team-title {
    font-size: 14px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.team-number {
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
}






/* =========================
   会员等级
   ========================= */
.dengji-box {
    width: calc(100% - 30px);
    margin: 15px auto 0;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid #FFD700;
}

.dengji-title {
    font-size: 14px;
    color: #FFFFFF;
}

.dengji-value {
    font-size: 18px;
    font-weight: bold;
    color: #FFFFFF;
}







/* =========================
   我的上级
   ========================= */
.shangji-box {
    width: calc(100% - 30px);
    margin: 15px auto 0;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid #FFD700;
}

.shangji-title {
    font-size: 14px;
    color: #FFFFFF;
    white-space: nowrap;
}

.shangji-address {
    margin-left: auto;
    max-width: 75%;
    font-size: 10px;
    color: #FFFFFF;
    text-align: right;
    word-break: break-all;
}





/* =========================
   提现记录
   ========================= */
.tixian-box {
    width: calc(100% - 30px);
    margin: 15px auto 0;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid #FFD700;
}

.tixian-title {
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 12px;
}

#tixianJiluList {
    width: 100%;
}

.tixian-jilu-item {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.35);
}

.tixian-jilu-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
    font-size: 12px;
}

.tixian-jilu-row span {
    color: #FFFFFF;
    opacity: 0.7;
}

.tixian-jilu-row strong {
    color: #FFFFFF;
    font-weight: normal;
}

.tixian-empty {
    padding: 15px 0 5px;
    text-align: center;
    font-size: 12px;
    color: #FFFFFF;
    opacity: 0.7;
}













/* =========================
   修改会员等级
   ========================= */

.dengji-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    padding: 10px;
}

.dengji-address {
    flex: 1;
    min-width: 0;
    height: 42px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid #555;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 10px;
    outline: none;
}

.dengji-address::placeholder {
    color: #999;
}

.dengji-input {
    width: 65px;
    height: 42px;
    box-sizing: border-box;
    padding: 0 8px;
    border: 1px solid #555;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 15px;
    text-align: center;
    outline: none;
}

.dengji-input::placeholder {
    color: #999;
}

.dengji-button {
    width: 70px;
    height: 42px;
    border: none;
    border-radius: 8px;
    background: #ffffff;
    color: #000000;
    font-size: 15px;
    cursor: pointer;
}

.dengji-button:active {
    transform: scale(0.96);
}

.dengji-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dengji-message {
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px 10px 10px;
    font-size: 13px;
    color: #ffffff;
    word-break: break-all;
}





