/* 底部版权、页面按钮与首页弹窗 */
.home-page .copyright.site-footer{
  position:absolute;
  left:0;
  right:0;
  bottom:1.6%;
  width:100%;
  padding:0 18px;
  color:#fff;
  text-align:center;
  line-height:1.55;
  text-shadow:0 2px 6px rgba(0,0,0,.58);
  z-index:20;
  box-sizing:border-box;
}
.site-footer .footer-nav{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin:0 auto 10px;
}
.site-footer .footer-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:88px;
  min-height:34px;
  padding:0 18px;
  border:1px solid rgba(255,219,151,.62);
  border-radius:999px;
  background:linear-gradient(180deg,rgba(255,219,151,.25),rgba(129,77,25,.42));
  color:#fff;
  font-size:14px;
  letter-spacing:.5px;
  text-decoration:none;
  box-shadow:0 8px 22px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.28);
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.site-footer .footer-nav a:hover{
  transform:translateY(-2px);
  background:linear-gradient(180deg,rgba(255,226,161,.38),rgba(177,109,42,.62));
  border-color:rgba(255,232,186,.88);
}
.site-footer .footer-copy,
.site-footer .footer-cert{
  margin:0;
  font-size:13px;
  color:rgba(255,255,255,.94);
}
.site-footer .footer-cert{
  margin-top:2px;
  color:rgba(255,245,225,.92);
}
.site-popup-mask{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:26px 16px;
  background:rgba(0,0,0,.88);
  z-index:99999;
  box-sizing:border-box;
}
.site-popup-mask.is-show{display:flex;}
.site-popup-box{
  width:min(820px,94vw);
  max-height:82vh;
  overflow:hidden;
  border:1px solid rgba(255,220,150,.38);
  border-radius:20px;
  background:linear-gradient(180deg,#1b140f,#0d0b0a);
  color:#fff;
  box-shadow:0 26px 80px rgba(0,0,0,.68);
}
.site-popup-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 22px;
  border-bottom:1px solid rgba(255,220,150,.2);
  background:linear-gradient(90deg,rgba(177,109,42,.55),rgba(255,215,139,.12));
}
.site-popup-title{
  margin:0;
  font-size:20px;
  font-weight:700;
  letter-spacing:1px;
}
.site-popup-close{
  width:28px;
  height:28px;
  border:0;
  border-radius:50%;
  color:#fff;
  background:rgba(255,255,255,.14);
  font-size:20px;
  line-height:28px;
  cursor:pointer;
}
.site-popup-body{
  max-height:calc(82vh - 66px);
  overflow:auto;
  padding:24px 26px 28px;
  color:rgba(255,255,255,.88);
  font-size:15px;
  line-height:1.9;
}
.site-popup-body h1,
.site-popup-body h2,
.site-popup-body h3{
  color:#ffe1a1;
  line-height:1.45;
  margin:0 0 14px;
}
.site-popup-body p{margin:0 0 12px;}
.site-popup-body ul{margin:0 0 14px 20px;padding:0;}
.site-popup-body li{margin:0 0 8px;}
.content-page-body{
  min-height:100vh;
  margin:0;
  color:#33251a;
  font-family:Arial,"Microsoft YaHei",sans-serif;
  background:#f6f1e8 url('../images/index-bg2.jpg') center top/cover fixed no-repeat;
}
.content-page-wrap{
  width:min(960px,92vw);
  margin:0 auto;
  padding:42px 0 34px;
}
.content-card{
  border-radius:20px;
  background:rgba(255,255,255,.94);
  box-shadow:0 18px 54px rgba(52,32,13,.22);
  overflow:hidden;
}
.content-card header{
  padding:28px 32px;
  color:#fff;
  background:linear-gradient(135deg,#7a4217,#c0873e);
}
.content-card header h1{margin:0;font-size:28px;line-height:1.35;}
.content-card header p{margin:8px 0 0;color:rgba(255,255,255,.88);}
.content-page-main{
  padding:30px 32px 34px;
  font-size:16px;
  line-height:1.9;
}
.content-page-main h2{margin:22px 0 10px;color:#7a4217;font-size:22px;}
.content-page-main p{margin:0 0 14px;}
.content-page-main ul{margin:0 0 18px 20px;padding:0;}
.content-page-main li{margin:0 0 8px;}
.content-page-footer{
  margin-top:20px;
  padding:18px 16px;
  border-radius:16px;
  color:#fff;
  text-align:center;
  background:rgba(0,0,0,.55);
  text-shadow:0 2px 4px rgba(0,0,0,.45);
}
.content-page-footer .footer-nav{margin-bottom:10px;}
@media screen and (max-width:767px){
  .home-page .copyright.site-footer{
    bottom:1.2%;
    padding:0 10px;
    line-height:1.42;
  }
  .site-footer .footer-nav{
    gap:7px;
    margin-bottom:7px;
  }
  .site-footer .footer-nav a{
    min-width:72px;
    min-height:28px;
    padding:0 11px;
    font-size:12px;
  }
  .site-footer .footer-copy,
  .site-footer .footer-cert{
    font-size:11px;
  }
  .site-popup-box{width:94vw;border-radius:16px;}
  .site-popup-head{padding:14px 16px;}
  .site-popup-title{font-size:17px;}
  .site-popup-body{padding:18px 17px 22px;font-size:14px;line-height:1.8;}
  .content-page-wrap{width:92vw;padding:24px 0;}
  .content-card header{padding:22px 20px;}
  .content-card header h1{font-size:23px;}
  .content-page-main{padding:22px 20px;font-size:15px;}
}
/* 手机端高度自适应，避免底部版权与圆形导航重叠 */
@media screen and (max-width:767px){
  .home-page .logo{margin-top:10%!important;width:36%!important;}
  .home-page .home-menu{height:52%!important;margin-top:2%!important;}
}
@media screen and (max-width:767px) and (max-height:680px){
  .home-page .logo{margin-top:6%!important;width:32%!important;}
  .home-page .home-menu{height:48%!important;margin-top:1%!important;}
  .site-footer .footer-nav a{min-height:26px;font-size:11px;padding:0 9px;}
  .site-footer .footer-copy,.site-footer .footer-cert{font-size:10px;}
}


/* 按要求：底部文字按钮显示为 关于我们｜游戏规则｜政策隐私，不使用圆角按钮 */
.site-footer .footer-nav.footer-text-nav{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:0;
  margin:0 auto 8px;
  color:#fff;
}
.site-footer .footer-nav.footer-text-nav a{
  display:inline;
  min-width:0;
  min-height:0;
  padding:0 4px;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  color:#fff!important;
  font-size:14px;
  line-height:1.6;
  letter-spacing:.5px;
  text-decoration:none;
  text-shadow:0 2px 6px rgba(0,0,0,.58);
  transition:color .2s ease,opacity .2s ease;
}
.site-footer .footer-nav.footer-text-nav a:hover{
  transform:none;
  background:none;
  border-color:transparent;
  color:#ffe1a1!important;
}
.site-footer .footer-nav.footer-text-nav .footer-nav-sep{
  display:inline-block;
  color:#fff;
  font-size:14px;
  line-height:1.6;
  padding:0 2px;
  text-shadow:0 2px 6px rgba(0,0,0,.58);
}
.site-footer .footer-copy,
.site-footer .footer-cert{
  color:#fff!important;
}
.content-page-footer.site-footer .footer-nav.footer-text-nav{
  margin-bottom:10px;
}
@media screen and (max-width:767px){
  .site-footer .footer-nav.footer-text-nav{margin-bottom:6px;}
  .site-footer .footer-nav.footer-text-nav a,
  .site-footer .footer-nav.footer-text-nav .footer-nav-sep{font-size:12px;line-height:1.55;}
}
@media screen and (max-width:767px) and (max-height:680px){
  .site-footer .footer-nav.footer-text-nav a,
  .site-footer .footer-nav.footer-text-nav .footer-nav-sep{font-size:11px;}
}

/* 修复：电脑端顶部背景蓝线、手机端底部不出现第四行 */
.home-page .home-menu .nav-connect-lines,
.home-page .home-menu .nav-connect-lines *{
  display:none!important;
  stroke:transparent!important;
}
@media screen and (min-width:768px){
  .home-page{background-position:center top!important;}
}
@media screen and (max-width:767px){
  .home-page .copyright.site-footer{
    bottom:.65%!important;
    padding:0 4px!important;
    line-height:1.24!important;
  }
  .site-footer .footer-nav.footer-text-nav{
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
    margin-bottom:3px!important;
  }
  .site-footer .footer-nav.footer-text-nav a,
  .site-footer .footer-nav.footer-text-nav .footer-nav-sep{
    font-size:clamp(11px,3.35vw,12px)!important;
    line-height:1.25!important;
    padding-left:2px!important;
    padding-right:2px!important;
  }
  .site-footer .footer-copy,
  .site-footer .footer-cert{
    display:block!important;
    max-width:100%!important;
    margin:0 auto!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    font-size:clamp(7px,2.12vw,10px)!important;
    line-height:1.22!important;
    letter-spacing:-.35px!important;
    color:#fff!important;
  }
}
@media screen and (max-width:360px){
  .site-footer .footer-copy,
  .site-footer .footer-cert{
    font-size:7px!important;
    letter-spacing:-.5px!important;
  }
  .site-footer .footer-nav.footer-text-nav a,
  .site-footer .footer-nav.footer-text-nav .footer-nav-sep{
    font-size:10.5px!important;
  }
}
