*{margin:0;padding:0;box-sizing:border-box}
html,body{overflow-x:hidden;width:100%}
body{
  font-family:"Microsoft YaHei","Open Sans",Arial,sans-serif;
  background:#0a1020;color:#fff;padding-top:48px;
  -webkit-tap-highlight-color:transparent;
}
a{text-decoration:none;color:inherit}
.content-wrapper{max-width:480px;margin:0 auto;padding:0 16px 40px;position:relative;z-index:2}

.site-header{
  position:fixed;top:0;left:50%;transform:translateX(-50%);
  width:100%;max-width:480px;z-index:100;height:48px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 14px;
  background:rgba(18,30,54,.95);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.site-header .logo{
  display:flex;align-items:center;gap:8px;
  font-size:16px;font-weight:800;color:#ffb01b;letter-spacing:1px;
}
.logo-dot{
  width:10px;height:10px;border-radius:50%;
  background:#ffb01b;
  box-shadow:0 0 10px rgba(255,176,27,.8);
}
.header-badge{
  display:inline-flex;align-items:center;
  padding:6px 14px;border-radius:20px;
  background:#ff8c00;
  color:#fff;font-size:12px;font-weight:700;
}

.star-bg{
  position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(2px 2px at 20% 30%,rgba(255,255,255,.7),transparent),
    radial-gradient(2px 2px at 70% 20%,rgba(255,255,255,.5),transparent),
    radial-gradient(1px 1px at 40% 60%,rgba(255,255,255,.6),transparent),
    radial-gradient(1px 1px at 85% 70%,rgba(255,255,255,.4),transparent),
    radial-gradient(circle at 50% 0%,#1a2848 0%,#0a1020 60%);
}

.ticker-bar{margin-top:12px}
.ticker-inner{
  display:flex;align-items:center;gap:10px;
  padding:8px 14px;border-radius:8px;
  background:#1e2a45;
  border:1px solid rgba(255,255,255,.05);
  overflow:hidden;
}
.ticker-icon{flex-shrink:0;font-size:16px;z-index:2;
  background:#1e2a45;padding-right:8px;margin-right:-8px}
.ticker-scroll{flex:1;overflow:hidden;min-width:0}
.ticker-track{display:flex;animation:tickerScroll 30s linear infinite;width:max-content}
.ticker-text{white-space:nowrap;flex-shrink:0;font-size:13px;color:rgba(255,255,255,.65)}
@keyframes tickerScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

.section-title{display:flex;align-items:center;gap:12px;margin:16px 0 12px}
.section-title h2{font-size:17px;font-weight:700;color:#fff;white-space:nowrap}
.section-line{flex:1;height:1px;background:rgba(255,176,27,.3)}
.section-tag{font-size:11px;color:rgba(255,255,255,.4);letter-spacing:2px;text-transform:uppercase}

/* ===== 精选推荐大横幅（纯色深蓝底）===== */
.featured-banner{
  position:relative;display:block;
  border-radius:14px;overflow:hidden;
  margin-bottom:12px;
  background:#152a4f;
  border:1px solid rgba(255,176,27,.2);
  transition:transform .25s,border-color .25s;
}
.featured-banner:hover{
  transform:translateY(-2px);
  border-color:rgba(255,176,27,.4);
}

.featured-banner .banner-img{
  position:absolute;right:0;bottom:0;top:0;width:50%;
  background-size:cover;background-position:center bottom;
  background-repeat:no-repeat;z-index:1;pointer-events:none;
}
.featured-banner .banner-img::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,#152a4f 0%,rgba(21,42,79,.6) 25%,transparent 55%);
  z-index:2;
}

.featured-banner .banner-left{
  position:relative;z-index:3;
  padding:14px 16px 16px;
  width:100%;
}

.featured-banner h2{
  font-size:16px;font-weight:800;color:#fff;
  line-height:1.3;margin-bottom:4px;
  max-width:65%;
}
.featured-banner .sub1{
  font-size:11px;color:rgba(255,255,255,.75);
  margin-bottom:3px;font-weight:500;
  max-width:65%;
}
.featured-banner .sub2{
  font-size:11px;color:#ffb01b;font-weight:700;
  margin-bottom:8px;max-width:65%;
}
.featured-banner .tag-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:0 18px;list-style:none;
  margin-bottom:10px;padding:0;
  max-width:240px;
}
.featured-banner .tag-grid li{
  font-size:11px;color:rgba(255,255,255,.7);
  line-height:1.5;list-style:none;
}
.featured-banner .enter-btn{
  display:inline-block;padding:0 20px;line-height:30px;
  background:#ff8c00;
  color:#fff;
  font-size:12px;font-weight:800;
  border-radius:16px;
  transition:background .25s;
}
.featured-banner:hover .enter-btn{
  background:#ffa020;
}

.featured-banner.no-img .banner-left{padding:16px 18px 18px}
.featured-banner.no-img h2{font-size:17px;max-width:100%}
.featured-banner.no-img .sub1,
.featured-banner.no-img .sub2{max-width:100%}
.featured-banner.no-img .tag-grid{
  max-width:100%;
  grid-template-columns:1fr 1fr 1fr;
  gap:0 14px;
}

/* ===== 小卡片列表 ===== */
.card-list{display:flex;flex-direction:column;gap:10px}

.game-card1{
  display:flex;align-items:center;gap:12px;
  padding:10px;border-radius:12px;position:relative;
  background:#1e2a45;
  border:1px solid rgba(255,255,255,.04);
  transition:all .25s;
}
.game-card1:hover{transform:translateY(-2px);border-color:rgba(255,176,27,.2)}
.game-card1:active{transform:scale(.98)}

.card-img{
  width:72px;height:72px;flex-shrink:0;border-radius:10px;
  background-size:cover;background-position:center;background-repeat:no-repeat;
  background-color:#253252;
}

.card-content{flex:1;min-width:0}
.card-content h3{
  font-size:15px;font-weight:700;margin-bottom:3px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.card-sub{
  font-size:12px;color:#abacfd;margin-bottom:2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.card-desc{
  font-size:11px;color:rgba(255,255,255,.45);line-height:1.5;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.card-arrow{
  width:20px;height:100%;display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.5);font-size:12px;flex-shrink:0;
}

.card-badge{
  position:absolute;top:8px;right:28px;padding:2px 8px;border-radius:4px;
  font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase;z-index:2;
}
.card-badge.hot{background:#ff4444;color:#fff}
.card-badge.new{background:#00c853;color:#fff}
.card-badge.vip{background:#ff8c00;color:#fff}

.service-card{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px;border-radius:12px;
  background:#132a44;
  border:1px solid rgba(100,200,255,.15);
  transition:all .25s;
}
.service-text h3{font-size:15px;font-weight:700;margin-bottom:4px}
.service-text p{font-size:12px;color:rgba(255,255,255,.6)}
.service-arrow{color:rgba(255,255,255,.5);font-size:14px}

.site-footer{
  max-width:480px;margin:30px auto 0;padding:24px 16px;
  border-top:1px solid rgba(255,255,255,.06);text-align:center;
}
.footer-links{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.footer-links a{font-size:12px;color:rgba(255,255,255,.45);transition:color .2s}
.footer-links a:hover{color:#ffb01b}
.footer-copy{font-size:11px;color:rgba(255,255,255,.25);line-height:1.8}
.footer-copy .highlight{color:#ffb01b}

.back-to-top{
  position:fixed;bottom:24px;right:16px;width:40px;height:40px;border-radius:50%;
  background:#253252;border:1px solid rgba(255,255,255,.1);
  color:#ffb01b;font-size:16px;display:flex;align-items:center;justify-content:center;
  cursor:pointer;opacity:0;visibility:hidden;transition:all .3s;z-index:99;
}
.back-to-top.visible{opacity:1;visibility:visible}
.back-to-top:hover{background:#ffb01b;color:#121e36}

@media(max-width:440px){
  .site-header .logo{font-size:14px}
  .header-badge{padding:5px 10px;font-size:11px}
  .featured-banner h2{font-size:15px}
  .featured-banner .sub1,.featured-banner .sub2{font-size:11px}
  .featured-banner .tag-grid li{font-size:10.5px}
  .featured-banner .enter-btn{line-height:28px;font-size:11.5px;padding:0 18px}
  .featured-banner.no-img h2{font-size:15px}
  .card-img{width:64px;height:64px}
  .game-card1{gap:10px;padding:8px}
  .card-content h3{font-size:14px}
}

@media(max-width:360px){
  .card-img{width:56px;height:56px}
  .card-content h3{font-size:13px}
  .card-desc{display:none}
}