/* =====================================================================
   U88 Landing Page — styles
   Follows the U88 brand guide (品牌视觉规范):
     colours  deep emerald #103B30 / #174A3A, champagne gold #D6BD82 / #A88742,
              ivory #F7F4EC, charcoal #202923, muted #68736C, line #D9DED9
     fonts    English: Inter · 中文: Noto Sans SC (思源黑体) · headings bold
   Every colour and font on the page comes from the tokens in :root.
   ===================================================================== */

/* ---------- fonts (self-hosted) ---------- */
/* Inter, variable weight 100–900, Latin only */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Noto Sans SC, subset to the characters on this page (tools/subset-fonts.py).
   The unicode-range keeps English visitors from downloading it at all;
   a character missing from the subset falls back to the system 黑体. */
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/noto-sans-sc-400.woff2") format("woff2");
  unicode-range: U+2E80-2FFF, U+3000-303F, U+3400-9FFF, U+F900-FAFF, U+FF00-FFEF;
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/noto-sans-sc-700.woff2") format("woff2");
  unicode-range: U+2E80-2FFF, U+3000-303F, U+3400-9FFF, U+F900-FAFF, U+FF00-FFEF;
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/noto-sans-sc-900.woff2") format("woff2");
  unicode-range: U+2E80-2FFF, U+3000-303F, U+3400-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

/* ---------- tokens ---------- */
:root {
  /* brand guide */
  --forest: #103b30;        /* 主背景深翡翠绿 */
  --forest-2: #174a3a;      /* 次级深绿 */
  --gold: #d6bd82;          /* 香槟金 */
  --gold-deep: #a88742;     /* 辅助金色 */
  --ivory: #f7f4ec;         /* 暖白色 */
  --charcoal: #202923;      /* 深炭灰 */
  --muted: #646f68;         /* 正文辅助灰（#68736C 微调到 WCAG AA） */
  --line: #d9ded9;          /* 卡片边框 */

  /* derived shades of the brand colours */
  --forest-950: #071a14;    /* header, page edges */
  --forest-900: #0a241d;    /* page background */
  --forest-3: #1f5c49;
  --forest-4: #2a7560;
  --gold-hi: #e2cd9b;
  --gold-pale: #f6ead0;
  --gold-ink: #826628;      /* gold text on ivory */
  --txt: var(--ivory);
  --txt-dim: #b5c0b8;
  --hair: rgba(247, 244, 236, 0.1);

  --gold-text: linear-gradient(180deg, #fbf4df 0%, #ecd9aa 42%, #d6bd82 68%, #a88742 100%);
  --gold-btn: linear-gradient(180deg, #fbf1d3 0%, #ead5a3 34%, #d6bd82 68%, #b39252 100%);

  --font: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;

  --col: 430px;
  --pad: 18px;
  --header-h: 111px; /* sticky header: 52px bar + 58px tabs + 1px border */
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  background: var(--forest-950);
}
body {
  margin: 0;
  background: var(--forest-950);
  color: var(--txt);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
#join, #tiers, #vipjoin { scroll-margin-top: calc(var(--header-h) + 8px); }

/* language: both versions are in the HTML, the <html lang> decides which shows */
html:not([lang^="zh"]) .zh-only,
html[lang^="zh"] .en-only { display: none !important; }

/* tabs: <html data-tab> decides which panel shows (set before first paint) */
html[data-tab="vip"] #panel-promo,
html:not([data-tab="vip"]) #panel-vip,
html[data-tab="vip"] .promo-only,
html:not([data-tab="vip"]) .vip-only { display: none !important; }

/* the single mobile column, centred on every screen */
.page {
  max-width: var(--col);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--forest-900);
  box-shadow: 0 0 90px rgba(0, 0, 0, 0.7);
  overflow-x: clip;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font: 800 14px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s, filter 0.18s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-gold {
  background: var(--gold-btn);
  color: var(--charcoal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 20px -12px rgba(214, 189, 130, 0.9);
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn-full { width: 100%; }
/* the big 3D call-to-action */
.btn-cta {
  min-height: 62px;
  padding: 0 24px;
  gap: 12px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.8),
    inset 0 -3px 0 rgba(110, 84, 32, 0.45),
    0 5px 0 #7a5f2a,
    0 16px 30px -10px rgba(214, 189, 130, 0.75);
}
.btn-cta:active {
  transform: translateY(3px);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.8),
    inset 0 -3px 0 rgba(110, 84, 32, 0.45),
    0 2px 0 #7a5f2a,
    0 8px 16px -8px rgba(214, 189, 130, 0.75);
}
html[lang^="zh"] .btn-cta { font-size: 20px; font-weight: 700; letter-spacing: 0.1em; }
.btn-ico {
  flex: none;
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-hi);
}
/* sweeping highlight + a gentle breathe; transform/opacity only, so it stays cheap on low-end phones */
.btn-shine { overflow: hidden; animation: breathe 2.4s ease-in-out infinite; }
.btn-shine::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-120%) skewX(-22deg);
  animation: shine 2.8s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 26, 20, 0.95);
  border-bottom: 1px solid rgba(214, 189, 130, 0.16);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.8);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(7, 26, 20, 0.86); backdrop-filter: blur(14px); }
}
.hbar { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 var(--pad); }
.logo { height: 32px; width: auto; }
.lang {
  display: flex;
  margin-left: auto;
  border: 1px solid rgba(247, 244, 236, 0.22);
  border-radius: 999px;
  overflow: hidden;
}
.lang button {
  min-height: 38px;
  min-width: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--txt-dim);
  font: 700 12.5px/1 var(--font);
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--charcoal); }
.tabs-wrap { padding: 0 var(--pad) 8px; }
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(247, 244, 236, 0.06);
  border: 1px solid var(--hair);
}
.tabs button {
  position: relative;
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--txt-dim);
  font: 700 13px/1.2 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tabs button[aria-selected="true"] {
  background: var(--ivory);
  color: var(--forest);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.6);
}
#tab-vip { padding-right: 40px; }
/* the "Exclusive" ribbon hangs off the corner of the VIP tab without covering its label */
.ribbon {
  position: absolute;
  top: -9px;
  right: -6px;
  width: 54px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
  transform-origin: 20% 25%;
  animation: sway 3.6s ease-in-out infinite;
}

/* ---------- promo hero — layered: hall → glow → host → headline → treasure pile → sparkles ---------- */
/* The hero is never taller than the screen below the header, so the claim button is always on the first
   screen. On short screens the banner gets shorter and the 4:5 .hero-stage inside it shrinks with it;
   everything in the stage is sized in --u (one design pixel of a 375px-wide stage), so the art scales as a whole. */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  max-height: calc(100vh - var(--header-h));
  overflow: hidden;
  border-radius: 0 0 22px 22px;
  isolation: isolate;
  background: var(--forest-950);
}
@supports (height: 100svh) {
  .hero { max-height: calc(100svh - var(--header-h)); }
}
.hero-banner { position: relative; flex: 0 1 auto; aspect-ratio: 4 / 5; min-height: 0; overflow: hidden; }
.hero-stage {
  --u: 1px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  transform: translateX(-50%);
  container-type: inline-size;
}
@supports (width: 1cqw) {
  .hero-stage { --u: calc(100cqw / 375); }
}
.hb-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hb-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 46% at 32% 36%, rgba(4, 18, 14, 0.82) 0%, rgba(4, 18, 14, 0.45) 55%, transparent 100%),
    linear-gradient(180deg, rgba(7, 26, 20, 0.86) 0%, rgba(7, 26, 20, 0.45) 40%, rgba(7, 26, 20, 0.15) 64%, rgba(7, 26, 20, 0.72) 100%),
    linear-gradient(90deg, rgba(7, 26, 20, 0.82) 0%, rgba(7, 26, 20, 0.4) 50%, transparent 72%);
}
/* soft champagne glow behind the headline */
.glow {
  position: absolute;
  left: -14%;
  top: -7%;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 189, 130, 0.2) 0%, rgba(214, 189, 130, 0.07) 38%, transparent 66%);
  pointer-events: none;
}
.host { position: absolute; right: -12%; bottom: -2%; width: 57%; max-width: none; z-index: 3; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55)); }

/* floating props: each has a position, width (--w, design px), delay (--d) and tilt (--r) */
.pr {
  position: absolute;
  z-index: 5;
  width: calc(var(--w) * var(--u));
  max-width: none;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.55));
  transform: rotate(var(--r, 0deg));
  animation: float 5.2s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.p-chips  { left: -7%; bottom: -4%; --w: 112; --d: 1.6s; }
.p-chest  { left: 20%; bottom: -6%; --w: 150; --d: 2.2s; }
.p-coin-1 { left: 2%;  bottom: 27%; --w: 46;  --d: 0.4s; --r: -14deg; }
.p-coin-2 { left: 40%; bottom: 26%; --w: 32;  --d: 1.2s; --r: 18deg; }

.sp {
  position: absolute;
  z-index: 7;
  width: calc(var(--s) * var(--u));
  height: calc(var(--s) * var(--u));
  color: #fbf4df;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(251, 244, 223, 0.9));
  animation: twinkle 2.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.s1 { left: 58%; top: 15%; --s: 14; }
.s2 { left: 44%; top: 72%; --s: 11; --d: 0.9s; }
.s3 { left: 86%; top: 30%; --s: 10; --d: 1.7s; }

.hero-text {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  width: 62%; /* keeps "RM3,380" clear of the red packet */
  padding: calc(52 * var(--u)) 0 0 calc(16 * var(--u));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-pale);
  text-shadow: 0 1px 2px #000, 0 2px 10px rgba(0, 0, 0, 0.8);
}
.eyebrow::before,
.eyebrow::after { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.hero-text .eyebrow { gap: calc(6 * var(--u)); margin-bottom: calc(8 * var(--u)); font-size: calc(12 * var(--u)); letter-spacing: 0.14em; }
.hero-text .eyebrow::before,
.hero-text .eyebrow::after { width: calc(12 * var(--u)); }
html[lang^="zh"] .hero-text .eyebrow { font-size: calc(15 * var(--u)); font-weight: 900; letter-spacing: 0.24em; }
.hero-title { display: flex; flex-direction: column; align-items: center; letter-spacing: 0; }
/* gold text: background-clip:text cuts anything outside the box, so the box gets a little padding */
.big,
.amt,
.cat-title,
.cat-bonus b,
.tc-n {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0.06em 0.08em 0.04em;
}
.big {
  display: flex;
  align-items: flex-start;
  margin: -0.06em 0 -0.04em;
  font-size: calc(92 * var(--u));
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: lining-nums;
  background-size: 100% 100%;
  filter: drop-shadow(0 2px 0 #6e5420) drop-shadow(0 4px 0 #4a3812) drop-shadow(0 10px 16px rgba(0, 0, 0, 0.65));
}
.big sup { font-size: 0.48em; line-height: 1; margin: 0.08em 0 0 0.04em; letter-spacing: 0; }
.hero-kick {
  margin-top: calc(10 * var(--u));
  font-size: calc(15 * var(--u));
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px #000, 0 2px 14px rgba(0, 0, 0, 0.85);
}
html[lang^="zh"] .hero-kick { margin-top: calc(4 * var(--u)); font-size: calc(24 * var(--u)); font-weight: 900; letter-spacing: 0.14em; }
.hero-amt { margin-top: calc(10 * var(--u)); line-height: 1; }
.hero-amt small {
  display: block;
  margin-bottom: calc(4 * var(--u));
  font-size: calc(12.5 * var(--u));
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 244, 236, 0.8);
  text-shadow: 0 1px 2px #000, 0 2px 12px rgba(0, 0, 0, 0.85);
}
html[lang^="zh"] .hero-amt small { font-size: calc(15 * var(--u)); font-weight: 900; letter-spacing: 0.3em; }
.amt {
  display: inline-block;
  font-size: calc(40 * var(--u));
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  filter: drop-shadow(0 2px 0 #6e5420) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
}
.hero-foot { position: relative; z-index: 8; flex: none; padding: 12px 18px 16px; background: linear-gradient(180deg, var(--forest-950), #06140f); }
.valid { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 0 12px; }
.chip { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.chip + .chip::before { content: "·"; margin: 0 10px; }
html[lang^="zh"] .chip { font-size: 14px; letter-spacing: 0.12em; }

/* ---------- category bands — characters stand in front of the emerald ---------- */
.cat {
  position: relative;
  display: block;
  min-height: 252px;
  margin: 14px var(--pad) 0;
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
  text-decoration: none;
  background: linear-gradient(100deg, var(--forest-950) 0%, var(--forest) 38%, var(--forest-3) 70%, var(--forest-4) 100%);
  transition: transform 0.18s;
}
.cat:active { transform: scale(0.985); }
.cat:first-of-type { margin-top: 18px; }
.cat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(104deg, transparent 44%, rgba(214, 189, 130, 0.12) 44.6%, rgba(214, 189, 130, 0.04) 68%, transparent 68.6%);
}
.cat-ghost {
  position: absolute;
  z-index: 0;
  left: -10px;
  bottom: -14px;
  font-size: 104px;
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: rgba(247, 244, 236, 0.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.cat-copy {
  position: relative;
  z-index: 4;
  display: block;
  max-width: 57%;
  padding: 22px 20px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.cat-title {
  display: inline-block;
  margin: -0.04em 0 0 -0.08em;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: none;
  filter: drop-shadow(0 2px 0 #5c4618) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}
html[lang^="zh"] .cat-title { font-size: 36px; letter-spacing: 0.02em; }
/* title + the hall's share of the 368% welcome bonus; the tag drops under the title when the row is too narrow */
.cat-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; }
.cat-bonus {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 5px 10px 4px;
  border-radius: 999px;
  background: rgba(7, 26, 20, 0.62);
  border: 1px solid rgba(214, 189, 130, 0.55);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.7);
  line-height: 1;
  white-space: nowrap;
  text-shadow: none;
}
.cat-bonus b { font-size: 22px; font-weight: 900; letter-spacing: -0.03em; }
.cat-bonus > span { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-hi); }
html[lang^="zh"] .cat-bonus > span { font-size: 13px; font-weight: 900; letter-spacing: 0.08em; }
.cat-lead { display: block; margin-top: 4px; font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; color: #fff; }
html[lang^="zh"] .cat-lead { font-weight: 900; letter-spacing: 0.02em; }
.cat-sub { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: rgba(247, 244, 236, 0.8); }
/* small claim button so the bands read as tappable (the whole band links to register) */
.cat-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  margin-top: 10px;
  padding: 0 11px 0 14px;
  border-radius: 999px;
  background: var(--gold-btn);
  color: var(--charcoal);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 6px 14px -8px rgba(0, 0, 0, 0.8);
}
.cat-go svg { flex: none; width: 14px; height: 14px; }
html[lang^="zh"] .cat-go { font-size: 13.5px; font-weight: 900; letter-spacing: 0.08em; }
.cat-cast { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cat-cast img { position: absolute; bottom: -6px; height: auto; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.55)); }
/* stacked bands: copy on top, the art fills the band behind it */
.cat-stack { min-height: 300px; }
/* the copy reserves the art's height below it, so taller copy (e.g. the bonus tag wrapping
   on a narrow phone) makes the band grow instead of sliding over the characters */
.cat-stack .cat-copy { max-width: 100%; padding: 18px 20px 212px; }
.cat-sport .cat-copy { padding-bottom: calc(42.6% + 10px); } /* = height of the players strip */
.cat-stack .cat-lead { margin-top: 2px; }
.plate { position: absolute; inset: 0; }
.cat-cast .plate img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; filter: none; }
/* the 777 art has the old lime-green fade baked into its top edge; mask it so it melts into the emerald */
.cast-slots .plate {
  -webkit-mask-image: linear-gradient(180deg, transparent 44%, #000 68%);
  mask-image: linear-gradient(180deg, transparent 44%, #000 68%);
}
.cast-slots .zeus { left: 6px; bottom: -6px; width: 106px; z-index: 2; }
.cast-slots .lucky-cat { right: -4px; bottom: -8px; width: 80px; z-index: 3; }
.cat-sport { min-height: 262px; }
.cast-sport .players { left: -11%; bottom: 0; width: 118%; max-width: none; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5)); }
.cast-live .dealer { right: -50px; width: 238px; } /* keeps her cards clear of the bonus tag on 360px phones */
@media (max-width: 370px) {
  .cast-live .dealer { right: -60px; width: 228px; } /* and her chips clear of the claim button */
}
.cast-slots .zeus,
.cast-slots .lucky-cat,
.cast-live .dealer { animation: float 6s ease-in-out infinite; }
.cast-slots .lucky-cat { animation-delay: 1.3s; animation-duration: 5s; }

/* ---------- promo closing CTA ---------- */
.cta {
  margin: 40px var(--pad) 0;
  padding: 26px 20px 28px;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(160deg, var(--forest-2), var(--forest-950));
  border: 1px solid rgba(214, 189, 130, 0.3);
}
.cta h2 { font-size: 26px; font-weight: 800; }
html[lang^="zh"] .cta h2 { font-weight: 900; letter-spacing: 0.02em; }
.cta p { margin: 8px 0 20px; font-size: 14px; color: var(--txt-dim); }

/* ---------- VIP ---------- */
.vh { padding: 26px var(--pad) 0; text-align: center; }
.pill {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(214, 189, 130, 0.5);
  background: rgba(214, 189, 130, 0.1);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-hi);
}
html[lang^="zh"] .pill { font-size: 13px; letter-spacing: 0.14em; }
.vh-h { margin-top: 14px; font-size: 32px; font-weight: 800; line-height: 1.15; color: #fff; }
html[lang^="zh"] .vh-h { font-size: 31px; font-weight: 900; letter-spacing: 0.02em; line-height: 1.3; }
.vh-s { margin-top: 12px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-hi); }
html[lang^="zh"] .vh-s { font-size: 16px; letter-spacing: 0.08em; }
.vh-p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--txt-dim); }
/* VIP podium — built like the uvip.work hero: an AI stage backdrop without lettering, a code-drawn
   "VIP", real gift cut-outs standing on the three pedestals and the tier names on the pedestal fronts.
   The 10:9 frame shows a 115% square scene (cropping the empty wall and the floor reflection), and the
   backdrop feathers into the page on all four sides. */
.podium { position: relative; aspect-ratio: 10 / 9; margin: 14px calc(-1 * var(--pad)) 12px; }
.podium-fade {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 10%, #000 90%, transparent),
    linear-gradient(to bottom, transparent, #000 8%, #000 84%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 10%, #000 90%, transparent),
    linear-gradient(to bottom, transparent, #000 8%, #000 84%, transparent);
  mask-composite: intersect;
}
.podium-scene { position: absolute; top: 50%; left: 50%; width: 115%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.podium-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.podium-art { container-type: inline-size; }
.podium-word {
  position: absolute;
  left: 0;
  right: 0;
  top: 13%;
  font-size: 160px;
  font-size: 42cqw;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
  background: linear-gradient(180deg, rgba(244, 231, 193, 0.7), rgba(214, 189, 130, 0.3) 50%, transparent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
/* each gift stands on a pedestal top: --x / --y = pedestal top centre, --h = gift height (% of the scene) */
.podium-item { position: absolute; z-index: 1; left: var(--x); top: var(--y); height: var(--h); transform: translate(-50%, -100%); }
.podium-item::before {
  content: "";
  position: absolute;
  bottom: -2%;
  left: 50%;
  width: 85%;
  height: 5%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  filter: blur(8px);
  transform: translateX(-50%);
}
.podium-item img { position: relative; width: auto; height: 100%; max-width: none; }
.pi-left   { --x: 19.4%; --y: 55.7%; --h: 25%; }
.pi-center { --x: 50%;   --y: 59.3%; --h: 28%; z-index: 2; }
.pi-right  { --x: 80.5%; --y: 55.7%; --h: 22%; }
/* tier names on the pedestal fronts */
.plaque {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-size: 11px;
  font-size: max(10.5px, 2.4cqw);
  font-weight: 600;
  white-space: nowrap;
  color: rgba(214, 189, 130, 0.9);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%);
}
/* the negative margin cancels the tracking after the last letter, so the name is truly centred */
.plaque span { display: inline-block; margin-right: -0.32em; letter-spacing: 0.32em; }
.pq-left   { --x: 19.4%; --y: 63.8%; }
.pq-center { --x: 50%;   --y: 69.5%; }
.pq-right  { --x: 80.5%; --y: 63.8%; }
/* "lights on" intro as on uvip.work: the stage lights up, the gifts come out of silhouette (centre last), then the lettering */
.podium-bg { animation: light-up 1.8s ease-out 0.2s both; }
.podium-item img { animation: light-up 2s ease-out 0.6s both; }
.pi-center img { animation-delay: 0.85s; }
.podium-word { animation: word-reveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) 1s both; }
.plaque span { animation: word-reveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) 1.3s both; }

.vt { margin-top: 28px; padding: 28px var(--pad) 26px; text-align: center; background: linear-gradient(180deg, var(--forest), var(--forest-900)); }
.vt .eyebrow,
.vw .eyebrow,
.vc .eyebrow { margin-bottom: 10px; color: var(--gold); text-shadow: none; }
.vt h2,
.vw h2,
.vc h2 { font-size: 26px; }
html[lang^="zh"] .vt h2,
html[lang^="zh"] .vw h2,
html[lang^="zh"] .vc h2 { font-weight: 900; letter-spacing: 0.02em; }
.vt-s { margin-top: 8px; font-size: 14px; color: var(--txt-dim); }
.tsel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 18px 0 14px; }
.tsel button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 2px 4px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-family: inherit;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.2s;
}
.tsel button img { width: 100%; max-width: 66px; height: auto; border-radius: 5px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55); transition: transform 0.22s, box-shadow 0.22s; }
.tsel button span { font-size: 11.5px; font-weight: 700; color: var(--txt-dim); }
.tsel button[aria-selected="true"] { opacity: 1; }
.tsel button[aria-selected="true"] img { transform: scale(1.14); box-shadow: 0 0 0 2px var(--gold), 0 8px 16px rgba(0, 0, 0, 0.65); }
.tsel button[aria-selected="true"] span { color: var(--gold-hi); }
.tcard {
  padding: 18px 18px 14px;
  border-radius: 18px;
  text-align: left;
  background: linear-gradient(160deg, rgba(247, 244, 236, 0.07), rgba(247, 244, 236, 0.02));
  border: 1px solid rgba(214, 189, 130, 0.28);
}
.tc-head { display: flex; align-items: center; gap: 12px; }
.tc-card { flex: none; width: 112px; height: auto; border-radius: 6px; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55); }
.tc-name { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--gold-hi); }
.tc-head small { display: block; margin-top: 3px; font-size: 13px; color: var(--txt-dim); }
.tc-head em { font-style: normal; font-weight: 700; color: #fff; }
.tc-big {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}
.tc-l { display: block; font-size: 13px; color: var(--txt-dim); }
.tc-n {
  display: inline-block;
  margin: 4px 0 0 -0.08em;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.tc-big img { flex: none; width: 104px; height: 104px; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.65)); }
.tc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(247, 244, 236, 0.08);
  font-size: 14px;
  color: var(--txt-dim);
}
.tc-row b { font-size: 17px; font-weight: 800; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.tc-row:last-of-type { border-bottom: 0; }
.tc-req { margin-top: 10px; font-size: 12px; color: var(--txt-dim); }
.fine { margin-top: 14px; font-size: 12px; color: var(--txt-dim); text-align: center; }

.vw { padding: 30px var(--pad) 26px; text-align: center; background: var(--ivory); color: var(--charcoal); }
.vw h2 { color: var(--forest); }
.vw .eyebrow-dark { color: var(--gold-ink); }
.vsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.vs { padding: 12px 10px; border-radius: 12px; text-align: left; background: #fff; border: 1px solid var(--line); }
.vs i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
  border-radius: 6px;
  background: var(--forest);
  color: var(--gold-hi);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.vs b { display: block; margin-top: 10px; font-size: 14px; color: var(--forest); }
.vs p { margin-top: 5px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.fine-dark { color: var(--muted); }

.vc {
  position: relative;
  overflow: hidden;
  padding: 36px var(--pad) 30px;
  text-align: center;
  background: radial-gradient(60% 50% at 50% 40%, rgba(214, 189, 130, 0.12), transparent 70%), var(--forest-900);
}
.vc::before,
.vc::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(214, 189, 130, 0.14);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.vc::before { width: 120%; }
.vc::after { width: 80%; }
.logo-big { height: 46px; margin: 0 auto 10px; }
.vc-s { margin: 10px 0 20px; font-size: 14px; color: var(--txt-dim); }
.vc .btn { z-index: 1; }

/* ---------- payment methods ---------- */
.rails { margin: 40px var(--pad) 0; padding: 22px 18px; border-radius: 18px; background: rgba(247, 244, 236, 0.035); border: 1px solid var(--hair); }
.rail-h { margin-bottom: 12px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--txt-dim); }
html[lang^="zh"] .rail-h { font-size: 13px; letter-spacing: 0.12em; }
.pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay-c {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 12px;
  text-align: center;
  background: rgba(247, 244, 236, 0.06);
  border: 1px solid rgba(214, 189, 130, 0.22);
}
.pay-plate { display: flex; align-items: center; justify-content: center; width: 100%; height: 58px; padding: 7px 10px; border-radius: 10px; background: #fff; }
.pay-logo { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.pay-usdt { width: 40px; }
.pay-c b { font-size: 12px; font-weight: 700; line-height: 1.25; color: #fff; }

/* ---------- bottom CTA dock ---------- */
.dock {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 0;
  width: min(100%, var(--col));
  padding: 18px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(7, 26, 20, 0), rgba(7, 26, 20, 0.94) 32%);
  transform: translate(-50%, 110%);
  visibility: hidden;
  transition: transform 0.28s ease, visibility 0s linear 0.28s;
}
.dock.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform 0.28s ease; }
.dock .btn-cta { min-height: 54px; font-size: 17px; }
html[lang^="zh"] .dock .btn-cta { font-size: 18px; }

/* ---------- footer ---------- */
.site-footer { margin-top: 40px; padding: 24px var(--pad) calc(104px + env(safe-area-inset-bottom)); /* room for the dock */ border-top: 1px solid var(--hair); text-align: center; }
.site-footer p { font-size: 12px; color: var(--txt-dim); }

/* ---------- motion ---------- */
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--r, 0deg)); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(40deg); }
}
@keyframes shine {
  0% { transform: translateX(-120%) skewX(-22deg); }
  45%, 100% { transform: translateX(420%) skewX(-22deg); }
}
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.025; } }
@keyframes light-up {
  from { filter: brightness(0.06) saturate(0.3); }
  55% { filter: brightness(0.7) saturate(0.8); }
  to { filter: brightness(1) saturate(1); }
}
@keyframes word-reveal { from { opacity: 0; transform: translateY(4%); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; }
  .sp { opacity: 0.8; }
}
