:root {
  color-scheme: dark;
  --text: #f4eddf;
  --accent: #f0cb82;
  --button-text: #f2dbac;
  --service-text: #f3ead6;
  --heading: #e8c986;
  --card-radius: 28px;
}
* { box-sizing: border-box; }
html { min-width: 280px; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(ellipse at 17% 0%, #cbe7ff, transparent 62%), linear-gradient(135deg, #e0f1ff, #f4faff 75%);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; color: inherit; }
.game-entry, .platform-entry { text-decoration: none; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #3374da; outline-offset: 4px; }
button, .service-card { min-width: 0; }
svg { display: block; overflow: hidden; }
svg image { pointer-events: none; }
h1, h2, h3, p { margin: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 16px; background: #fff; color: #245798; border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.page {
  width: min(1800px, calc(100% - 48px));
  margin: 8px auto 26px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 16px;
  border: 1px solid #ffffff9e;
  border-radius: 32px;
  background: #f8ffffc4;
  box-shadow: 0 12px 55px #7195c210;
}
.promo-card { min-width: 0; overflow: hidden; border-radius: var(--card-radius); background: linear-gradient(110deg, #e0f3ff, #f2faff); display: flex; flex-direction: column; }
.promo-top { min-width: 0; position: relative; background: radial-gradient(ellipse at 14% 38%, #caf0ff9c, transparent 59%); }
.promo-copy { width: min(480px, calc(100% - 64px)); margin-inline: auto; padding-top: 40px; text-align: center; }
.promo-copy h1 { font-size: clamp(1.875rem, 2.6vw, 3rem); font-weight: 900; letter-spacing: -.025em; line-height: 1.1; color: var(--accent); }
.promo-copy h1 span { white-space: nowrap; }
.promo-copy p { font-size: clamp(1.0625rem, 1.46vw, 1.625rem); line-height: 1.3; color: #5c6674; font-weight: 650; margin-top: 8px; }
.hero-art { display: block; width: min(690px, calc(100% - 48px)); height: auto; margin: 28px auto 0; }
.games { flex: 1; padding: 15px 38px 26px; background: linear-gradient(105deg, #e2f2ff, #cfe8ff); }
.games-heading p { color: #4f85bd; font-size: .875rem; font-weight: 700; letter-spacing: .045em; }
.games-heading h2 { font-size: clamp(1.125rem, 1.38vw, 1.625rem); line-height: 1.4; color: #274e83; font-weight: 750; }
.game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 2px; }
.game-entry { display: flex; flex-direction: column; align-items: center; padding: 0; border: 0; border-radius: 18px; background: transparent; transition: transform .18s, background .18s; }
.game-entry:hover { transform: translateY(-4px); background: #ffffff25; }
.game-entry:active { transform: translateY(-1px); }
.game-icon { width: 100%; max-width: 118px; height: auto; }
.game-entry span { font-size: clamp(1rem, 1.21vw, 1.375rem); font-weight: 650; line-height: 1.4; color: #527291; padding: 2px 0 5px; }
.right-column { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.quick-access { padding: 18px 20px 20px; border: 1px solid #ffffffd9; background: #ffffffdf; border-radius: var(--card-radius); box-shadow: 0 14px 27px #49769908; }
.section-chip { display: table; padding: 5px 14px; border-radius: 24px; color: #2669bc; background: #f0f7ff; font-size: .875rem; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.platform-entry { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 86px; padding: 15px 19px; border: 1px solid #c9dfff; border-radius: 25px; background: linear-gradient(#fcfeff, #eaf3ff); box-shadow: inset 0 0 0 1px #ffffffd1, 0 2px 3px #699fdd04; text-align: left; color: var(--button-text); transition: transform .18s, box-shadow .18s, border-color .18s; }
.platform-entry:hover { transform: translateY(-2px); border-color: #8bbbff; box-shadow: inset 0 0 0 1px #fff, 0 7px 17px #72a5dd1d; }
.platform-entry:active { transform: translateY(0); }
.platform-entry > span { min-width: 0; overflow-wrap: break-word; font-size: clamp(1rem, 1.28vw, 1.375rem); line-height: 1.4; font-weight: 650; }
.platform-logo { width: 48px; height: 46px; flex: 0 0 48px; }
.mk-logo { width: 46px; height: 46px; }
.leyu-logo { width: 48px; height: 41px; }
.services { flex: 1; min-width: 0; border-radius: var(--card-radius); padding: 60px 20px 20px; background: linear-gradient(140deg, #f8fcff, #eaf3ff); border: 1px solid #ffffffbd; }
.service-heading { text-align: center; color: var(--heading); margin: 0 0 10px; }
.service-title-row { display: flex; align-items: center; gap: 23px; }
.service-title-row h2 { flex: 0 1 auto; font-size: clamp(2rem, 3.02vw, 3.5rem); font-weight: 900; letter-spacing: .02em; line-height: 1.2; }
.service-title-row i { min-width: 14px; flex: 1; height: 2px; position: relative; background: linear-gradient(90deg, #c9ddff, #61759d); }
.service-title-row i:last-child { transform: rotate(180deg); }
.service-title-row i:after { content: ""; width: 12px; height: 20px; position: absolute; top: 0; right: -3px; background: #5c7097; transform: skew(30deg); }
.service-heading > p { font-size: clamp(1.0625rem, 1.48vw, 1.625rem); line-height: 1.35; font-family: Arial, sans-serif; font-weight: 700; letter-spacing: .08em; margin-top: 2px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { display: flex; align-items: center; gap: 10px; padding: 21px 19px; min-height: 158px; border: 1px solid #e8eef7; border-radius: 17px; background: #fff; box-shadow: 0 3px 3px #55687d1a; }
.service-icon { width: 94px; height: 104px; flex: 0 0 94px; }
.service-copy { min-width: 0; flex: 1; }
.service-copy h3 { color: var(--service-text); font-size: clamp(1.0625rem, 1.79vw, 2rem); line-height: 1.3; font-weight: 550; overflow-wrap: break-word; }
.service-copy p { margin-top: 7px; color: #636074; font-size: clamp(1rem, 1.23vw, 1.3125rem); line-height: 1.45; overflow-wrap: break-word; }
dialog { width: min(410px, calc(100% - 36px)); padding: 0; color: #335374; background: #fafdff; border: 1px solid #d5e9ff; border-radius: 23px; box-shadow: 0 25px 90px #325b9540; max-height: calc(100dvh - 40px); }
dialog::backdrop { background: #2a486965; backdrop-filter: blur(4px); }
.dialog-body { position: relative; padding: 30px; }
.dialog-tag { display: inline-block; border-radius: 30px; padding: 4px 11px; color: #527eae; background: #eaf5ff; font-size: .8125rem; }
.dialog-body h2 { color: #305e91; font-size: 1.4rem; line-height: 1.4; margin-top: 18px; padding-right: 6px; }
.dialog-body p { margin-top: 12px; font-size: 1rem; line-height: 1.6; color: #688097; }
.dialog-close { position: absolute; right: 13px; top: 10px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; background: transparent; border: 0; border-radius: 50%; font-size: 28px; color: #6585a5; }
.dialog-close:hover { background: #eaf3ff; }
.dialog-ok { display: block; width: 100%; margin-top: 25px; min-height: 46px; padding: 10px 16px; background: linear-gradient(#57b6ff, #3694f4); border: 0; border-radius: 11px; color: #fff; font-weight: 700; font-size: 1rem; }
/* 黑金主题：香槟金高亮与暖黑卡片，响应式布局保持一致。 */
body { background: radial-gradient(ellipse at 16% 0%, #242017, transparent 57%), #060709; }
::selection { color: #15120b; background: #e4bf75; }
.skip-link { background: #28241b; color: #f3e1b9; }
button:focus-visible, a:focus-visible { outline-color: #f3d494; }
.page { background: #0b0d10ed; border-color: #51442f; box-shadow: 0 18px 70px #0006; }
.promo-card { background: linear-gradient(125deg, #191b1e, #101114); }
.promo-top { background: radial-gradient(ellipse at 32% 56%, #73562528, transparent 66%); }
.promo-copy h1 { color: #fff5de; text-shadow: 0 2px 14px #0004; }
.promo-copy h1 span { color: #f0cb82; }
.promo-copy p { color: #c0b597; }
.hero-art { object-fit: contain; }
.games { background: linear-gradient(105deg, #1a1b1d, #111315); border-top: 1px solid #66512e; }
.games-heading p { color: #c7a86d; }
.games-heading h2 { color: #f4dfb5; }
.game-entry span { color: #e6cca0; }
.game-entry:hover { background: #e6bb6314; }
.game-icon { filter: none; mix-blend-mode: normal; }
.platform-logo { object-fit: contain; filter: none; mix-blend-mode: normal; }
.service-icon { filter: invert(1) grayscale(1) sepia(1) saturate(3.3) contrast(1.5) brightness(1.25); mix-blend-mode: screen; }
.quick-access { background: linear-gradient(135deg, #202225, #101215); border-color: #75603b; box-shadow: 0 14px 30px #0003; }
.section-chip { color: #f0cf8d; background: #362d1d; }
.platform-entry { color: #f4dda9; border-color: #8a6b36; background: linear-gradient(#302b22, #1c1c1d); box-shadow: inset 0 1px 0 #ffeac10b, 0 3px 10px #0002; }
.platform-entry:hover { color: #fff0c9; border-color: #e5bd71; box-shadow: inset 0 1px 0 #fff4d914, 0 6px 20px #0004; }
.services { background: linear-gradient(145deg, #1b1d20, #101215); border-color: #5c4a2d; }
.service-heading { color: #e5c382; }
.service-title-row i { background: linear-gradient(90deg, #47381f, #d8b064); }
.service-title-row i:after { background: #d9b974; }
.service-heading > p { color: #bd9e62; }
.service-card { background: linear-gradient(130deg, #28292b, #1b1d20); border-color: #73603b; box-shadow: 0 3px 8px #0004; }
.service-copy h3 { color: #f2dfb7; }
.service-copy p { color: #bdb39f; }
dialog { color: #eee0c3; background: #1d1e20; border-color: #927541; box-shadow: 0 25px 90px #0009; }
dialog::backdrop { background: #040506cc; }
.dialog-tag { color: #e8c989; background: #373021; }
.dialog-body h2 { color: #f8e6be; }
.dialog-body p { color: #c8ba9d; }
.dialog-close { color: #d6bc89; }
.dialog-close:hover { background: #393123; }
.dialog-ok { background: linear-gradient(#f2d38f, #c69848); color: #1c150b; }
@media (max-width: 1580px) {
  .page { width: calc(100% - 32px); padding: 13px; gap: 13px; }
  .promo-copy { padding-top: 34px; }
  .hero-art { margin-top: 32px; }
  .games { padding-inline: 24px; }
  .quick-access { padding: 17px; }
  .entry-grid { gap: 13px; }
  .platform-entry { min-height: 77px; padding: 13px 15px; gap: 12px; border-radius: 21px; }
  .platform-logo { width: 41px; height: 41px; flex-basis: 41px; }
  .services { padding: 48px 17px 18px; }
  .service-title-row { gap: 18px; }
  .service-grid { gap: 14px; }
  .service-card { padding: 18px 14px; min-height: 145px; gap: 8px; }
  .service-icon { width: 75px; height: 84px; flex-basis: 75px; }
}
@media (max-width: 1240px) and (min-width: 981px) {
  .page { width: calc(100% - 24px); padding: 11px; gap: 11px; border-radius: 25px; }
  .promo-card, .quick-access, .services { border-radius: 22px; }
  .promo-copy { width: calc(100% - 36px); margin-inline: 18px; padding-top: 31px; }
  .promo-copy h1 { font-size: 1.875rem; }
  .promo-copy p { font-size: 1.0625rem; }
  .hero-art { width: calc(100% - 44px); margin: 30px auto 0; }
  .games { padding-inline: 20px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 17px; margin-top: 9px; }
  .game-icon { max-width: 82px; }
  .quick-access { padding: 15px; }
  .entry-grid { gap: 11px; margin-top: 13px; }
  .platform-entry { min-height: 74px; padding: 12px; gap: 10px; border-radius: 18px; }
  .platform-logo { width: 34px; height: 36px; flex-basis: 34px; }
  .platform-entry > span { font-size: 1rem; }
  .services { padding: 36px 14px 16px; }
  .service-heading { margin-bottom: 16px; }
  .service-title-row h2 { font-size: 2.2rem; }
  .service-grid { gap: 12px; }
  .service-card { flex-direction: column; text-align: center; padding: 17px 12px; min-height: 192px; gap: 7px; }
  .service-icon { width: 67px; height: 73px; flex: 0 0 73px; }
  .service-copy { flex: initial; width: 100%; }
  .service-copy h3 { font-size: 1.25rem; }
  .service-copy p { font-size: 1rem; margin-top: 5px; }
}
@media (max-width: 980px) {
  .page { width: min(760px, calc(100% - 28px)); grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 14px; margin-top: 10px; }
  .promo-copy { margin-inline: auto; width: calc(100% - 36px); padding-top: 34px; }
  .promo-copy h1 { font-size: clamp(2rem, 5.2vw, 2.75rem); }
  .promo-copy p { font-size: clamp(1.125rem, 2.7vw, 1.5rem); }
  .hero-art { width: min(600px, calc(100% - 40px)); margin: 25px auto 0; }
  .games { padding: 17px 25px 22px; }
  .games-heading h2 { font-size: 1.5rem; }
  .game-grid { gap: 10px; margin-top: 5px; }
  .game-entry span { font-size: 1.125rem; }
  .right-column { gap: 14px; }
  .quick-access { padding: 19px; }
  .entry-grid { gap: 14px; }
  .platform-entry { min-height: 79px; padding: 16px 20px; gap: 16px; }
  .platform-entry > span { font-size: 1.25rem; }
  .platform-logo { width: 44px; height: 45px; flex-basis: 44px; }
  .services { padding: 34px 19px 20px; }
  .service-heading { margin-bottom: 18px; }
  .service-title-row h2 { font-size: 2.7rem; }
  .service-heading > p { font-size: 1.25rem; }
  .service-card { min-height: 140px; padding: 20px 16px; gap: 9px; }
  .service-icon { width: 75px; height: 86px; flex-basis: 75px; }
  .service-copy h3 { font-size: 1.5rem; }
  .service-copy p { font-size: 1rem; }
}
@media (max-width: 600px) {
  :root { --card-radius: 21px; }
  .page { width: calc(100% - 16px); padding: 8px; margin-top: 8px; border-radius: 27px; gap: 12px; }
  .promo-copy { padding-top: 26px; width: calc(100% - 24px); }
  .promo-copy h1 { font-size: clamp(1.75rem, 7.3vw, 2.45rem); line-height: 1.18; }
  .promo-copy p { margin-top: 6px; font-size: clamp(1rem, 4vw, 1.25rem); }
  .hero-art { width: calc(100% - 18px); margin-top: 20px; }
  .games { padding: 15px 18px 19px; }
  .games-heading p { font-size: .8125rem; }
  .games-heading h2 { font-size: 1.25rem; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px 20px; margin-top: 7px; }
  .game-icon { max-width: 108px; }
  .game-entry span { font-size: 1rem; }
  .right-column { gap: 12px; }
  .quick-access { padding: 15px; }
  .entry-grid { gap: 11px; margin-top: 12px; }
  .platform-entry { min-height: 72px; gap: 9px; padding: 13px 12px; border-radius: 18px; }
  .platform-entry > span { font-size: 1rem; }
  .platform-logo { width: 34px; height: 36px; flex-basis: 34px; }
  .services { padding: 29px 14px 15px; }
  .service-title-row { gap: 15px; }
  .service-title-row h2 { font-size: clamp(1.875rem, 7.3vw, 2.3rem); }
  .service-title-row i:after { width: 8px; height: 14px; }
  .service-heading > p { font-size: 1.0625rem; margin-top: 5px; }
  .service-grid { gap: 12px; }
  .service-card { flex-direction: column; text-align: center; align-items: center; padding: 18px 12px; gap: 8px; min-height: 205px; border-radius: 15px; }
  .service-icon { width: 69px; height: 74px; flex: 0 0 74px; }
  .service-copy { flex: initial; width: 100%; }
  .service-copy h3 { font-size: 1.18rem; }
  .service-copy p { font-size: 1rem; line-height: 1.5; margin-top: 5px; }
}
@media (max-width: 420px) {
  .quick-access { padding: 13px; }
  .entry-grid { gap: 10px; }
  .platform-entry { flex-direction: column; justify-content: center; text-align: center; min-height: 100px; gap: 6px; padding: 12px 7px; }
  .platform-logo { width: 36px; height: 36px; flex: 0 0 36px; }
  .platform-entry > span { font-size: .9375rem; }
  .service-grid { gap: 10px; }
  .service-card { padding-inline: 10px; }
  .service-copy h3 { font-size: 1.0625rem; }
  .service-copy p { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
