/* --- 全局重置 --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }
html { scroll-behavior: smooth; }
body { background: linear-gradient(to top, #30cfd0 0%, #330867 100%); background-size: cover; background-attachment: fixed; color: #fff; overflow-x: hidden; }
a { text-decoration: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- 导航 --- */
.sticky-nav { position: sticky; top: 0; z-index: 1000; background: rgba(43, 86, 246, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.1); height: 70px; display: flex; align-items: center; width: 100%; }
.nav-content { width: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.nav-logo { height: 40px; width: auto; display: block; }
.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 30px; }
.nav-links a { color: #fff; font-size: 15px; opacity: 0.9; transition: 0.3s; }
.nav-links a:hover { opacity: 1; font-weight: bold; }

/* --- Hero --- */
.hero-section { position: relative; width: 100%; padding-top: 85px; padding-bottom: 120px; min-height: 80vh; display: flex; justify-content: center; align-items: flex-start; }
.hero-container { width: 100%; max-width: 1200px; padding: 0 20px; position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: center; gap: 50px; }
.hero-content-left { flex: 1; max-width: 550px; margin-top: 0; }
.hero-main-img { max-width: 100%; height: auto; display: block; margin-bottom: 20px; }
.subtitle { font-size: 16px; line-height: 1.8; margin-bottom: 30px; background: rgba(0,0,0,0.1); padding: 15px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
.hero-tg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; width: 100%; }
.unified-btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 20px; color: #fff; border-radius: 50px; font-weight: bold; font-size: 16px; text-shadow: 0 1px 2px rgba(0,0,0,0.2); box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.2); width: 100%; }
.unified-btn:hover { transform: translateY(-3px); filter: brightness(1.15); }
.unified-btn i { margin-right: 10px; font-size: 20px; }
.btn-blue { background: linear-gradient(135deg, #00c6ff, #0072ff); } .btn-red { background: linear-gradient(135deg, #FF512F, #DD2476); } .btn-purple { background: linear-gradient(135deg, #8E2DE2, #4A00E0); } .btn-green { background: linear-gradient(135deg, #11998e, #38ef7d); }
@keyframes float-anim { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
.phone-mockup { position: relative; width: 220px; max-width: 40%; height: auto; margin-top: 10px; animation: float-anim 4s ease-in-out infinite; filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3)); }
.phone-screen-img { width: 100%; height: auto; display: block; }

/* =========================================
   佣金案例板块
   ========================================= */
.case-section { position: relative; z-index: 3; margin-top: -80px; padding-bottom: 40px; scroll-margin-top: 80px; }
.section-title-center { text-align: center; margin-bottom: 30px; }
.section-title-center h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.section-title-center p { font-size: 16px; opacity: 0.9; color: #fff; }

/* 截图墙 */
.screenshot-wall-wrapper { margin-bottom: 40px; text-align: center; }
.scroll-hint { font-size: 12px; color: #aeeeff; margin-bottom: 10px; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }
.screenshot-wall { display: flex; overflow-x: auto; gap: 15px; padding: 10px 20px; scrollbar-width: none; -ms-overflow-style: none; }
.screenshot-wall::-webkit-scrollbar { display: none; }
.shot-item { flex: 0 0 auto; width: 120px; height: 220px; border-radius: 10px; overflow: hidden; border: 2px solid rgba(255,255,255,0.2); cursor: zoom-in; transition: transform 0.3s; background: #000; }
.shot-item:hover { transform: scale(1.05); border-color: #F9E267; }
.shot-item img { width: 100%; height: 100%; object-fit: cover; }

/* 轮播图 */
.carousel-container { position: relative; max-width: 900px; margin: 0 auto; overflow: hidden; padding-bottom: 20px; }
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; width: 100%; margin: 0; padding: 0; }
.carousel-slide { flex: 0 0 100%; width: 100%; padding: 0 10px; box-sizing: border-box; }
.case-card { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(15px); border-radius: 20px; padding: 30px; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; }
.case-story-content { text-align: left; background: rgba(0,0,0,0.2); padding: 20px; border-radius: 15px; width: 100%; }
.story-header { display: flex; align-items: center; margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.story-avatar { width: 50px; height: 50px; border-radius: 50%; margin-right: 15px; background: #fff; padding: 2px; }
.story-header h3 { font-size: 18px; color: #F9E267; margin-bottom: 5px; }
.story-date { font-size: 12px; color: #aaa; }
.story-text p { font-size: 15px; line-height: 1.8; margin-bottom: 10px; color: #eee; }
.story-text strong { color: #fff; font-size: 18px; color: #00d2ff; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.3); border: none; color: #fff; font-size: 24px; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; z-index: 10; transition: background 0.3s; display: flex; align-items: center; justify-content: center; }
.carousel-btn:hover { background: rgba(0,78,255,0.6); }
.prev { left: 0; } .next { right: 0; }
@media (max-width: 768px) { .carousel-btn { display: none; } .screenshot-wall { padding: 10px; } }
.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); align-items: center; justify-content: center; flex-direction: column; }
.modal-content { max-width: 90%; max-height: 80%; border-radius: 5px; box-shadow: 0 0 20px rgba(255,255,255,0.2); }
.close-btn { position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; cursor: pointer; }
#caption { margin-top: 15px; color: #ccc; }

/* Support Section */
.support-section { position: relative; z-index: 4; margin-top: 30px; padding: 60px 20px 60px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(20px); border-top: 1px solid rgba(255,255,255,0.3); border-top-left-radius: 50px; border-top-right-radius: 50px; scroll-margin-top: 80px; }
.support-header { text-align: center; max-width: 900px; margin: 0 auto 50px; }
.support-header h2 { font-size: 20px; line-height: 1.6; color: #fff; font-weight: bold; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.support-card { background: #fff; border-radius: 15px; padding: 30px 20px; text-align: center; color: #333; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: transform 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 200px; }
.support-card:hover { transform: translateY(-10px); }
.icon-circle { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 24px; color: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.ic-blue { background: linear-gradient(135deg, #4facfe, #00f2fe); } .ic-cyan { background: linear-gradient(135deg, #43e97b, #38f9d7); } .ic-purple { background: linear-gradient(135deg, #a18cd1, #fbc2eb); } .ic-green { background: linear-gradient(135deg, #fa709a, #fee140); }
.support-card h3 { font-size: 16px; font-weight: bold; color: #0072ff; }

/* =========================================
   游戏区域：1+2+3 特殊布局
   ========================================= */
.game-section { padding: 40px 0 100px 0; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); margin-top: 20px; border-radius: 30px; position: relative; z-index: 5; }

/* 核心 Grid：6列布局 */
.game-grid-special {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6列 */
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 布局控制 */
.span-full { grid-column: span 6; } /* 占满6列 (1个) */
.span-half { grid-column: span 3; } /* 占3列 (2个) */
.span-third { grid-column: span 2; } /* 占2列 (3个) */

.game-card { border-radius: 15px; padding: 25px; position: relative; overflow: hidden; min-height: 220px; display: flex; flex-direction: column; justify-content: center; color: #fff; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.game-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); z-index: 2; }
.card-bg-img { position: absolute; right: -20px; bottom: -20px; height: 110%; width: auto; opacity: 0.9; z-index: 1; pointer-events: none; }
.card-content { position: relative; z-index: 2; max-width: 70%; }
.card-title { font-size: 24px; font-weight: 800; margin-bottom: 5px; display: flex; align-items: center; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.card-title img { height: 30px; margin-right: 10px; background: #fff; border-radius: 50%; padding: 2px; }
.card-desc { font-size: 14px; opacity: 0.9; margin-bottom: 2px; }
.card-sub { font-size: 12px; margin-top: 8px; margin-bottom: 15px; color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.2); display: inline-block; padding: 2px 8px; border-radius: 4px; }
.btn-gold { background: linear-gradient(180deg, #F9E267 0%, #E8B62C 100%); border: none; color: #583602; font-weight: bold; padding: 8px 20px; border-radius: 25px; cursor: pointer; font-size: 14px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); display: inline-block; }
.btn-gold:hover { transform: scale(1.05); background: linear-gradient(180deg, #fff0a5 0%, #ffc83d 100%); }
.btn-full { width: 100%; text-align: center; } /* 下面3个小卡片的按钮全宽 */

.bg-jy { background: linear-gradient(135deg, #3B2667 0%, #BC78EC 100%); } 
.bg-ky { background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%); } 
.bg-hth { background: linear-gradient(135deg, #4c11ac 0%, #8c52ff 100%); }

footer { background: #111; color: #555; text-align: center; padding: 30px; font-size: 12px; }

/* 手机适配 */
@media (max-width: 900px) {
    .hero-container { flex-direction: column; align-items: center; gap: 30px; text-align: center; }
    .hero-tg-grid { width: 100%; max-width: 400px; margin: 0 auto; }
    .phone-mockup { width: 70%; max-width: 300px; margin-top: 0; }
    .nav-links { display: none; }
    .game-grid-9, .support-grid { grid-template-columns: 1fr !important; }
    .game-card:last-child { grid-column: auto; }
    .table-wrapper { overflow-x: auto; }
    
    /* 手机端 1+2+3 全部变单列 */
    .game-grid-special { grid-template-columns: 1fr !important; }
    .span-full, .span-half, .span-third { grid-column: auto !important; }
}