* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    width: 100%;
    min-height: 100vh;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
        sans-serif;
    background: linear-gradient(180deg, #c41230 0%, #a00d25 50%, #8b0a1e 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 背景装饰效果 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(255, 200, 0, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 180, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
    z-index: 1;
    padding-bottom: 40px;
}

.content {
    max-width: 800px;
    height: auto;
    margin: 0 auto;
    background: url("../images/content_bg.png") no-repeat center center;
    background-size: cover;
}

/* Banner区域 */
.banner {
    width: 100%;
    position: relative;
}

.banner img {
    width: 100%;
    display: block;
}

.banner .banner-mobile {
    display: none;
}

.banner .banner-web {
    display: block;
}

/* 活动标题 */
.activity-title {
    width: 90%;
    max-width: 600px;
    margin: -30px auto 20px;
    position: relative;
    z-index: 10;
}

.activity-title img {
    width: 100%;
    display: block;
}

.activity-title span {
    display: block;
    font-size: 22px;
    color: #fff;
    text-align: center;
    margin-top: 20px;
}

.activity-title .cj-btn,
.activity-title .cj-btn-dark {
    width: 60%;
    max-width: 350px;
    margin: 20px auto 0;
    cursor: pointer;
    /* 解决移动端点击出现浅色背背景/高亮的问题 */
    -webkit-tap-highlight-color: transparent;
    /* 禁止长按图片弹出系统菜单 */
    -webkit-touch-callout: none;
    /* 禁止被用户选中 */
    user-select: none;
    transition: transform 0.1s ease;
}

.activity-title .cj-btn:active {
    transform: scale(0.92);
}

/* 金币粒子样式 */
.gold-particle {
    position: absolute;
    pointer-events: none;
    z-index: 10001;
    width: 30px;
    height: 30px;
    background: url("../images/gold.png") no-repeat center center;
    background-size: contain;
    animation: goldBurst 0.8s ease-out forwards;
}

@keyframes goldBurst {
    0% {
        transform: translate(-50%, -50%) scale(0.4);
        opacity: 1;
    }

    100% {
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.1) rotate(var(--rot));
        opacity: 0;
    }
}

/* 滚动消息提示 */
.message-bar {
    width: 88%;
    max-width: 580px;
    height: 44px;
    margin: 0 auto 25px;
    background: url("../images/message_bg.png") no-repeat center center;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.message-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-right: 12px;
}

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

.message-content {
    flex: 1;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
}

.message-scroll {
    display: inline-flex;
    white-space: nowrap;
    animation: scrollMessage linear infinite;
    will-change: transform;
}

.message-scroll span {
    display: inline-block;
    padding-right: 30px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes scrollMessage {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* 主内容卡片 */
.main-card {
    width: 92%;
    max-width: 620px;
    margin: 0 auto 20px;
    position: relative;
}

.card-bg {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-bg img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* 攻略区块 */
.strategy-card {
    margin-bottom: 30px;
}

/* 邀请好友按钮 */
.invite-btn {
    width: 85%;
    max-width: 380px;
    height: 60px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-49%);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    text-align: center;
}

.invite-btn img {
    width: 42%;
    height: 100%;
    object-fit: contain;
}

.invite-btn span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    letter-spacing: 2px;
}

/* 右侧固定按钮 */
.side-btns {
    position: fixed;
    right: 3px;
    top: 40%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-btn {
    width: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

.side-btn:hover {
    transform: scale(1.1);
    opacity: 1;
}

.side-btn img {
    width: 100%;
    display: block;
}

/* 弹窗 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: linear-gradient(135deg, #fff5e6 0%, #fff 100%);
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* 弹窗特殊样式 - 公共基础样式 */
.playing-modal-content,
.prize-modal-content,
.winning-modal-content {
    width: 90%;
    max-width: 520px;
    height: 70vh;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
}

/* 弹窗背景图 -  */
.playing-modal-content .modal-bg,
.prize-modal-content .modal-bg,
.winning-modal-content .modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.playing-modal-content .modal-bg img,
.prize-modal-content .modal-bg img,
.winning-modal-content .modal-bg img {
    width: 100%;
    height: 80%;
    object-fit: fill;
}

/* 弹窗内容区 */
.playing-modal-content .modal-inner,
.prize-modal-content .modal-inner,
.winning-modal-content .modal-inner {
    position: absolute;
    z-index: 2;
    top: 8%;
    left: 0;
    right: 0;
    bottom: 28%;
    padding: 45px 35px 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 弹窗标题 -  */
.playing-modal-content .modal-title,
.prize-modal-content .modal-title,
.winning-modal-content .modal-title {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #ff041f;
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: none;
    flex-shrink: 0;
}

/* 弹窗关闭按钮 -  */
.playing-modal-content .modal-close,
.prize-modal-content .modal-close,
.winning-modal-content .modal-close {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    right: auto;
    width: 44px;
    height: 44px;
    z-index: 3;
}

.playing-modal-content .modal-close:hover,
.prize-modal-content .modal-close:hover,
.winning-modal-content .modal-close:hover {
    transform: translateX(-50%) rotate(90deg);
}

/* 通用弹窗关闭按钮样式 */
.modal-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-close img {
    width: 100%;
    height: 100%;
}

/* 通用弹窗标题和内容样式 */
.modal-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #c41230;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0e0c0;
}

.modal-body {
    font-size: 15px;
    line-height: 2;
    color: #666;
}

.modal-body p {
    margin-bottom: 12px;
    padding-left: 5px;
}

/* 弹窗内容区滚动条 -  */
.playing-modal-content .modal-body,
.prize-modal-content .modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
    min-height: 0;
}

.playing-modal-content .modal-body::-webkit-scrollbar,
.prize-modal-content .modal-body::-webkit-scrollbar {
    width: 4px;
}

.playing-modal-content .modal-body::-webkit-scrollbar-thumb,
.prize-modal-content .modal-body::-webkit-scrollbar-thumb {
    background: rgba(196, 18, 48, 0.3);
    border-radius: 2px;
}

/* 玩法弹窗 - 特有样式 */
.playing-modal-content .rule-section {
    margin-bottom: 10px;
}

.playing-modal-content .rule-section h4 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.playing-modal-content .rule-section p {
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2px;
    padding-left: 0;
}

.playing-modal-content .rule-section p.indent {
    padding-left: 14px;
}

.playing-modal-content .rule-section p .highlight {
    color: #c41230;
}

/* 奖品弹窗 - 特有样式 */
.prize-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prize-list-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-image: linear-gradient(to bottom, #fff1c6, #fff1c6),
        linear-gradient(to bottom, rgba(190, 178, 142, 0), #beb28e);
    border: 1px solid #f5e0c0;
    border-radius: 8px;
}

.prize-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-right: 12px;
}

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

.prize-info {
    flex: 1;
    min-width: 0;
}

.prize-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.prize-time {
    font-size: 11px;
    color: #999;
}

.prize-amount {
    font-size: 16px;
    font-weight: bold;
    color: #481303;
    flex-shrink: 0;
    margin-left: 10px;
    width: 60px;
    max-width: 60px;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;

}

/* 奖品弹窗默认图（无奖品时显示） */
.default-img {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.default-img img {
    width: 80%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
}

.default-img span {
    font-size: 14px;
    color: #999;
    margin-top: 12px;
}

/* 中奖弹窗 - 特有样式 */
.winning-modal-content .modal-inner {
    top: 13%;
    bottom: 20%;
    padding: 45px 35px 15px;
    overflow: visible;
}

.winning-modal-content .modal-title {
    margin-bottom: 15px;
}

.winning-modal-content .modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.winning-modal-content .modal-close {
    bottom: 6%;
}

/* 中奖弹窗内容样式 */
.winning-content {
    padding: 10px 0;
}

.winning-prize-img {
    width: 120px;
    height: 120px;
    margin: -30px auto 10px;
}

.winning-prize-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    top: 15px;
}

.winning-amount {
    font-size: 24px;
    color: #481303;
}

.winning-btn {
    width: 200px;
    height: 45px;
    line-height: 45px;
    background: url("../images/invite_friends_bg.png") no-repeat center center;
    background-size: contain;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin: 0 auto 10px;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.winning-tips {
    font-size: 12px;
    color: rgba(72, 19, 3, 0.5);
    line-height: 1.8;
}

.winning-tips p {
    margin: 0;
}

.winning-tips p:last-child {
    color: rgba(72, 19, 3, 0.3);
}

/* 移动端 (max-width: 768px) */
@media screen and (max-width: 768px) {
    .activity-title {
        width: 94%;
        margin-top: -36%;
        margin-bottom: 15px;
    }

    .banner .banner-web {
        display: none;
    }

    .banner .banner-mobile {
        display: block;
    }

    .activity-title span {
        font-size: 16px;
        margin-top: 15px;
    }

    .activity-title .cj-btn {
        width: 70%;
        max-width: 280px;
        margin: 15px auto 0;
    }

    .message-bar {
        width: 92%;
        height: 40px;
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .message-icon {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }

    .message-content {
        font-size: 13px;
    }

    .main-card {
        width: 94%;
        margin-bottom: 15px;
    }

    .invite-btn {
        width: 88%;
        height: 48px;
        bottom: 10%;
    }

    .invite-btn span {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .side-btns {
        right: 1px;
        gap: 20px;
        top: 21%;
    }

    .side-btn {
        width: 30px;
    }

    .modal-content {
        width: 92%;
        padding: 28px 18px;
        border-radius: 16px;
    }

    .playing-modal-content {
        width: 88%;
        max-width: 420px;
        height: 65vh;
        padding: 0;
        border-radius: 0;
    }

    /* 弹窗移动端 */
    .playing-modal-content,
    .prize-modal-content,
    .winning-modal-content {
        width: 100%;
        max-width: 420px;
        height: 64vh;
    }

    /* 背景图片垂直居中 */
    .playing-modal-content .modal-bg,
    .prize-modal-content .modal-bg,
    .winning-modal-content .modal-bg {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .playing-modal-content .modal-bg img,
    .prize-modal-content .modal-bg img,
    .winning-modal-content .modal-bg img {
        height: 65%;
    }

    /* 玩法/奖品弹窗内容区移动端适配 */
    .playing-modal-content .modal-inner,
    .prize-modal-content .modal-inner {
        padding: 32px 30px 12px;
        top: 28%;
        bottom: 20%;
        left: 5%;
        right: 5%;
    }

    .playing-modal-content .modal-body,
    .prize-modal-content .modal-body {
        flex: 1;
        overflow-y: auto;
    }

    .playing-modal-content .modal-title,
    .prize-modal-content .modal-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .playing-modal-content .modal-close,
    .prize-modal-content .modal-close {
        bottom: 8%;
        width: 38px;
        height: 38px;
    }

    /* 玩法弹窗移动端特有 */
    .playing-modal-content .rule-section h4 {
        font-size: 14px;
    }

    .playing-modal-content .rule-section p {
        font-size: 12px;
    }

    /* 奖品弹窗移动端特有 */
    .prize-modal-content .modal-close {
        bottom: 10%;
    }

    .prize-list {
        gap: 6px;
    }

    .prize-list-item {
        padding: 2px 10px;
    }

    .prize-icon {
        width: 40px;
        height: 40px;
        margin-right: 3px;
    }

    .prize-name {
        font-size: 12px;
        margin-bottom: 3px;
        position: relative;
        top: 3px;
    }

    .prize-time {
        font-size: 9px;
        white-space: nowrap;
        position: relative;
        top: -2px;
    }

    .prize-amount {
        font-size: 13px;
    }

    .default-img img {
        width: 70%;
        max-width: 160px;
    }

    .default-img span {
        font-size: 12px;
        margin-top: 10px;
        color: #481303;
    }

    /* 中奖弹窗移动端特有 */
    .winning-modal-content .modal-inner {
        padding: 25px 20px 8px;
        top: 30%;
        bottom: 42%;
        left: 5%;
        right: 5%;
    }

    .winning-modal-content .modal-title {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .winning-modal-content .modal-close {
        width: 36px;
        height: 36px;
    }

    .winning-prize-img {
        width: 5rem;
        height: 5rem;
        margin-top: 0;
    }

    .winning-amount {
        font-size: 18px;
        margin-top: 5%;
    }

    .winning-btn {
        width: 130px;
        height: 35px;
        line-height: 35px;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .winning-tips {
        font-size: 9px;
        line-height: 1.4;
    }

    .modal-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .modal-close {
        width: 38px;
        height: 38px;
        top: -14px;
        right: -14px;
    }

    .modal-body {
        font-size: 14px;
    }
}

/* 小屏幕手机 (max-width: 375px) */
@media screen and (max-width: 375px) {
    .activity-title {
        margin-top: -36%;
    }

    .activity-title span {
        font-size: 14px;
        margin-top: 12px;
    }

    .activity-title .cj-btn {
        width: 75%;
        max-width: 240px;
        margin: 12px auto 0;
    }

    .message-bar {
        height: 36px;
        padding: 0 12px;
    }

    .message-icon {
        width: 22px;
        height: 22px;
        margin-right: 8px;
    }

    .message-content {
        font-size: 12px;
    }

    .invite-btn {
        height: 42px;
        bottom: 11%;
    }

    .invite-btn span {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .side-btns {
        right: 1px;
        gap: 20px;
        top: 22%;
    }

    .side-btn {
        width: 25px;
    }

    /* 弹窗小屏幕 */
    .playing-modal-content,
    .prize-modal-content,
    .winning-modal-content {
        width: 100%;
        height: 60vh;
    }

    /* 背景图片垂直居中 */
    .playing-modal-content .modal-bg,
    .prize-modal-content .modal-bg,
    .winning-modal-content .modal-bg {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .playing-modal-content .modal-bg img,
    .prize-modal-content .modal-bg img,
    .winning-modal-content .modal-bg img {
        height: 85%;
    }

    /* 玩法/奖品弹窗内容区小屏幕适配 */
    .playing-modal-content .modal-inner,
    .prize-modal-content .modal-inner {
        padding: 28px 22px 10px;
        top: 22%;
        left: 6%;
        right: 6%;
    }

    .playing-modal-content .modal-inner {
        bottom: 10%;
    }

    .prize-modal-content .modal-inner {
        bottom: 9%;
    }

    .playing-modal-content .modal-title,
    .prize-modal-content .modal-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .playing-modal-content .modal-body,
    .prize-modal-content .modal-body {
        flex: 1;
        overflow-y: auto;
    }

    .playing-modal-content .modal-close,
    .prize-modal-content .modal-close {
        width: 34px;
        height: 34px;
    }

    .playing-modal-content .modal-close {
        bottom: -5%;
    }

    .prize-modal-content .modal-close {
        bottom: -4%;
    }

    /* 玩法弹窗小屏幕特有 */
    .playing-modal-content .rule-section h4 {
        font-size: 13px;
    }

    .playing-modal-content .rule-section p {
        font-size: 11px;
    }

    /* 奖品弹窗小屏幕特有 */
    .prize-list {
        gap: 5px;
    }

    .prize-list-item {
        padding: 2px 8px;
    }

    .prize-icon {
        width: 35px;
        height: 35px;
        margin-right: 6px;
    }

    .prize-name {
        font-size: 11px;
        margin-bottom: 3px;
    }

    .prize-time {
        font-size: 8px;
        white-space: nowrap;
    }

    .prize-amount {
        font-size: 12px;
    }

    .default-img img {
        width: 65%;
        max-width: 100px;
    }

    .default-img span {
        font-size: 11px;
        margin-top: 8px;
    }

    /* 中奖弹窗小屏幕特有 */
    .winning-modal-content .modal-inner {
        padding: 25px 20px 45px;
        top: 22%;
        bottom: 24%;
        left: 6%;
        right: 6%;
    }

    .winning-modal-content .modal-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .winning-modal-content .modal-close {
        bottom: -5%;
        width: 34px;
        height: 34px;
    }

    .winning-prize-img {
        width: 5rem;
        height: 5rem;
        margin-top: -3%;
    }

    .winning-amount {
        font-size: 16px;
        margin-top: 0;
    }

    .winning-btn {
        width: 130px;
        height: 36px;
        line-height: 36px;
        font-size: 13px;
        margin-bottom: 8px;
    }

    .winning-tips {
        font-size: 9px;
        line-height: 1.5;
    }
}

/* iPhone 6/7/8 Plus (414px) */
@media screen and (min-width: 376px) and (max-width: 414px) {
    .prize-modal-content .modal-bg img {
        height: 75%;
    }

    .prize-modal-content .modal-inner {
        top: 25%;
        bottom: 15%;
    }

    .prize-modal-content .modal-close {
        bottom: 0;
    }

    .playing-modal-content .modal-bg img {
        height: 75%;
    }

    .playing-modal-content .modal-inner {
        top: 25%;
        bottom: 16%;
    }

    .playing-modal-content .modal-close {
        bottom: 0;
    }

    .winning-modal-content .modal-bg img {
        height: 75%;
    }

    .winning-modal-content .modal-inner {
        top: 26%;
    }

    .winning-prize-img {
        width: 5rem;
        height: 5rem;
        margin-top: 0%;
    }

    .winning-modal-content .modal-close {
        bottom: 0;
    }

    .winning-amount {
        font-size: 18px;
        margin-top: 0%;
    }

    .winning-modal-content {
        width: 100%;
        max-width: 420px;
        height: 66vh;
    }
}

/* Web端大屏幕 (min-width: 1200px) */
@media screen and (min-width: 1200px) {
    .container {
        max-width: 100%;
        padding-bottom: 60px;
    }

    .activity-title {
        max-width: 750px;
        margin-top: -17.5rem;
        margin-bottom: 30px;
    }

    .activity-title span {
        font-size: 26px;
        margin-top: 25px;
    }

    .activity-title .cj-btn {
        width: 55%;
        max-width: 400px;
        margin: 25px auto 0;
    }

    .message-bar {
        max-width: 700px;
        height: 52px;
        margin-bottom: 30px;
        padding: 0 25px;
    }

    .message-icon {
        width: 34px;
        height: 34px;
        margin-right: 15px;
    }

    .message-content {
        font-size: 16px;
    }

    .main-card {
        max-width: 800px;
        margin-bottom: 25px;
    }

    .invite-btn {
        max-width: 450px;
        height: 70px;
        margin-top: 30px;
    }

    .invite-btn span {
        font-size: 24px;
        letter-spacing: 3px;
    }

    .side-btns {
        gap: 35px;
    }

    .side-btn {
        width: 60px;
    }

    .modal-content {
        max-width: 550px;
        padding: 40px 30px;
    }

    .modal-title {
        font-size: 26px;
    }

    .modal-close {
        width: 50px;
        height: 50px;
        top: -20px;
        right: -20px;
    }

    .playing-modal-content {
        max-width: 650px;
        height: 75vh;
    }

    .playing-modal-content .modal-inner {
        padding: 55px 80px 25px 90px;
        top: 12%;
        bottom: 28%;
    }

    .playing-modal-content .modal-title {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .playing-modal-content .modal-body {
        flex: 1;
    }

    .playing-modal-content .rule-section h4 {
        font-size: 16px;
    }

    .playing-modal-content .rule-section p {
        font-size: 14px;
    }

    .playing-modal-content .modal-close {
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        right: auto;
        width: 50px;
        height: 50px;
    }

    /* 奖品弹窗大屏幕适配 */
    .prize-modal-content {
        max-width: 650px;
        height: 75vh;
    }

    .prize-modal-content .modal-inner {
        padding: 55px 80px 25px 90px;
        top: 12%;
        bottom: 28%;
    }

    .prize-modal-content .modal-title {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .prize-modal-content .modal-close {
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        right: auto;
        width: 50px;
        height: 50px;
    }

    .prize-list {
        gap: 10px;
    }

    .prize-list-item {
        padding: 8px 18px;
    }

    .prize-icon {
        width: 36px;
        height: 36px;
        margin-right: 15px;
    }

    .prize-name {
        font-size: 15px;
    }

    .prize-time {
        font-size: 12px;
    }

    .prize-amount {
        font-size: 18px;
    }

    .default-img img {
        width: 85%;
        max-width: 200px;
    }

    .default-img span {
        font-size: 16px;
        margin-top: 15px;
    }

    /* 中奖弹窗大屏幕适配 */
    .winning-modal-content {
        max-width: 600px;
        height: 72vh;
    }

    .winning-modal-content .modal-inner {
        padding: 50px 40px 20px;
        top: 12%;
        bottom: 22%;
    }

    .winning-modal-content .modal-title {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .winning-modal-content .modal-close {
        bottom: 8%;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        right: auto;
        width: 50px;
        height: 50px;
    }

    .winning-prize-img {
        width: 140px;
        height: 140px;
    }

    .winning-amount {
        font-size: 28px;
    }

    .winning-btn {
        width: 220px;
        height: 50px;
        line-height: 50px;
        font-size: 18px;
    }

    .winning-tips {
        font-size: 14px;
    }
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 50%;
    transform: translateX(-50%) translateY(50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 1rem;
    border-radius: 0.6rem;
    font-size: 1rem;
    max-width: 80%;
    text-align: center;
    white-space: pre-line;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    letter-spacing: 1px;
}

.toast.show {
    opacity: 1;
}

/* --- Loading 组件 --- */
.loading-overlay {
    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: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.loading-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.spinner-ring {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #fff;
    font-size: 14px;
    display: none;
}

.cj-dark-container {
    position: relative;
    opacity: 0.9;
}

.cj-dark-container span {
    position: absolute;
    top: 6%;
    left: 50%;
    transform: translate(-50%);
    color: #fff;
    font-size: 18px;
    opacity: 0.8;
}