/* ==========================================================================
   PARUAY168 (พา รวย 168 สล็อต) — Fortune99 Blue Edition Stylesheet
   ========================================================================== */
:root {
  --theme-color-1: #0077B6;
  --theme-color-2: #081F44;
  --bg-carbon-1: #061836;
  --bg-carbon-2: #0B2B5C;
  --bg-footer: #041229;
  --blue-primary: #0096C7;
  --blue-bright: #38BDF8;
  --blue-electric: #00E5FF;
  --blue-deep: #071E42;
  --gold-accent: #FBBF24;
  --gold-deep: #D97706;
  --text-light: #F8FAFC;
  --text-muted: #CBD5E1;
  --border-blue: rgba(56, 189, 248, 0.52);
  --card-bg: rgba(8, 30, 68, 0.88);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Prompt', 'Kanit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-carbon-1);
  color: var(--text-light);
  line-height: 1.65;
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  /* Two-Tone Ocean Blue Top Glow + Deep Ocean Navy Game Canvas */
  background-color: var(--bg-carbon-1);
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(72, 202, 228, 0.032) 0px,
      rgba(72, 202, 228, 0.032) 2px,
      transparent 2px,
      transparent 7px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.022) 0px,
      rgba(255, 255, 255, 0.022) 2px,
      transparent 2px,
      transparent 7px
    ),
    radial-gradient(ellipse at 50% 0%, #0088CC 0%, #053C78 32%, #071F46 65%, #04122B 100%);
  background-attachment: fixed;
}

a {
  color: var(--blue-bright);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--gold-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 14px;
}

/* ==========================================================================
   1. BEVELED DUAL-WING HEADER & MARQUEE (Fortune99 Structure)
   ========================================================================== */
.header-section {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100vw;
  background: linear-gradient(180deg, #0077B6 0%, #023E8A 100%);
  box-shadow: 0 6px 24px rgba(2, 26, 56, 0.75);
}

.wrap-header {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 76px;
  width: 100%;
  max-width: 100%;
  position: relative;
  border-bottom: 1.5px solid rgba(72, 202, 228, 0.65);
}

/* Left/Center Wing with diagonal right bevel */
.header-left {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #0088C2 0%, #063875 62%, #051E45 100%);
  position: relative;
  padding: 8px 24px 0 20px;
  border-top: 1px solid rgba(125, 211, 252, 0.55);
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 6px;
  min-width: 0;
  width: 100%;
}

.box-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.box-logo img {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 229, 255, 0.35));
}

/* Dual Wide Pill Buttons (Login & Register) */
.header-auth-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  max-width: 600px;
  margin: 0 auto;
}

.btn-pill-login,
.btn-pill-register {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-pill-login {
  background: linear-gradient(180deg, #00E5FF 0%, #0284C7 52%, #0369A1 100%);
  color: #FFFFFF;
  border: 1.5px solid #BAE6FD;
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.48), inset 0 1px 2px rgba(255, 255, 255, 0.65);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.btn-pill-login:hover {
  background: linear-gradient(180deg, #7DD3FC 0%, #0369A1 100%);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-pill-register {
  background: rgba(11, 25, 51, 0.75);
  color: #FFFFFF;
  border: 1.5px solid #38BDF8;
  box-shadow: inset 0 0 10px rgba(56, 189, 248, 0.2);
}

.btn-pill-register:hover {
  background: rgba(56, 189, 248, 0.18);
  color: #7DD3FC;
  border-color: #7DD3FC;
}

/* Lower Angled Announcement Bar */
.announcement-step {
  display: flex;
  align-items: center;
  background: #040914;
  border-top: 1.5px solid rgba(56, 189, 248, 0.45);
  padding: 3px 14px;
  margin-left: 160px;
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%);
  min-height: 26px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.announce-label {
  color: var(--gold-accent);
  font-weight: 700;
  font-size: 0.82rem;
  margin-right: 12px;
  white-space: nowrap;
  padding-left: 10px;
  flex-shrink: 0;
}

.marquee-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  width: 100%;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  font-size: 0.82rem;
  color: #E2E8F0;
  animation: ticker-scroll 26s linear infinite;
}

@keyframes ticker-scroll {
  0% { transform: translateX(30%); }
  100% { transform: translateX(-100%); }
}

/* Right Beveled Wing */
.header-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px 0 34px;
  background: linear-gradient(180deg, #214685 0%, #0E2142 100%);
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%);
  border-left: 2px solid #38BDF8;
}

.nav-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  gap: 2px;
}

.nav-icon-link .icon-badge {
  font-size: 1.35rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.nav-icon-link:hover {
  color: var(--blue-bright);
}

body.drawer-locked {
  overflow: hidden;
}

.btn-hamburger {
  background: rgba(11, 25, 51, 0.55);
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 10px;
  transition: all 0.22s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.btn-hamburger:hover,
.btn-hamburger.is-active {
  background: rgba(2, 132, 199, 0.45);
  border-color: #7DD3FC;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.55);
}

.hamburger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 22px;
  padding: 2px 0;
}

.hamburger-bars span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #7DD3FC 0%, #38BDF8 100%);
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.6);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.btn-hamburger.is-active .hamburger-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.btn-hamburger.is-active .hamburger-bars span:nth-child(2) {
  opacity: 0;
}

.btn-hamburger.is-active .hamburger-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #E0F2FE;
  line-height: 1;
  letter-spacing: 0.2px;
}

/* Primary Category Sub-Nav Strip (Desktop Centered / Mobile Horizontal Touch-Swipe) */
.silo-nav-strip {
  background: linear-gradient(90deg, #023E8A 0%, #0077B6 50%, #023E8A 100%);
  border-bottom: 1px solid rgba(72, 202, 228, 0.45);
  padding: 7px 0;
  position: relative;
}

.silo-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  list-style: none;
  font-size: 0.86rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.silo-nav-list::-webkit-scrollbar {
  display: none;
}

.silo-nav-list li {
  flex-shrink: 0;
}

.silo-nav-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #E2E8F0;
  padding: 5px 13px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.silo-nav-list a:hover,
.silo-nav-list a.active {
  color: #FFFFFF;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.32) 0%, rgba(2, 132, 199, 0.55) 100%);
  border: 1px solid #7DD3FC;
  box-shadow: 0 2px 10px rgba(0, 229, 255, 0.32);
}

/* Responsive Slide-Out Hamburger Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer-panel {
  width: 345px;
  max-width: 90vw;
  height: 100%;
  background: linear-gradient(180deg, #09234C 0%, #05142E 100%);
  border-left: 1.5px solid var(--blue-bright);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.85);
  padding: 18px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer-backdrop.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.3);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
}

.drawer-brand img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 229, 255, 0.35));
}

.drawer-brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.drawer-brand-meta strong {
  font-size: 0.95rem;
  color: var(--gold-accent);
  letter-spacing: 0.4px;
}

.drawer-brand-meta span {
  font-size: 0.74rem;
  color: #BAE6FD;
}

.drawer-close {
  background: rgba(56, 189, 248, 0.15);
  color: #FFFFFF;
  border: 1.5px solid var(--blue-bright);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.drawer-close:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: #FCA5A5;
}

.drawer-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.drawer-auth-grid .btn-pill-login,
.drawer-auth-grid .btn-pill-register {
  height: 38px;
  padding: 0 12px;
  font-size: 0.86rem;
  border-radius: 9px;
}

.drawer-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding-left: 8px;
  border-left: 3px solid var(--blue-bright);
  margin-top: 2px;
}

.drawer-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.drawer-cat-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(12, 34, 72, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #F1F5F9;
  font-weight: 600;
  font-size: 0.86rem;
  transition: all 0.2s ease;
}

.drawer-cat-card:hover,
.drawer-cat-card.active {
  background: linear-gradient(135deg, rgba(0, 150, 199, 0.55) 0%, rgba(2, 62, 138, 0.85) 100%);
  border-color: #7DD3FC;
  color: #FFFFFF;
  box-shadow: 0 3px 12px rgba(0, 229, 255, 0.25);
}

.drawer-cat-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.drawer-links a {
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(11, 27, 56, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #E2E8F0;
  font-weight: 500;
  font-size: 0.84rem;
  line-height: 1.35;
}

.drawer-links a:hover {
  background: rgba(2, 132, 199, 0.4);
  border-color: var(--blue-bright);
  color: #FFFFFF;
}

.drawer-footer-cta {
  margin-top: auto;
  padding-top: 8px;
}

.drawer-line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #22C55E 0%, #15803D 100%);
  border: 1.5px solid #86EFAC;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.drawer-line-btn:hover {
  color: #FFFFFF;
  filter: brightness(1.08);
}

/* ==========================================================================
   2. HERO BANNER CAROUSEL (#banner-main-page) WITH LEFT HTML 3D OVERLAY
   ========================================================================== */
#banner-main-page {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom: 2px solid rgba(56, 189, 248, 0.5);
  background: radial-gradient(circle at 25% 50%, #153875 0%, #0A1C3E 55%, #07142E 100%);
}

.hero-banner-frame {
  position: relative;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  min-height: 365px;
  display: flex;
  align-items: center;
}

.hero-slides-track {
  position: relative;
  width: 100%;
  min-height: 365px;
}

.hero-slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  pointer-events: none;
}

.hero-slide-item.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  min-height: 365px;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 68%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  z-index: 1;
  /* Smooth horizontal mask so there is zero vertical seam line in the center */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.65) 18%, #000000 36%, #000000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.65) 18%, #000000 36%, #000000 100%);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 29, 64, 0.92) 0%, rgba(15, 38, 82, 0.78) 38%, rgba(11, 29, 64, 0.15) 62%, transparent 80%);
  z-index: 2;
  pointer-events: none;
}

.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(7, 18, 38, 0.78);
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  color: #FFFFFF;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hero-nav-arrow:hover {
  background: var(--blue-primary);
  border-color: #FFFFFF;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.75);
}

.hero-nav-prev {
  left: 10px;
}

.hero-nav-next {
  right: 14px;
}

.hero-content-left {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding: 28px 24px 36px 40px;
}

.hero-kicker {
  display: inline-block;
  background: linear-gradient(90deg, #0284C7 0%, #1E40AF 100%);
  color: #E0F2FE;
  border: 1px solid #38BDF8;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-3d-headline {
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(180deg, #FFFBEB 0%, #FDE047 45%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 12px rgba(245, 158, 11, 0.45));
  margin-bottom: 10px;
}

.hero-sub-pill {
  display: inline-block;
  background: rgba(7, 16, 34, 0.88);
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  border-radius: 999px;
  padding: 7px 20px;
  color: #F8FAFC;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 0 18px rgba(2, 132, 199, 0.4);
}

.hero-reward-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.reward-badge-box {
  background: linear-gradient(180deg, rgba(15, 35, 72, 0.92) 0%, rgba(6, 15, 34, 0.95) 100%);
  border: 1.5px solid #38BDF8;
  border-radius: 12px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.reward-tag-red {
  background: linear-gradient(180deg, #EF4444 0%, #B91C1C 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1.15;
}

.reward-amount {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold-accent);
  text-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(4, 10, 22, 0.72);
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.45);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(125, 211, 252, 0.85);
}

.carousel-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue-bright);
}

/* ==========================================================================
   3. BENTO CATEGORY GRID (3 Vertical Highlight Cards + 6 Category Pill Tiles)
   ========================================================================== */
.section-content {
  width: 100%;
  max-width: 1268px;
  margin: 0 auto;
  padding: 18px 14px;
  overflow-x: hidden;
}

.block-game-category {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 56%);
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  width: 100%;
}

/* Left Panel: 3 Vertical Highlight Cards */
.box-other-category {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 165px;
  min-width: 0;
}

.highlight-bento-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 8px;
  text-align: center;
  border: 1.5px solid rgba(125, 211, 252, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.highlight-bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-accent);
}

.highlight-bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.highlight-bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 30, 0.05) 35%, rgba(4, 9, 22, 0.92) 100%);
  z-index: 2;
}

.highlight-bento-card.active-hot {
  border: 2px solid #7DD3FC;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.5);
}

.highlight-bento-label {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.96rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Right Panel: 6 Category Pill Tiles (4x2 Grid) */
.box-main-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  min-width: 0;
}

.cat-pill-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.92) 0%, rgba(2, 62, 138, 0.95) 100%);
  border: 1.5px solid rgba(72, 202, 228, 0.55);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(2, 28, 64, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
  min-width: 0;
}

.cat-pill-tile:hover {
  background: linear-gradient(135deg, #1E40AF 0%, #0284C7 100%);
  border-color: #7DD3FC;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.45);
}

.cat-pill-icon {
  font-size: 1.9rem;
  line-height: 1;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
}

/* ==========================================================================
   4. HORIZONTAL GAME CAROUSELS (5 Sections matching fortune99.ac)
   ========================================================================== */
.game-carousel-section {
  margin-bottom: 26px;
}

.box-title-game {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.title-game-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.accent-bar-vertical {
  width: 5px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(180deg, #38BDF8 0%, #FBBF24 100%);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.7);
}

.title-game-text {
  font-size: 1.18rem;
  font-weight: 700;
  color: #FFFFFF;
}

.title-game-count {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gold-accent);
}

/* Horizontal Scrolling Strip / Grid */
.game-cards-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(135px, 1fr));
  gap: 12px;
}

.box-img-game-jackpot,
.box-img-game-standard {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.framed-game {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 3.7;
  background: #0A1833;
  border: 2px solid #D97706;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(253, 224, 71, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.framed-game:hover {
  transform: translateY(-4px);
  border-color: var(--blue-bright);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.55);
}

.framed-game img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fire-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.95) 0%, rgba(220, 38, 38, 0.9) 100%);
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.85);
}

.btm-dt-game {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 9, 20, 0.92) 45%, rgba(4, 9, 20, 0.98) 100%);
  padding: 16px 8px 7px;
}

.rtp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.provider-mini-tag {
  background: rgba(2, 132, 199, 0.85);
  color: #FFFFFF;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.65rem;
}

.rtp-val {
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.n-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(30, 41, 59, 0.9);
  border-radius: 999px;
  overflow: hidden;
}

.n-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #38BDF8 0%, #FBBF24 65%, #EF4444 100%);
}

.game-title-caption {
  font-size: 0.8rem;
  color: #E2E8F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  font-weight: 500;
}

/* Live Casino 6-Column Dealer Cards (บาคาร่าสุดเฮง) */
.live-dealer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.live-dealer-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4.1;
  background: #091732;
  border: 2px solid rgba(56, 189, 248, 0.55);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.live-dealer-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-accent);
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.45);
}

.live-dealer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dealer-provider-plate {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 12, 26, 0.95) 55%, #050C1A 100%);
  padding: 20px 10px 10px;
  text-align: center;
}

.provider-pill-emblem {
  display: inline-block;
  background: linear-gradient(90deg, #0B1D3A 0%, #163366 50%, #0B1D3A 100%);
  border: 1.5px solid var(--gold-accent);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   5. MAGAZINE GUIDE & ARTICLE SHOWCASE (6 Dedicated Cover Cards)
   ========================================================================== */
.articles-section-wrap {
  margin-top: 22px;
  margin-bottom: 32px;
}

.article-hub-banner {
  background: linear-gradient(135deg, rgba(8, 38, 84, 0.94) 0%, rgba(4, 18, 44, 0.96) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.52);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.article-hub-header-left {
  max-width: 620px;
}

.article-hub-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  color: #38BDF8;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.title-article-list {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-accent);
  line-height: 1.3;
  margin-bottom: 4px;
}

.article-hub-desc {
  font-size: 0.88rem;
  color: #CBD5E1;
  margin: 0;
}

.article-topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-jump-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.28);
  border: 1px solid rgba(125, 211, 252, 0.48);
  color: #F8FAFC;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.topic-jump-pill:hover {
  background: linear-gradient(180deg, #00E5FF 0%, #0284C7 100%);
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.4);
}

.articles-grid-6,
.articles-grid-4 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-card-f99 {
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10, 32, 72, 0.92) 0%, rgba(5, 16, 38, 0.96) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.42);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card-f99:hover {
  border-color: var(--gold-accent);
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 229, 255, 0.28);
}

.article-cover-link {
  display: block;
  position: relative;
}

.article-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #061530;
  border-bottom: 1.5px solid rgba(56, 189, 248, 0.35);
}

.article-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.article-card-f99:hover .article-cover-wrap img {
  transform: scale(1.05);
}

.article-badge-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.95) 0%, rgba(30, 64, 175, 0.95) 100%);
  color: #FFFFFF;
  border: 1px solid #7DD3FC;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

.article-badge-time {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(4, 12, 28, 0.88);
  color: #E2E8F0;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.article-cover-stat {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 10, 24, 0.92) 45%, rgba(4, 10, 24, 0.98) 100%);
  padding: 18px 12px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stat-num-tag {
  background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.stat-highlight-text {
  font-size: 0.78rem;
  font-weight: 800;
  color: #7DD3FC;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.article-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.38;
  margin-bottom: 6px;
}

.article-card-title:hover {
  color: var(--gold-accent);
}

.article-card-sub {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 10px;
}

.article-takeaways {
  list-style: none;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(4, 14, 34, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.24);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-takeaways li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.8rem;
  color: #E2E8F0;
  line-height: 1.4;
}

.takeaway-check {
  color: #22C55E;
  font-weight: 900;
  flex-shrink: 0;
}

.article-card-excerpt {
  font-size: 0.83rem;
  color: #CBD5E1;
  margin-bottom: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-footer {
  margin-top: auto;
}

.btn-read-more {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #00E5FF 0%, #0284C7 55%, #0369A1 100%);
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid #BAE6FD;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.btn-read-more:hover {
  background: linear-gradient(180deg, #FDE047 0%, #F59E0B 100%);
  color: #04122B;
  border-color: #FEF08A;
  text-shadow: none;
}

/* ==========================================================================
   6. SEO AUTHORITY ARTICLE, DATA TABLES, MEDIA FRAME & FAQ
   ========================================================================== */
.seo-authority-panel {
  background: linear-gradient(180deg, rgba(8, 36, 78, 0.92) 0%, rgba(5, 20, 48, 0.96) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.48);
  border-radius: 18px;
  padding: 28px 26px;
  margin: 26px 0;
  box-shadow: 0 10px 30px rgba(2, 10, 28, 0.65), inset 0 1px 0 rgba(125, 211, 252, 0.22);
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 8px 14px;
  background: rgba(5, 12, 26, 0.7);
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.seo-authority-panel h1 {
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  color: #FFFFFF;
  margin-bottom: 14px;
  line-height: 1.3;
  border-left: 5px solid var(--blue-bright);
  padding-left: 14px;
}

.seo-authority-panel h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  color: var(--gold-accent);
  margin: 26px 0 12px;
  line-height: 1.35;
}

.seo-authority-panel h3 {
  font-size: 1.12rem;
  color: var(--blue-bright);
  margin: 18px 0 8px;
  line-height: 1.4;
}

.seo-authority-panel p {
  color: #E2E8F0;
  margin-bottom: 14px;
  font-size: 0.96rem;
}

.seo-authority-panel ul,
.seo-authority-panel ol {
  margin: 10px 0 16px 22px;
  color: #E2E8F0;
  font-size: 0.95rem;
}

.seo-authority-panel li {
  margin-bottom: 6px;
}

/* Zero-CLS Media Frame */
figure.media-frame {
  margin: 22px 0;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 50%, #102A5E 0%, #050D1E 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.65);
}

figure.media-frame img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  object-position: center top;
}

figure.media-frame figcaption {
  padding: 10px 16px;
  font-size: 0.84rem;
  color: #94A3B8;
  background: rgba(4, 10, 22, 0.9);
  text-align: center;
}

/* Data Comparison Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 22px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.seo-data-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(6, 14, 30, 0.92);
  font-size: 0.92rem;
}

.seo-data-table th,
.seo-data-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
}

.seo-data-table th {
  background: linear-gradient(180deg, #163366 0%, #0D2042 100%);
  color: var(--gold-accent);
  font-weight: 700;
  white-space: nowrap;
}

.seo-data-table tr:hover td {
  background: rgba(2, 132, 199, 0.12);
}

/* E-E-A-T Reviewer Box */
.eeat-author-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 36, 74, 0.85) 0%, rgba(7, 17, 36, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  font-size: 0.88rem;
}

/* FAQ Accordion Cards */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.faq-item {
  background: rgba(11, 25, 52, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 16px 18px;
}

.faq-item h3 {
  margin-top: 0;
  color: #7DD3FC;
  font-size: 1.04rem;
}

.faq-item p {
  margin-bottom: 0;
  color: #CBD5E1;
}

/* ==========================================================================
   7. FLOATING RIGHT QUICK-CONTACT DOCK (.box-contact matching fortune99.ac)
   ========================================================================== */
.box-contact {
  position: fixed;
  right: 0;
  top: 390px;
  bottom: auto;
  transform: none;
  z-index: 950;
  display: flex;
  align-items: center;
}

.contact-toggle-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, #38BDF8 0%, #0284C7 100%);
  color: #FFFFFF;
  border: 1.5px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-right: -10px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.contact-dock-body {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-right: none;
  border-radius: 16px 0 0 16px;
  padding: 10px 10px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: -4px 4px 18px rgba(0, 0, 0, 0.65);
}

.dock-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.76rem;
  color: #FFFFFF;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}

.dock-line {
  background: linear-gradient(180deg, #22C55E 0%, #15803D 100%);
}

.dock-tg {
  background: linear-gradient(180deg, #38BDF8 0%, #0284C7 100%);
}

.dock-promo {
  background: linear-gradient(180deg, #F59E0B 0%, #B45309 100%);
}

/* ==========================================================================
   8. COMPREHENSIVE FOOTER (.wrap-footer matching fortune99.ac)
   ========================================================================== */
.wrap-footer {
  background: linear-gradient(180deg, #061D42 0%, #030F24 100%);
  border-top: 2px solid rgba(56, 189, 248, 0.55);
  padding: 44px 16px 90px;
  text-align: center;
}

.inner-wrap-footer {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-logo-center {
  height: 78px;
  width: auto;
  margin: 0 auto 16px;
  filter: drop-shadow(0 4px 12px rgba(0, 229, 255, 0.35));
}

.footer-tagline {
  font-size: 1.06rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-desc-text {
  max-width: 860px;
  margin: 0 auto 30px;
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.7;
}

.footer-gold-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin: 28px 0 16px;
}

/* 59 Game Providers Grid (11 columns desktop) */
.providers-tile-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
}

.provider-tile {
  background: rgba(24, 54, 108, 0.72);
  border-radius: 14px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.provider-tile:hover {
  transform: translateY(-2px);
  border-color: var(--blue-bright);
}

.provider-tile img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* 24 Payment Methods Grid (12 columns x 2 rows matching fortune99.ac square rounded icon tiles) */
.payment-tile-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.payment-tile {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.payment-tile:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.45);
}

.payment-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* SEO Keyword Pill Tags */
.footer-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 840px;
  margin: 0 auto;
}

.footer-tag-pill {
  padding: 8px 20px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.55);
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.5);
}

.footer-tag-pill:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
}

/* Gambling Licenses */
.license-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 30px 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.verified-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.72rem;
}

.license-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
}

.license-badge-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.license-badge-img img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.footer-links-silo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 22px 0;
  font-size: 0.85rem;
}

.footer-copyright {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.84rem;
  color: #94A3B8;
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS (DESKTOP, TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .block-game-category {
    grid-template-columns: minmax(0, 1fr);
  }
  .game-cards-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .live-dealer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .articles-grid-6,
  .articles-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .providers-tile-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .payment-tile-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .announcement-step {
    margin-left: 0;
    clip-path: none;
  }
}

@media (max-width: 768px) {
  .container,
  .section-content {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Responsive Mobile Header that fits 100% inside mobile screen */
  .wrap-header {
    min-height: 58px;
  }
  .header-left {
    padding: 6px 8px 0 10px;
  }
  .header-top-row {
    gap: 8px;
    padding-bottom: 5px;
  }
  .box-logo img {
    height: 36px;
  }
  .header-auth-pills {
    gap: 6px;
    justify-content: flex-end;
    max-width: none;
  }
  .btn-pill-login,
  .btn-pill-register {
    flex: 0 1 auto;
    height: 32px;
    padding: 0 10px;
    font-size: 0.76rem;
    border-radius: 8px;
  }
  .header-right {
    padding: 0 8px 0 14px;
    gap: 6px;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
  }
  .header-right .nav-icon-link {
    display: none;
  }
  .btn-hamburger {
    padding: 5px 8px;
  }
  .announce-label {
    font-size: 0.74rem;
    padding-left: 2px;
    margin-right: 6px;
  }
  .marquee-track {
    font-size: 0.74rem;
  }

  /* Fit All 10 Menu Categories Inside Mobile Screen Width (5 columns x 2 rows) */
  .silo-nav-strip {
    padding: 6px 0;
  }
  .silo-nav-container {
    padding: 0 8px;
  }
  .silo-nav-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    overflow: visible;
    padding: 0;
  }
  .silo-nav-list li {
    width: 100%;
    min-width: 0;
  }
  .silo-nav-list a {
    width: 100%;
    padding: 5px 2px;
    font-size: 0.74rem;
    border-radius: 8px;
    text-align: center;
    background: rgba(8, 28, 64, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.28);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Responsive Mobile Hero Banner */
  .hero-banner-frame,
  .hero-slides-track,
  .hero-slide-item.active {
    min-height: 250px;
  }
  .hero-bg-img {
    width: 78%;
    opacity: 0.88;
  }
  .hero-overlay-gradient {
    background: linear-gradient(90deg, rgba(6, 20, 48, 0.94) 0%, rgba(10, 28, 62, 0.82) 52%, rgba(6, 20, 48, 0.25) 85%, transparent 100%);
  }
  .hero-content-left {
    padding: 16px 12px 32px 14px;
    max-width: 92%;
  }
  .hero-kicker {
    font-size: 0.68rem;
    padding: 3px 9px;
  }
  .hero-3d-headline {
    font-size: clamp(1.18rem, 4.6vw, 1.55rem);
  }
  .hero-sub-pill {
    font-size: 0.76rem;
    padding: 4px 12px;
    margin-bottom: 8px;
    white-space: normal;
  }
  .reward-badge-box {
    padding: 5px 9px;
    gap: 6px;
  }
  .reward-amount {
    font-size: 1rem;
  }
  .hero-nav-arrow {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }
  .hero-nav-prev {
    left: 4px;
  }
  .hero-nav-next {
    right: 4px;
  }

  /* Mobile Grids fit 100% inside mobile viewport */
  .box-main-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .cat-pill-tile {
    padding: 10px 12px;
    font-size: 0.88rem;
  }
  .cat-pill-icon {
    font-size: 1.45rem;
  }
  .game-cards-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .live-dealer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .articles-grid-6,
  .articles-grid-4 {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .providers-tile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .payment-tile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .seo-authority-panel {
    padding: 18px 14px;
    margin: 16px 0;
  }

  /* Keep Floating LINE Button neatly positioned on mobile */
  .box-contact {
    top: auto;
    bottom: 24px;
  }
}

@media (max-width: 420px) {
  .box-logo img {
    height: 32px;
  }
  .btn-pill-login,
  .btn-pill-register {
    height: 30px;
    padding: 0 8px;
    font-size: 0.72rem;
  }
  .btn-hamburger {
    padding: 4px 7px;
  }
  .silo-nav-list {
    gap: 4px;
  }
  .silo-nav-list a {
    font-size: 0.7rem;
    padding: 4px 1px;
  }
  .box-other-category {
    gap: 6px;
    min-height: 120px;
  }
  .highlight-bento-label {
    font-size: 0.76rem;
  }
  .cat-pill-tile {
    padding: 9px 10px;
    font-size: 0.84rem;
  }
  .cat-pill-icon {
    font-size: 1.35rem;
  }
  .title-game-text {
    font-size: 0.96rem;
  }
  .title-game-count {
    font-size: 0.86rem;
  }
}
