:root {
  --bg: #edf8ff;
  --bg-soft: #f6fbff;
  --ink: #1a304e;
  --muted: #71839a;
  --blue: #2e9ef5;
  --blue-dark: #12589f;
  --gold: #dca642;
  --gold-dark: #b37a19;
  --line: #d7e9f7;
  --shadow: 0 12px 34px rgba(39, 106, 170, .15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 251, 255, .94);
  border-bottom: 1px solid rgba(164, 205, 238, .8);
  box-shadow: 0 8px 24px rgba(21, 92, 154, .08);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  position: relative;
  height: 74px;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 154px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.35vw, 22px);
  color: #31516f;
  font-size: 15px;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding: 27px 0 24px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue-dark);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ghost-btn,
.gold-btn,
.notice-more,
.play-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 22px;
  border-radius: 4px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ghost-btn {
  color: var(--blue-dark);
  border: 1px solid #acd5f7;
  background: #fff;
}

.gold-btn,
.notice-more {
  color: #fff;
  border: 1px solid #efca80;
  background: linear-gradient(180deg, #f1d28d 0%, #d9a13d 46%, #b97818 100%);
  box-shadow: 0 9px 18px rgba(190, 130, 31, .24);
}

.ghost-btn:hover,
.gold-btn:hover,
.notice-more:hover,
.play-now:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 8px;
  border: 1px solid #b9d9f2;
  border-radius: 4px;
  background:
    linear-gradient(#31516f, #31516f) center 10px / 20px 2px no-repeat,
    linear-gradient(#31516f, #31516f) center 18px / 20px 2px no-repeat,
    linear-gradient(#31516f, #31516f) center 26px / 20px 2px no-repeat,
    #fff;
}

.menu-toggle span {
  display: none;
}

.hero {
  position: relative;
  height: clamp(320px, 30.2vw, 500px);
  overflow: hidden;
  background: #d8efff;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  margin: 0;
  opacity: 0;
  transition: opacity .55s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 70px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: rgba(16, 67, 116, .34);
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.hero-arrow:hover {
  background: rgba(16, 67, 116, .52);
}

.hero-arrow.prev {
  left: 22px;
}

.hero-arrow.next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(32, 90, 146, .28);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--blue);
}

.partner-strip {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  margin: -42px auto 0;
  overflow: hidden;
  border: 1px solid #d5e9fa;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.partner-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  padding: 15px 18px;
  animation: partnerMove 26s linear infinite;
}

.partner-track:hover {
  animation-play-state: paused;
}

.partner-track img {
  width: 156px;
  height: 101px;
  object-fit: contain;
  flex: 0 0 auto;
}

@keyframes partnerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.notice-bar {
  width: min(1180px, calc(100% - 32px));
  min-height: 48px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 8px 10px 8px 18px;
  border: 1px solid #d6e9f8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(30, 100, 170, .08);
}

.notice-bar strong {
  color: var(--blue-dark);
  font-size: 15px;
}

.notice-mask {
  overflow: hidden;
  color: #4e6880;
  font-size: 14px;
  white-space: nowrap;
}

.notice-line {
  display: inline-flex;
  gap: 52px;
  animation: noticeMove 24s linear infinite;
}

@keyframes noticeMove {
  from { transform: translateX(18%); }
  to { transform: translateX(-100%); }
}

.notice-more {
  min-height: 32px;
  padding: 0 18px;
  font-size: 14px;
}

.quick-entry {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: minmax(300px, 1.75fr) repeat(3, minmax(128px, 1fr));
  gap: 14px;
}

.quick-entry a,
.quick-entry button {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #d5e9fa;
  border-radius: 8px;
  background: #fff;
  color: #385a79;
  box-shadow: 0 8px 18px rgba(34, 101, 166, .08);
  font-weight: 700;
  border: 1px solid #d5e9fa;
  cursor: pointer;
}

.quick-entry > *:first-child {
  min-height: 106px;
  gap: 18px;
  font-size: 21px;
}

.quick-entry > *:not(:first-child) {
  min-height: 64px;
  flex-direction: column;
  gap: 6px;
  padding: 8px 6px;
  font-size: 14px;
  line-height: 1.15;
  text-align: center;
}

.quick-entry span {
  display: inline-flex;
  min-width: 52px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(180deg, #62c0ff, #1b83d4);
  font-size: 17px;
}

.quick-entry > *:first-child span {
  min-width: 82px;
  height: 56px;
  font-size: 26px;
}

.quick-entry > *:not(:first-child) span {
  min-width: 48px;
  height: 32px;
  font-size: 15px;
}

.support-float {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 28;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
}

.support-float button {
  width: 82px;
  min-height: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid #badbf4;
  border-radius: 8px;
  color: #174772;
  background: linear-gradient(180deg, #fff 0%, #eff9ff 100%);
  box-shadow: 0 10px 24px rgba(28, 95, 158, .16);
  cursor: pointer;
}

.support-float button:hover {
  border-color: #63b8f3;
  color: #0e68b9;
  transform: translateX(-2px);
}

.support-float strong {
  font-size: 17px;
}

.support-float span {
  font-size: 12px;
}

.support-mobile-dock {
  display: none;
}

.support-modal[hidden] {
  display: none;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.support-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 32, 57, .46);
  backdrop-filter: blur(4px);
}

.support-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: 34px 34px 30px;
  border: 1px solid #d5e9fa;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(12, 59, 105, .34);
}

.support-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid #c8e1f4;
  border-radius: 4px;
  color: #31516f;
  background: #f7fcff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.support-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.support-panel h2 {
  margin: 0;
  color: #163b62;
  font-size: 30px;
}

.support-desc {
  margin: 12px 0 22px;
  color: #5f7289;
  line-height: 1.7;
}

.support-card-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.support-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid #d7e9f7;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fcff);
}

.support-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(180deg, #63c6ff, #1f8fe0);
  font-weight: 800;
}

.support-card strong {
  display: block;
  color: #173b62;
  font-size: 17px;
}

.support-card p {
  margin: 6px 0 0;
  color: #71839a;
  font-size: 13px;
  line-height: 1.5;
}

.support-card a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(180deg, #f1d28d 0%, #d9a13d 48%, #b97818 100%);
  font-weight: 800;
  white-space: nowrap;
}

.download-section,
.service-section {
  padding: 70px 0;
}

.download-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: stretch;
}

.download-copy {
  padding: 36px 34px;
  border: 1px solid #d4e9f8;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.download-copy h1 {
  margin: 0 0 16px;
  color: #15385d;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
}

.download-copy p:not(.eyebrow) {
  margin: 0;
  color: #5f7289;
  line-height: 1.9;
}

.download-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.download-tabs button,
.game-tabs button {
  min-height: 42px;
  border: 1px solid #c7e0f3;
  border-radius: 4px;
  color: #31516f;
  background: #f7fcff;
  cursor: pointer;
  font-weight: 700;
}

.download-tabs button.is-active,
.game-tabs button.is-active {
  color: #fff;
  border-color: #3aa8f7;
  background: linear-gradient(180deg, #63c6ff, #1f8fe0);
  box-shadow: 0 8px 18px rgba(34, 139, 220, .22);
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.download-cards.single-download {
  grid-template-columns: 1fr;
}

.download-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 18px;
  border: 1px solid #d4e9f8;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.download-card img {
  width: 112px;
  height: 112px;
  padding: 8px;
  border: 1px solid #d9ebf8;
  border-radius: 6px;
  object-fit: contain;
  background: #f6fbff;
}

.single-download .download-card img {
  width: 180px;
  height: 180px;
}

.download-card strong {
  margin-top: 16px;
  color: #1c4367;
  font-size: 17px;
}

.app-url {
  width: 100%;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-section {
  padding: 34px 0 80px;
  background: linear-gradient(180deg, rgba(246, 251, 255, .1), #f7fcff 45%, #edf8ff 100%);
}

.section-title-image {
  width: min(980px, 100%);
  margin: 0 auto 24px;
}

.game-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.game-panel {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 1fr);
  gap: 28px;
  padding: 26px;
  border: 1px solid #d4e9f8;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.game-visual {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #d8efff;
}

.game-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.game-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.game-logo {
  width: 250px;
  margin-bottom: 14px;
}

.rebate {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 4px;
  background: #eef8ff;
  color: #57718b;
}

.rebate strong {
  color: var(--gold-dark);
  font-size: 30px;
}

.game-info h2 {
  margin: 0 0 12px;
  color: #18385e;
  font-size: 32px;
}

.game-info p {
  margin: 0 0 24px;
  color: #5c7188;
  line-height: 1.9;
}

.provider-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 12px;
  margin-bottom: 26px;
}

.provider-list a {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d7e9f7;
  border-radius: 8px;
  background: #f8fcff;
  color: #345674;
  font-weight: 700;
}

.provider-list img {
  width: 58px;
  height: 46px;
  object-fit: contain;
}

.play-now {
  min-width: 170px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 22px;
  border: 1px solid #d4e9f8;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin: 0 0 8px;
  color: #173b62;
  font-size: 23px;
}

.service-card small {
  color: #8aa2ba;
  font-size: 12px;
  font-weight: 800;
}

.service-card p {
  margin: 18px 0 0;
  color: #60758b;
  line-height: 1.8;
}

.metric {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2eff8;
  color: #8b6a25;
}

.metric strong {
  color: var(--gold-dark);
  font-size: 48px;
  line-height: .9;
}

.metric span {
  margin-left: 4px;
  font-weight: 800;
}

.metric em {
  display: block;
  margin-top: 8px;
  color: #6d8196;
  font-style: normal;
}

.site-footer {
  padding: 38px 0 32px;
  background: #102d4e;
  color: #b9cee0;
}

.brand-row,
.club-row,
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.brand-row {
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(196, 222, 244, .18);
}

.brand-row img {
  height: 38px;
  width: auto;
  opacity: .88;
}

.club-row {
  gap: 24px;
  padding: 24px 0;
}

.club-row img {
  height: 38px;
  width: auto;
  opacity: .82;
}

.footer-links {
  gap: 12px 26px;
  color: #d9e8f4;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  margin: 22px 0 0;
  color: #8da9c1;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 150px auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 8px;
    border: 1px solid #d4e9f8;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 14px 8px;
    text-align: center;
  }

  .main-nav a::after {
    bottom: 8px;
  }

  .download-layout,
  .game-panel {
    grid-template-columns: 1fr;
  }

  .download-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-cards,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-cards.single-download {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .partner-strip,
  .notice-bar,
  .quick-entry {
    width: min(calc(100% - 20px), 1200px);
  }

  .header-inner {
    height: 64px;
    grid-template-columns: 132px auto 42px;
    gap: 10px;
  }

  .brand img {
    width: 128px;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    position: fixed;
    top: 13px;
    right: auto;
    left: min(calc(100vw - 52px), 338px);
    z-index: 100;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    grid-column: 3;
  }

  .main-nav {
    top: 64px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    height: 260px;
  }

  .hero-slide img {
    object-position: center;
  }

  .hero-arrow {
    display: none;
  }

  .partner-strip {
    margin-top: -26px;
  }

  .partner-track {
    gap: 10px;
    padding: 10px;
  }

  .partner-track img {
    width: 126px;
    height: 82px;
  }

  .notice-bar {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .notice-mask {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .download-cards,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .download-cards.single-download {
    grid-template-columns: 1fr;
  }

  .single-download .download-card img {
    width: 168px;
    height: 168px;
  }

  .quick-entry {
    width: min(calc(100vw - 20px), 370px);
    margin: 18px 10px 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .quick-entry > * {
    min-width: 0;
  }

  .quick-entry > *:first-child {
    grid-column: 1 / -1;
    min-height: 112px;
    font-size: 22px;
  }

  .quick-entry > *:not(:first-child) {
    min-height: 58px;
    flex-direction: column;
    gap: 6px;
    padding: 8px 4px;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
  }

  .quick-entry > *:first-child span {
    min-width: 92px;
    height: 62px;
    font-size: 28px;
  }

  .quick-entry > *:not(:first-child) span {
    min-width: 42px;
    height: 30px;
    font-size: 14px;
  }

  .quick-entry button {
    width: 100%;
  }

  .support-float {
    display: none;
  }

  .support-mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 48;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #bfdcf2;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -10px 24px rgba(22, 86, 148, .14);
    backdrop-filter: blur(10px);
  }

  .support-mobile-dock button {
    min-height: 54px;
    padding: 0 4px;
    border: 0;
    border-right: 1px solid #e1eff9;
    color: #19466f;
    background: transparent;
    font-size: 13px;
    font-weight: 800;
  }

  .support-mobile-dock button:last-child {
    border-right: 0;
  }

  .support-modal {
    align-items: flex-end;
    padding: 0;
  }

  .support-panel {
    width: 100%;
    max-height: calc(100vh - 74px);
    padding: 26px 18px 74px;
    border-radius: 14px 14px 0 0;
  }

  .support-card {
    grid-template-columns: 42px 1fr;
  }

  .support-card a {
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-footer {
    padding-bottom: 88px;
  }

  .download-section,
  .service-section {
    padding: 46px 0;
  }

  .download-layout {
    grid-template-columns: 1fr;
  }

  .download-copy {
    padding: 28px 22px;
  }

  .game-section {
    padding: 26px 0 54px;
  }

  .game-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .game-panel {
    padding: 16px;
  }

  .game-visual {
    min-height: 260px;
  }

  .provider-list {
    grid-template-columns: 1fr;
  }

  .brand-row,
  .club-row {
    gap: 16px;
  }
}
