/* =========================================================
 * WINBET369 · #18 HOLOGRAPHIC PEARL
 * Single-file mock · light pastel iridescent theme
 * ---------------------------------------------------------
 * Universe: dreamy feminine 25-40 · slot/lottery
 * Surface : holographic shift bg · frosted glass · pearl bevel
 * Radius  : 24+ everywhere · NO sharp edges · NO tables
 * ========================================================= */

/* ---------- 0. RESET & TOKENS ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  /* iridescent palette */
  --pearl-pink:   #FFE0F0;
  --pearl-blue:   #E0F0FF;
  --pearl-peach:  #FFF0E0;
  --pearl-mint:   #E0FFE0;
  --pearl-lilac:  #F0E0FF;
  --pearl-cream:  #FFFAF2;

  /* text */
  --ink:         #2D2D3D;
  --ink-soft:    #5A5A72;
  --ink-mute:    #8A8AA5;

  /* accents */
  --magenta:     #FF6FB5;
  --magenta-soft:#FFA9CF;
  --aqua:        #6EC8E0;
  --gold-soft:   #F2C892;

  /* surfaces */
  --glass:       rgba(255, 255, 255, 0.45);
  --glass-strong:rgba(255, 255, 255, 0.65);
  --glass-thin:  rgba(255, 255, 255, 0.28);
  --glass-dark:  rgba(45, 45, 61, 0.06);

  /* borders */
  --border-pearl:1px solid rgba(255,255,255,0.7);
  --border-soft: 1px solid rgba(45,45,61,0.08);

  /* shadows */
  --shadow-bevel:   0 14px 40px rgba(255, 111, 181, 0.12), 0 4px 12px rgba(110, 200, 224, 0.10), inset 0 1px 0 rgba(255,255,255,0.85);
  --shadow-soft:    0 8px 24px rgba(45,45,61,0.06), inset 0 1px 0 rgba(255,255,255,0.7);
  --shadow-pearl:   0 18px 60px rgba(255, 169, 207, 0.32), 0 0 0 1px rgba(255,255,255,0.6);
  --shadow-orb:     inset -10px -16px 40px rgba(110,200,224,0.30), inset 12px 14px 40px rgba(255,224,240,0.85), 0 26px 50px rgba(255,111,181,0.22);

  /* radius */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* spacing */
  --container: 1240px;

  /* transitions */
  --t-soft: 480ms cubic-bezier(.22,.61,.36,1);
  --t-fast: 220ms cubic-bezier(.22,.61,.36,1);
}

html, body {
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: "IBM Plex Sans Thai", "Manrope", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.65;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  background: #FBF6FA;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

/* aurora animated gradient base */
body::before {
  content: "";
  position: fixed;
  inset: -10vh -10vw;
  z-index: -3;
  background:
    radial-gradient(60% 60% at 12% 18%, rgba(255,224,240,0.95), rgba(255,224,240,0) 70%),
    radial-gradient(55% 55% at 88% 22%, rgba(224,240,255,0.95), rgba(224,240,255,0) 70%),
    radial-gradient(60% 60% at 80% 90%, rgba(255,240,224,0.95), rgba(255,240,224,0) 70%),
    radial-gradient(60% 60% at 14% 86%, rgba(224,255,224,0.85), rgba(224,255,224,0) 70%),
    linear-gradient(120deg, var(--pearl-pink), var(--pearl-blue), var(--pearl-peach), var(--pearl-mint));
  background-size: 400% 400%;
  animation: auroraDrift 28s ease-in-out infinite;
  filter: saturate(1.1);
}

/* iridescent grain on top (optional shimmer) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.45), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.35), transparent 40%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: shimmerLayer 14s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  0%   { background-position: 0% 50%, 100% 0%, 50% 100%, 0% 100%, 0% 50%; }
  25%  { background-position: 50% 0%,   0% 50%,  100% 50%, 50% 0%,  50% 25%; }
  50%  { background-position: 100% 50%, 50% 100%, 0% 50%,  100% 0%, 100% 50%; }
  75%  { background-position: 50% 100%, 100% 50%, 50% 0%,  0% 50%,  50% 75%; }
  100% { background-position: 0% 50%, 100% 0%, 50% 100%, 0% 100%, 0% 50%; }
}

@keyframes shimmerLayer {
  0%   { transform: translateY(0) scale(1); opacity:.7; }
  100% { transform: translateY(-2vh) scale(1.04); opacity:1; }
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button {
  font-family: inherit;
  border: 0;
  cursor: pointer;
  background: none;
  color: inherit;
}
input, select, textarea {
  font-family: inherit;
  color: var(--ink);
}

/* shared headings */
h1, h2, h3, h4, h5, h6 {
  font-family: "Manrope", "IBM Plex Sans Thai", sans-serif;
  font-weight: 300;
  letter-spacing: -0.015em;
  margin: 0 0 .4em;
  color: var(--ink);
}

h1 { font-size: clamp(36px, 6vw, 76px); font-weight: 200; line-height: 1.05; }
h2 { font-size: clamp(26px, 3.4vw, 44px); font-weight: 300; line-height: 1.15; }
h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 400; }
h4 { font-size: 17px; font-weight: 500; letter-spacing: 0; }

p  { margin: 0 0 1em; color: var(--ink-soft); }

.tagline {
  font-family:"Italianno","Manrope",'IBM Plex Sans Thai',cursive;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.01em;
  color: var(--magenta);
}

/* container */
.container {
  width: min(var(--container), 100% - 36px);
  margin-inline: auto;
}

/* ---------- 1. UTILITY · IRIDESCENT BITS ---------- */

.iri-text {
  background: linear-gradient(120deg, #FF6FB5 0%, #C68BE6 25%, #6EC8E0 50%, #98D8B0 75%, #F2C892 100%);
  background-size: 280% 280%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: iriShift 10s ease-in-out infinite;
}

@keyframes iriShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.iri-border {
  position: relative;
  border-radius: var(--r-lg);
  isolation: isolate;
}
.iri-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #FF6FB5, #C68BE6, #6EC8E0, #98D8B0, #F2C892, #FF6FB5);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: iriShift 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* glass surface */
.glass {
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-radius: var(--r-lg);
  border: var(--border-pearl);
  box-shadow: var(--shadow-bevel);
}
.glass-strong {
  background: var(--glass-strong);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border-radius: var(--r-lg);
  border: var(--border-pearl);
  box-shadow: var(--shadow-pearl);
}

/* CTA pill */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.55);
  color: var(--ink);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.85),
    inset 0 -10px 20px rgba(255,111,181,0.12),
    0 6px 18px rgba(255,111,181,0.18);
}
.btn::before {
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #FF6FB5, #C68BE6, #6EC8E0, #98D8B0, #F2C892, #FF6FB5);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: iriShift 6s linear infinite;
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-1.5px);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.95),
    inset 0 -10px 24px rgba(255,111,181,0.22),
    0 14px 32px rgba(255,111,181,0.25);
}
.btn--solid {
  background: linear-gradient(135deg, #FF6FB5, #C68BE6, #6EC8E0);
  background-size: 240% 240%;
  color: #fff;
  animation: iriShift 9s ease-in-out infinite;
}
.btn--solid::before { display:none; }
.btn--solid:hover { color:#fff; }

.btn--ghost {
  background: rgba(255,255,255,0.30);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
}
.btn--ghost::before { display:none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.55);
  color: var(--ink-soft);
  border: 1px solid rgba(255,255,255,0.7);
}
.chip--magenta { background: rgba(255, 111, 181, 0.12); color: var(--magenta); }
.chip--mint    { background: rgba(152, 216, 176, 0.18); color: #4A9F73; }
.chip--blue    { background: rgba(110, 200, 224, 0.18); color: #2E8AAE; }
.chip--peach   { background: rgba(242, 200, 146, 0.20); color: #B17B36; }
.chip--lilac   { background: rgba(198, 139, 230, 0.20); color: #7C46B6; }

/* tiny label */
.eyebrow {
  display:inline-block;
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 10px;
}

/* section header */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head .tagline { font-size: 28px; line-height: 1; }
.section-head__intro { max-width: 560px; }
.section-head__intro p { color: var(--ink-soft); font-weight: 300; }
.section-head__cta { display:flex; gap:10px; flex-wrap: wrap; }

section.page {
  padding: 56px 0 72px;
  position: relative;
}

/* hide all pages by default — hash router shows one */
.page { display: none; }
.page.is-active { display: block; }

/* ---------- 2. NAVIGATION (top dropdown soft pill) ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  padding: 14px 0;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 30% 28%, #fff 0%, #FFE0F0 28%, #E0F0FF 55%, #FFF0E0 78%, #E0FFE0 100%);
  box-shadow: var(--shadow-orb);
  animation: orbBob 7s ease-in-out infinite;
}
.brand__mark::after {
  content:"";
  position:absolute;
  inset: 16% 50% 50% 16%;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  filter: blur(2px);
}
@keyframes orbBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-3px) rotate(2deg); }
}

.brand__name {
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 300;
  font-size: 19px;
  letter-spacing: 0.06em;
  line-height: 1;
}
.brand__name b {
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand__sub {
  display: block;
  font-family:"Italianno",'IBM Plex Sans Thai',cursive;
  font-size: 19px;
  line-height: 1;
  margin-top: 2px;
  color: var(--magenta);
}

/* nav pill */
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.55);
  border-radius: var(--r-pill);
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.nav__item {
  position: relative;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255,224,240,0.9), rgba(224,240,255,0.9), rgba(224,255,224,0.9));
  background-size: 200% 200%;
  animation: iriShift 4s linear infinite;
}
.nav__link svg {
  width: 14px;
  height: 14px;
  opacity: .8;
}

/* dropdown */
.nav__drop {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 26px 60px rgba(255,111,181,0.16), 0 6px 18px rgba(110,200,224,0.10);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
  z-index: 40;
}
.nav__item:hover > .nav__drop,
.nav__item:focus-within > .nav__drop {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__drop-title {
  font-family:"Italianno",'IBM Plex Sans Thai',cursive;
  color: var(--magenta);
  font-size: 22px;
  line-height: 1;
  padding: 4px 8px 8px;
}
.nav__drop a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: 14px;
  transition: background var(--t-fast);
}
.nav__drop a:hover {
  background: linear-gradient(135deg, rgba(255,224,240,0.95), rgba(224,240,255,0.95));
}
.nav__drop a small {
  margin-left: auto;
  color: var(--ink-mute);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav__drop--wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-width: 460px;
}
.nav__drop--wide .nav__drop-title {
  grid-column: 1 / -1;
}

/* nav side actions */
.nav-actions {
  display: flex;
  gap: 8px;
  margin-left: 8px;
}

/* mobile burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  align-items: center;
  justify-content: center;
}
.burger span {
  display:block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px;  }

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .nav-actions { display: none; }
  .topbar.is-open .nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    border-radius: var(--r-lg);
    padding: 10px;
  }
  .topbar.is-open .nav__link { padding: 12px 16px; }
  .topbar.is-open .nav__drop {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 4px 8px;
    min-width: 0;
    display: block;
  }
  .topbar.is-open .nav-actions { display: flex; width: 100%; padding: 0 6px; }
}

/* ---------- 3. PROMO RIBBON ---------- */
.ribbon {
  background: linear-gradient(120deg, var(--pearl-pink), var(--pearl-blue), var(--pearl-peach), var(--pearl-mint));
  background-size: 400% 400%;
  animation: auroraDrift 24s ease-in-out infinite;
  border-bottom: 1px solid rgba(255,255,255,0.6);
  font-size: 13px;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.ribbon__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px 0;
  white-space: nowrap;
  overflow: hidden;
}
.ribbon__track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: ribbonScroll 38s linear infinite;
}
.ribbon__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ribbon__item b {
  color: var(--magenta);
  font-weight: 600;
}
.ribbon__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta-soft);
}
@keyframes ribbonScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- 4. HERO ---------- */
.hero {
  position: relative;
  padding: 70px 0 110px;
  overflow: hidden;
}
.hero__layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero__copy h1 span.cursive {
  font-family:"Italianno",'IBM Plex Sans Thai',cursive;
  font-weight: 400;
  color: var(--magenta);
  font-size: 1.05em;
  display: block;
  letter-spacing: 0.01em;
}
.hero__copy h1 .iri-text {
  display: inline-block;
}
.hero__lead {
  max-width: 480px;
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-soft);
  margin-top: 8px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero__meta {
  display: flex;
  gap: 28px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero__meta-item {
  display:flex;
  flex-direction:column;
  gap: 2px;
}
.hero__meta-item .num {
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 200;
  font-size: 30px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero__meta-item .lab {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* hero stage */
.hero__stage {
  position: relative;
  height: 540px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,224,240,0.7), transparent 55%),
    radial-gradient(circle at 70% 65%, rgba(224,240,255,0.7), transparent 55%),
    linear-gradient(120deg, #FFE0F0, #E0F0FF, #FFF0E0, #E0FFE0);
  background-size: 240% 240%, 240% 240%, 400% 400%;
  animation: auroraDrift 22s ease-in-out infinite;
  box-shadow:
    0 30px 80px rgba(255, 111, 181, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.7);
}
/* swirling lines */
.hero__stage::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 90deg at 50% 50%, rgba(255,111,181,0.18), rgba(110,200,224,0.18), rgba(242,200,146,0.18), rgba(152,216,176,0.18), rgba(255,111,181,0.18));
  filter: blur(36px);
  animation: spin 40s linear infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-conic-gradient(from 0deg, rgba(255,255,255,0.03) 0deg 6deg, transparent 6deg 18deg);
  pointer-events: none;
  mix-blend-mode: overlay;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 3D pearl */
.pearl {
  position: absolute;
  width: 320px;
  height: 320px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 32% 28%,
      #ffffff 0%,
      #FFE0F0 18%,
      #E0F0FF 38%,
      #FFF0E0 58%,
      #E0FFE0 78%,
      #F0E0FF 100%);
  box-shadow:
    inset -28px -42px 100px rgba(110,200,224,0.40),
    inset 32px 28px 90px rgba(255,224,240,0.92),
    inset 0 0 30px rgba(255,255,255,0.5),
    0 60px 120px rgba(255, 111, 181, 0.30),
    0 16px 50px rgba(110, 200, 224, 0.25);
  animation: pearlFloat 8s ease-in-out infinite;
}
.pearl::after {
  content:"";
  position:absolute;
  width: 28%;
  height: 22%;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  filter: blur(6px);
  top: 14%;
  left: 22%;
}
.pearl::before {
  content:"";
  position:absolute;
  width: 12%;
  height: 8%;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  filter: blur(2px);
  bottom: 22%;
  right: 30%;
}
@keyframes pearlFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-22px); }
}

/* prism beams */
.prism {
  position:absolute;
  inset: 0;
  pointer-events: none;
}
.prism span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 240px;
  margin-left: -1px;
  transform-origin: 50% 100%;
  background: linear-gradient(to top, rgba(255,255,255,0.0), rgba(255,255,255,0.55), rgba(255,255,255,0.0));
  filter: blur(1px);
  animation: prismRotate 24s linear infinite;
}
.prism span:nth-child(2){ animation-delay: -3s; opacity:.8; }
.prism span:nth-child(3){ animation-delay: -6s; opacity:.6; }
.prism span:nth-child(4){ animation-delay: -9s; opacity:.5; }
.prism span:nth-child(5){ animation-delay: -12s; opacity:.4; }
.prism span:nth-child(6){ animation-delay: -15s; opacity:.7; }
@keyframes prismRotate {
  from { transform: translateY(-100%) rotate(0deg); }
  to   { transform: translateY(-100%) rotate(360deg); }
}

/* floating bubbles in stage */
.bubble {
  position:absolute;
  border-radius:50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.95), rgba(255,224,240,0.45) 40%, rgba(224,240,255,0.25) 70%, rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: inset -2px -3px 10px rgba(110,200,224,0.18), 0 6px 18px rgba(255,111,181,0.15);
  animation: bubbleFloat 14s ease-in-out infinite;
  pointer-events: none;
}
.bubble.b1 { width: 60px;  height: 60px;  top: 12%; left: 10%; animation-duration: 12s; }
.bubble.b2 { width: 28px;  height: 28px;  top: 22%; right: 18%; animation-duration: 16s; animation-delay: -2s; }
.bubble.b3 { width: 84px;  height: 84px;  bottom: 14%; right: 8%; animation-duration: 18s; animation-delay: -4s; }
.bubble.b4 { width: 36px;  height: 36px;  bottom: 22%; left: 14%; animation-duration: 14s; animation-delay: -6s; }
.bubble.b5 { width: 18px;  height: 18px;  top: 50%; left: 8%; animation-duration: 10s; animation-delay: -1s; }
.bubble.b6 { width: 22px;  height: 22px;  top: 70%; right: 20%; animation-duration: 11s; animation-delay: -3s; }
@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  25%      { transform: translateY(-14px) translateX(6px); }
  50%      { transform: translateY(-6px) translateX(-8px); }
  75%      { transform: translateY(-18px) translateX(4px); }
}

/* hero floating chips */
.hero__chip {
  position:absolute;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border:1px solid rgba(255,255,255,0.7);
  box-shadow: 0 12px 28px rgba(255,111,181,0.18);
  font-size: 13px;
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 500;
  animation: chipBob 10s ease-in-out infinite;
}
.hero__chip svg { width: 18px; height: 18px; }
.hero__chip.c1 { top: 8%; left: 4%; animation-delay: -2s; }
.hero__chip.c2 { top: 30%; right: -4%; animation-delay: -4s; }
.hero__chip.c3 { bottom: 12%; left: 6%; animation-delay: -6s; }
.hero__chip.c4 { bottom: 26%; right: 4%; animation-delay: -1s; }
@keyframes chipBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* page-wide drifting petals */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.petals span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,0.95), rgba(255,224,240,0.55) 40%, rgba(224,240,255,0.35) 70%, rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,0.6);
  opacity: 0.7;
  animation: petalRise 18s linear infinite;
}
@keyframes petalRise {
  0%   { transform: translate(0, 110vh) scale(0.6); opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.7; }
  100% { transform: translate(0, -10vh) scale(1.2); opacity: 0; }
}

/* ---------- 5. FEATURED PROMO FLOATING CARDS ---------- */
.featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  margin-top: -40px;
  position: relative;
  z-index: 4;
}
.featured__card {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 20px 50px rgba(255,111,181,0.18);
}
.featured__card::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background: radial-gradient(circle at 80% 12%, rgba(255,255,255,0.7), transparent 40%);
  pointer-events:none;
}
.featured__card > * { position: relative; z-index: 1; }
.featured__card.f1 {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), transparent 60%),
    linear-gradient(135deg, #FFE0F0, #FFF0E0);
  min-height: 280px;
}
.featured__card.f2 {
  background:
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.6), transparent 60%),
    linear-gradient(135deg, #E0F0FF, #F0E0FF);
}
.featured__card.f3 {
  background:
    radial-gradient(circle at 60% 30%, rgba(255,255,255,0.7), transparent 60%),
    linear-gradient(135deg, #E0FFE0, #FFF0E0);
}
.featured__card h3 {
  font-weight: 300;
  font-size: 24px;
  margin-bottom: 6px;
}
.featured__card .big {
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 200;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 8px 0 0;
}
.featured__card .big small {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-left: 4px;
}
.featured__card p {
  font-size: 13.5px;
  margin-bottom: 14px;
}
.featured__card .row {
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.featured__card svg.deco {
  position:absolute;
  right: -10px;
  top: -10px;
  width: 130px;
  opacity: 0.5;
  z-index: 0;
}

/* ---------- 6. SECTION: MASONRY GAMES ---------- */
.masonry {
  column-count: 4;
  column-gap: 18px;
}
.masonry__card {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 14px 30px rgba(255,111,181,0.10);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  position: relative;
}
.masonry__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(255,111,181,0.22);
}
.masonry__card img {
  width: 100%;
  display: block;
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
}
.masonry__card .body {
  padding: 14px 16px 16px;
}
.masonry__card h4 {
  margin: 0 0 4px;
  font-size: 15px;
}
.masonry__card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-mute);
}
.masonry__card .meta b {
  color: var(--magenta);
  font-weight: 600;
}

/* card sizes */
.masonry__card.size-tall img   { aspect-ratio: 3/5; object-fit: cover; }
.masonry__card.size-square img { aspect-ratio: 1/1; object-fit: cover; }
.masonry__card.size-wide img   { aspect-ratio: 4/3; object-fit: cover; }
.masonry__card.size-short img  { aspect-ratio: 5/3; object-fit: cover; }

.masonry__card.feature {
  background: linear-gradient(135deg, rgba(255,224,240,0.9), rgba(224,240,255,0.9), rgba(255,240,224,0.9));
  background-size: 220% 220%;
  animation: iriShift 12s ease-in-out infinite;
}
.masonry__card.feature .body { padding: 22px 22px; }
.masonry__card.feature h4 { font-size: 22px; font-weight: 300; }
.masonry__card.feature .tag-cursive { font-family:"Italianno",'IBM Plex Sans Thai',cursive; color: var(--magenta); font-size: 26px; line-height: 1; }

.masonry__card .ribbon-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  color: var(--magenta);
  border: 1px solid rgba(255,255,255,0.85);
}

@media (max-width: 1100px) { .masonry { column-count: 3; } }
@media (max-width: 720px)  { .masonry { column-count: 2; } }
@media (max-width: 460px)  { .masonry { column-count: 1; } }

/* ---------- 7. DREAM WHEEL ---------- */
.dreamwheel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.7), transparent 55%),
    linear-gradient(135deg, rgba(255,224,240,0.55), rgba(224,240,255,0.55));
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-pearl);
  position: relative;
  overflow: hidden;
}
.dreamwheel::before {
  content:"";
  position:absolute;
  inset:-30%;
  background: conic-gradient(from 0deg, rgba(255,111,181,0.10), rgba(110,200,224,0.10), rgba(242,200,146,0.10), rgba(152,216,176,0.10), rgba(255,111,181,0.10));
  filter: blur(50px);
  animation: spin 60s linear infinite;
  pointer-events: none;
}
.dreamwheel > * { position: relative; }

.wheel {
  position: relative;
  width: 380px;
  height: 380px;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 50%;
}
.wheel__disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    #FF6FB5 0deg 45deg,
    #C68BE6 45deg 90deg,
    #6EC8E0 90deg 135deg,
    #98D8B0 135deg 180deg,
    #F2C892 180deg 225deg,
    #FFA9CF 225deg 270deg,
    #B8E0F2 270deg 315deg,
    #FFE5C2 315deg 360deg
  );
  box-shadow:
    inset 0 0 0 8px rgba(255,255,255,0.7),
    inset 0 0 0 14px rgba(255,255,255,0.35),
    0 30px 60px rgba(255,111,181,0.30);
  transition: transform 5.4s cubic-bezier(.18,.74,.18,1.01);
  position: relative;
}
.wheel__labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.wheel__labels span {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 2px rgba(45,45,61,0.15);
  transform-origin: 0 110px;
  transform: translate(-50%, -50%) rotate(var(--a, 0deg)) translateY(-130px) rotate(calc(var(--a, 0deg) * -1));
  white-space: nowrap;
}
.wheel__hub {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 32% 28%, #fff 0%, #FFE0F0 28%, #E0F0FF 55%, #FFF0E0 78%, #E0FFE0 100%);
  box-shadow: var(--shadow-orb);
  display:flex;
  align-items:center;
  justify-content: center;
  z-index: 2;
  font-family:"Italianno",'IBM Plex Sans Thai',cursive;
  font-size: 28px;
  color: var(--magenta);
}
.wheel__pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 50px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: linear-gradient(180deg, #FF6FB5, #C68BE6);
  box-shadow: 0 8px 18px rgba(255,111,181,0.4);
  z-index: 3;
}
.wheel__pointer::after {
  content:"";
  position:absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 16px solid #C68BE6;
}

.dreamwheel__copy h3 { margin: 0 0 8px; font-weight: 300; font-size: 32px; }
.dreamwheel__copy .tagline { font-size: 28px; line-height: 1; display: block; margin-bottom: 12px; }
.dreamwheel__rewards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0 24px;
}
.dreamwheel__rewards li {
  list-style: none;
  display:flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  font-size: 13.5px;
}
.dreamwheel__rewards li b { color: var(--magenta); margin-left: auto; font-family:"Manrope",'IBM Plex Sans Thai',sans-serif; }
.dreamwheel__result {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.65);
  border: 1px dashed rgba(255,111,181,0.35);
  margin-top: 14px;
  min-height: 60px;
  display:flex;
  align-items:center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 14px;
}
.dreamwheel__result strong { color: var(--magenta); font-weight: 600; }

/* ---------- 8. LOTTERY CARDS ---------- */
.lottery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.lotto-card {
  position: relative;
  padding: 24px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-soft);
  display:flex;
  flex-direction:column;
  gap: 14px;
  overflow: hidden;
}
.lotto-card::before {
  content:"";
  position:absolute;
  inset: -40% -40% auto auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), transparent 60%),
    linear-gradient(135deg, rgba(255,224,240,0.6), rgba(224,240,255,0.6));
  filter: blur(10px);
  pointer-events: none;
}
.lotto-card__head {
  display:flex;
  align-items: center;
  gap: 10px;
}
.lotto-card__flag {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display:flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.7);
}
.lotto-card__title {
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
}
.lotto-card__cycle {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lotto-card__count {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.lotto-card__count > div {
  border-radius: var(--r-md);
  padding: 12px 6px;
  text-align:center;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.7);
}
.lotto-card__count .num {
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 300;
  font-size: 24px;
  color: var(--ink);
  line-height: 1;
}
.lotto-card__count .lab {
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lotto-card__last {
  display:flex;
  gap:6px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
}
.lotto-card__last .ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.85);
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 600;
  color: var(--magenta);
}
.lotto-card__row {
  display:flex;
  justify-content: space-between;
  align-items: center;
}
.lotto-card__pay {
  font-size: 13px;
  color: var(--ink-soft);
}
.lotto-card__pay b {
  color: var(--magenta);
  font-weight: 600;
}

/* ---------- 9. GLOW LIVE ---------- */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.live-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-soft);
}
.live-card__media {
  position:relative;
  aspect-ratio: 16/10;
}
.live-card__media img {
  width:100%;
  height:100%;
  object-fit: cover;
}
.live-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  color: var(--magenta);
}
.live-card__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 4px rgba(255,111,181,0.18);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.4); }
}
.live-card__body {
  padding: 16px;
  display:flex;
  align-items: center;
  gap: 14px;
}
.live-card__avatar {
  width:54px;
  height:54px;
  border-radius:50%;
  background:
    radial-gradient(circle at 30% 30%, #fff, #FFE0F0 35%, #E0F0FF 70%, #FFF0E0);
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: var(--shadow-orb);
}
.live-card__title { font-weight: 500; font-size: 15px; }
.live-card__meta {
  display:flex;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.live-card__meta b {
  color: var(--ink);
  font-weight: 600;
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
}
.live-card .iri-border::before { z-index: 0; }

/* ---------- 10. PEARL TIER ---------- */
.pearl-tiers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.pearl-tier {
  position:relative;
  padding: 28px 22px 28px;
  border-radius: var(--r-xl);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-bevel);
  overflow: hidden;
}
.pearl-tier::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background-size: 240% 240%;
  animation: iriShift 10s ease-in-out infinite;
}
.pearl-tier > * { position:relative; z-index:1; }
.pearl-tier .pearl-orb {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 4px auto 14px;
  box-shadow: var(--shadow-orb);
  animation: pearlFloat 6s ease-in-out infinite;
}
.pearl-tier h4 {
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.pearl-tier .level {
  font-family:"Italianno",'IBM Plex Sans Thai',cursive;
  color: var(--magenta);
  font-size: 24px;
  line-height: 1;
}
.pearl-tier .perk {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 12px;
  line-height: 1.5;
}
.pearl-tier .stat {
  display:flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.6);
}
.pearl-tier .stat b {
  color: var(--ink);
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 600;
}

.tier-1::before { background: linear-gradient(135deg, #FFFFFF, #FFE0F0, #FFF0E0); }
.tier-2::before { background: linear-gradient(135deg, #FFE0F0, #FFA9CF, #F0E0FF); }
.tier-3::before { background: linear-gradient(135deg, #E0F0FF, #B8E0F2, #F0E0FF); }
.tier-4::before { background: linear-gradient(135deg, #FFF0E0, #F2C892, #FFE0F0); }
.tier-5::before { background: linear-gradient(135deg, #C0B8D0, #8C8AA5, #4D4A60); }
.tier-5 h4 { color: #fff; }
.tier-5 .level { color: #FFE0F0; }
.tier-5 .perk { color: rgba(255,255,255,0.78); }
.tier-5 .stat { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.2); }
.tier-5 .stat b { color: #fff; }

.tier-1 .pearl-orb { background: radial-gradient(circle at 30% 28%, #fff 0%, #FFFAF2 30%, #FFE0F0 70%); }
.tier-2 .pearl-orb { background: radial-gradient(circle at 30% 28%, #fff 0%, #FFE0F0 30%, #FFA9CF 70%); }
.tier-3 .pearl-orb { background: radial-gradient(circle at 30% 28%, #fff 0%, #E0F0FF 30%, #6EC8E0 70%); }
.tier-4 .pearl-orb { background: radial-gradient(circle at 30% 28%, #fff 0%, #FFF0E0 30%, #F2C892 70%); }
.tier-5 .pearl-orb {
  background:
    radial-gradient(circle at 30% 28%, #fff 0%, #C0B8D0 30%, #4D4A60 70%);
  box-shadow:
    inset -8px -10px 30px rgba(0,0,0,0.45),
    inset 8px 10px 30px rgba(255,255,255,0.2),
    0 22px 40px rgba(45, 45, 61, 0.3);
}

/* ---------- 11. TREASURE (deposit/withdraw) ---------- */
.treasure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.treasure-card {
  padding: 26px;
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-bevel);
  position: relative;
  overflow: hidden;
}
.treasure-card .head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.treasure-card h3 {
  font-weight: 300;
  font-size: 26px;
  margin: 0;
}
.treasure-card .cursive {
  font-family:"Italianno",'IBM Plex Sans Thai',cursive;
  color: var(--magenta);
  font-size: 26px;
  line-height: 1;
}
.field {
  display:flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input,
.field select,
.field textarea {
  padding: 14px 16px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.85);
  font-size: 14px;
  outline: none;
  transition: box-shadow var(--t-fast);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  box-shadow: 0 0 0 4px rgba(255,111,181,0.18);
  border-color: rgba(255,111,181,0.55);
}
.amount-grid {
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.amount-grid button {
  padding: 12px 0;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 500;
  color: var(--ink);
  transition: background var(--t-fast);
}
.amount-grid button:hover {
  background: linear-gradient(135deg, rgba(255,224,240,0.95), rgba(224,240,255,0.95));
}

.bank-card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.bank-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.7);
  font-size: 13px;
  cursor: pointer;
  transition: background var(--t-fast);
}
.bank-pill:hover {
  background: linear-gradient(135deg, rgba(255,224,240,0.9), rgba(224,240,255,0.9));
}
.bank-pill .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--magenta-soft);
  flex-shrink: 0;
}
.bank-pill[data-bank="kbank"] .dot { background: #1B8F4D; }
.bank-pill[data-bank="scb"]  .dot  { background: #4E2A86; }
.bank-pill[data-bank="bbl"]  .dot  { background: #1565C0; }
.bank-pill[data-bank="ktb"]  .dot  { background: #00A8E2; }
.bank-pill[data-bank="bay"]  .dot  { background: #FECC00; }
.bank-pill[data-bank="ttb"]  .dot  { background: #1971FF; }
.bank-pill[data-bank="gsb"]  .dot  { background: #EF49A0; }
.bank-pill[data-bank="kkp"]  .dot  { background: #1A6FBF; }
.bank-pill[data-bank="cimb"] .dot  { background: #DA0F2C; }
.bank-pill[data-bank="baac"] .dot  { background: #008245; }
.bank-pill[data-bank="lh"]   .dot  { background: #FF6900; }
.bank-pill[data-bank="truemoney"] .dot { background: #F26B22; }
.bank-pill[data-bank="qr"]   .dot  { background: linear-gradient(135deg,#0050A0,#FF0000); }
.bank-pill[data-bank="usdt"] .dot  { background: #26A17B; }
.bank-pill[data-bank="btc"]  .dot  { background: #F7931A; }
.bank-pill[data-bank="eth"]  .dot  { background: #8A9BFF; }

/* ---------- 12. WINBET369 / PROVIDER WALL ---------- */
.providers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}
.provider {
  display:flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  transition: transform var(--t-fast), background var(--t-fast);
}
.provider:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(255,224,240,0.95), rgba(224,240,255,0.95));
}
.provider .logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.85);
  display:flex;
  align-items: center;
  justify-content: center;
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--magenta);
  flex-shrink: 0;
}
.provider .name {
  display:flex;
  flex-direction: column;
  font-size: 13px;
}
.provider .name b { font-family:"Manrope",'IBM Plex Sans Thai',sans-serif; font-weight: 600; }
.provider .name small { color: var(--ink-mute); font-size: 11px; }

/* ---------- 13. WHY US bubbles ---------- */
.whyus {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why-bubble {
  position: relative;
  padding: 32px 24px 28px;
  border-radius: 50% 38% 50% 38% / 38% 50% 38% 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.7), transparent 60%),
    linear-gradient(135deg, rgba(255,224,240,0.7), rgba(224,240,255,0.7));
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 18px 36px rgba(255,111,181,0.18);
  text-align: center;
  min-height: 230px;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.why-bubble:nth-child(2) {
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.7), transparent 60%),
    linear-gradient(135deg, rgba(255,240,224,0.7), rgba(224,255,224,0.7));
  border-radius: 38% 50% 38% 50% / 50% 38% 50% 38%;
}
.why-bubble:nth-child(3) {
  background:
    radial-gradient(circle at 30% 70%, rgba(255,255,255,0.7), transparent 60%),
    linear-gradient(135deg, rgba(240,224,255,0.7), rgba(224,240,255,0.7));
  border-radius: 50% 50% 38% 50% / 38% 38% 50% 50%;
}
.why-bubble:nth-child(4) {
  background:
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.7), transparent 60%),
    linear-gradient(135deg, rgba(255,224,240,0.7), rgba(255,240,224,0.7));
  border-radius: 38% 38% 50% 50% / 50% 50% 38% 38%;
}
.why-bubble svg {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  color: var(--magenta);
}
.why-bubble h4 {
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 6px;
}
.why-bubble p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

/* ---------- 14. TREASURE OF PEARL · BANK MOSAIC ----------
 * Wall-mosaic: 4-col grid · grid-auto-flow: dense · varying spans
 * Frosted-glass-pearl tiles · iridescent hue-rotate 18s · float 8s
 * 10 tiles total (1×xl + 1×tall + 2×wide + 6×base) = 16 cells fits 4×4
 * ------------------------------------------------------------ */
.pearl-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(132px, auto);
  grid-auto-flow: dense;
  gap: 16px;
  position: relative;
  isolation: isolate;
}

.pearl-tile {
  --accent: #FF6FB5;
  position: relative;
  border-radius: var(--r-lg);
  /* frosted-glass-pearl bg per spec */
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  /* pearl bevel inner shadows (highlight top + soft pink glow bottom) */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 8px 18px rgba(255, 255, 255, 0.45),
    inset 0 -10px 24px rgba(255, 224, 240, 0.32),
    0 14px 30px rgba(255, 111, 181, 0.12),
    0 4px 12px rgba(110, 200, 224, 0.10);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  animation: tileFloat 8s ease-in-out infinite;
  will-change: transform;
}

/* iridescent gradient layer with hue-rotate (the spec's filter:hue-rotate loop)
 * applied to the pseudo-element only — bank logos stay color-accurate */
.pearl-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 224, 240, 0.55), transparent 55%),
    radial-gradient(circle at 82% 18%, rgba(224, 240, 255, 0.55), transparent 55%),
    radial-gradient(circle at 78% 82%, rgba(255, 240, 224, 0.55), transparent 55%),
    radial-gradient(circle at 18% 78%, rgba(224, 255, 224, 0.55), transparent 55%);
  filter: hue-rotate(0deg);
  animation: hue 18s linear infinite;
  pointer-events: none;
}

/* white pearl shine in upper-left for that bevelled look */
.pearl-tile__shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  border-radius: var(--r-lg) var(--r-lg) 50% 50% / var(--r-lg) var(--r-lg) 100% 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 75%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* brand-tinted halo blob in upper-right (subtle, doesn't hue-rotate) */
.pearl-tile__halo {
  position: absolute;
  top: -28%;
  right: -22%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  opacity: 0.18;
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
}

@keyframes hue {
  to { filter: hue-rotate(360deg); }
}

@keyframes tileFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

.pearl-tile:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 8px 18px rgba(255, 255, 255, 0.55),
    inset 0 -10px 30px rgba(255, 224, 240, 0.45),
    0 24px 50px rgba(255, 111, 181, 0.25),
    0 6px 18px rgba(110, 200, 224, 0.15);
  animation-play-state: paused;
}

.pearl-tile img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: 56px;
  max-width: 78%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(45, 45, 61, 0.10));
}

.pearl-tile__caption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  line-height: 1.2;
}
.pearl-tile__caption b {
  font-family: "Manrope", "IBM Plex Sans Thai", sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-transform: uppercase;
}
.pearl-tile__caption small {
  font-size: 11.5px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ---- size variants ---- */
.pearl-tile--xl   { grid-column: span 2; grid-row: span 2; }
.pearl-tile--tall { grid-column: span 1; grid-row: span 2; }
.pearl-tile--wide { grid-column: span 2; grid-row: span 1; }

.pearl-tile--xl img { height: 96px; max-width: 60%; }
.pearl-tile--xl .pearl-tile__caption b { font-size: 18px; letter-spacing: 0.14em; }
.pearl-tile--xl .pearl-tile__caption small { font-size: 13px; }

.pearl-tile--tall img { height: 70px; }
.pearl-tile--wide img { height: 52px; max-width: 50%; }

/* ---- staggered animations so 10 tiles don't pulse in sync ---- */
.pearl-tile:nth-child(1)  { animation-delay: -0.0s; }
.pearl-tile:nth-child(2)  { animation-delay: -0.8s; }
.pearl-tile:nth-child(3)  { animation-delay: -1.6s; }
.pearl-tile:nth-child(4)  { animation-delay: -2.4s; }
.pearl-tile:nth-child(5)  { animation-delay: -3.2s; }
.pearl-tile:nth-child(6)  { animation-delay: -4.0s; }
.pearl-tile:nth-child(7)  { animation-delay: -4.8s; }
.pearl-tile:nth-child(8)  { animation-delay: -5.6s; }
.pearl-tile:nth-child(9)  { animation-delay: -6.4s; }
.pearl-tile:nth-child(10) { animation-delay: -7.2s; }

.pearl-tile:nth-child(odd)::before  { animation-delay: 0s; }
.pearl-tile:nth-child(even)::before { animation-delay: -9s; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .pearl-mosaic { grid-template-columns: repeat(3, 1fr); }
  .pearl-tile--xl { grid-column: span 2; grid-row: span 2; }
  .pearl-tile--xl img { height: 80px; }
}
@media (max-width: 640px) {
  .pearl-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(108px, auto);
    gap: 12px;
  }
  .pearl-tile { padding: 16px 12px; }
  .pearl-tile img { height: 44px; }
  .pearl-tile--xl   { grid-column: span 2; grid-row: span 2; }
  .pearl-tile--xl img { height: 64px; }
  .pearl-tile--tall { grid-column: span 1; grid-row: span 2; }
  .pearl-tile--wide { grid-column: span 2; grid-row: span 1; }
  .pearl-tile--wide img { height: 42px; }
  .pearl-tile__caption b { font-size: 12.5px; }
  .pearl-tile__caption small { font-size: 11px; }
}

/* ---------- 15. MEMBERS / TESTIMONIALS ---------- */
.dreamers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.dreamer-card {
  padding: 26px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 80% 0%, rgba(255,255,255,0.7), transparent 50%),
    rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-bevel);
  position: relative;
}
.dreamer-card .quotemark {
  font-family:"Italianno",'IBM Plex Sans Thai',cursive;
  font-size: 64px;
  color: var(--magenta-soft);
  line-height: 1;
  margin-bottom: -16px;
}
.dreamer-card p {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 300;
  font-style: italic;
}
.dreamer-card .who {
  display:flex;
  align-items:center;
  gap: 12px;
  margin-top: 14px;
}
.dreamer-card .avatar {
  width: 44px;
  height: 44px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 28%, #fff 0%, #FFE0F0 28%, #E0F0FF 55%, #FFF0E0 78%, #E0FFE0 100%);
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: var(--shadow-orb);
}
.dreamer-card .who b {
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 600;
  font-size: 14px;
}
.dreamer-card .who small {
  display:block;
  color: var(--ink-mute);
  font-size: 12px;
  margin-top: 2px;
}
.dreamer-card .stars {
  color: var(--magenta);
  font-size: 14px;
  margin-top: 2px;
  letter-spacing: 0.08em;
}
.dreamer-card .win {
  margin-top: 16px;
  display:flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background: rgba(255,224,240,0.55);
  font-size: 12px;
  color: var(--magenta);
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
}
.dreamer-card .win b {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* ---------- 16. FOOTER ---------- */
.footer {
  margin-top: 60px;
  padding: 60px 0 30px;
  position: relative;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,224,240,0.85), transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(224,240,255,0.85), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.78));
  border-top: 1px solid rgba(255,255,255,0.7);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h5 {
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer li { margin-bottom: 8px; }
.footer a {
  color: var(--ink-soft);
  font-size: 13.5px;
  transition: color var(--t-fast);
}
.footer a:hover { color: var(--magenta); }

.footer__brand p {
  font-size: 13.5px;
  max-width: 280px;
}
.footer__compliance {
  margin-top: 22px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.footer__compliance .chip { background: rgba(255,255,255,0.85); }

.footer__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.7);
  display:flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-mute);
}
/* ---------- 17. FLOATING & UTILS ---------- */
.float-line {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display:flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.float-pill {
  display:inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 14px 36px rgba(255,111,181,0.25);
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.float-pill::before {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #FF6FB5, #C68BE6, #6EC8E0, #98D8B0, #F2C892, #FF6FB5);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: iriShift 8s linear infinite;
}
.float-pill .dot-on {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ED373;
  box-shadow: 0 0 0 4px rgba(78,211,115,0.18);
  animation: pulseDot 1.6s ease-in-out infinite;
}

.float-back {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6FB5, #C68BE6, #6EC8E0);
  background-size: 300% 300%;
  animation: iriShift 6s linear infinite;
  color: #fff;
  display:flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(255,111,181,0.35);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.float-back.is-on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ---------- 18. MODAL ---------- */
.modal-mask {
  position: fixed;
  inset:0;
  background: rgba(45,45,61,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-mask.is-on { display: flex; }
.modal {
  width: 460px;
  max-width: 100%;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 80% 0%, rgba(255,255,255,0.85), transparent 60%),
    rgba(255,255,255,0.85);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 60px 100px rgba(255,111,181,0.30);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.modal::before {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding: 2px;
  background: linear-gradient(135deg, #FF6FB5, #C68BE6, #6EC8E0, #98D8B0, #F2C892, #FF6FB5);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: iriShift 8s linear infinite;
  pointer-events: none;
}
.modal h3 { font-weight: 300; font-size: 28px; margin: 0; }
.modal .cursive {
  font-family:"Italianno",'IBM Plex Sans Thai',cursive;
  color: var(--magenta);
  font-size: 28px;
  line-height: 1;
}
.modal__close {
  position:absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius:50%;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.85);
  color: var(--ink);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 18px;
}
.modal__tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.5);
  margin: 18px 0 22px;
}
.modal__tabs button {
  flex: 1;
  padding: 10px 0;
  border-radius: var(--r-pill);
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.modal__tabs button.is-on {
  background: linear-gradient(135deg, #FF6FB5, #C68BE6, #6EC8E0);
  background-size: 220% 220%;
  animation: iriShift 6s ease-in-out infinite;
  color: #fff;
}

/* ---------- 19. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .hero__layout    { grid-template-columns: 1fr; gap: 30px; }
  .hero__stage     { height: 480px; }
  .featured        { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .featured__card.f1 { grid-column: 1 / -1; }
  .pearl-tiers     { grid-template-columns: repeat(3, 1fr); }
  .whyus           { grid-template-columns: 1fr 1fr; }
  .footer__grid    { grid-template-columns: 1fr 1fr; gap: 30px; }
  .treasure-grid   { grid-template-columns: 1fr; }
  .dreamwheel      { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
}
@media (max-width: 720px) {
  .pearl-tiers   { grid-template-columns: 1fr 1fr; }
  .featured      { grid-template-columns: 1fr; }
  .whyus         { grid-template-columns: 1fr; }
  .footer__grid  { grid-template-columns: 1fr; }
  .pearl         { width: 240px; height: 240px; }
  .hero          { padding: 40px 0 70px; }
  .hero__stage   { height: 380px; }
  .wheel         { width: 320px; height: 320px; }
  .wheel__labels span { transform-origin: 0 96px; transform: translate(-50%, -50%) rotate(var(--a, 0deg)) translateY(-110px) rotate(calc(var(--a, 0deg) * -1)); font-size: 10.5px; }
  .float-line { right: 14px; bottom: 14px; }
  .float-pill { padding: 10px 14px; font-size: 12.5px; }
  h1 { font-size: 38px; }
}
@media (max-width: 460px) {
  .pearl-tiers { grid-template-columns: 1fr; }
  .nav__drop--wide { grid-template-columns: 1fr; min-width: 0; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 20. SECTION DECOR / BACKGROUND VARIANTS ---------- */
.bg-aurora {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.bg-aurora::before {
  content:"";
  position: absolute;
  inset: -10%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,224,240,0.85), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(224,240,255,0.85), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255,240,224,0.85), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(224,255,224,0.85), transparent 50%);
  background-size: 200% 200%;
  animation: auroraDrift 26s ease-in-out infinite;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,111,181,0.35), rgba(110,200,224,0.35), transparent);
  margin: 36px 0;
  border: 0;
}

.section-cursive {
  font-family:"Italianno",'IBM Plex Sans Thai',cursive;
  font-size: 36px;
  color: var(--magenta);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

/* tiny meta strip */
.meta-strip {
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 14px;
}

/* table-of-contents (Help) accordion */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-item {
  padding: 18px 22px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background var(--t-fast);
}
.faq-item:hover { background: rgba(255,255,255,0.75); }
.faq-item h4 { margin: 0 0 4px; font-weight: 500; }
.faq-item p { margin: 0; font-size: 13.5px; }
.faq-item summary { list-style:none; cursor:pointer; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item[open] { background: linear-gradient(135deg, rgba(255,224,240,0.7), rgba(224,240,255,0.7)); }

/* steps */
.steps {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 22px 24px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-soft);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 200;
  font-size: 56px;
  color: var(--magenta-soft);
  line-height: 1;
  position: absolute;
  top: 14px;
  right: 18px;
  letter-spacing: -0.04em;
}
.step h4 { font-weight: 500; margin: 0 0 6px; }
.step p { margin: 0; font-size: 13.5px; }

/* media tile (slot/live) */
.tile-grid {
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.tile {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  position: relative;
  transition: transform var(--t-fast);
}
.tile:hover { transform: translateY(-3px); }
.tile img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.tile .body { padding: 12px 14px; }
.tile h5 { font-family:"Manrope",'IBM Plex Sans Thai',sans-serif; font-weight:600; font-size:13.5px; margin:0; }
.tile small { font-size: 11px; color: var(--ink-mute); }

.filter-row {
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.filter-pill {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  font-family:"Manrope",'IBM Plex Sans Thai',sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-soft);
  transition: background var(--t-fast), color var(--t-fast);
  cursor: pointer;
}
.filter-pill:hover,
.filter-pill.is-on {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255,224,240,0.95), rgba(224,240,255,0.95));
}

/* big CTA strip */
.cta-strip {
  margin: 46px 0;
  padding: 34px 40px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.7), transparent 50%),
    linear-gradient(120deg, var(--pearl-pink), var(--pearl-blue), var(--pearl-peach), var(--pearl-mint));
  background-size: 100% 100%, 360% 360%;
  animation: auroraDrift 22s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-pearl);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-strip h3 {
  font-weight: 200;
  font-size: 32px;
  margin: 0;
  max-width: 580px;
}
.cta-strip .cursive {
  font-family:"Italianno",'IBM Plex Sans Thai',cursive;
  color: var(--magenta);
  font-size: 28px;
  line-height: 1;
  display:block;
  margin-bottom: 4px;
}

/* page hero (sub) */
.page-hero {
  padding: 50px 0 30px;
  text-align: center;
}
.page-hero h1 {
  font-weight: 200;
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: -0.02em;
}
.page-hero p {
  max-width: 620px;
  margin-inline: auto;
  font-size: 15px;
  color: var(--ink-soft);
}

/* selection */
::selection {
  background: rgba(255,111,181,0.3);
  color: var(--ink);
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.5); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FF6FB5, #C68BE6, #6EC8E0);
  border-radius: 999px;
}

/* intro fade-in helper */
.fade-up { opacity:0; transform: translateY(14px); transition: opacity 800ms ease, transform 800ms cubic-bezier(.22,.61,.36,1); }
.fade-up.is-in { opacity: 1; transform: translateY(0); }

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