:root {
  --purple: #d99a16;
  --purple-deep: #24190c;
  --purple-soft: #fff3cf;
  --violet: #f0bd42;
  --ink: #1c2030;
  --muted: #6f7688;
  --line: rgba(113, 91, 152, 0.14);
  --yellow: #ffe033;
  --yellow-deep: #f4be00;
  --cyan: #7defff;
  --mint: #baf5dc;
  --rose: #ffd6df;
  --shadow: 0 20px 45px rgba(105, 72, 18, 0.16);
  --radius: 8px;
  --font-sans: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", Arial, sans-serif;
  --font-display: "Segoe UI Semibold", "Inter", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", Arial, sans-serif;
  --font-label: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  background:
    radial-gradient(circle at 78% 8%, rgba(244, 196, 69, 0.2), transparent 27rem),
    radial-gradient(circle at 20% 38%, rgba(125, 239, 255, 0.16), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #fff8e8 42%, #f7fdff 67%, #fffaf0 100%);
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-break: loose;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(169, 126, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 126, 42, 0.04) 1px, transparent 1px);
  background-size: 100% 260px, 260px 100%;
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 38vh;
  z-index: -1;
  opacity: 0.16;
  background:
    linear-gradient(to top, rgba(118, 136, 165, 0.25), transparent),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(104, 113, 140, 0.2) 22px 26px);
  clip-path: polygon(0 64%, 4% 62%, 7% 72%, 9% 50%, 12% 67%, 16% 54%, 18% 75%, 23% 58%, 27% 70%, 31% 45%, 35% 64%, 41% 52%, 45% 77%, 52% 59%, 56% 73%, 60% 48%, 63% 71%, 68% 55%, 72% 75%, 76% 57%, 80% 68%, 84% 47%, 88% 71%, 92% 58%, 97% 70%, 100% 61%, 100% 100%, 0 100%);
}

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

button,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
strong,
.pill-button,
.ghost-button,
.nav-cta,
.platform-card a {
  font-family: var(--font-display);
  font-weight: 850;
  letter-spacing: 0;
}

p,
li,
small {
  letter-spacing: 0;
  text-wrap: pretty;
}

.page-shell {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 0 24px 44px;
}

.section-wrap {
  width: min(100%, 960px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 14px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: block;
  width: 174px;
  height: 116px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  filter: drop-shadow(0 10px 16px rgba(126, 84, 0, 0.2));
}

.brand strong {
  display: block;
  color: var(--purple);
  font-family: var(--font-label);
  font-size: 18px;
  line-height: 1.05;
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  margin-top: 4px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: #4e5266;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
}

.site-nav a:not(.nav-cta):hover {
  color: var(--purple);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(217, 154, 22, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68);
}

.language-option {
  min-height: 28px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  color: #605a50;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 850;
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.language-option.is-active {
  color: #fff;
  background: linear-gradient(135deg, #f6c64a, #b97808);
  box-shadow: 0 8px 16px rgba(185, 120, 8, 0.2);
}

.nav-cta,
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  font-weight: 850;
  font-size: 13px;
  background: linear-gradient(135deg, #f6c64a, #b97808);
  box-shadow: 0 14px 24px rgba(185, 120, 8, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover,
.pill-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(185, 120, 8, 0.34);
}

.whatsapp-link::before {
  content: "☎";
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
  background: transparent;
  clip-path: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(87, 56, 130, 0.12);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--purple-deep);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 260px;
  padding: 46px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 90px),
    radial-gradient(circle at 82% 22%, rgba(255, 224, 51, 0.26), transparent 10rem),
    radial-gradient(circle at 38% 18%, rgba(246, 198, 74, 0.34), transparent 16rem),
    linear-gradient(135deg, #13110d, #4d310d 52%, #11100e);
  box-shadow: 0 30px 60px rgba(50, 34, 12, 0.26);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.4;
  animation: drift 9s ease-in-out infinite alternate;
}

.hero::before {
  left: -90px;
  top: -120px;
  background: #f6c64a;
}

.hero::after {
  right: 70px;
  bottom: -150px;
  background: #fff0a8;
  animation-delay: -3s;
}

.hero-content,
.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--purple);
  font-family: var(--font-label);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: #f6d36d;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(246, 198, 74, 0.22);
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 650px;
  font-size: 66px;
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 900;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  text-wrap: balance;
}

.hero-lede {
  max-width: 620px;
  margin: 20px 0 26px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
  font-size: 17px;
  line-height: 1.72;
  text-wrap: pretty;
}

html[data-language="en"] .site-nav {
  gap: 18px;
}

html[data-language="en"] .hero h1 {
  max-width: 760px;
  font-size: 56px;
  line-height: 1.08;
}

html[data-language="en"] .hero-lede {
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 22px;
  border-radius: 999px;
  color: #f8d777;
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(246, 198, 74, 0.34);
  transition: transform 180ms ease, background 180ms ease;
}

.ghost-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.13);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  align-items: stretch;
}

.animated-box {
  position: relative;
  isolation: isolate;
}

.animated-box::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: inherit;
  opacity: 0.68;
  pointer-events: none;
  filter: blur(24px);
  background:
    radial-gradient(circle at 18% 24%, rgba(246, 198, 74, 0.2), transparent 31%),
    radial-gradient(circle at 80% 18%, rgba(125, 239, 255, 0.18), transparent 28%),
    radial-gradient(circle at 60% 88%, rgba(255, 224, 51, 0.14), transparent 30%);
  animation: boxGlow 7s ease-in-out infinite alternate;
}

.platform-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 24px 20px 18px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 12%, var(--card-accent, rgba(246, 198, 74, 0.28)), transparent 8rem),
    radial-gradient(circle at 12% 86%, var(--card-glow, rgba(125, 239, 255, 0.2)), transparent 9rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 231, 0.36)),
    var(--card-tint, #f6f2ff);
  box-shadow:
    0 18px 42px var(--card-shadow, rgba(105, 72, 18, 0.16)),
    inset 0 0 0 1px var(--card-border, rgba(246, 198, 74, 0.28)),
    inset 0 0 34px rgba(255, 255, 255, 0.44);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.platform-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  opacity: 0.22;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 72% 38%, rgba(255, 224, 51, 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 54% 76%, rgba(125, 239, 255, 0.82) 0 3px, transparent 4px);
  background-size: 92px 92px, 122px 122px, 150px 150px;
  transition: opacity 180ms ease;
  animation: particleSweep 6.5s linear infinite;
}

.platform-card:hover::before {
  opacity: 0.62;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 1) 0 4px, transparent 5px),
    radial-gradient(circle at 72% 38%, rgba(255, 224, 51, 1) 0 4px, transparent 5px),
    radial-gradient(circle at 54% 76%, rgba(125, 239, 255, 0.96) 0 4px, transparent 5px),
    radial-gradient(circle at 32% 66%, var(--card-accent, rgba(255, 224, 51, 0.8)) 0 3px, transparent 4px),
    radial-gradient(circle at 86% 72%, var(--card-glow, rgba(125, 239, 255, 0.78)) 0 3px, transparent 4px);
  background-size: 74px 74px, 98px 98px, 126px 126px, 86px 86px, 116px 116px;
  animation-duration: 3.2s;
}

.platform-card:hover,
.reason-card:hover,
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(105, 72, 18, 0.22);
}

.platform-card:hover {
  box-shadow: 0 24px 48px rgba(185, 120, 8, 0.24), inset 0 0 0 2px rgba(246, 198, 74, 0.46);
}

.platform-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  opacity: 0.18;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, var(--card-accent, rgba(255, 224, 51, 0.5)), transparent 24%),
    radial-gradient(circle at 80% 24%, var(--card-glow, rgba(125, 239, 255, 0.38)), transparent 26%),
    radial-gradient(circle at 50% 92%, rgba(255, 156, 51, 0.24), transparent 28%);
  background-size: 160% 160%, 150% 150%, 220% 100%;
  transform: translate3d(-18px, 10px, 0) scale(1.02);
  transition: opacity 180ms ease, transform 180ms ease;
  animation: cardMotion 5.5s ease-in-out infinite alternate;
}

.platform-card:hover::after {
  opacity: 0.34;
  transform: translate3d(-8px, 6px, 0) scale(1.04);
}

.platform-card > * {
  position: relative;
  z-index: 1;
}

.spark {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff8a2;
  box-shadow: 0 0 20px #fff182;
  animation: pulseSpark 2.6s ease-in-out infinite;
}

.platform-card:hover .spark {
  transform: scale(1.35);
  box-shadow: 0 0 28px #fff182, 0 0 42px var(--card-accent, rgba(246, 198, 74, 0.54));
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 118px;
  margin-bottom: 10px;
  font-size: 24px;
  font-family: var(--font-label);
  font-weight: 900;
}

.logo img {
  display: block;
  width: min(100%, 236px);
  max-height: 122px;
  object-fit: contain;
}

.logo-sure {
  color: #ff6a00;
  font-style: italic;
}

.logo-sure::after {
  content: "Win";
  margin-left: 2px;
  color: #204f83;
}

.logo-heng,
.logo-yes,
.logo-winbox,
.logo-atas,
.logo-vworld,
.logo-u2 {
  justify-content: center;
}

.logo-lmh {
  color: #1d1b14;
  text-shadow: 0 1px 0 #ffe03b;
}

.logo-bk8 {
  color: #0077d9;
}

.logo-bk8::after {
  content: "8";
  color: #ffd000;
}

.logo-top {
  color: #18dbe6;
}

.logo-aladdin {
  color: #f5ac19;
  text-shadow: 0 1px 0 #7f4c00;
}

.logo-winway {
  color: #b97808;
  font-size: 20px;
}

.logo-heng img {
  width: 254px;
  max-height: 122px;
}

.logo-yes img {
  width: 236px;
  max-height: 112px;
}

.logo-winbox img {
  width: 226px;
  max-height: 112px;
}

.logo-atas img {
  width: 224px;
  max-height: 112px;
}

.logo-vworld img {
  width: 128px;
  max-height: 96px;
}

.logo-u2 img {
  width: 184px;
  max-height: 92px;
}

.platform-card h2 {
  margin: 12px 0 12px;
  color: #151923;
  min-height: 68px;
  display: flex;
  align-items: flex-end;
  font-size: 30px;
  line-height: 1.16;
  font-weight: 900;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.platform-card p {
  position: relative;
  margin: 0 0 8px 14px;
  color: #536072;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.62;
  overflow-wrap: break-word;
}

.platform-card p::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}

.platform-card a {
  display: grid;
  place-items: center;
  min-height: 36px;
  padding: 8px 12px;
  margin-top: auto;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--yellow), var(--yellow-deep));
  color: #242217;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 8px 18px rgba(244, 190, 0, 0.32);
}

.tone-gold {
  --card-tint: linear-gradient(140deg, #ffef9c, #f1ddff 58%, #cbefff);
  --card-accent: rgba(255, 197, 26, 0.42);
  --card-glow: rgba(125, 239, 255, 0.26);
  --card-border: rgba(217, 154, 22, 0.42);
  --card-shadow: rgba(190, 133, 18, 0.18);
}

.tone-amber {
  --card-tint: linear-gradient(140deg, #ffe08a, #f4e4ff 56%, #c9f1ff);
  --card-accent: rgba(246, 173, 31, 0.5);
  --card-glow: rgba(125, 239, 255, 0.24);
  --card-border: rgba(217, 154, 22, 0.46);
  --card-shadow: rgba(190, 133, 18, 0.2);
}

.tone-mint {
  --card-tint: linear-gradient(140deg, #c8ffbd, #f0ddff 54%, #d6f5ff);
  --card-accent: rgba(31, 178, 96, 0.32);
  --card-glow: rgba(246, 198, 74, 0.34);
  --card-border: rgba(57, 161, 83, 0.34);
  --card-shadow: rgba(57, 161, 83, 0.15);
}

.tone-rose {
  --card-tint: linear-gradient(140deg, #ffc7bd, #f5ddff 60%, #dbefff);
  --card-accent: rgba(239, 83, 80, 0.32);
  --card-glow: rgba(246, 198, 74, 0.3);
  --card-border: rgba(239, 83, 80, 0.3);
  --card-shadow: rgba(190, 84, 42, 0.16);
}

.tone-sky {
  --card-tint: linear-gradient(140deg, #bfe3ff, #e8eaff 56%, #c4f6ff);
  --card-accent: rgba(44, 174, 229, 0.36);
  --card-glow: rgba(246, 198, 74, 0.28);
  --card-border: rgba(44, 174, 229, 0.34);
  --card-shadow: rgba(44, 134, 190, 0.16);
}

.tone-aqua {
  --card-tint: linear-gradient(140deg, #b7fbff, #e5eaff 54%, #ffebaa);
  --card-accent: rgba(26, 170, 210, 0.34);
  --card-glow: rgba(255, 193, 7, 0.34);
  --card-border: rgba(26, 170, 210, 0.32);
  --card-shadow: rgba(44, 134, 190, 0.16);
}

.tone-blue {
  --card-tint: linear-gradient(140deg, #bcdfff, #d8e5ff 52%, #ffe9a8);
  --card-accent: rgba(44, 174, 229, 0.4);
  --card-glow: rgba(246, 198, 74, 0.34);
  --card-border: rgba(44, 174, 229, 0.36);
  --card-shadow: rgba(44, 134, 190, 0.18);
}

.tone-red {
  --card-tint: linear-gradient(140deg, #ffc0cb, #e9edff 56%, #ffe8a8);
  --card-accent: rgba(239, 58, 67, 0.34);
  --card-glow: rgba(246, 198, 74, 0.34);
  --card-border: rgba(239, 58, 67, 0.34);
  --card-shadow: rgba(190, 84, 42, 0.18);
}

.tone-sun {
  --card-tint: linear-gradient(140deg, #ffe680, #d9f1ff 52%, #ffe9a8);
  --card-accent: rgba(255, 193, 7, 0.46);
  --card-glow: rgba(26, 170, 90, 0.24);
  --card-border: rgba(217, 154, 22, 0.42);
  --card-shadow: rgba(190, 133, 18, 0.18);
}

.tone-violet {
  --card-tint: linear-gradient(140deg, #ddc2ff, #d6f5ff 52%, #ffe5a4);
  --card-accent: rgba(145, 91, 255, 0.3);
  --card-glow: rgba(246, 198, 74, 0.3);
  --card-border: rgba(145, 91, 255, 0.26);
  --card-shadow: rgba(100, 84, 190, 0.14);
}

.games-section {
  position: relative;
  overflow: hidden;
  margin-top: 62px;
  padding: 38px;
  border-radius: var(--radius);
  border: 2px solid rgba(217, 154, 22, 0.36);
  background:
    radial-gradient(circle at 14% 18%, rgba(246, 198, 74, 0.18), transparent 18rem),
    radial-gradient(circle at 86% 12%, rgba(125, 239, 255, 0.14), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(247, 253, 255, 0.78) 46%, rgba(255, 251, 239, 0.86));
  box-shadow:
    0 26px 68px rgba(105, 72, 18, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    inset 0 0 38px rgba(246, 198, 74, 0.1);
}

.games-section::before,
.games-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.games-section::before {
  z-index: 0;
  opacity: 0.28;
  background:
    linear-gradient(115deg, transparent 0 26%, rgba(217, 154, 22, 0.22) 27% 28%, transparent 29% 58%, rgba(125, 239, 255, 0.16) 59% 60%, transparent 61%),
    repeating-linear-gradient(90deg, rgba(217, 154, 22, 0.08) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(83, 96, 114, 0.06) 0 1px, transparent 1px 52px);
  background-size: 260% 100%, 100% 100%, 100% 100%;
  animation: sectionLines 12s linear infinite;
}

.games-section::after {
  z-index: 0;
  opacity: 0.32;
  background:
    radial-gradient(circle, rgba(246, 198, 74, 0.62) 0 3px, transparent 4px),
    radial-gradient(circle, rgba(125, 239, 255, 0.48) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.78), transparent 26rem);
  background-size: 96px 96px, 136px 136px, 100% 100%;
  animation: particleSweep 9s linear infinite;
}

.games-section > * {
  position: relative;
  z-index: 1;
}

.games-section .section-heading {
  margin-bottom: 24px;
  text-align: center;
}

.games-section .eyebrow {
  color: var(--purple);
}

.media-section {
  margin-top: 72px;
  padding: 18px;
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.media-section h2,
.license h2,
.partnership h2 {
  margin: 0 0 16px;
  color: var(--purple);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 850;
}

.video-shell {
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(169, 126, 42, 0.15);
}

.video-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  overflow: hidden;
  border-radius: 7px;
  background: #2d2d2d;
}

.video-stage.dark {
  background:
    linear-gradient(180deg, #2f2f2f 0 84%, #050505 100%),
    #2f2f2f;
}

.video-stage.slot {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0 17%, transparent 17% 83%, rgba(255, 255, 255, 0.82) 83% 100%),
    repeating-linear-gradient(0deg, transparent 0 52px, rgba(120, 73, 185, 0.9) 52px 62px),
    repeating-linear-gradient(90deg, #fef6e2 0 74px, #ffe66a 74px 148px, #bd222c 148px 222px);
}

.video-stage.slot::before {
  content: "财 发 财";
  position: absolute;
  inset: 17% 18%;
  display: grid;
  place-items: center;
  color: #713200;
  font-size: 72px;
  font-weight: 1000;
  text-shadow: 0 3px 0 #ffdc39;
}

.video-stage.slot::after {
  content: "WILD";
  position: absolute;
  bottom: 30%;
  color: #fff4a3;
  font-size: 54px;
  font-weight: 1000;
  text-shadow: 0 4px 0 #8c3400;
}

.play-button {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.play-button::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 18px;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 18px solid #3c4050;
}

.video-shell.is-playing .play-button::before {
  left: 20px;
  top: 19px;
  width: 21px;
  height: 24px;
  border: 0;
  background: linear-gradient(90deg, #3c4050 0 35%, transparent 35% 65%, #3c4050 65% 100%);
}

.video-time {
  position: absolute;
  left: 18px;
  bottom: 13px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 800;
}

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.thumb {
  min-height: 58px;
  border: 2px solid transparent;
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, #fff6d8 0 16px, #8adf70 16px 32px, #da3752 32px 48px, #ffe455 48px 64px);
  cursor: pointer;
  overflow: hidden;
}

.thumb span {
  display: grid;
  place-items: center;
  min-height: 54px;
  color: #2c2940;
  font-size: 11px;
  font-weight: 1000;
  background: rgba(255, 255, 255, 0.65);
}

.thumb.active {
  border-color: var(--purple);
  box-shadow: 0 8px 20px rgba(185, 120, 8, 0.18);
}

.thumb-fruit {
  background: repeating-linear-gradient(90deg, #f44336 0 18px, #ffe03b 18px 36px, #1fbf6a 36px 54px, #70d6ff 54px 72px);
}

.thumb-card {
  background: repeating-linear-gradient(90deg, #fff 0 18px, #e8d4ff 18px 36px, #fff 36px 54px);
}

.thumb-racing {
  background: repeating-linear-gradient(90deg, #111 0 16px, #f3f3f3 16px 32px, #d01629 32px 48px);
}

.thumb-cash {
  background: repeating-linear-gradient(90deg, #1c1733 0 18px, #f7c500 18px 36px, #0bb27b 36px 54px);
}

.compare-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: center;
  margin-top: 72px;
  padding: 44px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 20%, rgba(125, 239, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 84% 18%, rgba(246, 198, 74, 0.2), transparent 15rem),
    rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.compare-panel h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 900;
}

.compare-panel p {
  max-width: 560px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.8;
}

.compare-panel aside {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(105, 72, 18, 0.14);
}

.compare-panel aside strong {
  display: block;
  margin-bottom: 14px;
  color: var(--purple-deep);
}

.compare-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: #596174;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.why {
  margin-top: 92px;
  padding: 42px;
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.section-heading h2 {
  margin: 0;
  color: var(--purple);
  font-size: 40px;
  line-height: 1.2;
  font-weight: 900;
  text-wrap: balance;
}

.section-heading p,
.license p,
.partnership p,
.help-panel p,
.site-footer p,
.site-footer small {
  color: var(--muted);
  line-height: 1.7;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
  text-align: left;
}

.reason-card {
  display: flex;
  gap: 16px;
  min-width: 0;
  min-height: 106px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 13px 28px rgba(105, 72, 18, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.reason-card > div,
.trust-card > div {
  min-width: 0;
}

.reason-icon,
.trust-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  font-size: 19px;
  line-height: 1;
  font-weight: 1000;
  background: linear-gradient(135deg, #f6c64a, #b97808);
  box-shadow: 0 12px 22px rgba(185, 120, 8, 0.22);
}

.reason-card h3,
.trust-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.28;
  font-weight: 900;
}

.reason-card p,
.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  font-weight: 560;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 72px;
}

.trust-card {
  min-height: 156px;
  padding: 28px;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.trust-card .trust-icon {
  margin: -50px auto 18px;
}

.license,
.partnership {
  min-height: 210px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  text-align: center;
}

.license {
  margin-top: 78px;
}

.partnership {
  margin-top: 18px;
}

.partner-row {
  display: grid;
  width: min(100%, 820px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.partner-row span {
  display: block;
  height: 58px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    #555d69;
  box-shadow: 0 14px 24px rgba(54, 64, 84, 0.16);
}

.help-panel {
  margin-top: 72px;
  padding: 42px;
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.help-panel h2 {
  margin: 0;
  color: var(--purple);
  font-size: 36px;
  line-height: 1.24;
  font-weight: 900;
  text-wrap: balance;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 40px;
  margin-top: 38px;
  padding: 42px 42px 76px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(246, 239, 255, 0.72)),
    rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 48px rgba(105, 72, 18, 0.1);
}

.footer-brand {
  margin-bottom: 22px;
}

.footer-brand .brand-mark {
  width: 196px;
  height: 130px;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--purple-deep);
  font-size: 30px;
  line-height: 1.18;
  font-weight: 900;
}

.site-footer h3 {
  margin: 10px 0 14px;
  color: var(--purple-deep);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 850;
}

.copyright {
  position: absolute;
  right: 42px;
  bottom: 24px;
  margin: 0;
  font-size: 12px;
}

.float-contact {
  position: fixed;
  right: 26px;
  bottom: 28px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 28%, transparent 29%),
    conic-gradient(#1f1f26 0 10deg, #f4c445 10deg 28deg, #1f1f26 28deg 45deg, #f4c445 45deg 62deg, #1f1f26 62deg 80deg, #f4c445 80deg 100deg, #1f1f26 100deg 122deg, #f4c445 122deg 142deg, #1f1f26 142deg 162deg, #f4c445 162deg 182deg, #1f1f26 182deg 204deg, #f4c445 204deg 224deg, #1f1f26 224deg 246deg, #f4c445 246deg 266deg, #1f1f26 266deg 288deg, #f4c445 288deg 308deg, #1f1f26 308deg 330deg, #f4c445 330deg 360deg);
  box-shadow: 0 18px 36px rgba(105, 72, 18, 0.24), inset 0 0 0 4px #f4c445, inset 0 0 0 9px #17171d;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.float-contact span {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff9d8, #e2a81d);
  box-shadow: inset 0 0 0 2px #fff5b8, inset 0 0 0 5px #111118;
}

.float-contact span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-left: 3px solid #fff;
  border-top: 3px solid #fff;
  transform: translate(-50%, -35%) rotate(45deg);
}

.float-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(105, 72, 18, 0.3), inset 0 0 0 4px #f4c445, inset 0 0 0 9px #17171d;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(28px, 18px, 0) scale(1.12);
  }
}

@keyframes boxGlow {
  from {
    transform: translate3d(-8px, -6px, 0) scale(0.98);
  }
  to {
    transform: translate3d(10px, 8px, 0) scale(1.02);
  }
}

@keyframes pulseSpark {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.52;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

@keyframes cardMotion {
  0% {
    background-position: 0% 20%, 100% 10%, -120% 0;
    transform: translate3d(-18px, 10px, 0) scale(1.02);
  }
  100% {
    background-position: 100% 80%, 0% 90%, 140% 0;
    transform: translate3d(16px, -10px, 0) scale(1.05);
  }
}

@keyframes particleSweep {
  0% {
    background-position: 0 0, 40px 20px, 90px 60px, 0% 0%;
  }
  100% {
    background-position: 120px -80px, -80px 120px, 40px -120px, 100% 100%;
  }
}

@keyframes sectionLines {
  0% {
    background-position: 0% 0, 0 0, 0 0;
  }
  100% {
    background-position: 120% 0, 64px 0, 0 52px;
  }
}

@media (max-width: 920px) {
  .page-shell {
    padding-inline: 18px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .language-switch {
    width: 100%;
    margin: 8px 0;
  }

  .language-option {
    flex: 1;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 34px;
  }

  .hero h1 {
    font-size: 52px;
    line-height: 1.08;
  }

  html[data-language="en"] .hero h1 {
    font-size: 44px;
  }

  .section-heading h2 {
    font-size: 36px;
  }

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

  .platform-card h2 {
    font-size: 29px;
    min-height: 66px;
  }

  .compare-panel {
    grid-template-columns: 1fr;
  }

  .video-stage {
    min-height: 330px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    left: 42px;
    right: auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-inline: 14px;
  }

  .site-header {
    padding-top: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 138px;
    height: 92px;
  }

  .footer-brand .brand-mark {
    width: 156px;
    height: 104px;
  }

  .hero {
    display: grid;
    min-height: auto;
    padding: 28px 22px;
  }

  .games-section {
    padding: 28px 18px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.12;
  }

  html[data-language="en"] .hero h1 {
    font-size: 34px;
    line-height: 1.16;
  }

  .hero-lede {
    font-size: 15px;
    line-height: 1.68;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions a {
    flex: 1 1 150px;
  }

  .platform-grid,
  .why-grid,
  .trust-row,
  .thumb-strip,
  .partner-row {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 286px;
    padding: 22px 20px 18px;
  }

  .platform-card h2 {
    min-height: auto;
    font-size: 27px;
    line-height: 1.18;
  }

  .platform-card p {
    font-size: 14px;
    line-height: 1.62;
  }

  .section-heading h2,
  .help-panel h2 {
    font-size: 31px;
    line-height: 1.24;
  }

  .reason-card {
    align-items: flex-start;
    padding: 18px;
  }

  .reason-card h3,
  .trust-card h3 {
    font-size: 19px;
  }

  .reason-card p,
  .trust-card p {
    font-size: 14px;
    line-height: 1.68;
  }

  .media-section {
    padding: 12px;
    margin-top: 44px;
  }

  .video-stage {
    min-height: 230px;
  }

  .compare-panel,
  .why,
  .help-panel,
  .site-footer {
    padding: 28px 20px;
  }

  .trust-row {
    gap: 54px;
  }

  .license,
  .partnership {
    min-height: 160px;
  }

  .partner-row {
    margin-top: 22px;
  }

  .partner-row span {
    height: 48px;
  }

  .float-contact {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
  }

  .copyright {
    position: static;
    margin-top: 20px;
  }
}

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