/* ============================================================
   ozwin365ph.com  —  design system
   Dark theme. Brand palette: dark surfaces + gold #F5B915 + green #269C72
   Visual layout modelled on the supplied casino-lobby reference;
   long-form content from ozwin365ph-homepage-seo-geo.md
   ============================================================ */

:root {
  /* Brand */
  --gold:        #F5B915;
  --gold-dark:   #D9A200;
  --gold-soft:   rgba(245, 185, 21, .12);
  --green:       #269C72;
  --green-dark:  #1C7D5B;
  --green-light: #33B98A;
  --green-soft:  rgba(38, 156, 114, .14);

  /* Surfaces (dark) */
  --bg:          #101114;
  --surface:     #181A1E;   /* header, alt sections */
  --surface-2:   #212429;   /* cards, tiles */
  --surface-3:   #2A2E34;   /* hover / raised */

  /* Text */
  --text:        #F3F4F6;
  --text-muted:  #A6ACB5;
  --text-dim:    #777E88;
  --text-on-gold:#181206;

  /* Lines */
  --border:        rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .17);

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               "Noto Sans", Arial, sans-serif;

  /* Radii / shadow */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .4);
  --shadow:    0 6px 18px rgba(0, 0, 0, .45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, .55);

  /* Layout */
  --container: 1200px;
  --gutter:    24px;
  --header-h:  64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #ffcf3f; text-decoration: underline; }
button { font: inherit; cursor: pointer; color: inherit; }
table { border-collapse: collapse; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; color: var(--text); font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: 8px; left: 8px; z-index: 200;
  background: var(--gold); color: var(--text-on-gold);
  padding: 8px 14px; border-radius: var(--radius-sm); font-weight: 700;
  transform: translateY(-200%); transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); color: var(--text-on-gold); text-decoration: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.text-center { text-align: center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: rgba(18, 20, 23, .92);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(160%) blur(10px);
}
.site-header__inner {
  display: flex; align-items: center; gap: 16px;
  min-height: var(--header-h); padding-block: 8px;
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 16px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav__link {
  color: var(--text-muted); font-weight: 700; font-size: .92rem;
  padding: 8px 12px; border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.site-nav__link:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.site-nav__link[aria-current="page"] { color: var(--gold); }
@media (max-width: 1120px) and (min-width: 721px) { .site-nav { gap: 1px; } .site-nav__link { padding: 8px 9px; font-size: .87rem; } }
@media (max-width: 720px) { .site-nav { display: none; } }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 12px 6px 8px; font-size: .82rem; font-weight: 600;
  color: var(--text);
}
.lang-pill__flag {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(180deg, #0038A8 0 50%, #CE1126 50% 100%);
  position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.lang-pill__flag::before { /* white triangle of PH flag */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  border-style: solid; border-width: 9px 0 9px 11px;
  border-color: transparent transparent transparent #fff;
}
.lang-pill__flag::after { /* gold sun dot */
  content: ""; position: absolute; left: 2.5px; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}

@media (max-width: 560px) {
  .brand__logo { height: 32px; }
  .lang-pill__txt { display: none; }
  .lang-pill { padding: 6px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius); font-weight: 700;
  border: 2px solid transparent; white-space: nowrap; text-align: center;
  transition: background .15s, color .15s, border-color .15s, transform .05s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gold); color: var(--text-on-gold); }
.btn--primary:hover { background: #ffc833; color: var(--text-on-gold); text-decoration: none; box-shadow: 0 6px 16px rgba(245,185,21,.3); }
.btn--secondary { background: var(--green); color: #fff; }
.btn--secondary:hover { background: var(--green-light); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--gold); color: var(--text); text-decoration: none; }
.btn--sm { padding: 8px 16px; font-size: .9rem; }
.btn--lg { padding: 14px 28px; font-size: 1.05rem; }

/* Header auth buttons */
.btn--login {
  background: transparent; color: var(--text); border: 1px solid var(--border-strong);
  padding: 8px 18px; border-radius: var(--radius);
}
.btn--login:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.btn--signup {
  background: var(--gold); color: var(--text-on-gold); border: 1px solid var(--gold);
  padding: 8px 18px; border-radius: var(--radius); font-weight: 800;
}
.btn--signup:hover { background: #ffc833; color: var(--text-on-gold); text-decoration: none; box-shadow: 0 4px 14px rgba(245,185,21,.35); }
@media (max-width: 400px) { .btn--login, .btn--signup { padding: 8px 12px; font-size: .9rem; } }

/* ============================================================
   HERO CAROUSEL (placeholder banners)
   ============================================================ */
.hero { background: var(--bg); }
.hero__carousel { width: 100%; margin: 0 auto; }
.carousel { position: relative; background: var(--surface); outline: none; }
.carousel__viewport { overflow: hidden; width: 100%; }
.carousel__track { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.carousel__slide { flex: 0 0 100%; min-width: 0; }
.carousel__slide img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 299; object-fit: cover; }

.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(16,17,20,.6); color: #fff; border: 1px solid var(--border-strong);
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; z-index: 2;
  transition: background .15s, transform .05s, color .15s;
}
.carousel__btn:hover { background: var(--gold); color: var(--text-on-gold); border-color: var(--gold); }
.carousel__btn:active { transform: translateY(-50%) scale(.95); }
.carousel__btn--prev { left: 16px; }
.carousel__btn--next { right: 16px; }
.carousel__dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; background: rgba(16,17,20,.5); padding: 6px 10px;
  border-radius: 999px; backdrop-filter: blur(4px); z-index: 2;
}
.carousel__dot { width: 10px; height: 10px; border: none; border-radius: 50%; background: rgba(255,255,255,.4); padding: 0; transition: background .15s, transform .15s; }
.carousel__dot[aria-selected="true"] { background: var(--gold); transform: scale(1.2); }
@media (max-width: 600px) {
  .carousel__btn { width: 38px; height: 38px; font-size: 1.25rem; }
  .carousel__btn--prev { left: 8px; } .carousel__btn--next { right: 8px; }
}

/* ============================================================
   ANNOUNCEMENT BAR (scrolling marquee with megaphone)
   ============================================================ */
.announce {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-2); border-block: 1px solid var(--border);
  padding: 9px var(--gutter); overflow: hidden;
}
.announce__icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--gold); }
.announce__viewport {
  overflow: hidden; flex: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.announce__track {
  display: inline-flex; white-space: nowrap; will-change: transform;
  animation: announce-scroll 28s linear infinite;
}
.announce__track span { padding-right: 60px; font-size: .92rem; font-weight: 600; color: var(--text); }
.announce__track b { color: var(--gold); }
.announce:hover .announce__track { animation-play-state: paused; }
@keyframes announce-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   CATEGORY NAV (green bar with icon tabs)
   ============================================================ */
.cat-nav {
  background: linear-gradient(180deg, var(--green-light), var(--green-dark));
  position: sticky; top: var(--header-h); z-index: 90;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.cat-nav__list {
  display: flex; gap: 6px; list-style: none; margin: 0; padding: 8px var(--gutter);
  max-width: var(--container); margin-inline: auto;
  overflow-x: auto; scrollbar-width: none;
}
.cat-nav__list::-webkit-scrollbar { display: none; }
.cat-nav__btn {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: transparent; border: 0; border-radius: var(--radius);
  padding: 8px 16px; min-width: 84px; color: rgba(255,255,255,.95);
  font-weight: 700; transition: background .15s, color .15s, transform .1s;
}
.cat-nav__btn:hover { background: rgba(0,0,0,.16); transform: translateY(-1px); text-decoration: none; }
.cat-nav__btn .cat-nav__icon { width: 26px; height: 26px; }
.cat-nav__label { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.cat-nav__btn.is-active {
  background: var(--surface-2); color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(245,185,21,.4), 0 4px 10px rgba(0,0,0,.3);
}
.cat-nav__btn.is-active .cat-nav__icon { color: var(--gold); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(40px, 6vw, 76px) 0; }
.section--alt { background: var(--surface); }
.section--tight { padding: clamp(32px, 4vw, 52px) 0; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.section__title { color: var(--text); letter-spacing: -.01em; }
.section__title .accent { color: var(--gold); }
.section__lead { color: var(--text-muted); font-size: 1.05rem; }
.section-heading-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.section-heading-row h2 { margin: 0; }
.section-heading-row::before {
  content: ""; width: 5px; height: 1.4em; border-radius: 3px;
  background: var(--gold); flex-shrink: 0;
}

/* ---------- Prose ---------- */
.prose { max-width: 840px; margin: 0 auto; }
.prose h2 { margin-bottom: 20px; }
.prose h3 { margin-top: 30px; color: var(--gold); font-size: 1.16rem; }
.prose p { line-height: 1.8; color: var(--text-muted); }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; line-height: 1.8; margin: 0 0 1em; color: var(--text-muted); }
.prose li { margin-bottom: 10px; }
.prose .btn { margin-top: 8px; }
.lead { font-size: 1.1rem; color: var(--text); line-height: 1.8; }

/* ---------- Takeaways ---------- */
.takeaways {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px; list-style: none; padding: 0; margin: 0;
}
.takeaways li {
  background: var(--surface-2); border: 1px solid var(--border);
  border-left: 3px solid var(--gold); border-radius: var(--radius);
  padding: 16px 18px; color: var(--text-muted); line-height: 1.65;
}
.takeaways li strong { color: var(--text); }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto; margin: 26px 0; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface-2);
  -webkit-overflow-scrolling: touch;
}
.table { width: 100%; border-collapse: collapse; min-width: 620px; }
.table th, .table td {
  padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border);
  vertical-align: top; font-size: .94rem;
}
.table thead th { background: var(--green-soft); color: var(--green-light); font-weight: 700; }
.table tbody th { background: rgba(255,255,255,.03); font-weight: 700; color: var(--text); }
.table tbody td { color: var(--text-muted); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td, .table tbody tr:hover th { background: rgba(245,185,21,.05); }
.table--compare th[scope="col"]:nth-child(3) { color: var(--text-muted); }
.table--compare td { border-right: 1px solid var(--border); }
.table--compare td:last-of-type { border-right: 0; }
.tag-yes { color: var(--green-light); font-weight: 700; }
.tag-no  { color: #e5707a; font-weight: 700; }

/* ---------- Inline section banner (e.g. payment methods panel) ---------- */
.section-banner {
  display: block; width: 100%; height: auto; max-width: 960px;
  margin: 0 auto 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 22px; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.card__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 11px; background: var(--gold-soft);
  color: var(--gold); font-weight: 800; margin-bottom: 14px;
}
.card__title { font-size: 1.08rem; margin-bottom: 8px; color: var(--text); }
.card__text { color: var(--text-muted); margin: 0; line-height: 1.7; }

/* ---------- Steps ---------- */
.steps {
  list-style: none; counter-reset: step; padding: 0; margin: 30px auto 20px;
  max-width: 780px; display: grid; gap: 12px;
}
.steps li {
  counter-increment: step; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px 16px 66px; position: relative; color: var(--text-muted);
}
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 16px;
  width: 34px; height: 34px; background: var(--gold); color: var(--text-on-gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.steps strong { display: block; margin-bottom: 3px; color: var(--text); }
.steps li p { margin: 0; line-height: 1.65; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 840px; margin: 0 auto; }
.faq__item { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq__item[open] { border-color: var(--gold); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; cursor: pointer; font-weight: 700; color: var(--text); list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--gold); flex-shrink: 0; line-height: 1; }
.faq__item[open] .faq__q::after { content: "\2212"; }
.faq__a { padding: 0 20px 18px; color: var(--text-muted); line-height: 1.75; }
.faq__a p { margin: 0; }

/* ---------- Callout / quote ---------- */
.callout {
  background: var(--green-soft); border-left: 3px solid var(--green);
  padding: 16px 20px; border-radius: var(--radius-sm); margin: 22px 0;
  color: var(--text); line-height: 1.7;
}
.callout--gold { background: var(--gold-soft); border-left-color: var(--gold); }
.callout--warn { background: rgba(229, 112, 122, .12); border-left-color: #E5707A; }
.callout p { margin: 0; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }

/* ---------- Warning checklist (red cross bullets) — /login fake-page check ---------- */
.checklist { list-style: none; padding: 0; margin: 24px 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.checklist li { padding: 14px 20px 14px 54px; position: relative; border-bottom: 1px solid var(--border); line-height: 1.6; color: var(--text-muted); background: var(--surface-2); }
.checklist li:last-child { border-bottom: 0; }
.checklist li strong { color: var(--text); }
.checklist li::before {
  content: "\2715"; position: absolute; left: 18px; top: 14px;
  width: 24px; height: 24px; background: #E5707A; color: #160C0D; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem;
}

/* ---------- Login registration step figures ---------- */
.login-figure { margin: 18px 0 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #14161A; max-width: 560px; }
.login-figure img { width: 100%; height: auto; display: block; }
.login-figure figcaption { padding: 9px 14px; font-size: .82rem; color: var(--text-dim); border-top: 1px solid var(--border); }

/* ============================================================
   PROVIDERS GRID (dark logo cards — sliced from the brand artwork)
   Each tile is a self-contained dark card (logo + name baked in),
   shown edge-to-edge to match the reference lobby exactly.
   ============================================================ */
.providers { padding: clamp(36px, 5vw, 60px) 0; }
.providers__grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;
  list-style: none; padding: 0; margin: 0;
}
.provider-tile {
  display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 300 / 152; background: #23262b; border: 1px solid var(--border);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.provider-tile:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 6px 16px rgba(0, 0, 0, .55); }
.provider-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1024px) { .providers__grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 680px)  { .providers__grid { grid-template-columns: repeat(4, 1fr); gap: 9px; } }
@media (max-width: 440px)  { .providers__grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   FEATURED GAMES
   ============================================================ */
.games__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  list-style: none; padding: 0; margin: 0;
}
.game-card {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); text-decoration: none; }
.game-card img { width: 100%; aspect-ratio: 1179 / 606; object-fit: cover; display: block; }
.games__grid--tiles .game-card img { aspect-ratio: 3 / 2; }
.game-card__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: rgba(11, 13, 16, .55); opacity: 0; transition: opacity .2s;
}
.game-card:hover .game-card__overlay, .game-card:focus-visible .game-card__overlay { opacity: 1; }
.game-card__play {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--text-on-gold); font-weight: 800;
  padding: 10px 22px; border-radius: 999px;
}
.game-card__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 14px;
}
.game-card__title { font-size: .92rem; font-weight: 700; color: var(--text); }
.game-card__provider { font-size: .72rem; color: var(--text-dim); font-weight: 700; letter-spacing: .04em; }
@media (max-width: 980px) { .games__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .games__grid { grid-template-columns: repeat(2, 1fr); gap: 11px; } }
@media (max-width: 420px) { .games__grid { grid-template-columns: 1fr; } }

/* ============================================================
   LICENCES MARQUEE (auto-scrolling testing-lab / partner logos)
   ============================================================ */
.marquee { padding: 32px 0 38px; background: var(--surface); border-block: 1px solid var(--border); overflow: hidden; }
.marquee__head { text-align: center; letter-spacing: .2em; font-size: .78rem; font-weight: 800; color: var(--text-dim); text-transform: uppercase; margin-bottom: 20px; }
.marquee__head .dot { color: var(--gold); margin: 0 .6em; font-weight: 900; }
.marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 26px; width: max-content;
  list-style: none; padding: 0; margin: 0; animation: marquee-scroll 32s linear infinite;
}
.marquee__track li { flex-shrink: 0; }
.marquee__chip {
  display: flex; align-items: center; justify-content: center;
  background: #23262b; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 24px; height: 70px; min-width: 150px;
}
.marquee__logo { height: 40px; width: auto; max-width: 170px; object-fit: contain; display: block; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .marquee__chip { height: 58px; min-width: 120px; padding: 10px 18px; }
  .marquee__logo { height: 32px; }
  .marquee__head { letter-spacing: .14em; font-size: .72rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer__brand-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0 50%, var(--green) 50% 100%);
}
.site-footer { background: var(--surface); padding: 40px 0 30px; color: var(--text-muted); font-size: .92rem; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.site-footer__brand { max-width: 320px; }
.site-footer__brand img { height: 38px; width: auto; margin-bottom: 12px; }
.site-footer__brand p { margin: 0; color: var(--text-dim); font-size: .88rem; line-height: 1.65; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.site-footer__nav a { color: var(--text); font-weight: 600; }
.site-footer__nav a:hover { color: var(--gold); }
.site-footer__disclaimer {
  color: var(--text-dim); font-size: .84rem; border-top: 1px solid var(--border);
  padding-top: 18px; margin: 0; line-height: 1.7;
}

/* ============================================================
   FLOAT WIDGETS (live chat + back-to-top)
   ============================================================ */
.float-wrapper { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 12px; z-index: 110; align-items: center; }
.float-chat {
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--green-light), var(--green-dark));
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.45); border: 2px solid rgba(255,255,255,.18);
  position: relative; transition: transform .15s, box-shadow .15s; text-decoration: none;
}
.float-chat:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 28px rgba(0,0,0,.55); color: #fff; text-decoration: none; }
.float-chat svg { width: 26px; height: 26px; }
.float-chat__label { font-size: .5rem; font-weight: 800; letter-spacing: .04em; margin-top: 1px; }
.float-chat__badge {
  position: absolute; top: -4px; right: -4px; background: var(--gold); color: var(--text-on-gold);
  font-size: .56rem; font-weight: 900; padding: 2px 6px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.float-top {
  width: 46px; height: 46px; border-radius: 50%; background: var(--surface-3); color: var(--text);
  border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s, transform .2s, background .15s;
}
.float-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.float-top:hover { background: var(--gold); color: var(--text-on-gold); border-color: var(--gold); }
.float-top svg { width: 22px; height: 22px; }
@media (max-width: 600px) {
  .float-wrapper { right: 12px; bottom: 12px; }
  .float-chat { width: 56px; height: 56px; }
  .float-chat svg { width: 22px; height: 22px; }
}

/* ============================================================
   PROMO CARDS (/bonus page)
   ============================================================ */
.promos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.promo-card {
  display: flex; flex-direction: column; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s; scroll-margin-top: 90px;
}
.promo-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.promo-card__img { width: 100%; aspect-ratio: 900 / 299; object-fit: cover; display: block; border-bottom: 1px solid var(--border); }
.promo-card__body { padding: 20px 22px; display: flex; flex-direction: column; flex: 1; }
.promo-card__title { font-size: 1.12rem; color: var(--text); margin: 0 0 14px; }
.promo-facts { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 0; }
.promo-facts li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.promo-facts li:last-child { border-bottom: 0; }
.promo-facts .k { color: var(--text-dim); }
.promo-facts .v { color: var(--text); font-weight: 700; text-align: right; }
.promo-card__note { font-size: .88rem; color: var(--text-muted); margin: 0 0 16px; line-height: 1.6; }
.promo-card__note strong { color: var(--gold); }
.promo-card__cta { margin-top: auto; }
.promo-card__cta .btn { width: 100%; }
@media (max-width: 760px) { .promos { grid-template-columns: 1fr; } }

/* ============================================================
   APP DOWNLOAD (/app) — split hero + phone/QR download card
   ============================================================ */
.app-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 44px); align-items: center; }
.app-hero__copy h1 { margin-bottom: 18px; }
@media (max-width: 880px) { .app-hero__grid { grid-template-columns: 1fr; } .app-hero__copy { order: 1; } .app-card { order: 2; } }

.app-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(18px, 2vw, 24px); text-align: center; box-shadow: var(--shadow);
  scroll-margin-top: 90px;
}
.app-phone {
  background: radial-gradient(circle at 50% 18%, rgba(38, 156, 114, .22), transparent 62%), var(--surface-2);
  border: 1px solid var(--border-strong); border-radius: 26px;
  padding: 22px 18px 18px; max-width: 290px; margin: 0 auto 18px;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .03);
}
.app-qr { width: 100%; max-width: 210px; aspect-ratio: 1 / 1; margin: 0 auto 12px; display: block; border-radius: 12px; }
.app-phone__caption { font-weight: 800; font-size: .82rem; letter-spacing: .03em; color: var(--text); margin: 4px 0 3px; }
.app-phone__sub { color: var(--gold); font-weight: 800; font-size: .9rem; margin: 0 0 4px; }
.app-phone__stamp { color: var(--text-dim); font-size: .72rem; margin: 0; }
.app-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(245, 185, 21, .4);
  font-weight: 800; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 12px;
}
.app-badge svg { width: 14px; height: 14px; }
.app-card__title { font-weight: 800; color: var(--gold); margin: 0 0 6px; font-size: 1.04rem; }
.app-card__title span { color: var(--text); font-weight: 700; }
.app-card__note { color: var(--text-muted); font-size: .88rem; margin: 0 0 16px; line-height: 1.6; }
.app-card .btn { width: 100%; }

/* ============================================================
   VIP PROGRAM (/vip) — CSS tier cards (no images)
   Metallic medallions by tier band: bronze / silver / gold / elite / diamond
   ============================================================ */
.vip-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 120% at 15% 0%, rgba(245, 185, 21, .16), transparent 60%),
    radial-gradient(55% 120% at 92% 8%, rgba(38, 156, 114, .18), transparent 58%),
    var(--surface);
  border-bottom: 1px solid var(--border);
}
.vip-hero::after { /* faint tier-ladder sheen line */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 35%, var(--green) 65%, transparent);
  opacity: .5;
}
.vip-hero .container { position: relative; z-index: 1; }
.vip-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 4px; padding: 0; list-style: none; }
.vip-hero__chips li {
  display: inline-flex; align-items: baseline; gap: 7px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 8px 16px; font-size: .86rem; font-weight: 700; color: var(--text-muted);
}
.vip-hero__chips b { color: var(--gold); font-size: 1.02rem; font-weight: 900; }

/* ---- Tier grid ---- */
.vip-tiers {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  list-style: none; padding: 0; margin: 0;
}
@media (max-width: 1024px) { .vip-tiers { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .vip-tiers { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 440px)  { .vip-tiers { grid-template-columns: 1fr; } }

.vip-card {
  --vip-accent: var(--gold);
  --vip-medal-1: #FFD75E; --vip-medal-2: #C28A00; --vip-medal-ink: #181206;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px 18px; scroll-margin-top: 90px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.vip-card:hover { transform: translateY(-4px); border-color: var(--vip-accent); box-shadow: var(--shadow-lg); }
.vip-card::before { /* top accent bar by tier */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--vip-accent), transparent);
}
.vip-card__head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.vip-card__medal {
  flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.45rem; color: var(--vip-medal-ink);
  background: radial-gradient(circle at 32% 26%, var(--vip-medal-1), var(--vip-medal-2));
  border: 2px solid rgba(255, 255, 255, .3);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, .45), inset 0 -4px 7px rgba(0, 0, 0, .35), 0 4px 11px rgba(0, 0, 0, .4);
  text-shadow: 0 1px 1px rgba(255, 255, 255, .25);
}
.vip-card__tier { font-size: 1.18rem; font-weight: 900; color: var(--text); margin: 0; line-height: 1.1; }
.vip-card__rank { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--vip-accent); font-weight: 800; margin: 3px 0 0; }
.vip-card__rate { font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1; margin: 0; }
.vip-card__rate-label { font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--text-dim); margin: 5px 0 0; line-height: 1.35; }
.vip-card__stats { list-style: none; padding: 14px 0 0; margin: 16px 0 0; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.vip-card__stats li { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; line-height: 1.3; }
.vip-card__stats .k { color: var(--text-dim); }
.vip-card__stats .v { color: var(--text); font-weight: 800; text-align: right; }

/* ---- Tier colour bands ---- */
.vip-card--bronze  { --vip-accent: #CD8B53; --vip-medal-1: #E6AE76; --vip-medal-2: #8A5326; --vip-medal-ink: #fff; }
.vip-card--silver  { --vip-accent: #C4CAD3; --vip-medal-1: #F1F4F8; --vip-medal-2: #868E9B; --vip-medal-ink: #2A2E34; }
.vip-card--gold    { --vip-accent: #F5B915; --vip-medal-1: #FFD75E; --vip-medal-2: #C28A00; --vip-medal-ink: #181206; }
.vip-card--elite   { --vip-accent: #FFC83A; --vip-medal-1: #FFE39A; --vip-medal-2: #E0A100; --vip-medal-ink: #181206; }
.vip-card--elite   { box-shadow: inset 0 0 0 1px rgba(245, 185, 21, .25); }
.vip-card--diamond { --vip-accent: #33B98A; --vip-medal-1: #6FE8BC; --vip-medal-2: #18795A; --vip-medal-ink: #04241B; }

/* ---- Invitation-only top tier ---- */
.vip-card--invite { background: linear-gradient(180deg, rgba(38, 156, 114, .12), var(--surface)); border-color: rgba(38, 156, 114, .4); }
.vip-card__ribbon {
  position: absolute; top: 15px; right: -40px; transform: rotate(45deg);
  background: var(--green); color: #fff; font-size: .6rem; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 44px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .45);
}

/* ---- Tier colour legend ---- */
.vip-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; list-style: none; padding: 0; margin: 0 0 30px; }
.vip-legend li { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text-muted); font-weight: 600; }
.vip-legend .swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); box-shadow: inset 0 1px 2px rgba(255, 255, 255, .4); }
.vip-legend .swatch--bronze  { background: radial-gradient(circle at 32% 26%, #E6AE76, #8A5326); }
.vip-legend .swatch--silver  { background: radial-gradient(circle at 32% 26%, #F1F4F8, #868E9B); }
.vip-legend .swatch--gold    { background: radial-gradient(circle at 32% 26%, #FFD75E, #C28A00); }
.vip-legend .swatch--diamond { background: radial-gradient(circle at 32% 26%, #6FE8BC, #18795A); }

/* ============================================================
   AFFILIATE (/affiliate) — referral tier cards + chain (CSS only)
   ============================================================ */
.aff-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 760px) { .aff-tiers { grid-template-columns: 1fr; } }
.aff-tier {
  --aff: var(--gold); --aff-1: #FFD75E; --aff-2: #C28A00; --aff-ink: #181206;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 22px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.aff-tier:hover { transform: translateY(-4px); border-color: var(--aff); box-shadow: var(--shadow-lg); }
.aff-tier::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--aff), transparent); }
.aff-tier__top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.aff-tier__badge {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.15rem; color: var(--aff-ink);
  background: radial-gradient(circle at 32% 26%, var(--aff-1), var(--aff-2));
  border: 2px solid rgba(255, 255, 255, .3);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, .4), inset 0 -3px 6px rgba(0, 0, 0, .3), 0 4px 11px rgba(0, 0, 0, .4);
}
.aff-tier__name { font-size: 1.15rem; font-weight: 900; color: var(--text); margin: 0; line-height: 1.1; }
.aff-tier__who { font-size: .82rem; color: var(--text-muted); margin: 3px 0 0; line-height: 1.3; }
.aff-tier__rate { font-size: 2.6rem; font-weight: 900; color: var(--aff); line-height: 1; margin: 4px 0 0; }
.aff-tier__rate small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--text-dim); margin-top: 7px; }
.aff-tier__desc { color: var(--text-muted); font-size: .9rem; line-height: 1.6; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--border); }
.aff-tier--1 { --aff: #F5B915; --aff-1: #FFD75E; --aff-2: #C28A00; --aff-ink: #181206; box-shadow: inset 0 0 0 1px rgba(245, 185, 21, .22); }
.aff-tier--2 { --aff: #33B98A; --aff-1: #6FE8BC; --aff-2: #18795A; --aff-ink: #04241B; }
.aff-tier--3 { --aff: #C4CAD3; --aff-1: #EDEFF3; --aff-2: #868E9B; --aff-ink: #2A2E34; }

/* ---- Referral chain flow (You -> T1 -> T2 -> T3) ---- */
.aff-chain { display: flex; align-items: stretch; gap: 8px; margin: 8px 0 0; }
.aff-chain__node {
  flex: 1 1 0; min-width: 0; text-align: center; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 12px;
}
.aff-chain__avatar {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .8rem; color: var(--text); background: radial-gradient(circle at 30% 25%, var(--surface-3), #15171b);
  border: 2px solid var(--border-strong);
}
.aff-chain__node--you .aff-chain__avatar { background: radial-gradient(circle at 30% 25%, var(--gold), var(--gold-dark)); color: var(--text-on-gold); border-color: var(--gold); }
.aff-chain__role { font-weight: 800; color: var(--text); font-size: .92rem; margin: 0; }
.aff-chain__earn { font-size: .78rem; color: var(--text-dim); margin: 3px 0 0; }
.aff-chain__earn b { color: var(--gold); }
.aff-chain__tier { display: inline-block; margin-top: 9px; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green-light); background: var(--green-soft); border-radius: 999px; padding: 3px 10px; }
.aff-chain__arrow { flex: 0 0 auto; align-self: center; color: var(--gold); font-weight: 900; font-size: 1.4rem; line-height: 1; }
.aff-chain__arrow::before { content: "\2192"; }
@media (max-width: 680px) {
  .aff-chain { flex-direction: column; }
  .aff-chain__arrow::before { content: "\2193"; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
  .carousel__track { transition: none !important; }
  .announce__track { animation: none; transform: none; }
}
