:root {
  /* Ultra Premium Color Palette (Hex Format) */
  --sexy-pink: rgba(var(--pk-rgb), 0.8);
  --sexy-gold: rgba(var(--gd-rgb), 0.8);
  --sexy-purple: rgba(var(--pp-rgb), 0.8);
  --sexy-cyan: rgba(var(--cy-rgb), 0.8);
  --bg-dark: rgba(var(--bg-rgb), 1);
  --text-gray: #b3b3b3;
  --bg-body: #0c0c0c;

  /* RGB Helpers for Transparency */
  --pk-rgb: 255, 0, 128;
  --gd-rgb: 255, 204, 0;
  --pp-rgb: 128, 0, 255;
  --bg-rgb: 7, 1, 13;
  --cy-rgb: 0, 255, 255;
  --bg-card: 0, 255, 255;

  /* Glassmorphism System */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg2: linear-gradient(
    160deg,
    rgba(var(--pk-rgb), 0.5),
    rgba(var(--pp-rgb), 0.5)
  );
  --glass-bg3: linear-gradient(
    to bottom,
    rgba(var(--pp-rgb), 0.2),
    rgba(var(--bg-rgb), 0.9)
  );
  --glass-bg4: linear-gradient(
    to bottom,
    rgba(var(--gd-rgb), 0.2),
    rgba(var(--gd-rgb), 0.9)
  );
  --glass-border: rgba(var(--pk-rgb), 0.2);
  --glass-border-light: rgba(255, 255, 255, 0.2);
  --shadow-neon: 0 0 20px rgba(var(--pk-rgb), 0.3);
  --shadow-gold: 0 0 20px rgba(var(--gd-rgb), 0.3);
  --shadow-dark: 0 15px 35px rgba(0, 0, 0, 0.5);
  --border: 1px solid var(--glass-border);

  /* Font Sizes */
  --fs-base: 1rem;
  --fs-h1: 1.25rem;
  --fs-h2: 1.25rem;
  --fs-h3: 1.25rem;
  --fs-h4: 1.25rem;
  --fs-h5: 1rem;
  --fs-p: 0.875rem;
}

@media (max-width: 767px) {
  :root {
    --fs-base: 0.75rem;
    --fs-h1: 0.875rem;
    --fs-h2: 0.875rem;
    --fs-h3: 0.875rem;
    --fs-h4: 0.875rem;
    --fs-h5: 0.875rem;
    --fs-p: 0.875rem;
  }
}
ul {
  font-size: var(--fs-p);
}
.text {
  font-size: var(--fs-p);
  color: var(--text-gray);
}
/* Global Swiper Fix */
.swiper-wrapper {
  display: flex !important;
}

.swiper-slide {
  height: auto !important;
}

/* Base Body Styles */
html,
body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}
body {
  background: var(--bg-body);
  color: white;
  font-family: "Kanit", sans-serif;
  min-height: 100vh;
}
.bg-pink,
.bg-web {
  background: var(--sexy-pink) !important;
}
.bg-web-glass {
  background: var(--glass-bg3) !important;
}
/* Background Animated Blobs */
.bg-blob {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(var(--pk-rgb), 0.4) 0%,
    transparent 70%
  );
  filter: blur(100px);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  animation: blob-pulse 20s infinite alternate;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: white !important;
}
.blob-1 {
  top: -200px;
  right: -100px;
}
.blob-2 {
  bottom: -200px;
  left: -100px;
  background: radial-gradient(
    circle,
    rgba(var(--pp-rgb), 0.5) 0%,
    transparent 70%
  );
  animation-delay: -5s;
}
.container,
.navbar,
.cta-banner {
  position: relative;
  z-index: 10; /* เนเธซเนเน€เธเธทเนเธญเธซเธฒเธญเธขเธนเนเธเธฑเนเธเธ—เธตเน 10 เธ—เธฑเธเนเธชเธเธ—เธตเนเธญเธขเธนเนเธเธฑเนเธ 0 เธซเธฃเธทเธญ 1 */
}
@keyframes blob-pulse {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(100px, 100px) scale(1.1);
  }
}

/* Global Transitions */
* {
  transition: all 0.3s ease;
}

.container {
  position: relative;
  z-index: 1;
}

/* News Ticker */
.news-ticker-wrapper {
  background: rgba(var(--pk-rgb), 0.09);
  border-bottom: 1px solid rgba(var(--pk-rgb), 0.1);
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.ticker-label {
  background: var(--sexy-pink);
  color: white;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.8rem;
  z-index: 2;
  box-shadow: 10px 0 20px rgba(0, 0, 0, 0.5);
}

.ticker-content {
  flex: 1;
  white-space: nowrap;
  padding-left: 20px;
}

.ticker-content marquee {
  height: 100%;
  line-height: 40px;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.ticker-content marquee span {
  margin-right: 50px;
}

.ticker-content marquee:hover {
  cursor: pointer;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: var(--fs-h4);
}
h5 {
  font-size: var(--fs-h5);
}
p {
  font-size: var(--fs-p);
  line-height: 1.6;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader-content {
  text-align: center;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--glass-bg);
  border-top: 4px solid var(--sexy-pink);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px; /* Added margin auto for explicit centering */
  display: block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Premium Glassmorphism */
.glass-effect {
  background: var(--glass-bg2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: var(--border);
  border-color: var(--glass-border);
  box-shadow: var(--shadow);
}
.top-nav {
  background: var(--glass-bg2);
}
/* Navbar & Buttons */
.navbar {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

@media (max-width: 991px) {
  .navbar .container {
    flex-direction: column;
    gap: 10px;
  }
  .navbar-brand {
    margin: 0 auto !important;
  }
  .ms-auto.d-flex {
    margin: 0 auto !important;
    width: 100%;
    justify-content: center;
  }
}

.btn-utility {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white !important;
  border-radius: 12px;
  padding: 6px 15px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.btn-utility:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--sexy-pink);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .btn-utility span {
    display: none;
  }
  .btn-utility {
    padding: 8px;
    border-radius: 10px;
    justify-content: center;
  }
  .btn-utility i {
    margin: 0 !important;
    font-size: 1.1rem;
  }
}

.btn-register {
  background: linear-gradient(
    135deg,
    rgba(255, 204, 0, 0.2),
    rgba(255, 153, 0, 0.2)
  );
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: var(--sexy-gold) !important;
  font-weight: 600;
  border: 1px solid rgba(255, 204, 0, 0.4);
  border-radius: 10px;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.1);
}

.btn-register:hover {
  background: linear-gradient(135deg, #ffea00, #ff9900);
  color: #000 !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-login {
  background: rgba(0, 255, 0, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: #00ff00 !important;
  font-weight: 600;
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 10px;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.1);
}

.btn-login:hover {
  background: linear-gradient(135deg, #00ff00, #008000);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 255, 0, 0.4);
}

/* Top Utility Icons - Pill Style */
.topIconsSwiper {
  overflow: hidden; /* Prevent overflow on mobile */
  padding: 10px 0;
}

@media (min-width: 992px) {
  .topIconsSwiper {
    overflow: visible !important;
    padding: 15px 0;
    margin-top: -15px;
  }
}

.top-icon-item {
  position: relative;
  z-index: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg2);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 8px 15px;
  transition: 0.3s;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-neon);
}

.top-icon-item img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  object-fit: contain;
}

.top-icon-item small {
  font-weight: 500;
  color: white;
}

.top-icon-item:hover {
  background: var(--glass-bg2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-neon);
  transform: translateY(-5px);
  z-index: 10 !important;
}

@media (max-width: 991px) {
  .top-icon-item {
    flex-direction: column;
    background: var(--glass-bg2);
    border: 1px solid var(--glass-border);
    border-radius: 50% !important; /* Force circle */
    width: 65px !important;
    height: 65px !important;
    padding: 0 !important;
    margin: 0 auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-dark);
  }
  .top-icon-item img {
    margin: 0;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
  .top-icon-item small {
    font-size: 0.55rem;
    color: white;
    margin-top: 2px;
    font-weight: 600;
  }
  .top-icon-item:hover {
    background: var(--glass-bg2);
    box-shadow: var(--shadow-neon);
  }
}

.heroSwiper {
  overflow: hidden; /* Prevent overflow on mobile */
  padding: 10px 0;
}

@media (min-width: 992px) {
  .heroSwiper {
    overflow: visible !important;
    /* padding: 20px 0; */
  }
}

.banner-card {
  position: relative;
  z-index: 1;
  border-radius: 20px; /* Restored some radius for premium feel */
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.banner-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-neon);
  z-index: 10 !important;
}

/* Game Categories - Boxed Style */
.category-item {
  background: var(--glass-bg3);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 5px 2px;
  text-align: center;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* box-shadow: var(--shadow-neon); */
}

.category-item img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  transition: 0.3s;
}

.category-item small {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.category-item:hover,
.category-item.active {
  background: var(--sexy-pink);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-neon);
  transform: translateY(-5px) scale(1);
}

.category-item:hover small,
.category-item.active small {
  color: white;
}

.category-item:hover img,
.category-item.active img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.provider-card {
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  overflow: hidden;
  position: relative;
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  aspect-ratio: 2/3;
}

.provider-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.provider-card::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 70%); */
  z-index: 1;
}

.provider-card:hover {
  transform: translateY(-10px);
  border-color: var(--sexy-pink);
  box-shadow: 0 10px 30px rgba(var(--pk-rgb), 0.4);
}

.provider-card:hover img {
  transform: scale(1.1);
}

.provider-info {
  position: absolute;
  top: 0; /* Changed from bottom: 0 to allow centering */
  left: 0;
  width: 100%;
  height: 100%; /* Full height for centering */
  padding: 20px;
  z-index: 2;
  text-align: center;
  opacity: 0;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center buttons vertically */
  align-items: center;
  --glass-bg2: linear-gradient(
    135deg,
    rgba(var(--pk-rgb), 0.8),
    rgba(var(--pp-rgb), 0.8)
  );
}

.provider-card:hover .provider-info {
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
}

.provider-card.special {
  background: linear-gradient(
    135deg,
    rgba(255, 0, 128, 0.1),
    rgba(var(--bg-rgb), 0.8)
  );
  border-color: var(--sexy-pink);
}

.provider-card.special:hover {
  background: var(--sexy-pink);
  transform: scale(1.05);
}

.provider-card.special:hover i,
.provider-card.special:hover .text-white,
.provider-card.special:hover .text-white-50 {
  color: #fff !important;
}

/* Mobile Touch Support - Ensure buttons are accessible */
@media (max-width: 991px) {
  .provider-card:active .provider-info,
  .provider-card:focus .provider-info {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.content-section {
  padding: 40px 0;
}

.glass-container {
  padding: 60px;
  border-radius: 30px;
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  border: var(--border);
  border-color: var(--glass-border);
  background-clip: padding-box;
  position: relative;
  box-shadow: var(--shadow-neon);
}

.content-img {
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: 0.5s;
}

.content-img:hover {
  transform: scale(1.05) rotate(2deg);
}

/* CTA Banner */
.cta-banner {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://placehold.co/1920x600/1a0b2e/ffffff?text=Premium+Experience");
  background-size: cover;
  background-attachment: fixed;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 60px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
/* Review Section */
.review-item {
  transition: 0.3s;
}

/* Reviews */
.review-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  padding: 30px;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  transition: 0.4s;
}

.review-card:hover {
  transform: translateX(10px);
  border-color: rgba(var(--pk-rgb), 0.3);
  box-shadow: var(--shadow-neon);
}

.review-item:nth-child(even) .review-card {
  flex-direction: row-reverse;
  text-align: right;
}

.review-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--sexy-pink);
  box-shadow: var(--shadow-neon);
}
.review-content {
  padding: 0px 15px;
}
.review-content blockquote {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 10px;
  color: white;
}

.review-author {
  color: var(--sexy-gold);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Promotions */
.promo-container {
  padding: 80px 0;
}

.promo-grid {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.promo-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promo-center {
  flex: 2;
}

.promo-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  /* border-radius: 20px; */
  overflow: hidden;
  height: 100%;
  transition: 0.3s;
  position: relative;
}

.promo-card img {
  width: 100%;
  /* height: 100%; */
  object-fit: contain;
  transition: 0.5s;
}

.promo-card:hover img {
  transform: scale(1.1);
}

.promo-content {
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  position: absolute;
  bottom: 0;
  width: 100%;
}

.btn-all-promo {
  background: var(--sexy-pink);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 15px;
  text-align: center;
  border-radius: 15px;
  margin-top: auto;
  transition: 0.3s;
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow-neon);
}

.btn-all-promo:hover {
  background: var(--glass-bg2);
  color: white;
}

/* New Promo Grid 3x2 */
.promo-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.promo-grid-new .promo-card {
  display: inline;
}

.btn-all-promo-new {
  background: var(--glass-bg2);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 15px;
  text-align: center;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  text-decoration: none;
  box-shadow: var(--shadow-neon);
  min-height: 150px;
}

.btn-all-promo-new:hover {
  background: var(--sexy-pink);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(var(--pk-rgb), 0.5);
}

@media (max-width: 991px) {
  .promo-grid-new {
    grid-template-columns: repeat(1, 1fr);
    gap: 5px;
  }
  .btn-all-promo-new {
    min-height: 120px;
  }
}

/* Accordion Customization */
.accordion-button:not(.collapsed) {
  color: var(--sexy-pink) !important;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff0080'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}


/* Footer Styles Integrated */

@media (max-width: 991px) {
  .promo-grid {
    display: inline-block;
  }
  .promo-side,
  .promo-center {
    display: contents;
  }
  .promo-card {
    margin: 0px 0px;
  }
  /* Bento Styling */
  .promo-grid .promo-card:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .promo-grid .promo-card:nth-child(2) {
    grid-column: span 1;
    grid-row: span 2;
  }
  .promo-grid .promo-card:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .promo-grid .promo-card:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .promo-content h4 {
    font-size: 0.75rem;
  }
  .btn-all-promo {
    grid-column: span 2;
    padding: 10px;
  }
}

/* Providers Grid Responsive */
.provider-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.provider-col {
  padding: 10px;
}

/* PC: 7 col */
@media (min-width: 992px) {
  .provider-col {
    width: calc(100% / 9);
    color: var(--text-gray);
  }
}

/* Tablet: 3 col */
@media (min-width: 576px) and (max-width: 991px) {
  .provider-col {
    width: calc(100% / 5);
    padding: 2px;
  }
  .small,
  small {
    font-size: 0.6em;
  }
}

/* Mobile: 2 col */
@media (max-width: 765px) {
  .provider-col {
    width: calc(100% / 4);
    padding: 2px;
  }
  .small,
  small {
    font-size: 0.5em;
  }
  .review-content blockquote {
    font-size: 0.7rem;
    font-style: italic;
    margin-bottom: 10px;
    color: white;
  }
  .review-author {
    color: var(--sexy-gold);
    font-weight: 600;
    font-size: 0.6rem;
  }
}

/* Simplified CTA & UI Helpers */
.text-pink {
  color: var(--sexy-pink) !important;
}

.text-gold {
  color: var(--sexy-gold) !important;
}

.btn-provider-action {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 12px 5px !important;
  gap: 4px;
  line-height: 1;
  min-width: 50px;
  border-radius: 15px !important;
  color: white !important;
  transition: 0.3s;
}

.btn-provider-action:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: scale(1.05);
  color: white !important;
}

.btn-provider-action i {
  font-size: 1.4rem;
  margin: 0 !important;
}

.btn-provider-action span {
  font-size: 0.65rem;
  font-weight: 700;
  display: block !important; /* Force show text */
}

@media (max-width: 767px) {
  .provider-info {
    padding: 10px;
  }
  .btn-provider-action {
    min-width: 40px;
    padding: 8px 3px !important;
    gap: 2px;
    border-radius: 10px !important;
  }
  .btn-provider-action i {
    font-size: 1.1rem;
  }
  .btn-provider-action span {
    font-size: 0.55rem;
  }
}

/* Horizontal Scroll Utilities */

.scroll-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.scroll-wrapper::-webkit-scrollbar {
  height: 4px;
}

.scroll-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--sexy-pink);
  border-radius: 10px;
}

/* Removed redundant top-icon media queries - consolidated below */

/* Footer & Badges */
.tag-cloud .badge {
  background: var(--glass-bg2);
  border: 1px solid var(--glass-border);
  color: var(--text-gray);
  padding: 8px 15px !important;
  margin: 5px;
  font-weight: 400;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.tag-cloud .badge:hover {
  background: var(--sexy-pink);
  color: white;
  border-color: var(--sexy-pink);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

.footer-logo-grid span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-gray);
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--glass-bg2);
  border: 1px solid var(--glass-border);
  transition: 0.3s;
  box-shadow: var(--shadow-neon);
}

.footer-logo-grid span:hover {
  border-color: var(--sexy-gold);
  color: var(--sexy-gold);
  background: rgba(255, 204, 0, 0.05);
}

/* Expanding Bottom-Left FAB */
.fab-wrapper {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 2000;
}

.fab-main-btn {
  width: 50px;
  height: 50px;
  background: var(--sexy-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(var(--pk-rgb), 0.5);
  cursor: pointer;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.fab-wrapper.open .fab-main-btn {
  transform: rotate(135deg);
  background: var(--bg-dark);
}

.fab-menu {
  position: absolute;
  bottom: 40px;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.4s;
  pointer-events: none;
}

.fab-wrapper.open .fab-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.fab-menu-item {
  position: absolute;
  width: 55px;
  height: 55px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 0.7rem;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-dark);
}

.fab-menu-item img {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
}

.fab-menu-item span {
  font-size: 0.5rem;
  font-weight: 700;
}

/* Horizontal Expansion Positions (Reduced for mobile safety) */
.fab-wrapper.open .fab-menu-item:nth-child(1) {
  transform: translateX(65px);
}
.fab-wrapper.open .fab-menu-item:nth-child(2) {
  transform: translateX(125px);
}
.fab-wrapper.open .fab-menu-item:nth-child(3) {
  transform: translateX(185px);
}
.fab-wrapper.open .fab-menu-item:nth-child(4) {
  transform: translateX(245px);
}

@media (min-width: 992px) {
  .fab-wrapper {
    display: none;
  }
}
/* Main Category Navigation Bar */
.btn-main-cat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b3b3b3;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  display: flex !important;
  align-items: center;
}

.btn-main-cat:hover {
  background: rgba(var(--pk-rgb), 0.1);
  border-color: var(--sexy-pink);
  color: white;
  transform: translateY(-2px);
}

.btn-main-cat.active {
  background: var(--sexy-pink);
  border-color: var(--sexy-pink);
  color: white;
  box-shadow: 0 0 20px rgba(var(--pk-rgb), 0.4);
}

.btn-main-cat i,
.btn-main-cat img {
  filter: grayscale(1) brightness(2);
  transition: 0.3s;
}

.btn-main-cat.active i,
.btn-main-cat.active img,
.btn-main-cat:hover i,
.btn-main-cat:hover img {
  filter: none;
}

/* Scrollbar Helper */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Category Item Fixes for Games Page */
.icon-box {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Fix Modal Shift/Shrink */
body.modal-open {
  padding-right: 0 !important;
  overflow: hidden;
}

.modal-open .sticky-top,
.modal-open .navbar,
.modal-open .fixed-top {
  padding-right: 0 !important;
}

.modal {
  padding-right: 0 !important;
}

/* Providers Sidebar (Left) */
.provider-sidebar {
  scrollbar-width: none; /* Firefox */
  display: block; /* เธกเธฑเนเธเนเธเธงเนเธฒเน€เธเนเธ block */
}

.provider-sidebar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.provider-v-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.provider-card-v {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px 5px 5px 5px;
  /* background: var(--glass-bg2); */
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  margin: 0px 5px 0px 5px;
}

.provider-card-v .p-card-icon {
  width: 100%;
  max-width: 80px;
  height: 60px;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.provider-card-v .p-card-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
}

.provider-card-v .p-card-name {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.provider-card-v:hover {
  background: rgba(255, 0, 128, 0.1);
  transform: translateX(5px);
  border-color: var(--sexy-pink);
  color: #fff;
}

.provider-card-v:hover .p-card-name {
  opacity: 1;
}

.provider-card-v.active {
  background: var(--sexy-pink);
  box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.provider-card-v.active .p-card-name {
  opacity: 1;
  font-weight: 800;
}

.scale-hover {
  transition: transform 0.3s ease;
}

.scale-hover:hover {
  transform: scale(1.03);
}

/* Lazy Load Transitions */
.lazy-load {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.lazy-loaded {
  opacity: 1;
}

/* Sticky Components */
.sticky-nav-categories {
  position: -webkit-sticky;
  position: sticky;
  top: 72px;
  z-index: 1015;
  /* background: var(--bg-body); */
  /* border-bottom: 2px solid rgba(var(--pk-rgb), 0.2); */
  padding: 5px 0;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: top 0.3s ease;
}
.sticky-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 175px !important;
  z-index: 1010;
  height: fit-content;
  max-height: calc(100vh - 185px);
  overflow-y: auto;
  scrollbar-width: none;
  transition: top 0.3s ease;
}
.provider-sidebar {
  scrollbar-width: none;
  display: block;
}
.provider-sidebar::-webkit-scrollbar {
  display: none;
}
@media (max-width: 991px) {
  .sticky-sidebar {
    position: sticky !important;
    top: 110px !important;
    max-height: calc(100vh - 200px);
  }
}
