/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 全屏背景图容器 */
body {
    min-height: 100vh;
    background: url('../bg.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    position: relative;
}

/* 背景遮罩（提升文字可读性） */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* 加深遮罩，减少发光依赖 */
    z-index: 1;
}

/* 主容器（层级高于遮罩） */
.container {
    max-width: 420px;
    width: 100%;
    z-index: 2;
}

/* 头部促销文案 */
.promo-header {
    text-align: center;
    margin-bottom: 25px;
}

.new-tag {
    font-size: 18px;
    color: #ff00ff;
    font-weight: 700;
    letter-spacing: 2px;
    /* 移除过度发光，保留基础样式 */
}

.valid-text {
    font-size: 16px;
    color: #00ff9d;
    font-weight: 600;
    margin-bottom: 5px;
}

/* 核心卡片（半透明玻璃质感） */
.main-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    /* 弱化阴影 */
}

/* 价格展示区（强视觉对比） */
.price-area {
    text-align: center;
    margin-bottom: 35px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.original-price {
    font-size: 18px;
    color: #ff9595;
    text-decoration: line-through;
    margin-bottom: 10px;
}

.current-price {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 3px;
    /* 保留极淡的发光，提升辨识度但不刺眼 */
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.current-price span {
    font-size: 24px;
    font-weight: 600;
}

.price-tip {
    font-size: 15px;
    color: #fff;
    margin-top: 10px;
}

/* 支付方式选择 */
.pay-method {
    margin-bottom: 35px;
}

.method-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.method-title i {
    color: #00ffff;
}

.method-list {
    display: flex;
    gap: 20px;
}

.method-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.method-item.active {
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    /* 弱化选中发光 */
}

.method-item:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
}

.method-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.wechat-icon {
    color: #07c160;
}

.alipay-icon {
    color: #1677ff;
}

.method-text {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
}

/* 支付按钮（保留适度霓虹效果） */
.pay-btn {
    width: 100%;
    background: linear-gradient(135deg, #00ffff 0%, #0099ff 100%);
    color: #000;
    border: none;
    border-radius: 15px;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
    /* 弱化按钮发光 */
    letter-spacing: 2px;
}

.pay-btn:hover {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
    /* 鼠标悬浮适度增强 */
    transform: translateY(-3px);
}

.pay-btn:disabled {
    background: linear-gradient(135deg, #888 0%, #555 100%);
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
    color: #ccc;
}

/* 成功页面样式 */
#success-page {
    display: none;
}

.success-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 25px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.success-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #00ff9d 0%, #00cc88 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #fff;
    font-size: 45px;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
    /* 弱化成功图标发光 */
}

.success-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.success-desc {
    font-size: 16px;
    color: #eee;
    margin-bottom: 35px;
    line-height: 1.7;
}

/* 信息卡片 */
.info-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: left;
}

.info-title {
    font-size: 17px;
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-title i {
    color: #ff00ff;
}

.info-content {
    font-size: 16px;
    color: #fff;
    line-height: 2;
}

.qq-group {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #ff00ff;
    margin-top: 20px;
    text-align: center;
    letter-spacing: 2px;
    /* 保留极淡的发光 */
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.3);
}

/* 适配小屏幕 */
@media (max-width: 375px) {
    .current-price {
        font-size: 40px;
    }

    .method-icon {
        font-size: 35px;
    }

    .main-card,
    .success-card {
        padding: 30px 20px;
    }
}

.wechat-guide-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    /* 默认隐藏 */
    z-index: 9999;
}

.guide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
}

.guide-text {
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
}
