/* 基础重置与全局样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    background: #0a0e1a; 
    color: #fff; 
    font-family: "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif; 
    overflow-x: hidden; 
    line-height: 1.5; 
}

/* 核心配色 */
:root {
    --gold: #e8b923;          /* 开云主金 */
    --fixed-bar-height: 14vw; /* 用于页面底部留白，防止固定栏遮挡 */
    --gold-light: #f9d423;    /* 高亮金 */
    --deep-blue: #0a0e1a;     /* 深空背景 */
    --accent-red: #ff3b30;    /* 紧急CTA红 */
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(232, 185, 35, 0.25);
}

.wrapper { 
    width: 100%; 
    min-height: 100vh; 
    background: linear-gradient(180deg, #0a0e1a 0%, #111a2e 100%); 
    position: relative;
    padding-bottom: calc(var(--fixed-bar-height) + env(safe-area-inset-bottom, 0px)); /* 防止底部 fixed 栏遮挡内容 */
}

/* --- 1. Hero 首屏（极致视觉冲击） --- */
.hero {
    position: relative;
    width: 100%;
    height: 135vw; /* 手机竖屏占满首屏+下拉空间 */
    background: url('../image/shoupingbeijing.png') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 8vw;
}

/* 优先使用 WebP 背景，回退到 PNG */
.webp .hero {
    background-image: url('../image/shoupingbeijing.webp');
    background-size: cover;
    background-position: center center;
}
/* [美工出图需求] 首屏背景大图
   - 尺寸：750×1012px（适配主流手机分辨率）
   - 构图：画面中央为大力神杯（金属质感强光反射），杯体微微倾斜，周围环绕金色粒子光点+轻微烟雾。
   - 两侧模糊处理顶级球星剪影（梅西、姆巴佩、哈兰德等），动作奔跑或庆祝，营造紧张氛围。
   - 色调：深蓝黑背景 + 金色主光源，整体史诗感、豪华感，像好莱坞大片海报。
   - 左上角预留位置给开云体育Logo（透明通道）。
*/

.hero-title {
    position: absolute;
    top: 6vw; /* 把标题抬到上方，避免遮挡中央主视觉 */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    margin: 0;
    z-index: 20;
    text-align: center;
}
.hero-title img {
    width: auto;
    max-width: 90%;
    height: auto;
    max-height: 112vw; /* 再放大 100% 预览 */
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.6));
    display: block;
    margin: 0 auto;
}
/* [美工出图需求] 主标题图（透明PNG）
   - 尺寸：约650×220px
   - 文字内容：“开云体育 世界杯预热”
   - 风格：超大3D金属金字，带扫光动画感（外发光+内反光），字体锐利现代，底部加一条细金线分割。
   - 整体要像奖杯铭牌一样高端，不能廉价。
*/

/* --- 2. 核心CTA区（玻璃摩卡效果，高转化） --- */
.cta-section {
    width: 92%;
    max-width: 420px;
    margin: -10vw auto 0;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 7vw 5vw;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    position: relative;
    z-index: 10;
}

.bonus-big {
    font-size: 8vw;
    font-weight: 900;
    background: linear-gradient(90deg, #f9d423, #e8b923);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2vw;
}

.bonus-desc {
    font-size: 4vw;
    color: #ccc;
    margin-bottom: 6vw;
}

.cta-btn {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    color: #000;
    font-size: 6.5vw;
    font-weight: 900;
    text-decoration: none;
    padding: 4.5vw 0;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(232, 185, 35, 0.4);
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* --- 3. 动态中奖滚动条（增强信任感） --- */
.ticker {
    width: 88%;
    margin: 6vw auto;
    background: rgba(0,0,0,0.3);
    border-radius: 30px;
    overflow: hidden;
    height: 10vw;
    line-height: 10vw;
    font-size: 3.8vw;
    color: #aaa;
}
.ticker-inner {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}
@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* --- 4. 卖点展示区（四宫格，视觉干净） --- */
.benefits {
    padding: 8vw 5vw 20vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4vw;
}
.benefit-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 6vw 4vw;
    text-align: center;
    backdrop-filter: blur(8px);
}
.benefit-item img {
    width: 16vw;
    height: 16vw;
    margin-bottom: 3vw;
}
/* [美工出图需求] 四枚卖点图标（透明PNG）
   - 尺寸：200×200px
   - 风格统一：3D玻璃拟物（Neumorphism + 轻微内阴影），金色主调，带微光高光。
   - 1. 极速存取：闪电 + 金币堆叠
   - 2. 高额赔率：上升箭头 + 折线图
   - 3. 安全隐私：盾牌 + 锁 + 加密波纹
   - 4. 全场赛事：旋转地球 + 足球轨迹
*/

.benefit-item h3 {
    font-size: 4.5vw;
    color: var(--gold);
    margin-bottom: 1.5vw;
}
.benefit-item p {
    font-size: 3.4vw;
    color: #999;
}

/* --- 5. 底部悬浮按钮（始终可见，高转化） --- */
.fixed-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10,14,26,0.98), rgba(10,14,26,0.9));
    padding: 4vw 6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    z-index: 100;
}
 .fixed-bar .text {
     font-size: 4.6vw;
     flex: 1; /* 允许文本占据剩余空间 */
     min-width: 0; /* 允许溢出裁剪在 flex 项里生效 */
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center; /* 两行居中排列 */
     text-align: center;
     white-space: normal; /* 允许换行 */
     line-height: 1.1;
     padding-right: 4.5vw; /* 给右侧按钮留出更大间距 */
 }
.fixed-bar .text span {
    color: var(--gold);
    font-weight: bold;
}
.fixed-bar .btn {
    background: var(--accent-red);
    color: #fff;
    padding: 3vw 8vw;
    display: inline-block;
    white-space: nowrap;
    border-radius: 30px;
    font-size: 4.5vw;
    font-weight: bold;
    text-decoration: none;
}

/* 桌面端样式优化 */
@media (min-width: 1024px) {
    /* 缩短首屏高度，视觉居中更好 */
    .hero {
        height: 60vh;
        background-position: center top;
    }
    .wrapper {
        padding-bottom: calc(6vh + env(safe-area-inset-bottom, 0px));
    }
    .hero-title {
        top: 6vh;
        max-width: 800px;
    }
    .hero-title img {
        max-height: 12vh;
        max-width: 60%;
    }
    .cta-section {
        max-width: 640px;
        margin: -8vh auto 0;
        padding: 4vh 3vw;
        border-radius: 12px;
    }
    .bonus-big {
        font-size: 40px;
    }
    .bonus-desc {
        font-size: 16px;
    }
    .cta-btn {
        font-size: 18px;
        padding: 12px 28px;
    }
    .ticker {
        font-size: 16px;
        height: 40px;
        line-height: 40px;
    }
    .benefits {
        grid-template-columns: repeat(4, 1fr);
        padding: 6vh 4vw 12vh;
        gap: 24px;
    }
    .benefit-item {
        padding: 24px;
    }
    .benefit-item img {
        width: 80px;
        height: 80px;
        margin-bottom: 16px;
    }
    /* 把底部悬浮栏改为右下角小型操作块 */
    .fixed-bar {
        right: 32px;
        left: auto;
        width: auto;
        padding: 12px 16px;
        border-radius: 40px;
        bottom: 32px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    }
    .fixed-bar .text {
        display: none;
    }
    .fixed-bar .btn {
        padding: 10px 18px;
        font-size: 16px;
        border-radius: 30px;
    }
}

/* 版权弹窗样式 */
.copyright-modal{
    position:fixed;
    left:0;right:0;top:0;bottom:0;
    background:rgba(0,0,0,0.6);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}
.copyright-inner{
    background:#0b1220;
    color:#fff;
    padding:28px;
    border-radius:12px;
    max-width:420px;
    width:90%;
    text-align:center;
    box-shadow:0 8px 30px rgba(0,0,0,0.5);
}
.copyright-inner h2{margin:0 0 8px;font-size:20px}
.copyright-tg{font-weight:700;margin:6px 0}
.copyright-desc{color:#cbd5e1;font-size:14px;margin:6px 0 14px}
.copyright-close{background:#e5533d;border:none;color:#fff;padding:8px 14px;border-radius:8px;cursor:pointer}
.copyright-close:active{transform:translateY(1px)}
