:root{
  --green:#0a4c30;
  --deep:#062618;
  --gold:#dec372;
  --cream:#fff7e6;
  --ink:#0b2b1a;
  --muted:#876f2a;
  --line:rgba(148,119,38,.28);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#1f2221;color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

.site-shell{width:min(430px,100%);min-height:100vh;margin:0 auto;background:#0a2b1b;position:relative;overflow:hidden}
.top-bar{height:45px;background:#0b5936;color:#fffbe6;display:grid;place-items:center;font-size:19px;font-weight:800;letter-spacing:.2px}
.site-header{height:116px;background:#fff7e6;display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:3px solid #dec372}
.brand{display:flex;align-items:center;gap:13px}
.brand-logo{width:64px;height:64px;border-radius:15px;box-shadow:0 10px 24px rgba(4,44,24,.2)}
.brand-text strong{display:block;font-family:Georgia,serif;font-size:30px;line-height:1;color:#10351f}
.brand-text span{display:block;margin-top:6px;color:#8b6e28;font-weight:800;font-size:13px}
.secure-mark{width:76px;height:58px;border-radius:12px;background:linear-gradient(180deg,#fff,#d6fac0);border:2px solid #d9eccb;display:grid;place-items:center;text-align:center;box-shadow:0 10px 24px rgba(0,0,0,.12)}
.secure-mark b{font-size:22px;color:#166237;line-height:1}
.secure-mark span{font-size:10px;color:#17522d;font-weight:1000;background:#e8f5d8;border-radius:999px;padding:2px 6px}

.hero{background:linear-gradient(180deg,#0a5136 0%,#062a19 100%);padding:28px 18px 36px;position:relative;overflow:hidden;border-bottom:4px solid #e1bd57}
.hero:after{content:"";position:absolute;inset:-2px;background:url("/assets/img/hero-chicken-bg.jpg") center 23%/cover no-repeat;opacity:.62;filter:saturate(.95) contrast(1.04) brightness(1.10);transform:scale(1.04);z-index:0;pointer-events:none}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,69,42,.44) 0%,rgba(7,48,29,.56) 42%,rgba(5,31,18,.74) 100%),linear-gradient(90deg,rgba(5,31,18,.18),rgba(5,31,18,.06) 38%,rgba(5,31,18,.18)),radial-gradient(circle at 50% 18%,rgba(255,255,255,.10),transparent 36%);z-index:1;pointer-events:none}
.hero-copy{position:relative;z-index:3;text-align:center}
.hero-kicker{display:inline-flex;align-items:center;gap:7px;background:rgba(255,248,223,.95);color:#6c5016;border-radius:999px;padding:9px 14px;font-weight:900;font-size:14px;box-shadow:0 12px 26px rgba(0,0,0,.16)}
.hero-kicker:before{content:"";width:10px;height:10px;border-radius:50%;background:#1ed678;box-shadow:0 0 0 7px rgba(30,214,120,.16)}
h1{font-family:Georgia,serif;color:#fffce8;font-size:34px;line-height:1.08;margin:18px auto 22px;letter-spacing:-.7px;max-width:360px;text-shadow:0 5px 18px rgba(0,0,0,.46),0 1px 0 rgba(40,25,7,.18)}
.hero-copy p{display:none}

.download-pill,.btn-main{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;border-radius:999px;background:linear-gradient(180deg,#55ee2e,#15980d);color:#fff;padding:0 24px;font-size:17px;font-weight:1000;box-shadow:0 16px 34px rgba(0,0,0,.25),inset 0 2px 0 rgba(255,255,255,.35);letter-spacing:.2px}
.download-pill em,.btn-main em{font-style:normal}

.hero .hero-copy > a.download-pill{position:relative!important;overflow:hidden!important;isolation:isolate!important;background:transparent!important;background-color:transparent!important;background-image:none!important;border:1px solid rgba(255,255,255,.58)!important;box-shadow:0 10px 22px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.42)!important;backdrop-filter:blur(12px) saturate(120%)!important;-webkit-backdrop-filter:blur(12px) saturate(120%)!important}
.hero .hero-copy > a.download-pill::before{content:""!important;position:absolute!important;inset:0!important;z-index:-1!important;border-radius:inherit!important;background:rgba(64,155,48,.34)!important}
.hero .hero-copy > a.download-pill span,.hero .hero-copy > a.download-pill strong,.hero .hero-copy > a.download-pill em{position:relative!important;z-index:2!important;color:#fff!important;text-shadow:0 2px 8px rgba(0,0,0,.32)!important}
.hero .hero-copy > a.download-pill:active::before{background:rgba(16,76,30,.82)!important}
.hero .hero-copy > a.download-pill:active{transform:scale(.985)!important;box-shadow:0 6px 16px rgba(0,0,0,.25),inset 0 2px 8px rgba(0,0,0,.22)!important}

.download-panel{background:#fff8e8;border-bottom:3px solid #dec372;padding:18px;display:flex;align-items:center;gap:14px;justify-content:space-between}
.download-panel span{display:block;color:#906d18;font-weight:900;font-size:13px}
.download-panel strong{display:block;color:#0d2c1d;font-size:17px;line-height:1.25}
.download-panel .btn-main{min-width:135px;padding:0 16px;font-size:15px;min-height:46px;background:linear-gradient(180deg,#59f132,#189d10);opacity:1}

.section{padding:28px 0}
.section-heading{text-align:center;margin-bottom:18px;padding:0 18px}
.section-heading h2{font-family:Georgia,serif;font-size:27px;line-height:1.1;color:#fff7d6;margin:0}
.section-heading p{color:#e1cc8b;font-weight:800;margin:8px 0 0;line-height:1.35}
.games-section{background:#0b6e61;border-bottom:4px solid #dec372;overflow:hidden}
.game-marquee-wrap{position:relative;width:100%;overflow:hidden;padding:4px 0 10px}
.game-marquee-wrap:before,.game-marquee-wrap:after{content:"";position:absolute;top:0;bottom:0;width:36px;z-index:2;pointer-events:none}
.game-marquee-wrap:before{left:0;background:linear-gradient(90deg,#0b6e61,rgba(11,110,97,0))}
.game-marquee-wrap:after{right:0;background:linear-gradient(270deg,#0b6e61,rgba(11,110,97,0))}
.game-marquee{display:flex;gap:12px;width:max-content;will-change:transform}
.game-marquee-a{animation:gameScrollLeft 32s linear infinite}
.game-marquee-b{animation:gameScrollRight 36s linear infinite}
.game-marquee-wrap.secondary{margin-top:4px}
.game-icon{display:block;flex:0 0 auto;width:118px;border-radius:20px;filter:drop-shadow(0 10px 16px rgba(0,0,0,.22))}
.game-icon img{width:118px;height:122px;object-fit:contain;border-radius:20px}
.game-icon:active{transform:scale(.97)}
@keyframes gameScrollLeft{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes gameScrollRight{from{transform:translateX(-50%)}to{transform:translateX(0)}}

.bonus-section{background:#07351f;padding:28px 18px}
.bonus-card{border-radius:24px;background:linear-gradient(145deg,#fff7e6,#f0c552);padding:24px;text-align:center;box-shadow:0 16px 34px rgba(0,0,0,.26);border:1px solid rgba(255,255,255,.55)}
.bonus-card span{display:inline-block;background:#d92d37;color:#fff;border-radius:999px;padding:8px 20px;font-family:Georgia,serif;font-size:20px;font-weight:900}
.bonus-card h2{font-size:26px;line-height:1.08;margin:16px 0 8px;color:#112a1d}
.bonus-card p{margin:0 0 18px;color:#725c2a;font-weight:800;line-height:1.5}
.bonus-card .btn-main{background:linear-gradient(180deg,#59f132,#189d10);opacity:1}

.channels-section{background:#092d1d;padding:28px 18px}
.section-heading.light h2{color:#fff7d6}
.channel-list{display:grid;gap:10px}
.channel-row{height:60px;border-radius:20px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);display:flex;align-items:center;gap:12px;padding:0 13px;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.channel-row img{width:42px;height:42px;border-radius:14px;object-fit:contain;box-shadow:0 8px 18px rgba(0,0,0,.18)}
.channel-row span{font-weight:1000;flex:1}
.channel-row em{font-style:normal;color:#f4d76f;font-weight:900}

.faq-section{background:#fff3d3;padding:26px 18px 106px}
details{background:#fff;border:1px solid var(--line);border-radius:17px;margin:9px 0;overflow:hidden;box-shadow:0 10px 22px rgba(40,31,12,.08)}
summary{list-style:none;cursor:pointer;padding:15px 16px;font-weight:1000;color:#113320;display:flex;justify-content:space-between}
summary::-webkit-details-marker{display:none}
summary:after{content:"+";color:#0a693f}
details[open] summary:after{content:"–"}
details p{padding:0 16px 16px;margin:0;color:#626b62;line-height:1.6;font-weight:600}

.floating-social{position:fixed;right:max(8px,calc((100vw - 430px)/2 + 10px));left:auto;top:auto;bottom:92px;z-index:60;display:grid;gap:5px;background:rgba(30,31,25,.46);border-radius:17px;padding:6px;box-shadow:0 14px 32px rgba(0,0,0,.26);backdrop-filter:blur(10px)}
.float-btn{width:48px;height:48px;border-radius:15px;display:grid;place-items:center}
.float-btn img{width:100%;height:100%;object-fit:contain;border-radius:15px;filter:drop-shadow(0 7px 12px rgba(0,0,0,.22))}
.sticky-download{position:fixed;left:50%;bottom:12px;z-index:80;width:min(390px,calc(100% - 36px));transform:translateX(-50%)}
.sticky-download a{height:58px;border-radius:999px;background:linear-gradient(180deg,#59f132,#189d10);color:#fff;display:flex;align-items:center;justify-content:center;gap:12px;font-weight:1000;font-size:19px;letter-spacing:.3px;box-shadow:0 18px 40px rgba(0,0,0,.36),inset 0 2px 0 rgba(255,255,255,.35)}
.sticky-download em{font-style:normal;font-size:22px}

@media (prefers-reduced-motion:reduce){
  .game-marquee-a,.game-marquee-b{animation:none}
}
@media (min-width:431px){
  .site-shell{border-left:1px solid rgba(255,255,255,.08);border-right:1px solid rgba(255,255,255,.08)}
}
@media (max-width:370px){
  .brand-text strong{font-size:26px}
  .brand-logo{width:58px;height:58px}
  .site-header{padding:16px 15px}
  .secure-mark{width:68px}
  .hero{padding-left:14px;padding-right:14px}
  h1{font-size:31px}
  .floating-social{right:6px;left:auto;bottom:88px}
  .float-btn{width:44px;height:44px}
  .download-panel{display:block}
  .download-panel .btn-main{margin-top:12px;width:100%}
  .game-icon,.game-icon img{width:104px;height:108px}
}

/* v40 - hide duplicated official app download panel */
.download-panel {
  display: none !important;
}

/* v41 - sticky download appears after scroll */
.sticky-download {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(22px) !important;
  transition:
    opacity .45s ease,
    transform .45s ease !important;
}

body.show-sticky-download .sticky-download {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* v42 - compact top brand header */
.site-header {
  height: 96px !important;
  padding: 12px 20px !important;
}

.brand-logo {
  width: 54px !important;
  height: 54px !important;
  border-radius: 13px !important;
}

.brand {
  gap: 11px !important;
}

.brand-text strong {
  font-size: 27px !important;
  line-height: 1 !important;
}

.brand-text span {
  margin-top: 4px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.secure-mark {
  width: 68px !important;
  height: 52px !important;
  border-radius: 12px !important;
}

.secure-mark b {
  font-size: 20px !important;
}

.secure-mark span {
  font-size: 9px !important;
  padding: 2px 6px !important;
}

/* v43 - floating social avoid covering FAQ text */
.floating-social {
  right: max(-2px, calc((100vw - 430px)/2 - 2px)) !important;
  bottom: 118px !important;
  gap: 4px !important;
  padding: 5px !important;
  border-radius: 15px !important;
  opacity: .92 !important;
}

.float-btn {
  width: 43px !important;
  height: 43px !important;
  border-radius: 13px !important;
}

.float-btn img {
  border-radius: 13px !important;
}

/* FAQ区域时，悬浮栏往右收一点，避免挡文字 */
body.faq-zone .floating-social {
  opacity: .55 !important;
  transform: translateX(34px) !important;
  transition: opacity .28s ease, transform .28s ease !important;
}

/* 手指按住时临时恢复，方便点击 */
body.faq-zone .floating-social:active {
  opacity: .95 !important;
  transform: translateX(0) !important;
}
