/*
Theme Name: Phantom 569
Author: HPK Technology
Description: Phantom 569 Online Slots Landing Page Theme
Version: 1.0.0
Text Domain: phantom569
*/

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: #2a0252;
  font-family: 'Kanit', sans-serif;
  min-width: 1920px;
  background-image: url('./assets/images/bg.jpg');
  background-repeat:no-repeat;
  background-size:100% 100%;
	background-position:center;
	background-attachment:fixed;
}
.page-bg-wrap{
		display:none;
	}
/* ─── Page wrapper ─── */
.page {
  position: relative;
/*   width: 1920px; */
  margin: 0 auto;
/*   background: #2a0252; */
}

/* ─── Sticky BG ─── */
.page-bg-wrap {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  pointer-events: none;
  z-index: 0;
}
.page-bg-sticky {
  position: sticky;
  top: 0;
  transform: translateX(-50%);
  width: 1920px;
  height: 1080px;
  overflow: hidden;
}
.page-bg-sticky img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ─── Header ─── */
.site-header {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 1312px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 2px solid #fff5fa;
  border-radius: 32px;
  background: #070219;
  box-shadow: 0px 0px 16px 0px #bf3bc8, inset 0px -6px 40px -4px #ef00ff;
  z-index: 10;
}
.nav-group {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-around;
  padding: 8px 16px;
  width: 45%;
}
.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 7px 16px;
  border-radius: 24px;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: white;
  text-decoration: none;
  text-shadow: 0px 0px 3px #d000ff;
  white-space: nowrap;
  cursor: pointer;
}
.nav-btn.active {
  background: linear-gradient(to bottom, #df07a9 15.865%, #7c0168 65.865%);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0px 0px 4px 0px #79003e, inset 0px 0px 4px 0px white;
  text-shadow: none;
}
.nav-btn-wide { flex: none; }
.nav-btn:not(.active) {
  transition: background .2s, box-shadow .2s, border-color .2s, text-shadow .2s;
}
.nav-btn:not(.active):hover {
  background: linear-gradient(to bottom, rgba(223,7,169,0.18) 0%, rgba(124,1,104,0.18) 100%);
  border: 1px solid #ffffff;
  box-shadow: 0px 0px 12px 0px #ef00ff, inset 0px 0px 16px 0px #9d00ff;
  text-shadow: 0 0 8px #ef00ff, 0 0 20px #bf3bc8;
}

/* ─── Logo ─── */
.site-logo { display: none; }
.site-logo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ─── Main content ─── */
.page-content {
  position: relative;
  z-index: 1;
  width: 1312px;
  margin: 0 auto;
  padding-top: 220px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.page-content-sub {
  position: relative;
  z-index: 1;
  width: 1312px;
  margin: 0 auto;
  padding-top: 220px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 93px;
}

/* ─── CTA row (home) ─── */
.btn-big-cta { width: 308px; }
.cta-row {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.btn-big {
  position: relative;
  border: 2px solid white;
  border-radius: 32px;
  background: #070219;
  box-shadow: 0px 4px 7.9px 0px #bf3bc8, inset 0px 0px 20px 0px #bf3bc8;
  padding: 6px;
  overflow: clip;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: box-shadow .2s, transform .15s;
}
.btn-big:hover {
  box-shadow: 0px 0px 12px 2px #ef00ff, inset 0px 0px 20px 0px #bf3bc8;
  transform: translateY(-2px);
}
.btn-big:hover .btn-big-inner {
  box-shadow: inset 0px 0px 44px 0px #9d00ff;
}
.btn-big:hover .btn-big-text {
  text-shadow: 0 0 12px #ef00ff, 0 0 24px #bf3bc8;
}
.btn-big-inner {
  position: relative;
  border: 2px solid rgb(123 0 207);
  border-radius: 26px;
  background: #070219;
  padding: 16px 40px;
  box-shadow: inset 0px 0px 44px 0px #9d00ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-big-ellipse-top {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  height: 10px; width: auto; max-width: 100%;
}
.btn-big-ellipse-bot {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  height: 12px; width: auto; max-width: 100%;
}
.btn-big-text {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 40px;
  color: white;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 16px #e900ea, 0 0 32px #bf3bc8;
}

/* ─── Sections wrapper ─── */
.sections-wrapper {
  display: flex;
  flex-direction: column;
  gap: 83px;
  padding-top: 53px;
}

/* ─── Section box ─── */
.section-box {
  position: relative;
  background: rgba(0,0,0,0.7);
  border: 2px solid white;
  border-radius: 32px;
  box-shadow: 0px 0px 16px 0px #bf3bc8, inset 0px 0px 16px 0px #bf3bc8;
  padding: 73px 32px 32px;
  width: 100%;
}
.section-box.px-48 { padding-left: 48px; padding-right: 48px; }
.section-box.no-pill { padding-top: 32px; }

.section-title-pill {
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(180px, 41.7vw, 547px);
  border: 2px solid white;
  border-radius: 100px;
  background: #070219;
  box-shadow: 0px 0px 4px 0px #d528de, inset 0px -8px 32px 0px #e900ea, inset 0px 0px 8px 0px #d528de;
  padding: 12px 16px;
  text-align: center;
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 40px;
  color: white;
  text-shadow: 0px 0px 16px #e900ea;
  white-space: nowrap;
}

/* ─── Promo 2×2 grid ─── */
.promo-grid { display: flex; flex-direction: column; gap: 24px; }
.promo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}
.promo-img { flex: 1; min-width: 0; width: 0; aspect-ratio: 1/1; object-fit: cover; object-position: center; display: block; border-radius: 16px; }
.blog-thumb-item {
  flex: 0 0 calc(50% - 10px);
  width: calc(50% - 10px);
  max-width: 100%;
}

.blog-thumb-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}


/* ─── Jackpot ─── */
.jackpot-wrap { display: flex; flex-direction: column; gap: 24px; align-items: center; overflow: hidden; }
.jackpot-cards {
  position: relative;
  width: 100%;
  aspect-ratio: 1248/613;
}
.jackpot-card {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  height: auto;
  transition: left 0.35s ease, top 0.35s ease, width 0.35s ease, transform 0.35s ease, opacity 0.35s ease, z-index 0s;
}
.jackpot-card-left   { left: 0;    top: 7.17%; width: 42%;   aspect-ratio: 1/1;       z-index: 1; transform: none; }
.jackpot-card-right  { left: 58%;  top: 7.17%; width: 42%;   aspect-ratio: 1/1;       z-index: 1; transform: none; }
.jackpot-card-center { left: 50%;  top: 0;     width: 49.2%; aspect-ratio: 614/613;   z-index: 2; transform: translateX(-50%); }
.jackpot-card span {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: white;
}
.jackpot-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  height: 16px;
}
.jackpot-dots span {
  display: block;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.jackpot-dots span.active {
  background: #df07a9;
  box-shadow: 0 0 6px #df07a9;
}
.jackpot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.jackpot-card-hidden-right {
  left: 100%;
  top: 7.17%;
  width: 42%;
  aspect-ratio: 1/1;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transform: none;
}

.jackpot-card-hidden-left {
  left: -42%;
  top: 7.17%;
  width: 42%;
  aspect-ratio: 1/1;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transform: none;
}

/* ─── Provider circles (slots) ─── */
.provider-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.provider-circle {
  width: 153px; height: 153px; border-radius: 50%;
  border: 2px solid white; background: #070219;
  filter: drop-shadow(0px 0px 6px #d528de);
  display: flex; align-items: center; justify-content: center;
}
.provider-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: none; background: #070219;
  box-shadow: inset 0px 0px 34px 0px #d528de;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
}
.provider-innermost {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: none; background: none; box-shadow: none;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 0;
}
.provider-logo {
  max-width: 100%; max-height: 80px;
  object-fit: contain; display: block;
}

/* ─── Casino banners ─── */
.casino-list { display: flex; flex-direction: column; gap: 16px; }
.casino-banner { width: 100%; aspect-ratio: 1248/342; object-fit: cover; display: block; }

/* ─── Sports ─── */
.sports-img { width: 100%; aspect-ratio: 1248/495; object-fit: cover; display: block; }

/* ─── Promote/SEO ─── */
.promote-top { display: flex; gap: 24px; align-items: flex-start; }
.promote-img { width: 400px; height: 400px; object-fit: cover; flex-shrink: 0; display: block; }
.promote-text { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.promote-text p { font-size: 16px; color: white; line-height: 1.6; }
.promote-gold {
  font-weight: 600; font-size: 16px;
  background: linear-gradient(to bottom, #fff688, #fce00a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.promote-seo { font-size: 16px; color: white; line-height: 1.6; margin-top: 24px; }

/* ─── Footer ─── */
.site-footer {
  position: relative; z-index: 1;
  width: 1920px; left: 50%;
  transform: translateX(-50%);
}
.footer-main {
  background: #070219;
  display: flex; align-items: center; justify-content: space-between;
  padding: 40px 56px;
}
.footer-info { display: flex; gap: 24px; align-items: center; }
.footer-logo { width: 140px; height: 140px; object-fit: cover; flex-shrink: 0; }
.footer-desc { font-size: 16px; color: white; max-width: 606px; line-height: 1.6; }
.footer-btns { display: flex; flex-direction: column; gap: 24px; width: 308px; }
.footer-btn {
  display: flex; align-items: center; justify-content: center;
  padding: 16px 40px;
  border: 2px solid white; border-radius: 100px;
  background: #070219;
  font-family: 'Kanit', sans-serif; font-weight: 500; font-size: 24px;
  color: white; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: box-shadow .2s, transform .15s, text-shadow .2s;
  position: relative; overflow: hidden;
}
.footer-btn-login  { box-shadow: 0px 0px 4px 0px #d528de, inset 0px -12px 32px 0px #e900ea, inset 0px 0px 8px 0px #d528de; text-shadow: 0px 0px 16px #e900ea; }
.footer-btn-reg    { box-shadow: 0px 0px 4px 0px #f3c50c, inset 0px -12px 32px 0px #f3c50c, inset 0px 0px 8px 0px #f3c50c; text-shadow: 0px 0px 16px #f3c50c; }
.footer-btn-login:hover { box-shadow: 0px 0px 10px 2px #e900ea, inset 0px -12px 36px 0px #e900ea, inset 0px 0px 10px 0px #d528de; text-shadow: 0px 0px 16px #ef00ff; transform: translateY(-2px); }
.footer-btn-reg:hover   { box-shadow: 0px 0px 10px 2px #f3c50c, inset 0px -12px 36px 0px #f3c50c, inset 0px 0px 10px 0px #f3c50c; text-shadow: 0px 0px 16px #f3c50c; transform: translateY(-2px); }
.footer-copy {
  background: linear-gradient(to bottom, #df07a9 15.865%, #7c0168 65.865%);
  display: flex; align-items: center; justify-content: center;
  height: 48px; padding: 0;
}
.footer-copy p { font-size: 16px; color: white; line-height: 1.29; }

/* ─── Floating widget (sub pages) ─── */
.floating-widget {
  position: fixed !important;
  bottom: 20px; right: 20px;
  top: auto !important; left: auto !important;
  width: 320px;
  display: flex; flex-direction: column; gap: 16px; align-items: center;
  z-index: 9999;
}
.floating-close {
  position: absolute;
  top: 0; right: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: 2px solid rgba(255,255,255,0.6);
  color: white;
  font-size: 16px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  transition: background .2s;
}
.floating-close:hover { background: rgba(200,0,80,0.8); }
.floating-widget img.fg-img {
  width: 100%; height: 300px;
  object-fit: cover; object-position: top;
  display: block;
}
.floating-btns { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.floating-btn {
  display: flex; align-items: center; justify-content: center;
  width: 300px; margin: 0 auto;
  padding: 14px 24px;
  border: 2px solid white; border-radius: 100px;
  background: #070219;
  font-family: 'Kanit', sans-serif; font-weight: 600; font-size: 20px;
  color: white; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: box-shadow .2s, transform .15s, text-shadow .2s;
}
.floating-btn-yellow { box-shadow: 0px 0px 4px 0px #f3c50c, inset 0px -12px 32px 0px #f3c50c, inset 0px 0px 8px 0px #f3c50c; text-shadow: 0px 0px 16px #f3c50c; }
.floating-btn-pink   { box-shadow: 0px 0px 4px 0px #d528de, inset 0px -12px 32px 0px #e900ea, inset 0px 0px 8px 0px #d528de; text-shadow: 0px 0px 16px #e900ea; }
.floating-btn-green  { box-shadow: 0px 0px 4px 0px #44d549, inset 0px -12px 32px 0px #44d549, inset 0px 0px 8px 0px #44d549; text-shadow: 0px 0px 16px #44d549; }
.floating-btn-yellow:hover { box-shadow: 0px 0px 10px 2px #f3c50c, inset 0px -12px 36px 0px #f3c50c, inset 0px 0px 10px 0px #f3c50c; text-shadow: 0px 0px 16px #f3c50c; transform: translateY(-2px); }
.floating-btn-pink:hover   { box-shadow: 0px 0px 10px 2px #e900ea, inset 0px -12px 36px 0px #e900ea, inset 0px 0px 10px 0px #d528de; text-shadow: 0px 0px 16px #ef00ff; transform: translateY(-2px); }
.floating-btn-green:hover  { box-shadow: 0px 0px 10px 2px #44d549, inset 0px -12px 36px 0px #44d549, inset 0px 0px 10px 0px #44d549; text-shadow: 0px 0px 16px #44d549; transform: translateY(-2px); }

/* ─── Manual accordion ─── */
.accordion-list { display: flex; flex-direction: column; gap: 24px; }
.accordion-item {
  background: linear-gradient(to bottom, #df07a9 15.865%, #7c0168 65.865%);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}
.accordion-header {
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.accordion-left { display: flex; align-items: center; gap: 24px; }
.accordion-icon { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.accordion-label { font-weight: 600; font-size: 20px; color: white; white-space: nowrap; }
.accordion-arrow {
  width: 32px; height: 32px; flex-shrink: 0;
  transform: rotate(90deg);
  transition: transform .3s;
}
.accordion-item.open .accordion-arrow { transform: rotate(270deg); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 32px;
  font-size: 16px; color: rgba(255,255,255,0.9); line-height: 1.8;
  background: rgba(0,0,0,0.25);
}
.accordion-item.open .accordion-body {
  max-height: 600px;
  padding: 16px 32px 20px;
}

/* ─── Entrance text ─── */
.entrance-text { font-size: 16px; color: white; line-height: 1.8; }
.entrance-text p { margin: 0; }
.entrance-text .pink { color: #df07a9; font-weight: 600; }

/* ─── Header center logo (hidden by default, mobile only) ─── */
.header-center-logo {
  display: block;
  position: absolute;
  left: 50%;
  top: 80%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  z-index: 5;
}
.header-center-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ─── Footer Mobile (hidden by default) ─── */
.footer-mobile { display: none; }
.footer-mobile-logo { width: 100px; height: 100px; object-fit: cover; display: block; }
.footer-mobile-desc { font-size: 16px; color: white; text-align: center; line-height: 1.6; }
.footer-mobile-slot { width: 200px; height: 200px; object-fit: cover; display: block; border-radius: 8px; }
.footer-mobile-btns { display: flex; gap: 12px; width: 100%; }
.footer-mobile-btns .footer-btn { font-size: 20px; padding: 8px 16px; flex: 1; min-width: 0; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE OVERRIDES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

html, body { min-width: 0; }
.page { width: 100%; max-width: 1920px; }

.page-sub {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page-sub .page-content-sub { flex: 1; padding-bottom: 24px; }
.page-sub .site-footer {
  position: relative !important;
  left: 0 !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
}

.page-bg-wrap  { left: 0; width: 100%; }
.page-bg-sticky { transform: none; width: 100%; }

.site-header    { width: min(1312px, calc(100% - 32px)); }
.page-content   { width: min(1312px, calc(100% - 32px)); }
.page-content-sub { width: min(1312px, calc(100% - 32px)); }
.site-footer    { position: relative; left: 0; transform: none; width: 100%; }

/* ─── Hamburger button ─── */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 8px;
  z-index: 20; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 28px; height: 3px;
  background: white; border-radius: 3px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.header-logo-mobile {
  display: none; width: 56px; height: 56px;
}
.header-logo-mobile img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ─── Mobile nav overlay ─── */
.nav-mobile {
  display: flex;
  position: fixed;
  top:0;
  left:0;
  right:0;
	width:100%;
  background: #070219;
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  gap: 57px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.nav-mobile.open {
  transform: translateX(0);
  pointer-events: auto;
}
.nav-mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 16px; line-height: 1;
}
.nav-mobile-logo { width: 120px; height: 120px; flex-shrink: 0; }
.nav-mobile-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-mobile-menu {
  display: flex; flex-direction: column;
  gap: 8px; width: 100%;
}
.nav-mobile-menu a {
  font-family: 'Kanit', sans-serif;
  font-weight: 500; font-size: 18px;
  color: white; text-decoration: none;
  padding: 4px 16px; border-radius: 24px;
  text-shadow: 0px 0px 3px #d000ff;
}
.nav-mobile-menu a:hover {
  background: linear-gradient(to bottom, #df07a9, #7c0168);
  text-shadow: none;
}
.nav-divider {
  border: none; height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 0; width: 100%;
}
@media (max-width: 1300px) {
	.site-header {
    position: absolute !important;
    top: 48px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(1312px, calc(100% - 32px));
  }
  .nav-group  { display: none !important; }
  .site-logo  { display: none !important; }
  .header-logo-mobile { display: block; }
  .nav-toggle { display: flex; }
  .nav-toggle span { background: #df07a9 !important; }
  .site-logo { display: none !important; }
}
/* ─── 990px: tablet/mobile ─── */
@media (max-width: 990px) {
	.footer-copy{
		margin-bottom: 5rem;
	}
  .site-header {
    position: absolute !important;
    top: 48px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 1312px !important;
  }
  .nav-group  { display: none !important; }
  .site-logo  { display: none !important; }
  .header-logo-mobile { display: block; }
  .nav-toggle { display: flex; }

  .page-content     { padding-top: 60px; }
  .page-content-sub { padding-top: 60px; }

  .site-footer {
    position: relative !important;
    bottom: auto !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
  }
  .page { min-height: 0 !important; }

  .section-title-pill {
    width: min(547px, 88%);
    font-size: clamp(18px, 3.2vw, 36px);
    padding: 14px 16px;
  }
  .section-box { padding: 56px 20px 24px; }
  .section-box.px-48 { padding-left: 20px; padding-right: 20px; }

  .btn-big-text { font-size: clamp(22px, 3.5vw, 36px); }

  .provider-grid { gap: 20px; }
  .provider-circle { width: 115px; height: 115px; }
  .provider-logo { max-height: 60px; }

  .promote-top { flex-direction: column; align-items: center; }
  .promote-img { width: min(400px, 80%); height: auto; aspect-ratio: 1/1; }

  .footer-main { flex-direction: column; gap: 24px; padding: 32px 24px; align-items: center; }
  .footer-info { flex-direction: column; align-items: center; text-align: center; }
  .footer-desc { max-width: 100%; }
  .footer-btns { width: min(308px, 100%); }

  .accordion-label { font-size: 15px; }
  .entrance-text   { font-size: 15px; }

  .cta-row { flex-direction: column; align-items: center; gap: 16px; }
  .btn-big { width: 100%; max-width: 420px; }
  .btn-big-inner { padding: 12px 24px; }
  .btn-big-text  { font-size: 22px; }

  .sections-wrapper { gap: 60px; padding-top: 44px; }
  .section-box { padding: 50px 16px 20px; }
  .section-title-pill {
    font-size: 17px; padding: 10px 14px; top: -44px;
    width: min(480px, 90%);
  }

  .promo-row {
   	flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
  }
  .blog-thumb-item {
    flex: 1 1 100%;
    width: 100%;
  }
  .promo-img { width: 100%; }

  .jackpot-cards { aspect-ratio: unset; height: auto; display: flex; flex-direction: column; gap: 10px; }
  .jackpot-card-left,
  .jackpot-card-right,
  .jackpot-card-center {
    position: static; width: 100%; aspect-ratio: 16/7; transform: none;
  }

  .provider-circle { width: 88px; height: 88px; }
  .provider-logo   { max-height: 46px; }

  .footer-main  { padding: 24px 16px; }
  .footer-logo  { width: 100px; height: 100px; }
  .footer-btn   { font-size: 20px; }

  /* Mobile Figma layout */
  .site-header {
    position: fixed !important;
    top: 8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 32px) !important;
    max-width: none !important;
    border-radius: 16px !important;
    border-width: 1px !important;
    padding: 10px 16px !important;
    margin: 0 !important;
    z-index: 100 !important;
    box-shadow: inset 0px -2px 20px 0px #EF00FF !important;
  }
  .header-logo-mobile { display: flex !important; width: 28px !important; height: 28px !important; padding: 0 !important; }
  .header-logo-mobile svg, .header-logo-mobile img { width: 28px; height: 28px; display: block; }

  .nav-toggle span { background: #df07a9 !important; }
  .site-logo { display: none !important; }

  .header-center-logo {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -40%) !important;
    width: 64px !important;
    height: 64px !important;
    z-index: 5;
  }
  .header-center-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .site-header { overflow: visible !important; }

  .page-content     { padding-top: 100px !important; }
  .page-content-sub { padding-top: 100px !important; gap: 56px !important; }

  .cta-row { flex-direction: row !important; align-items: center; gap: 12px; }
  .btn-big {
    flex: 1 !important; width: auto !important; max-width: none !important;
    border-width: 1px !important; border-radius: 16px !important;
    padding: 4px !important;
  }
  .btn-big-inner { border-radius: 12px !important; padding: 10px 8px !important; box-shadow: inset 0px 0px 24px 0px #9d00ff !important; }
  .btn-big-text { font-size: 20px !important; }

  .page-content { gap: 40px !important; }
  .sections-wrapper { gap: 40px; padding-top: 19px !important; }

  .section-box {
    border-width: 1px !important;
    border-radius: 16px !important;
    padding: 43px 16px 16px !important;
  }
  .section-box.px-48 { padding-left: 16px !important; padding-right: 16px !important; }
  .section-box.no-pill { padding-top: 16px !important; }

  .section-title-pill {
    width: clamp(240px, 41.7vw, 547px) !important;
    min-width: 240px;
    font-size: 18px !important;
    padding: 8px 16px !important;
    top: -24px !important;
    border-width: 1px !important;
    box-shadow: 0px 0px 4px 0px #d528de, inset 0px -4px 20px 0px #e900ea, inset 0px 0px 8px 0px #d528de !important;
    text-shadow: 0px 0px 16px #e900ea !important;
  }

  .accordion-list { gap: 16px !important; }
  .accordion-item { border-radius: 8px !important; }
  .accordion-header { padding: 8px 16px !important; }
  .accordion-left { gap: 8px !important; }
  .accordion-icon { width: 28px !important; height: 28px !important; }
  .accordion-label { font-size: 14px !important; white-space: normal !important; }
  .accordion-arrow { width: 16px !important; height: 16px !important; }
  .accordion-body { padding: 0 16px !important; font-size: 13px; }
  .accordion-item.open .accordion-body { padding: 12px 16px 16px !important; }

  .provider-grid { gap: 12px !important; }
  .provider-circle {
    width: 54px !important; height: 54px !important;
    border-width: 1px !important;
    filter: drop-shadow(0px 0px 4px #bf3bc8) !important;
  }
  .provider-inner { padding: 2px !important; box-shadow: inset 0px 0px 12px 0px #d528de !important; }
  .provider-logo { max-height: 28px !important; }

  .casino-banner { aspect-ratio: 16/5 !important; }

  .promote-top { flex-direction: column; align-items: center; }
  .promote-img { width: 100% !important; height: auto !important; aspect-ratio: 1/1; max-width: 280px; }
  .promote-text p, .promote-seo { font-size: 16px !important; margin: 0 !important; }
  .promote-seo { margin-top: 0 !important; }
  .promote-seo p { margin: 0 !important; }

  .entrance-text { font-size: 14px !important; }

  .footer-main { display: none !important; }
  .footer-mobile { display: flex !important; flex-direction: column; align-items: center; gap: 24px; background: #070219; padding: 24px 16px 80px; width: 100%; }
  .footer-mobile-btns {
    position: fixed !important;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    padding: 16px 16px;
    background: #070219;
    border-top: 1px solid rgba(255,255,255,0.12);
    gap: 12px !important;
    width: 100% !important;
  }

  .floating-widget { display: none !important; }
  .nav-mobile { bottom: 80px !important; }

  .jackpot-wrap {
    overflow: hidden;
    align-items: flex-start;
  }
  .jackpot-dots {
    align-self: center;
  }
  .jackpot-cards {
    display: flex;
    flex-direction: row;
    width: 100%;              /* ไม่ใช่ 300% แล้ว */
    gap: 0;
    aspect-ratio: unset;
    height: auto;
    transition: transform 0.35s ease;
  }
  .jackpot-card {
    flex: 0 0 100%;            /* ใช้ .jackpot-card ตรงๆ ไม่ใช่ -left/-right/-center */
    width: 100%;
    position: relative;
    left: auto; right: auto; top: auto;
    transform: none;
    aspect-ratio: unset;
  }
	

/*   .page-bg-sticky {
    background-image: url('assets/images/bg-mobile.png') !important;
    background-size: cover !important;
    background-position: center top !important;
  }
  .page-bg-sticky img { display: none !important; } */
	.page-bg-wrap{
		display:block;
	}
}

@media screen and (max-width: 782px) {
    html {
        margin-top: 0px !important;
    }
}
