/* 88VIP design system — edit this file to adjust typography and colours globally.
   Fonts load from Google Fonts; the fallback stack remains usable offline. */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap');
:root {
  /* Language-aware fonts */
  --font-latin: 'Noto Sans', Arial, sans-serif;
  --font-chinese: 'Noto Sans SC', 'Noto Sans', sans-serif;
  --font-family: var(--font-latin);

  /* Font weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --weight-black: 900;

  /* Fluid font sizing: desktop/mobile scale controlled here */
  --text-2xs: 10px;
  --text-xs: 11px;
  --text-sm: 12px;
  --text-md: 13px;
  --text-base: 14px;
  --text-lg: 16px;
  --text-xl: 18px;
  --heading-small: clamp(18px, 2vw, 24px);
  --heading-medium: clamp(25px, 2.5vw, 31px);
  --heading-large: clamp(28px, 3.2vw, 34px);
  --heading-hero: clamp(30px, 3.5vw, 36px);
  --heading-bonus: clamp(44px, 5vw, 56px);

  /* Shared palette */
  --brand-orange: #ff5a0a;
  --brand-orange-deep: #ee3900;
  --brand-gold: #a36f29;
  --color-background: #111111;
  --color-heading: #f5f2ef;
  --color-body: #c2bcb7;
  --color-muted: #a6a19d;
  --color-surface: #202020;
  --color-border: #2c2a28;
  --color-on-orange: #fff;
}
html[lang='zh-CN'] { --font-family: var(--font-chinese); }
html[lang='vi'], html[lang='en'] { --font-family: var(--font-latin); }
html[data-theme='light'] {
  --color-background: #faf7f3;
  --color-heading: #25201d;
  --color-body: #665d55;
  --color-muted: #75685e;
  --color-surface: #fff;
  --color-border: #eae2da;
}
/* Apply a consistent family to all HTML controls, generated dialogs and translated content. */
html, body, button, input, textarea, select { font-family: var(--font-family) !important; }
body { font-weight: var(--weight-regular); }
h1, h2, h3, h4, h5, h6 { font-family: inherit; font-weight: var(--weight-bold); }
