:root { color-scheme: dark; --bg: #11100e; --surface: #1b1915; --gold: #e8c47c; --muted: #aaa296; --line: rgba(225,190,118,.16); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: radial-gradient(ellipse at 50% 0,#292117,#0b0a09 70%); color: #f7f3e9; font: 15px/1.6 "Segoe UI","Microsoft YaHei","PingFang SC",sans-serif; -webkit-text-size-adjust: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; }
button,a { touch-action: manipulation; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline: 2px solid #ffe3a7; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1,h2,h3,p { margin: 0; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.site-shell { max-width: 1000px; min-height: 100vh; margin: 0 auto; background: var(--bg); box-shadow: 0 0 100px #0005; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 88px; padding: 16px 36px; background: #11100ef2; backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand-mark { font: italic 900 39px/1 Georgia,serif; color: #f8d894; letter-spacing: -3px; position: relative; padding-right: 8px; }
.brand-mark > span { position: absolute; font-size: 16px; top: -6px; right: -4px; }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-size: 17px; letter-spacing: .6px; }
.brand-copy small { font-size: 10px; letter-spacing: 1px; color: var(--muted); margin-top: 2px; }
.language-switch { display: flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid var(--line); background: #ffffff04; border-radius: 25px; flex-shrink: 0; }
.language-switch > .icon { margin: 0 6px; width: 16px; height: 16px; color: var(--muted); }
.language-switch button { min-width: 45px; min-height: 36px; padding: 6px 10px; border-radius: 20px; background: transparent; color: #b5ad9f; font-size: 12px; font-weight: 650; transition: background .2s,color .2s; }
.language-switch button[aria-pressed="true"] { background: #ebca86; color: #231b0d; box-shadow: 0 2px 12px #d5a44720; }
.hero { position: relative; min-height: 580px; isolation: isolate; overflow: hidden; background: #100d09; }
.hero-art { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; z-index: -3; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg,#0f0d09b8 0%,#100d0940 47%,transparent 74%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,var(--bg) 0%,#11100e00 33%); }
.hero-content { width: 49%; padding: 115px 0 95px 48px; }
.eyebrow { color: var(--gold); font-size: 11px; line-height: 1.4; letter-spacing: 2.2px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #e8c47c; box-shadow: 0 0 12px #e8c47c88; }
h1 { max-width: 360px; margin-top: 23px; font-size: clamp(38px,5vw,56px); font-weight: 750; line-height: 1.25; letter-spacing: 1px; text-wrap: balance; color: #fff3d5; text-shadow: 0 3px 24px #0006; }
.hero-description { max-width: 280px; margin-top: 20px; font-size: 14px; color: #d0c7b5; line-height: 1.9; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 23px; border-radius: 8px; font-size: 14px; font-weight: 650; line-height: 1.4; transition: transform .2s,box-shadow .2s,border-color .2s; }
.button-gold { color: #281d0b; background: linear-gradient(110deg,#f6d995,#d7ab59); border: 1px solid #f7d995; box-shadow: 0 5px 20px #b8802418,inset 0 1px 0 #fff5; }
.hero-download { margin-top: 29px; min-width: 212px; min-height: 54px; }
.button .arrow { margin-left: 12px; width: 16px; }
.explore-link { display: flex; width: fit-content; align-items: center; gap: 20px; font-size: 12px; color: #c9bda6; padding: 15px 1px 3px; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 23px; font-size: 11px; color: #b9af9e; }
.platforms i { width: 3px; height: 3px; border-radius: 50%; background: #d0b57a80; }
.hero-edition { position: absolute; right: 35px; bottom: 50px; letter-spacing: 4px; font-size: 10px; color: #e9cea5; writing-mode: vertical-rl; opacity: .65; }
.hero-edition b { font-size: 25px; margin-top: 10px; }
.content-wrap { position: relative; padding: 0 48px; }
.referral-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; padding: 20px 30px; margin-top: -15px; border: 1px solid #b78c4138; border-radius: 12px; background: linear-gradient(110deg,#2a2419,#1b1915 65%); box-shadow: 0 10px 25px #0002; }
.referral-label { display: flex; align-items: center; gap: 12px; color: #c5baa6; font-size: 13px; }
.referral-symbol { color: var(--gold); font-size: 24px; }
.referral-number { color: #f5d794; font: 600 28px/1.2 "Segoe UI",sans-serif; letter-spacing: 6px; user-select: all; }
.copy-button { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 82px; min-height: 40px; padding: 8px 12px; border: 1px solid #d5b36f40; border-radius: 7px; background: #ffffff05; color: #e1c58f; font-size: 12px; }
.copy-button .icon { width: 15px; height: 15px; }
.copy-status { min-height: 25px; text-align: center; font-size: 12px; color: var(--gold); padding-top: 5px; }
.games-section { padding-top: 32px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
h2 { margin-top: 10px; font-size: 28px; font-weight: 650; letter-spacing: .4px; line-height: 1.4; }
.section-number { color: #6b6253; font-size: 13px; letter-spacing: 2px; margin-bottom: 6px; }
.section-description { color: var(--muted); font-size: 13px; margin-top: 12px; line-height: 1.9; }
.game-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-top: 26px; }
.game-card { position: relative; min-width: 0; padding: 18px 10px 19px; text-align: center; overflow: hidden; border-radius: 12px; border: 1px solid #d4ba7a15; background: radial-gradient(ellipse at 50% 0,#3b30224a,transparent 85%),#1a1815; transition: transform .2s,border-color .2s,background-color .2s; }
.game-art { display: block; width: 96px; height: 66px; margin: 0 auto 13px; background: url("./assets/x-list.png") no-repeat; background-size: 352.5px 382.5px; mask-image: linear-gradient(#000 86%,transparent); filter: drop-shadow(0 5px 8px #0004); }
.art-money { background-position: -15px -53px; }
.art-bull { background-position: -130px -53px; }
.art-cards { background-position: -244px -53px; }
.art-mermaid { background-position: -15px -160px; }
.art-mahjong { background-position: -130px -160px; }
.art-cq9 { background-position: -244px -160px; }
.art-ag { background-position: -15px -270px; }
.art-sports { background-position: -130px -270px; }
.art-ky { background-position: -244px -270px; }
.game-card h3 { font-size: 15px; font-weight: 600; line-height: 1.5; color: #eee7d9; }
.game-category { display: block; color: #999080; font-size: 10px; margin-top: 3px; }
.game-arrow { position: absolute; top: 9px; right: 12px; font-size: 13px; color: #9f866054; }
.download-panel { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding: 30px; margin: 48px 0 50px; border: 1px solid #d5b36f30; border-radius: 14px; background: radial-gradient(ellipse at 0 0,#55401c38,transparent 75%),#1b1812; }
.download-copy { flex: 1; }
.download-copy h2 { font-size: 26px; }
.download-copy > p:not(.eyebrow) { font-size: 12px; color: var(--muted); margin-top: 12px; max-width: 270px; }
.download-copy .button { margin-top: 23px; }
.qr-card { flex-shrink: 0; text-align: center; }
.download-code { width: 174px; height: 174px; padding: 14px; border-radius: 10px; background: #fff; color: #241b0d; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.download-code canvas { display: block; width: 146px; height: 146px; }
.qr-card > span { display: block; margin-top: 9px; font-size: 10px; color: #aaa08e; }
.qr-card b { color: #dfc18a; letter-spacing: 1px; margin-left: 5px; }
.partner-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-steps > div { padding: 20px 24px; border-right: 1px solid var(--line); }
.partner-steps > div:first-child { padding-left: 0; }
.partner-steps > div:last-child { border-right: 0; }
.partner-steps span { font: italic 25px/1.4 Georgia,serif; color: #a8884d; }
.partner-steps h3 { font-size: 13px; font-weight: 500; margin-top: 5px; }
.button-outline { border: 1px solid #9d7f4d80; color: #e3c68f; background: #cfa95c08; }
.promotion-details { margin-top: 25px; color: #b0a490; font-size: 12px; }
.promotion-details summary { cursor: pointer; width: fit-content; padding: 10px 0; }
.promo-zh,.promo-en { margin-top: 15px; padding: 18px; border-radius: 12px; background: #211e18; border: 1px solid var(--line); }
.promo-zh img { margin: 0 auto; height: auto; }
.promo-en { display: none; }
html[lang="en"] .promo-en { display: block; }
html[lang="en"] .promo-zh { display: none; }
.promo-en h3 { margin-bottom: 12px; color: #f3d99f; font-size: 18px; }
.promo-en ol { padding-left: 20px; }
.promo-en li { margin: 12px 0; }
.promo-en li span { display: block; }
.promo-en b { color: #e7d7ba; }
.rebate-note { border-top: 1px solid var(--line); padding-top: 15px; }
.site-footer { display: flex; align-items: center; gap: 15px; padding: 45px 0 145px; color: #7f776b; font-size: 10px; }
.footer-mark { font: italic 700 25px Georgia,serif; color: #b49a67; }
.footer-line { flex: 1; height: 1px; background: var(--line); margin-left: 10px; }
.download-dock { display: flex; align-items: center; gap: 13px; position: fixed; z-index: 25; bottom: 16px; left: 50%; transform: translateX(-50%); width: min(904px,calc(100% - 32px)); padding: 13px 20px; border: 1px solid #d2b1723b; border-radius: 13px; background: #211d16f2; backdrop-filter: blur(20px); box-shadow: 0 8px 40px #0008; }
.dock-mark { display: flex; align-items: center; justify-content: center; width: 47px; height: 47px; flex-shrink: 0; border: 1px solid #d4b16d40; border-radius: 10px; background: linear-gradient(135deg,#5c492a,#211a10); color: #f4d59a; font: italic 700 21px Georgia,serif; letter-spacing: -1px; }
.dock-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.dock-copy strong { font-size: 14px; font-weight: 600; }
.dock-copy small { color: #aca08b; font-size: 10px; margin-top: 4px; }
.download-dock .button { min-height: 44px; padding: 10px 24px; font-size: 13px; }
html[lang="en"] h1 { font-size: 51px; letter-spacing: -1.4px; line-height: 1.12; }
html[lang="en"] .hero-content { padding-top: 94px; }
html[lang="en"] .eyebrow { letter-spacing: 1.8px; }
@media (hover:hover) {
  .button:hover { transform: translateY(-2px); box-shadow: 0 6px 24px #c3933333; }
  .game-card:hover { transform: translateY(-4px); border-color: #d4ba7a60; background-color: #242018; }
  .copy-button:hover { background: #d5b36f18; }
  .explore-link:hover,.promotion-details summary:hover { color: #f9db9d; }
}
@media (max-width:680px) {
  .site-header { min-height: 74px; padding: 12px 20px; }
  .brand { gap: 12px; }
  .brand-mark { font-size: 32px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 9px; letter-spacing: .3px; }
  .language-switch > .icon { display: none; }
  .language-switch button { min-width: 42px; }
  .hero { min-height: 570px; }
  .hero-art { height: 430px; object-position: 61% top; }
  .hero::before { background: linear-gradient(0deg,#11100e 10%,#11100ee0 32%,#11100e00 76%); }
  .hero::after { background: linear-gradient(90deg,#11100e45,transparent 80%); }
  .hero-content { width: 100%; padding: 276px 26px 39px; }
  h1 { max-width: 100%; font-size: 36px; margin-top: 14px; }
  .hero-description { margin-top: 12px; max-width: 290px; font-size: 12px; }
  .hero-download { margin-top: 22px; min-height: 49px; min-width: 193px; }
  .explore-link { display: inline-flex; padding: 15px 0 15px 17px; font-size: 11px; gap: 9px; }
  .platforms { margin-top: 19px; font-size: 10px; }
  .hero-edition { top: 32px; right: 20px; bottom: auto; }
  .content-wrap { padding: 0 22px; }
  .referral-card { margin-top: 0; padding: 16px 18px; min-height: 77px; gap: 13px; }
  .referral-label { font-size: 11px; gap: 8px; }
  .referral-symbol { font-size: 18px; }
  .referral-number { font-size: 24px; letter-spacing: 3px; }
  .copy-button { min-width: 65px; padding: 8px; font-size: 11px; gap: 5px; }
  .copy-button .icon { width: 13px; height: 13px; }
  .games-section { padding-top: 25px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.8px; }
  h2 { font-size: 24px; margin-top: 8px; }
  .section-description { font-size: 12px; margin-top: 9px; }
  .game-grid { gap: 9px; margin-top: 21px; }
  .game-card { padding: 14px 3px 15px; border-radius: 10px; }
  .game-art { transform: scale(.85); transform-origin: center bottom; margin-top: -10px; margin-left: calc(50% - 48px); margin-bottom: 10px; }
  .game-card h3 { font-size: 12px; }
  .game-category { font-size: 9px; }
  .game-arrow { font-size: 11px; right: 8px; top: 5px; }
  .download-panel { gap: 19px; padding: 24px 20px; margin: 34px 0; }
  .download-copy h2 { font-size: 21px; }
  .download-copy > p:not(.eyebrow) { font-size: 11px; }
  .download-copy .button { font-size: 12px; padding: 10px 15px; min-height: 43px; gap: 7px; margin-top: 18px; }
  .download-code { width: 134px; height: 134px; padding: 12px; }
  .download-code canvas { width: 110px; height: 110px; }
  .qr-card > span { font-size: 9px; }
  .qr-card b { margin-left: 2px; }
  .partner-steps { margin: 22px 0; }
  .partner-steps > div { padding: 15px 14px; }
  .partner-steps h3 { font-size: 11px; }
  .partner-steps span { font-size: 22px; }
  .partner-actions .button { min-height: 44px; padding: 11px 18px; font-size: 12px; }
  .site-footer { gap: 10px; font-size: 9px; padding-top: 35px; }
  .download-dock { width: calc(100% - 24px); bottom: max(12px,env(safe-area-inset-bottom)); padding: 12px; gap: 10px; }
  .dock-mark { width: 42px; height: 42px; font-size: 19px; }
  .dock-copy strong { font-size: 12px; }
  .dock-copy small { font-size: 9px; }
  .download-dock .button { padding: 10px 16px; font-size: 12px; gap: 7px; }
  .download-dock .icon { width: 16px; height: 16px; }
      html[lang="en"] .hero-content { padding-top: 260px; }
  html[lang="en"] h1 { font-size: 38px; max-width: 300px; line-height: 1.13; }
  html[lang="en"] .hero-description { max-width: 300px; }
  html[lang="en"] .brand-copy strong { font-size: 12px; letter-spacing: 0; }
  html[lang="en"] .brand-copy small { font-size: 8px; letter-spacing: 0; }
  html[lang="en"] .referral-number { letter-spacing: 2px; }
  html[lang="en"] .referral-label { font-size: 10px; }
  html[lang="en"] .game-card h3 { font-size: 11px; }
}
@media (max-width:380px) {
  .site-header { gap: 8px; padding: 11px 14px; }
  .brand { gap: 9px; }
  .brand-copy small { display: none; }
  .language-switch button { min-width: 37px; padding: 6px 8px; }
  .content-wrap { padding: 0 16px; }
  .hero-content { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: 31px; }
  .hero-download { min-width: 174px; padding: 12px 15px; }
  .explore-link { padding-left: 12px; gap: 6px; }
  .referral-card { padding: 15px 12px; gap: 8px; }
  .referral-symbol { display: none; }
  .referral-number { font-size: 22px; letter-spacing: 2px; }
  .download-panel { padding: 22px 16px; flex-direction: column; align-items: flex-start; }
  .qr-card { align-self: center; }
  .download-code { width: 174px; height: 174px; padding: 14px; }
  .download-code canvas { width: 146px; height: 146px; }
  .download-copy > p:not(.eyebrow) { max-width: none; }
  .dock-mark { display: none; }
  .download-dock .button { padding: 10px 12px; }
  html[lang="en"] h1 { font-size: 34px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; animation: none !important; } }

.dock-support { position: fixed; right: max(20px,calc((100vw - 1000px) / 2 + 14px)); bottom: 104px; z-index: 30; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border: 1px solid #f0c96e; border-radius: 50%; color: #21170a; background: linear-gradient(145deg,#ffe5a4,#d7a84e); box-shadow: 0 0 0 5px #e5b85c18,0 5px 22px #0008,0 0 20px #e7b65380; animation: support-pulse 1.8s ease-in-out infinite; }
.dock-support::after { content: ""; position: absolute; inset: -7px; border: 1px solid #f1ca7666; border-radius: 50%; animation: support-ring 1.8s ease-out infinite; pointer-events: none; }
.dock-support .icon { width: 27px; height: 27px; stroke-width: 1.8; }
@keyframes support-pulse { 0%,100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 5px #e5b85c18,0 5px 22px #0008,0 0 18px #e7b65370; } 50% { transform: translateY(-3px) scale(1.07); box-shadow: 0 0 0 8px #e5b85c28,0 9px 28px #0009,0 0 30px #f5ce7599; } }
@keyframes support-ring { 0% { opacity: .75; transform: scale(.85); } 75%,100% { opacity: 0; transform: scale(1.35); } }
@media (max-width:680px) { .dock-support { right: 14px; bottom: calc(92px + env(safe-area-inset-bottom)); width: 52px; height: 52px; } .dock-support .icon { width: 24px; height: 24px; } }
@media (prefers-reduced-motion:reduce) { .dock-support,.dock-support::after { animation: none; } }
