/* =========================================================
 * GCLUB212 · #21 SONGKRAN SPLASH
 * Light theme · water blue + jasmine + marigold + monk saffron
 * ---------------------------------------------------------
 * Universe: refreshing happy · 25-45 · brand happy/clean
 * Surface : light theme · water ripple bg · flower garland
 * Radius  : 20+ rounded · friendly · NOT minimalist
 * ========================================================= */

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

:root {
  /* PALETTE - Songkran festival */
  --water:        #48CAE4;
  --water-light:  #90E0EF;
  --water-deep:   #0096C7;
  --water-ink:    #023E8A;
  --jasmine:      #FFEC8A;
  --jasmine-soft: #FFF5C7;
  --marigold:     #FF9F1C;
  --marigold-soft:#FFB95E;
  --monk:         #F4A261;
  --monk-deep:    #9D5B22;
  --ivory:        #FFFEF7;
  --cream:        #FFF8E1;
  --leaf:         #74C69D;
  --leaf-deep:    #2D6A4F;

  /* TEXT */
  --ink:        #1B3A4B;
  --ink-soft:   #4A6572;
  --ink-mute:   #7B8A95;
  --ink-light:  #B0BCC5;

  /* SURFACES */
  --surface:    #FFFEF7;
  --surface-2:  #FFF8E1;
  --surface-3:  #F5FBFD;
  --line:       rgba(27, 58, 75, 0.10);
  --line-soft:  rgba(27, 58, 75, 0.06);

  /* SHADOWS */
  --shadow-water: 0 12px 32px rgba(72, 202, 228, 0.18), 0 4px 10px rgba(72, 202, 228, 0.10);
  --shadow-soft:  0 8px 22px rgba(27, 58, 75, 0.06), 0 2px 6px rgba(27, 58, 75, 0.04);
  --shadow-card:  0 16px 40px rgba(72, 202, 228, 0.16), 0 4px 12px rgba(244, 162, 97, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --shadow-pop:   0 22px 50px rgba(255, 159, 28, 0.28), 0 6px 16px rgba(72, 202, 228, 0.18);

  /* RADIUS - Songkran is friendly, very rounded */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-2xl: 48px;
  --r-pill: 999px;

  /* SPACING */
  --container: 1280px;

  /* TRANSITIONS */
  --t-fast: 200ms cubic-bezier(.22,.61,.36,1);
  --t-mid:  360ms cubic-bezier(.22,.61,.36,1);
  --t-slow: 600ms cubic-bezier(.22,.61,.36,1);
}

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

/* ---------- 0.1 BACKGROUND - water ripple sky ---------- */
body::before {
  content: "";
  position: fixed;
  inset: -10vh -10vw;
  z-index: -3;
  background:
    radial-gradient(60% 60% at 14% 18%, rgba(72, 202, 228, 0.16), transparent 70%),
    radial-gradient(55% 55% at 86% 22%, rgba(255, 236, 138, 0.22), transparent 72%),
    radial-gradient(60% 60% at 80% 88%, rgba(255, 159, 28, 0.10), transparent 70%),
    radial-gradient(60% 60% at 14% 86%, rgba(116, 198, 157, 0.08), transparent 70%),
    linear-gradient(170deg, #F5FBFD 0%, #FFFEF7 38%, #FFF8E1 70%, #FFFAE3 100%);
  animation: skyShift 30s ease-in-out infinite alternate;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(circle at 6% 12%, rgba(72, 202, 228, 0.08) 0 1px, transparent 2px),
    radial-gradient(circle at 22% 38%, rgba(72, 202, 228, 0.06) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 16%, rgba(72, 202, 228, 0.10) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 60%, rgba(72, 202, 228, 0.06) 0 1px, transparent 2px),
    radial-gradient(circle at 92% 30%, rgba(72, 202, 228, 0.08) 0 1px, transparent 2px),
    radial-gradient(circle at 14% 78%, rgba(72, 202, 228, 0.05) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 84%, rgba(72, 202, 228, 0.07) 0 1px, transparent 2px);
  background-size: 120% 120%;
  background-position: 0 0;
  animation: rippleDrift 22s linear infinite;
  pointer-events: none;
}

@keyframes skyShift {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(-2vw, 1vh, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes rippleDrift {
  to { background-position: 100% 100%; }
}

/* ---------- 0.2 JASMINE PETALS (signature) ---------- */
.jasmine {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.jasmine .petal {
  position: absolute;
  top: -40px;
  color: var(--jasmine);
  text-shadow:
    0 0 8px rgba(255, 236, 138, 0.6),
    0 0 14px rgba(255, 159, 28, 0.3);
  animation: petalFall 18s linear infinite;
  opacity: 0.8;
  user-select: none;
}
.jasmine .petal:nth-child(odd) {
  color: var(--ivory);
  text-shadow:
    0 0 6px rgba(255, 236, 138, 0.7),
    0 0 12px rgba(255, 159, 28, 0.25);
}
.jasmine .petal:nth-child(3n) { animation-duration: 22s; opacity: 0.7; }
.jasmine .petal:nth-child(5n) { animation-duration: 26s; opacity: 0.6; }

@keyframes petalFall {
  0%   { transform: translateY(-40px) translateX(0)   rotate(0deg);    opacity: 0; }
  10%  { opacity: 0.85; }
  50%  { transform: translateY(50vh)  translateX(40px) rotate(180deg); }
  100% { transform: translateY(102vh) translateX(-30px) rotate(360deg); opacity: 0; }
}

/* dynamic petals injected by JS */
.jasmine .petal--dyn {
  animation-duration: 14s;
  font-size: 18px;
}

/* ---------- 0.3 WATER DROPLETS BG ---------- */
.droplets {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.droplets > span {
  position: absolute;
  width: 14px;
  height: 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(72, 202, 228, 0.5) 60%, var(--water) 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  filter: blur(0.4px);
  animation: dropPulse 4s ease-in-out infinite;
  opacity: 0.55;
}
.droplets > span:nth-child(2n) { animation-duration: 5s; animation-delay: -2s; }
.droplets > span:nth-child(3n) { animation-duration: 6s; animation-delay: -3s; transform: scale(1.4); }

@keyframes dropPulse {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.55; }
  50%      { transform: translateY(8px) scale(1.15); opacity: 0.75; }
}

/* ---------- 0.4 WATER RIPPLE CLICK EFFECT (signature) ---------- */
.ripple {
  position: fixed;
  border: 2px solid var(--water);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(0);
  animation: rippleOut 800ms cubic-bezier(.2,.6,.3,1) forwards;
}
.ripple--inner {
  border-color: var(--water-light);
  animation-duration: 600ms;
  animation-delay: 80ms;
}

@keyframes rippleOut {
  0%   { transform: translate(-50%, -50%) scale(0);   opacity: 0.85; border-width: 3px; }
  60%  { opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(8); opacity: 0; border-width: 1px; }
}

/* ---------- 1. CONTAINER & UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,.61,.36,1);
}
.fade-up.is-shown {
  opacity: 1;
  transform: none;
}

.section-cursive {
  font-family: "Pacifico", cursive;
  font-size: 22px;
  color: var(--marigold);
  display: inline-block;
  margin-bottom: 6px;
  text-shadow: 0 1px 0 rgba(255, 159, 28, 0.18);
}

/* ---------- 2. HEADER & NAV ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 247, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(72, 202, 228, 0.18);
}

.topbar__garland {
  height: 24px;
  background: linear-gradient(90deg,
    rgba(255, 159, 28, 0.10) 0%,
    rgba(255, 236, 138, 0.20) 50%,
    rgba(255, 159, 28, 0.10) 100%);
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 13px;
  border-bottom: 2px dotted rgba(255, 159, 28, 0.35);
  overflow: hidden;
}
.topbar__garland > span {
  filter: drop-shadow(0 0 2px rgba(255, 159, 28, 0.4));
  animation: garlandSway 4s ease-in-out infinite;
}
.topbar__garland > span:nth-child(2n) { animation-delay: -1s; }
.topbar__garland > span:nth-child(3n) { animation-delay: -2s; animation-duration: 5s; }

@keyframes garlandSway {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-3px) rotate(5deg); }
}

.topbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand__logo {
  display: inline-block;
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 8px rgba(72, 202, 228, 0.3));
  animation: brandFloat 4s ease-in-out infinite;
}
@keyframes brandFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px) rotate(-2deg); }
}

.brand__name {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__name b {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--water-deep);
  letter-spacing: 0.01em;
}
.brand__name em {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: 26px;
  font-style: normal;
  color: var(--marigold);
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
}
.brand__sub {
  font-family: "Pacifico", cursive;
  font-size: 13px;
  color: var(--monk);
  margin-top: 2px;
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  text-decoration: none;
  color: var(--ink-soft);
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all var(--t-fast);
  position: relative;
}
.nav__link .ic {
  font-size: 14px;
  filter: grayscale(0.2);
  transition: all var(--t-fast);
}
.nav__link:hover {
  color: var(--water-deep);
  background: rgba(72, 202, 228, 0.10);
}
.nav__link:hover .ic { filter: none; transform: scale(1.15); }
.nav__link.is-active {
  color: var(--ivory);
  background: linear-gradient(135deg, var(--water) 0%, var(--water-deep) 100%);
  box-shadow: 0 6px 16px rgba(72, 202, 228, 0.4);
}
.nav__link.is-active .ic { filter: none; }

.nav-actions {
  display: inline-flex;
  gap: 10px;
}

/* ---------- 3. BUTTONS ---------- */
.btn {
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: all var(--t-fast);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-water);
  border-color: rgba(72, 202, 228, 0.5);
}

.btn--solid {
  background: linear-gradient(135deg, var(--marigold) 0%, var(--monk) 100%);
  color: var(--ivory);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(255, 159, 28, 0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  font-weight: 600;
}
.btn--solid:hover {
  box-shadow: 0 10px 26px rgba(255, 159, 28, 0.5), inset 0 1px 0 rgba(255,255,255,0.5);
  transform: translateY(-3px);
}

.btn--ghost {
  background: rgba(255, 254, 247, 0.7);
  border-color: rgba(72, 202, 228, 0.4);
  color: var(--water-deep);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn--mini {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
}

/* burger */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 50%;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--water-deep);
  border-radius: 2px;
}

/* ---------- 4. RIBBON ---------- */
.ribbon {
  background: linear-gradient(90deg,
    rgba(255, 236, 138, 0.30) 0%,
    rgba(255, 159, 28, 0.20) 50%,
    rgba(255, 236, 138, 0.30) 100%);
  border-bottom: 1px solid rgba(255, 159, 28, 0.30);
  overflow: hidden;
}
.ribbon__inner {
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent);
}
.ribbon__track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: ribbonScroll 40s linear infinite;
  width: max-content;
}
.ribbon__item {
  font-family: "Mitr", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink);
}
.ribbon__item b {
  font-weight: 600;
  color: var(--water-deep);
  margin-right: 4px;
}
.ribbon__dot {
  color: var(--marigold);
  font-size: 12px;
  align-self: center;
}

@keyframes ribbonScroll {
  to { transform: translateX(-50%); }
}

/* ---------- 5. PAGES ---------- */
.page {
  display: none;
  padding: 32px 0 80px;
  min-height: 50vh;
}
.page.is-active {
  display: block;
  animation: pageFade 480ms ease;
}
@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.page-head {
  padding: 36px 28px;
  margin-bottom: 24px;
  text-align: center;
}
.page-head h1 {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.page-head h1 small {
  display: block;
  font-size: 60%;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 6px;
}
.page-head p {
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
}

/* ---------- 6. HERO (HOME) ---------- */
.hero {
  position: relative;
  margin: 24px 0 56px;
  padding-bottom: 80px;
  overflow: hidden;
  border-radius: var(--r-2xl);
  isolation: isolate;
}
.hero__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 65% at 28% 30%, rgba(255, 236, 138, 0.45), transparent 70%),
    radial-gradient(55% 60% at 78% 38%, rgba(72, 202, 228, 0.38), transparent 75%),
    linear-gradient(180deg, #E0F7FA 0%, #FFFEF7 60%, #FFF5C7 100%);
  z-index: -1;
}
.hero__waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: -1;
}
.hero__waves svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 56px 28px 32px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eyebrow {
  font-family: "Mitr", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--water-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--marigold);
  animation: dotPulse 1.8s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.25);
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}

.hero__copy h1 {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero__copy h1 .cursive {
  display: block;
  font-family: "Pacifico", cursive;
  font-size: 0.55em;
  color: var(--marigold);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
  transform: rotate(-2deg);
  transform-origin: left;
}
.hero__copy h1 small {
  display: block;
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  font-size: 0.42em;
  color: var(--water-deep);
  margin-top: 8px;
}

.hero__lead {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 560px;
  margin: 0;
}
.hero__lead b {
  color: var(--marigold);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero__songkran {
  margin-top: 16px;
  padding: 18px 22px;
  background: rgba(255, 254, 247, 0.85);
  border: 1.5px solid rgba(255, 159, 28, 0.25);
  border-radius: var(--r-lg);
  display: inline-flex;
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}
.hero__songkran-icon {
  font-size: 36px;
  filter: drop-shadow(0 4px 12px rgba(255, 159, 28, 0.4));
}
.hero__songkran-title {
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 6px;
}
.hero__songkran-title small {
  font-weight: 400;
  color: var(--ink-mute);
  margin-left: 6px;
}
.hero__songkran-time {
  display: inline-flex;
  gap: 14px;
}
.hero__songkran-time > span {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
}
.hero__songkran-time b {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--water-deep);
  line-height: 1;
}
.hero__songkran-time small {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* hero stage (Buddha bowl) */
.hero__stage {
  position: relative;
  aspect-ratio: 1.1 / 1;
  max-width: 460px;
  justify-self: end;
  width: 100%;
}
.bowl-art {
  position: absolute;
  inset: 0;
  filter: drop-shadow(0 18px 36px rgba(72, 202, 228, 0.20));
  animation: bowlSway 8s ease-in-out infinite;
}
@keyframes bowlSway {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-6px) rotate(1deg); }
}
.bowl-art .marigold circle {
  animation: marigoldPulse 5s ease-in-out infinite;
  transform-origin: center;
}
@keyframes marigoldPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

.hero__chip {
  position: absolute;
  background: rgba(255, 254, 247, 0.95);
  border: 1.5px solid rgba(72, 202, 228, 0.25);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  animation: chipFloat 5s ease-in-out infinite;
}
.hero__chip svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero__chip.c1 { top: 4%;  left: -6%;  animation-delay: -0s; }
.hero__chip.c2 { top: 14%; right: -8%; animation-delay: -1.2s; }
.hero__chip.c3 { bottom: 26%; left: -10%; animation-delay: -2.4s; }
.hero__chip.c4 { bottom: 12%; right: -4%; animation-delay: -3.6s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ---------- 7. STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0 0 56px;
}
.stat {
  background: var(--surface);
  border: 1.5px solid rgba(72, 202, 228, 0.18);
  border-radius: var(--r-lg);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all var(--t-fast);
  position: relative;
  overflow: hidden;
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(72, 202, 228, 0.35);
}
.stat__icon {
  display: inline-block;
  font-size: 36px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 6px rgba(72, 202, 228, 0.25));
}
.stat__num {
  display: block;
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--water-deep);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat__label {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- 8. SECTION HEADS ---------- */
.section-head {
  margin: 24px 0 28px;
}
.section-head h2 {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.section-head h2 small {
  font-weight: 400;
  font-size: 60%;
  color: var(--ink-soft);
  margin-left: 8px;
}
.section-head p {
  color: var(--ink-soft);
  margin: 8px 0 0;
  max-width: 760px;
  font-size: 15.5px;
}
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.section-head--row > div { flex: 1 1 auto; }

/* ---------- 9. CATEGORIES (droplet borders) ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}
.cat {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  border: 1.5px solid rgba(72, 202, 228, 0.18);
  transition: all var(--t-mid);
  box-shadow: var(--shadow-soft);
  text-align: center;
  padding-bottom: 18px;
}
.cat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(72, 202, 228, 0.45);
}
.cat__art {
  position: relative;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* droplet-shaped top */
  border-radius: var(--r-lg) var(--r-lg) 50% 50% / var(--r-lg) var(--r-lg) 22% 22%;
}
.cat__art img {
  width: 84%;
  height: 84%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--ivory);
  box-shadow: 0 6px 16px rgba(72, 202, 228, 0.25);
  transition: transform var(--t-mid);
}
.cat:hover .cat__art img { transform: scale(1.08) rotate(2deg); }

.cat__droplet {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  background: var(--ivory);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(72, 202, 228, 0.25);
  z-index: 2;
}

.cat--slot   .cat__art { background: linear-gradient(180deg, #E0F7FA, #B2EBF2); }
.cat--sport  .cat__art { background: linear-gradient(180deg, #FFF8E1, #FFE082); }
.cat--casino .cat__art { background: linear-gradient(180deg, #FFE0E6, #FFB7C5); }
.cat--lotto  .cat__art { background: linear-gradient(180deg, #E8F5E9, #C8E6C9); }
.cat--fish   .cat__art { background: linear-gradient(180deg, #B3E5FC, #4FC3F7); }
.cat--esport .cat__art { background: linear-gradient(180deg, #F3E5F5, #CE93D8); }

.cat h4 {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin: 14px 0 4px;
  color: var(--ink);
}
.cat p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.cat__cta {
  font-family: "Mitr", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--marigold);
}

/* ---------- 10. SLOT GRID & GAME CARDS ---------- */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.slots-grid--full {
  grid-template-columns: repeat(5, 1fr);
}
.game-card {
  background: var(--surface);
  border: 1.5px solid rgba(72, 202, 228, 0.18);
  border-radius: var(--r-md);
  padding: 12px;
  position: relative;
  transition: all var(--t-mid);
  box-shadow: var(--shadow-soft);
  text-align: left;
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(255, 159, 28, 0.4);
}

.game-card__thumb {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1.18;
  background: linear-gradient(135deg, #E0F7FA, #FFFEF7);
}
.game-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-mid);
}
.game-card:hover .game-card__thumb img { transform: scale(1.08); }

.game-card h4 {
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  font-size: 14px;
  margin: 12px 0 4px;
  color: var(--ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.game-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.game-card__meta b {
  color: var(--marigold);
  font-weight: 600;
  font-family: "Mitr", sans-serif;
}
.game-card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.provider-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(255, 254, 247, 0.92);
  color: var(--water-deep);
  padding: 4px 8px;
  border-radius: var(--r-pill);
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.06em;
  z-index: 2;
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.badge--hot { background: var(--marigold); color: var(--ivory); }
.badge--new { background: var(--leaf); color: var(--ivory); }
.badge--jp  { background: linear-gradient(135deg, var(--jasmine) 0%, var(--marigold) 100%); color: var(--ink); }

.see-all {
  margin: 24px 0 56px;
  text-align: center;
}

/* filter pills */
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.filter-pills--lg { margin: 0 0 24px; gap: 10px; }
.filter-pill {
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(72, 202, 228, 0.25);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--t-fast);
}
.filter-pill:hover {
  border-color: rgba(72, 202, 228, 0.5);
  color: var(--water-deep);
}
.filter-pill.is-on {
  background: linear-gradient(135deg, var(--water) 0%, var(--water-deep) 100%);
  color: var(--ivory);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(72, 202, 228, 0.35);
}

/* ---------- 11. LIVE CASINO CARDS ---------- */
.live-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.live-grid--full { grid-template-columns: repeat(4, 1fr); gap: 18px; }

.live-card {
  background: var(--surface);
  border: 1.5px solid rgba(72, 202, 228, 0.18);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-mid);
  box-shadow: var(--shadow-soft);
}
.live-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(255, 159, 28, 0.4);
}
.live-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #FFE0E6, #FFB7C5);
}
.live-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-mid);
}
.live-card:hover .live-card__thumb img { transform: scale(1.06); }

.live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 11px;
  background: var(--marigold);
  color: var(--ivory);
  letter-spacing: 0.06em;
}
.live-badge--live::before {
  content: "●";
  margin-right: 4px;
  animation: liveBlink 1.4s ease-in-out infinite;
}
@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.live-card__viewer {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.4);
  color: var(--ivory);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.live-card h4 {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin: 14px 18px 6px;
}
.live-card__meta {
  padding: 0 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-soft);
}
.live-card__meta .dealer b { color: var(--marigold); font-weight: 600; }
.live-card .btn {
  margin: 0 18px 18px;
  display: flex;
  justify-content: center;
}

/* ---------- 12. LOTTERY ---------- */
.lottery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}
.lottery-grid--full { grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }

.lotto-card {
  background: var(--surface);
  border: 1.5px solid rgba(255, 159, 28, 0.20);
  border-radius: var(--r-lg);
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all var(--t-mid);
  position: relative;
  overflow: hidden;
}
.lotto-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--jasmine-soft), transparent 70%);
  border-radius: 50%;
  opacity: 0.6;
}
.lotto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--marigold);
}

.lotto-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 12px;
}
.lotto-card__icon {
  font-size: 28px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.lotto-card__head h4 {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin: 0;
}

.lotto-card__rate {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.lotto-card__rate b {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  color: var(--marigold);
  font-size: 16px;
  margin: 0 4px;
}

.lotto-card__count {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}
.lotto-card__count > span {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--cream);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  min-width: 56px;
  border: 1px solid rgba(255, 159, 28, 0.20);
}
.lotto-card__count b {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--water-deep);
  line-height: 1;
}
.lotto-card__count small {
  font-size: 10px;
  color: var(--ink-mute);
  margin-top: 4px;
}

.latest-results {
  margin: 56px 0 32px;
  padding: 28px;
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1.5px solid rgba(255, 159, 28, 0.18);
  box-shadow: var(--shadow-soft);
}
.latest-results h3 {
  font-family: "Mitr", sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--ink);
}
.results-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.result-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
  gap: 12px;
  padding: 12px 14px;
  background: var(--cream);
  border-radius: var(--r-sm);
  align-items: center;
  font-size: 14px;
}
.result-row b {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  color: var(--water-deep);
  font-size: 18px;
  letter-spacing: 0.06em;
}
.result-row span:first-child {
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  color: var(--ink);
}
.result-row em {
  font-style: normal;
  color: var(--marigold);
  font-weight: 600;
  font-family: "Mitr", sans-serif;
}

/* ---------- 13. BUDDHA BOWL DEPOSIT (signature) ---------- */
.bowl-deposit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
  background: linear-gradient(135deg, rgba(255, 254, 247, 0.9), rgba(255, 248, 225, 0.9));
  border-radius: var(--r-2xl);
  padding: 36px;
  border: 1.5px solid rgba(255, 159, 28, 0.20);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.bowl-deposit::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--jasmine-soft), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.bowl-deposit::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(72, 202, 228, 0.20), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bowl-deposit__viz {
  position: relative;
  aspect-ratio: 1.1 / 1;
  max-width: 480px;
}
.bowl-deposit__viz svg {
  width: 100%;
  height: 100%;
  display: block;
}
.bowl-deposit__credit {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 254, 247, 0.92);
  border-radius: var(--r-md);
  padding: 10px 22px;
  text-align: center;
  border: 1.5px solid rgba(255, 159, 28, 0.30);
  box-shadow: 0 6px 16px rgba(72, 202, 228, 0.18);
  z-index: 5;
}
.bowl-deposit__credit-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.bowl-deposit__credit-amount {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--marigold);
}

/* falling drop animation in JS */
.bowl-drop {
  fill: var(--water);
  opacity: 0.85;
  animation: bowlDropFall 600ms ease-in forwards;
}
@keyframes bowlDropFall {
  0%   { transform: translateY(-200px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0; }
}

.bowl-deposit__form { display: flex; flex-direction: column; gap: 14px; }
.bowl-deposit__form h3 {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0;
  color: var(--ink);
}
.bowl-deposit__form p {
  color: var(--ink-soft);
  margin: 0 0 6px;
}
.bowl-deposit__amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.amount-btn {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 8px;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(72, 202, 228, 0.25);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: all var(--t-fast);
}
.amount-btn:hover {
  border-color: var(--water);
  background: rgba(72, 202, 228, 0.08);
  transform: translateY(-2px);
}
.amount-btn.is-active {
  background: linear-gradient(135deg, var(--water) 0%, var(--water-deep) 100%);
  color: var(--ivory);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(72, 202, 228, 0.35);
}

.bowl-deposit__bonus {
  background: linear-gradient(90deg, var(--jasmine-soft), var(--cream));
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: 13px;
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  color: var(--monk-deep);
  border: 1px dashed rgba(255, 159, 28, 0.35);
}

.bowl-deposit__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
}
.bowl-deposit__note span {
  font-size: 16px;
}

/* ---------- 14. LIVE WITHDRAWAL FEED ---------- */
.feed {
  margin-bottom: 56px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1.5px solid rgba(72, 202, 228, 0.18);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.feed__inner {
  height: 320px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.feed__list {
  list-style: none;
  margin: 0;
  padding: 0;
  animation: feedScroll 50s linear infinite;
}
.feed__list li {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px dashed rgba(72, 202, 228, 0.15);
  font-size: 14px;
  transition: background var(--t-fast);
}
.feed__list li:hover { background: rgba(72, 202, 228, 0.05); }
.feed__list .feed__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--water-light), var(--water));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  color: var(--ivory);
  font-size: 14px;
}
.feed__list .feed__user b {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  color: var(--ink);
}
.feed__list .feed__user small {
  display: block;
  font-size: 12px;
  color: var(--ink-mute);
}
.feed__list .feed__amount {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  color: var(--marigold);
  font-size: 16px;
}
.feed__list .feed__bank {
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--cream);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family: "Mitr", sans-serif;
  font-weight: 500;
}

@keyframes feedScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* ---------- 15. PROVIDERS ---------- */
.providers {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}
.provider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1.5px solid rgba(72, 202, 228, 0.15);
  text-decoration: none;
  color: var(--ink);
  transition: all var(--t-fast);
  cursor: pointer;
}
.provider:hover {
  transform: translateY(-3px);
  border-color: var(--marigold);
  box-shadow: var(--shadow-water);
}
.provider img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: grayscale(0.2) saturate(0.9);
  transition: filter var(--t-fast);
}
.provider:hover img { filter: none; }
.provider span {
  font-size: 11px;
  color: var(--ink-mute);
  text-align: center;
  font-family: "Mitr", sans-serif;
  font-weight: 500;
}

/* ---------- 16. FEATURES (why us) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.feature {
  background: var(--surface);
  border: 1.5px solid rgba(255, 159, 28, 0.15);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all var(--t-mid);
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--marigold);
}
.feature__icon {
  font-size: 44px;
  display: inline-block;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 8px rgba(255, 159, 28, 0.25));
}
.feature h4 {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink);
}
.feature p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

/* ---------- 17. BANK WALL ---------- */
.banks {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}
.banks--big { grid-template-columns: repeat(6, 1fr); gap: 14px; }
.bank {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 16px 12px;
  text-align: center;
  border: 1.5px solid rgba(72, 202, 228, 0.15);
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: "Mitr", sans-serif;
  font-weight: 500;
}
.bank:hover {
  transform: translateY(-3px);
  border-color: var(--marigold);
  box-shadow: var(--shadow-water);
}
.bank b {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--water-deep);
  margin-bottom: 4px;
}
.bank span {
  display: block;
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 400;
}
.bank--wallet { border-color: rgba(255, 159, 28, 0.30); background: rgba(255, 248, 225, 0.4); }
.bank--wallet b { color: var(--marigold); }
.bank--crypto { border-color: rgba(116, 198, 157, 0.40); background: rgba(232, 245, 233, 0.5); }
.bank--crypto b { color: var(--leaf-deep); }

/* ---------- 17.5 BANK BAND · บ่อน้ำชำระ (mid-page full-width) ---------- */
.bank-band {
  position: relative;
  margin: 56px 0;
  padding: 56px 0 56px;
  background:
    radial-gradient(60% 80% at 18% 28%, rgba(72, 202, 228, 0.20), transparent 70%),
    radial-gradient(55% 70% at 82% 72%, rgba(255, 236, 138, 0.32), transparent 75%),
    linear-gradient(135deg,
      rgba(72, 202, 228, 0.14) 0%,
      rgba(255, 236, 138, 0.18) 50%,
      rgba(72, 202, 228, 0.14) 100%);
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(255, 159, 28, 0.18);
  border-bottom: 1px solid rgba(72, 202, 228, 0.20);
}

.bank-band__garland--top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 14px;
  background: linear-gradient(90deg,
    rgba(255, 159, 28, 0.10) 0%,
    rgba(255, 236, 138, 0.22) 50%,
    rgba(255, 159, 28, 0.10) 100%);
  border-bottom: 2px dotted rgba(255, 159, 28, 0.30);
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.bank-band__garland--top > span {
  filter: drop-shadow(0 0 2px rgba(255, 159, 28, 0.4));
  animation: garlandSway 4s ease-in-out infinite;
}
.bank-band__garland--top > span:nth-child(2n) { animation-delay: -1s; }
.bank-band__garland--top > span:nth-child(3n) { animation-delay: -2s; animation-duration: 5s; }

.bank-band__waves {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 0;
  pointer-events: none;
}
.bank-band__waves svg { width: 100%; height: 100%; display: block; }

.bank-band__head {
  text-align: center;
  margin: 16px auto 32px;
  position: relative;
  z-index: 2;
}
.bank-band__head h2 {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 4px 0 10px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.bank-band__head h2 small {
  font-family: "Mitr", sans-serif;
  font-weight: 400;
  font-size: 60%;
  color: var(--marigold);
  margin-left: 4px;
}
.bank-band__head p {
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 640px;
  font-size: 14.5px;
  line-height: 1.65;
}

/* Garland-strung horizontal row */
.bank-band__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 10px;
  position: relative;
  z-index: 2;
  padding: 22px 8px 18px;
  /* faint dashed garland string behind the row */
  background-image: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 159, 28, 0.30) 12%,
    rgba(255, 236, 138, 0.55) 50%,
    rgba(255, 159, 28, 0.30) 88%,
    transparent 100%);
  background-size: 100% 1.5px;
  background-position: 0 50%;
  background-repeat: no-repeat;
}

.bank-petal {
  flex: 0 0 auto;
  font-size: 22px;
  color: var(--marigold);
  filter: drop-shadow(0 2px 4px rgba(255, 159, 28, 0.4));
  animation: petalSway 4.5s ease-in-out infinite;
  user-select: none;
  margin: 0 2px;
}
.bank-petal:nth-child(7n) { animation-delay: -1.5s; animation-duration: 5.2s; }
.bank-petal:nth-child(11n) { animation-delay: -2.8s; animation-duration: 6s; }

@keyframes petalSway {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-4px) rotate(6deg); }
}

/* Bank cell — water-droplet shape */
.bank-drop {
  position: relative;
  flex: 0 0 auto;
  width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 6px 10px;
  background: var(--ivory);
  /* irregular water-droplet rounded */
  border-radius: 50% 30% 50% 30% / 50% 30% 50% 30%;
  border: 1.5px solid rgba(72, 202, 228, 0.55);
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 12px rgba(72, 202, 228, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
/* organic variation across cells (asymmetric blob) */
.bank-drop:nth-child(2n) {
  border-radius: 30% 50% 30% 50% / 30% 50% 30% 50%;
}
.bank-drop:nth-child(3n) {
  border-radius: 45% 55% 40% 60% / 55% 40% 55% 45%;
}
.bank-drop:nth-child(5n) {
  border-radius: 50% 40% 60% 35% / 40% 50% 35% 60%;
}

.bank-drop:hover {
  transform: translateY(-5px);
  border-color: var(--jasmine);
  box-shadow:
    0 12px 24px rgba(72, 202, 228, 0.28),
    0 4px 12px rgba(255, 236, 138, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Logo wrapper with cool tint overlay */
.bank-drop__pic {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ivory);
  z-index: 2;
  overflow: hidden;
}
.bank-drop__pic img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
}
/* tinted-cool overlay (per spec — not hue-rotate, but rgba layer) */
.bank-drop__pic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(72, 202, 228, 0.15);
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  transition: opacity var(--t-fast);
}
.bank-drop:hover .bank-drop__pic::after {
  opacity: 0;
}

.bank-drop__name {
  font-family: "Mitr", sans-serif;
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.25;
  font-weight: 500;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  letter-spacing: 0.005em;
}
.bank-drop:hover .bank-drop__name {
  color: var(--water-deep);
}

/* Splash ripple on hover — radial expand from cursor */
.bank-drop::after {
  content: "";
  position: absolute;
  left: var(--rx, 50%);
  top: var(--ry, 50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(72, 202, 228, 0.55) 0%,
    rgba(255, 236, 138, 0.40) 35%,
    rgba(72, 202, 228, 0.20) 60%,
    transparent 78%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 700ms cubic-bezier(.2,.6,.3,1), opacity 800ms ease-out;
  z-index: 1;
}
.bank-drop:hover::after {
  transform: translate(-50%, -50%) scale(28);
  opacity: 1;
}

/* wallet variant — marigold accent */
.bank-drop--wallet {
  border-color: rgba(255, 159, 28, 0.55);
}
.bank-drop--wallet:hover {
  border-color: var(--marigold);
}

.bank-band__foot {
  margin: 24px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  position: relative;
  z-index: 2;
}
.bank-band__foot > span {
  font-size: 18px;
  margin-right: 6px;
  vertical-align: middle;
}
.bank-band__foot em {
  font-style: normal;
  color: var(--marigold);
  margin: 0 6px;
  font-weight: 600;
}

/* ---------- 18. SPORTS ---------- */
.leagues {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.league {
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(72, 202, 228, 0.25);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--t-fast);
}
.league:hover {
  border-color: var(--water);
  color: var(--water-deep);
}
.league.is-on {
  background: var(--water-deep);
  color: var(--ivory);
  border-color: transparent;
}
.matches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.match {
  background: var(--surface);
  border: 1.5px solid rgba(72, 202, 228, 0.18);
  border-radius: var(--r-lg);
  padding: 22px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: all var(--t-fast);
}
.match:hover { box-shadow: var(--shadow-card); border-color: var(--water); }
.match__league {
  font-family: "Mitr", sans-serif;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.match__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.match__teams .team {
  display: flex;
  align-items: center;
  gap: 10px;
}
.match__teams .team:last-child { justify-content: flex-end; }
.match__teams .team b {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.match__teams .team span { font-size: 22px; }
.match__teams .vs {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: var(--ink-mute);
  background: var(--cream);
  padding: 6px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.06em;
}
.match__odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.odd {
  font-family: "Mitr", sans-serif;
  background: var(--cream);
  border: 1.5px solid rgba(255, 159, 28, 0.20);
  border-radius: var(--r-md);
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t-fast);
}
.odd:hover {
  background: var(--marigold);
  border-color: var(--marigold);
  color: var(--ivory);
}
.odd small {
  display: block;
  font-size: 10px;
  color: var(--ink-mute);
  margin-bottom: 4px;
  letter-spacing: 0.08em;
}
.odd b {
  font-weight: 700;
  font-size: 16px;
  color: var(--water-deep);
}
.odd:hover small, .odd:hover b { color: var(--ivory); }

.match__live {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--marigold);
  color: var(--ivory);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  animation: liveBlink 1.4s ease-in-out infinite;
}

/* ---------- 19. VIP TIERS ---------- */
.vip-tiers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.tier {
  background: var(--surface);
  border: 1.5px solid rgba(72, 202, 228, 0.20);
  border-radius: var(--r-lg);
  padding: 24px 18px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: all var(--t-mid);
}
.tier:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.tier--featured {
  border-color: var(--marigold);
  background: linear-gradient(180deg, var(--cream) 0%, var(--surface) 60%);
  box-shadow: var(--shadow-pop);
}
.tier__crown {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--marigold);
  color: var(--ivory);
  padding: 4px 14px;
  border-radius: var(--r-pill);
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.tier__icon {
  font-size: 40px;
  display: inline-block;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 8px rgba(72, 202, 228, 0.25));
}
.tier h3 {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  color: var(--ink);
}
.tier small {
  display: block;
  font-family: "Pacifico", cursive;
  font-size: 12px;
  color: var(--marigold);
  margin: 4px 0 12px;
}
.tier p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.55;
}
.tier__cap {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--water-deep);
  background: var(--cream);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  display: inline-block;
}

.rewards-table {
  background: var(--surface);
  border: 1.5px solid rgba(255, 159, 28, 0.18);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.rewards-table h3 {
  font-family: "Mitr", sans-serif;
  font-size: 22px;
  margin: 0 0 18px;
  color: var(--ink);
}
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.reward {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  align-items: start;
}
.reward span { font-size: 24px; grid-row: 1 / 3; }
.reward b {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  color: var(--water-deep);
  font-size: 14px;
}
.reward p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  grid-column: 2;
}

/* ---------- 20. BANK PAGE ---------- */
.bank-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.bank-tab {
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(72, 202, 228, 0.25);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--t-fast);
}
.bank-tab:hover { border-color: var(--water); }
.bank-tab.is-on {
  background: linear-gradient(135deg, var(--water) 0%, var(--water-deep) 100%);
  color: var(--ivory);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(72, 202, 228, 0.35);
}
.bank-panels { position: relative; }
.bank-panel {
  display: none;
  background: var(--surface);
  border: 1.5px solid rgba(72, 202, 228, 0.18);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.bank-panel.is-on { display: block; animation: pageFade 360ms ease; }
.bank-panel h3 {
  font-family: "Mitr", sans-serif;
  font-size: 20px;
  margin: 0 0 18px;
  color: var(--ink);
}

.bank-note {
  background: var(--cream);
  border: 1px dashed rgba(255, 159, 28, 0.35);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bank-note--green {
  background: rgba(232, 245, 233, 0.6);
  border-color: rgba(116, 198, 157, 0.4);
  color: var(--leaf-deep);
}
.bank-note span { font-size: 16px; }

.withdraw-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin: 22px 0;
}
.step {
  background: var(--cream);
  border: 1.5px solid rgba(72, 202, 228, 0.20);
  border-radius: var(--r-md);
  padding: 22px 18px;
  text-align: center;
}
.step b {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--water) 0%, var(--water-deep) 100%);
  color: var(--ivory);
  border-radius: 50%;
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}
.step p {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  font-family: "Mitr", sans-serif;
  font-weight: 500;
}
.step-arr {
  font-size: 28px;
  color: var(--marigold);
  text-align: center;
}

.history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.history-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: var(--r-sm);
  font-size: 14px;
}
.history-list li b {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  color: var(--water-deep);
  margin-right: 6px;
}
.history-list li em {
  font-style: normal;
  color: var(--leaf-deep);
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  margin-left: auto;
  background: rgba(116, 198, 157, 0.2);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot--green { background: var(--leaf); }
.dot--blue { background: var(--water); }

/* ---------- 21. CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--surface);
  border: 1.5px solid rgba(72, 202, 228, 0.20);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all var(--t-mid);
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--marigold);
}
.contact-card__icon {
  font-size: 44px;
  display: inline-block;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 8px rgba(72, 202, 228, 0.25));
}
.contact-card h3 {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--ink);
}
.contact-card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.faq {
  background: var(--surface);
  border: 1.5px solid rgba(72, 202, 228, 0.18);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.faq h3 {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 18px;
  color: var(--ink);
}
.faq details {
  border-bottom: 1px dashed rgba(72, 202, 228, 0.18);
  padding: 12px 0;
}
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer;
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 32px;
  padding-left: 4px;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 0;
  font-size: 22px;
  color: var(--marigold);
  font-weight: 600;
  transition: transform var(--t-fast);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 8px 4px 0;
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- 22. FLOATING LINE & BACK TO TOP ---------- */
.float-line {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #06C755 0%, #00B900 100%);
  color: var(--ivory);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(6, 199, 85, 0.4);
  transition: all var(--t-fast);
  font-family: "Mitr", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  gap: 2px;
  animation: lineBounce 3.5s ease-in-out infinite;
}
.float-line:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 32px rgba(6, 199, 85, 0.5);
}
@keyframes lineBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.back-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(72, 202, 228, 0.35);
  background: var(--surface);
  color: var(--water-deep);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-water);
  transition: all var(--t-fast);
}
.back-top.is-shown { display: inline-flex; }
.back-top:hover { transform: translateY(-3px); }

/* ---------- 23. FOOTER ---------- */
.footer {
  margin-top: 60px;
  background: linear-gradient(180deg, rgba(255, 254, 247, 0.5) 0%, var(--cream) 60%, #FFF0C7 100%);
  border-top: 1px solid rgba(255, 159, 28, 0.20);
  padding-top: 0;
}

.footer__garland {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(90deg,
    rgba(255, 159, 28, 0.12) 0%,
    rgba(255, 236, 138, 0.30) 50%,
    rgba(255, 159, 28, 0.12) 100%);
  border-bottom: 2px dashed rgba(255, 159, 28, 0.35);
  font-size: 16px;
  overflow: hidden;
}
.footer__garland > span {
  filter: drop-shadow(0 0 3px rgba(255, 159, 28, 0.5));
  animation: garlandSway 4.5s ease-in-out infinite;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding: 48px 28px;
}
.footer__brand h3 {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin: 0;
  color: var(--water-deep);
}
.footer__brand h3 em {
  font-style: normal;
  color: var(--marigold);
}
.footer__brand .tagline {
  font-family: "Pacifico", cursive;
  font-size: 16px;
  color: var(--marigold);
  margin: 6px 0 12px;
}
.footer__text {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.65;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid rgba(72, 202, 228, 0.20);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  font-size: 16px;
  text-decoration: none;
}
.footer__social a:hover {
  transform: translateY(-2px);
  border-color: var(--marigold);
}

.footer__col h4 {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 14px;
  color: var(--ink);
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__col li { margin-bottom: 8px; }
.footer__col a {
  text-decoration: none;
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: color var(--t-fast);
}
.footer__col a:hover { color: var(--marigold); }

.footer__legal {
  background: rgba(255, 248, 225, 0.7);
  border-top: 1px solid rgba(255, 159, 28, 0.20);
  padding: 24px 0 28px;
  font-size: 13px;
}
.footer__copy {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 0;
  letter-spacing: 0.02em;
  text-align: center;
}

/* ---------- 24. MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open {
  display: flex;
  animation: modalIn 280ms ease;
}
@keyframes modalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 62, 138, 0.35);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--ivory);
  border-radius: var(--r-xl);
  border: 1.5px solid rgba(255, 159, 28, 0.25);
  box-shadow: 0 30px 80px rgba(2, 62, 138, 0.20);
  padding: 32px;
  animation: modalDialog 320ms cubic-bezier(.22,.61,.36,1);
  overflow: hidden;
}
.modal__dialog::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--jasmine-soft), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
@keyframes modalDialog {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(72, 202, 228, 0.25);
  background: var(--surface);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  z-index: 5;
}
.modal__close:hover {
  background: var(--marigold);
  color: var(--ivory);
  border-color: transparent;
}
.modal__body { position: relative; }
.modal__cursive {
  font-family: "Pacifico", cursive;
  font-size: 18px;
  color: var(--marigold);
}
.modal__body h2 {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 4px 0 8px;
  color: var(--ink);
  line-height: 1.25;
}
.modal__body h2 .grad {
  color: var(--water-deep);
  font-size: 0.7em;
  font-weight: 500;
  display: block;
  margin-top: 4px;
}
.modal__body p { color: var(--ink-soft); margin: 0 0 18px; font-size: 14px; }

.form { display: flex; flex-direction: column; gap: 12px; }
.form label {
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form input, .form select {
  font-family: "Sarabun", sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  border: 1.5px solid rgba(72, 202, 228, 0.25);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  transition: all var(--t-fast);
}
.form input:focus, .form select:focus {
  outline: none;
  border-color: var(--water);
  box-shadow: 0 0 0 3px rgba(72, 202, 228, 0.15);
}
.form .checkbox {
  flex-direction: row;
  align-items: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 400;
}
.form .checkbox input { width: 16px; height: 16px; }
.alt {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 14px 0 0;
}
.alt a {
  color: var(--marigold);
  font-weight: 600;
  text-decoration: none;
}

/* ---------- 25. TOAST ---------- */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: var(--ink);
  color: var(--ivory);
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  font-size: 13px;
  z-index: 250;
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
  opacity: 0;
  transition: all var(--t-mid);
  pointer-events: none;
}
.toast.is-shown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- 26. TALCUM SPLOTCH HOVER (signature) ---------- */
.splotch-host {
  position: relative;
  overflow: hidden;
}
.talcum-splotch {
  position: absolute;
  width: 220px;
  height: 220px;
  background:
    radial-gradient(circle at 32% 38%, rgba(255, 254, 247, 0.95) 0%, rgba(255, 254, 247, 0.6) 30%, transparent 60%),
    radial-gradient(circle at 60% 60%, rgba(255, 248, 225, 0.85) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(255, 254, 247, 0.55) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  filter: blur(8px);
  z-index: 4;
  animation: splotchPuff 900ms ease-out forwards;
  mix-blend-mode: screen;
}
@keyframes splotchPuff {
  0%   { transform: translate(-50%, -50%) scale(0);   opacity: 0; }
  30%  { transform: translate(-50%, -50%) scale(0.5); opacity: 0.85; filter: blur(2px); }
  100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; filter: blur(14px); }
}

/* ---------- 27. APRIL SEASONAL MODE (auto 13-15 เม.ย.) ---------- */
.songkran-mode {
  position: relative;
}
.songkran-mode::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(72, 202, 228, 0.18), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(255, 159, 28, 0.15), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(255, 236, 138, 0.20), transparent 35%);
  animation: rippleDrift 8s ease-in-out infinite alternate;
}

.songkran-banner {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  background: linear-gradient(90deg, var(--water) 0%, var(--marigold) 100%);
  color: var(--ivory);
  padding: 10px 24px;
  border-radius: var(--r-pill);
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(72, 202, 228, 0.4);
  animation: songkranPulse 2s ease-in-out infinite;
  pointer-events: none;
  letter-spacing: 0.02em;
}
@keyframes songkranPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-4px); }
}

/* ---------- 28. MOBILE RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .topbar.is-open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 18px;
    box-shadow: var(--shadow-card);
    border-top: 1px solid var(--line);
  }
  .topbar.is-open .nav__link { width: 100%; justify-content: flex-start; }
  .burger { display: inline-flex; }
  .nav-actions .btn--solid { padding: 10px 16px; font-size: 13px; }
  .topbar__inner { grid-template-columns: auto 1fr auto; }

  .hero__layout { grid-template-columns: 1fr; gap: 32px; }
  .hero__stage { max-width: 380px; margin: 0 auto; }
  .hero__chip { display: none; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .slots-grid, .slots-grid--full { grid-template-columns: repeat(3, 1fr); }
  .live-grid, .live-grid--full { grid-template-columns: repeat(2, 1fr); }
  .lottery-grid, .lottery-grid--full { grid-template-columns: repeat(2, 1fr); }
  .providers { grid-template-columns: repeat(5, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .banks, .banks--big { grid-template-columns: repeat(4, 1fr); }
  .vip-tiers { grid-template-columns: repeat(2, 1fr); }
  .matches { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .bowl-deposit { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .withdraw-flow { grid-template-columns: 1fr; gap: 8px; }
  .step-arr { transform: rotate(90deg); }
  .rewards-grid { grid-template-columns: 1fr; }

  .bank-band { padding: 48px 0; margin: 40px 0; }
  .bank-band__row { gap: 12px 8px; padding: 18px 6px 14px; }
  .bank-drop { width: 74px; }
}

@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .container { padding: 0 18px; }
  .hero { border-radius: var(--r-lg); margin: 12px 0 32px; }
  .hero__layout { padding: 36px 18px 16px; }
  .hero__songkran-time > span { min-width: 36px; }
  .hero__songkran-time b { font-size: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat__num { font-size: 22px; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .slots-grid, .slots-grid--full { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .live-grid, .live-grid--full { grid-template-columns: 1fr; }
  .lottery-grid, .lottery-grid--full { grid-template-columns: 1fr; }
  .providers { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: 1fr; }
  .banks, .banks--big { grid-template-columns: repeat(3, 1fr); }
  .vip-tiers { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .bowl-deposit { padding: 24px 18px; }
  .bowl-deposit__amounts { grid-template-columns: repeat(3, 1fr); }
  .float-line { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .back-top { bottom: 80px; right: 16px; }

  .bank-band { padding: 36px 0 40px; margin: 28px 0; }
  .bank-band__head { margin: 12px auto 22px; }
  .bank-band__row { gap: 10px 6px; padding: 14px 4px 12px; }
  .bank-drop { width: 70px; padding: 10px 4px 8px; gap: 5px; }
  .bank-drop__pic { width: 38px; height: 38px; }
  .bank-drop__name { font-size: 10px; }
  .bank-petal { font-size: 18px; margin: 0; }
  .bank-band__foot { font-size: 12.5px; }
}

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