* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 0 !important; width: 100% !important; margin: 0; overflow-x: hidden; font-family: Arial, "Microsoft YaHei", sans-serif; }
ul { margin: 0; padding: 0; list-style: none; }
a { text-decoration: none; }
button, input { font: inherit; }

.online-float { position: fixed; z-index: 97; top: 17%; left: 5%; width: 185px; height: 116px; }
.online-float img { display: block; width: 185px; height: 116px; }
.rightbox { position: fixed; z-index: 98; top: 432px; right: 25px; width: 65px; height: 400px; }
.header { height: 107px; margin: 0 auto; }
.header .logo { margin-top: 9px; }
.newtop a, .newtop a span { color: #fff; }
.mobile-menu { display: none; }

.promo-banner { position: relative; height: 303px; }
.promo-banner .fbd, .promo-banner .fbd ul, .promo-banner .promo-slide { width: 100%; height: 300px; }
.promo-slide { background: url("./assets/images/banner/qiandan.png") center top / auto 300px no-repeat; }
.promo-slide > a { display: block; width: 100%; height: 100%; }
.promo-copy { position: absolute; z-index: 5; top: 31px; left: max(calc(50% - 525px), 30px); width: 590px; height: 235px; padding: 19px 34px; border: 5px solid rgba(255,255,255,.72); border-radius: 26px; color: #fff; background: linear-gradient(135deg, rgba(229,40,73,.96), rgba(255,88,111,.95)); box-shadow: 0 13px 36px rgba(126,29,49,.28), inset 0 0 0 2px rgba(255,202,97,.65); text-align: center; transform: rotate(-1deg); }
.promo-copy::before, .promo-copy::after { content: ""; position: absolute; width: 17px; height: 17px; border-radius: 50%; background: #ffe26e; box-shadow: 28px -14px 0 #fff, 55px 7px 0 #ffb45a; }
.promo-copy::before { left: 25px; top: 30px; }
.promo-copy::after { right: 88px; bottom: 26px; transform: rotate(180deg); }
.promo-copy small, .promo-copy strong, .promo-copy span { display: block; }
.promo-copy small { margin-bottom: 3px; color: #ffe993; font-size: 15px; font-weight: 700; letter-spacing: 6px; }
.promo-copy strong { font-size: 55px; line-height: 1.12; text-shadow: 0 4px 0 rgba(133,25,48,.22); }
.promo-copy strong b { color: #fff26a; font-size: 72px; font-style: italic; }
.promo-copy span { font-size: 23px; font-weight: 700; }
.promo-copy > a { display: inline-block; margin-top: 11px; padding: 7px 28px; border-radius: 20px; color: #bc203e; background: #ffd85d; font-size: 15px; font-weight: 700; box-shadow: inset 0 -3px 0 rgba(197,104,0,.15); }

.newlogin-form { height: 293px; top: -293px; background-size: 100% 100%; }
.newlogin-form .tb02 { width: 202px; border-collapse: collapse; }
.newlogin-form .input { height: 31px; }
.newlogin-form .reg_code { width: 99px; }
.static-code { width: 93px; height: 31px; display: grid; place-items: center; color: #20151a; background: repeating-linear-gradient(-12deg,#e7e0d1 0,#e7e0d1 3px,#c8b9cf 4px,#f4eadb 7px); font: italic 700 20px Georgia, serif; letter-spacing: 4px; }
.btNewOrange { display: block; color: transparent; cursor: pointer; }
.btnReg { position: relative; }
.btnReg span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.news-marquee { width: max-content; padding-left: 880px; color: #fff; white-space: nowrap; animation: news-scroll 35s linear infinite; }
@keyframes news-scroll { to { transform: translateX(-100%); } }

.games-left { width: 814px; float: left; }
.tabphb { width: 100%; border-collapse: separate; border-spacing: 0 1.5px; }
.tabphb tr { height: 20px; text-align: center; }
.tabphb thead tr { height: 43px; }
.tabphb th:first-child { width: 20%; }
.gamerecommend .bj-item { width: 224px; }

.signup-offer { position: relative; margin-left: 10.5px; overflow: hidden; background: linear-gradient(135deg,#ff4c64,#c51031); }
.signup-offer .signin { opacity: .14; filter: saturate(.7); }
.signup-offer > div { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; text-align: center; }
.signup-offer b { color: #fff3a2; font-size: 22px; text-shadow: 0 2px 0 rgba(95,0,20,.35); }
.signup-offer span { margin-top: 5px; color: #fff; font-size: 13px; }

.five_feature ul li:last-child { margin-right: 0; float: right; }
.lbox .container { display: flex; width: 100%; }
.lbox .cards_list { flex: 0 0 100%; }
.lbox .cards_list:not(:first-child) { display: none; }
.lbox .cards_list img { display: block; max-width: 100%; height: auto; }
.lbcenter-font > span { color: #f7374b; font-weight: bold; }
.footer-copy { margin-top: 15px; color: #fff; text-align: center; }
.footer-copy i { padding: 0 10px; font-style: normal; }
.footer-copy p { margin: 10px 0 0; }

@media (max-width: 1156px) {
  body { width: 100% !important; }
  .newtop-cont, .header, .newloginw, .newbox, .gametype, .gameceterbox, .five_feature, .lbcenter-font, .newfootbox { width: min(100% - 32px, 1000px); }
  .header { position: relative; display: flex; align-items: center; }
  .header .logo { float: none; flex: 0 0 276px; }
  .header-nav { margin-left: auto; }
  .header-list li { margin-right: 0; width: 77px; }
  .header-list li a { width: 77px; }
  .top-box { margin-left: 15px; }
  .promo-copy { left: max(calc(50% - 500px), 24px); width: 545px; }
  .newlogin-form { right: 10px; }
  .games-left { width: calc(100% - 286px); }
  .gameclass { width: calc(50% - 10px); }
  .gamexyun { margin-left: 20px; }
  .gamerecommend { width: 100%; overflow: hidden; }
  .gamerecommend ul { display: flex; }
  .gamerecommend ul li, .gamerecommend .bj-item { flex: 1 1 0; width: auto; }
  .gamerecommend .bj28 { background-size: cover; }
  .gamerecommend .canadan28, .gamerecommend .rc28, .gamerecommend .cq28 { width: calc(100% - 18px); }
  .centeright { width: 272px; }
  .gameceterbox ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .gameceterbox ul li, .gameceterbox ul li:first-child { width: auto; margin: 0; }
  .five_feature ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .five_feature ul li, .five_feature ul li:last-child { width: auto; margin: 0; float: none; }
  .feature, .feature_pic, .feature_box { width: 100%; }
  .feature_pic a { width: 100%; }
  .lbcenter { width: min(90%, 939px); }
  .newfootbox ul { display: grid; grid-template-columns: repeat(4, 1fr); }
  .newfootbox ul li { width: auto; margin: 0; }
  .rightbox { right: 5px; }
}

@media (max-width: 820px) {
  .newtop-cont { width: calc(100% - 24px); }
  .newuserlink { display: none; }
  .header { width: calc(100% - 24px); height: 88px; }
  .header .logo { margin: 0; transform: scale(.82); transform-origin: left center; }
  .mobile-menu { width: 44px; height: 44px; margin-left: auto; display: grid; place-content: center; gap: 5px; border: 0; border-radius: 4px; background: #f7374b; }
  .mobile-menu i { width: 23px; height: 2px; background: #fff; }
  .header-nav { position: absolute; z-index: 120; top: 80px; left: 0; right: 0; height: auto; display: none; padding: 10px; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.16); }
  .header-nav.open { display: block; }
  .header-list { display: grid; grid-template-columns: repeat(4, 1fr); }
  .header-list li, .header-list li a { width: 100%; height: 84px; }
  .top-box { width: 45px; float: none; margin: 7px auto 0; }
  .topfont { margin-top: 0; border: 0; }
  .online-float, .rightbox { display: none; }
  .promo-banner { height: auto; min-height: 620px; background: #ffb5bd; }
  .promo-banner .fbd, .promo-banner .fbd ul, .promo-banner .promo-slide { height: 260px; }
  .promo-slide { background-size: auto 260px; }
  .promo-copy { top: 20px; left: 50%; width: min(calc(100% - 32px), 520px); height: 220px; padding: 18px; transform: translateX(-50%) rotate(-1deg); }
  .promo-copy strong { font-size: 43px; }
  .promo-copy strong b { font-size: 56px; }
  .promo-copy span { font-size: 19px; }
  .newloginw { width: 100%; }
  .newlogin-form { top: 0; right: auto; left: 50%; width: min(calc(100% - 32px), 360px); height: 330px; padding: 28px calc((100% - 226px) / 2); transform: translateX(-50%); background-size: cover; }
  .newlogin-form h2, .newlogin-form h3, .newlogin-form .tb02 { width: 226px; }
  .newlogin-form .reg_name, .newlogin-form .reg_password { width: 226px; }
  .forget { right: calc((100% - 226px) / 2 + 8px); }
  .news { float: none; }
  .newbox { width: 100%; }
  .boart_content { width: calc(100% - 113px); overflow: hidden; }
  .gamebox { float: none; height: auto; min-height: 0; padding: 22px 0 36px; background-repeat: repeat-y; }
  .gametype { width: min(100% - 24px, 620px); height: auto; margin-top: 0; display: flex; flex-direction: column; }
  .games-left { width: 100%; float: none; }
  .gameclass { width: 100%; max-width: 437px; float: none; margin: 0 auto 16px; }
  .gamexyun { margin: 0 auto 16px; }
  .gamerecommend { height: auto; overflow: visible; }
  .gamerecommend ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .gamerecommend ul li, .gamerecommend .bj-item { width: 100%; height: 240px; overflow: hidden; background: #fff; }
  .gamerecommend .bj28 { height: 240px; background-size: cover; }
  .gamerecommend .canadan28, .gamerecommend .rc28, .gamerecommend .cq28 { width: calc(100% - 18px); height: 205px; }
  .gamerecommend .rc28, .gamerecommend .cq28 { margin-top: 35px; }
  .centeright { width: min(100%, 360px); margin: 24px auto 0; float: none; }
  .userphb { height: 460px; background-size: 100% 100%; }
  .phbox { width: calc(100% - 14px); }
  .gameceter { float: none; height: auto; margin: 0; padding: 24px 0; }
  .gameceterbox { width: min(100% - 24px, 600px); height: auto; }
  .gameceterbox ul { grid-template-columns: repeat(2, 1fr); }
  .gameceterbox ul li { height: 82px; }
  .gameceterbox ul li a { width: 100%; height: 82px; }
  .signup-offer b { font-size: 18px; }
  .five_featureBox { float: none; height: auto; padding: 24px 0; background-repeat: repeat-y; }
  .five_feature { width: min(100% - 24px, 600px); height: auto; margin-top: 0; }
  .five_feature ul { grid-template-columns: repeat(2, 1fr); }
  .five_feature ul li, .feature { height: 300px; }
  .feature_pic { height: 220px; }
  .feature_pic a { height: 220px; }
  .five_feature ul li:last-child { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; }
  .lbox { float: none; height: auto; min-height: 330px; margin: 0; padding-bottom: 30px; }
  .lbcenter-font { width: 100%; }
  .lbcenter { width: calc(100% - 24px); }
  .cards_list img { width: 100% !important; }
  .newfooter { float: none; height: auto; min-height: 320px; padding: 10px 0 25px; background-size: cover; }
  .newfootbox { width: min(100% - 24px, 600px); }
  .newfootbox ul { height: auto; grid-template-columns: repeat(2, 1fr); gap: 16px 0; padding-bottom: 18px; }
  .newfootbox ul li { height: 100px; }
  .footer-copy { padding: 0 20px; line-height: 2; }
}

@media (max-width: 480px) {
  .newhomehead { font-size: 11px; }
  .header .logo { margin-right: -38px; }
  .header-list { grid-template-columns: repeat(3, 1fr); }
  .promo-copy { height: 218px; padding-top: 25px; }
  .promo-copy small { font-size: 11px; letter-spacing: 3px; }
  .promo-copy strong { font-size: 33px; }
  .promo-copy strong b { font-size: 47px; }
  .promo-copy span { font-size: 17px; }
  .gamerecommend ul { grid-template-columns: 1fr; }
  .gamerecommend ul li, .gamerecommend .bj-item { max-width: 224px; justify-self: center; }
  .gameceterbox ul { grid-template-columns: 1fr; }
  .gameceterbox ul li { height: 90px; }
  .gameceterbox ul li a { height: 90px; }
  .five_feature ul { gap: 12px; }
  .five_feature ul li, .feature { height: 235px; }
  .feature_pic, .feature_pic a { height: 170px; }
  .feature_box { height: 65px; }
  .feature_title { margin-top: 10px; font-size: 16px; }
  .feature_coutect { margin-top: 5px; font-size: 11px; }
  .lbox { min-height: 245px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
