/* ========================================
   SEXYBACCARAT - Main Stylesheet
   ======================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0a0a0a;
  --bg-card: #1a1a2e;
  --bg-sidebar: #111122;
  --bg-header: rgba(10, 10, 20, 0.95);
  --purple-main: #9b51e0;
  --purple-light: #b96af5;
  --purple-gradient: linear-gradient(135deg, #7b2ff7 0%, #c471ed 100%);
  --pink-accent: #e91e8c;
  --text-white: #ffffff;
  --text-gray: #abb8c3;
  --text-muted: #666;
  --sidebar-width: 70px;
  --header-height: 56px;
  --bottom-bar-height: 60px;
  --radius: 10px;
  --radius-sm: 6px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Kanit', sans-serif;
  background: var(--bg-dark);
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #111;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--bg-sidebar);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
  font-size: 12px;
  color: var(--text-gray);
  transition: var(--transition);
  text-align: center;
  gap: 4px;
}

.sidebar-nav a i {
  font-size: 18px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--text-white);
  background: rgba(155, 81, 224, 0.15);
}

.sidebar-nav a.active {
  border-left: 3px solid var(--purple-main);
}

.sidebar-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.sidebar-social a img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.6;
  transition: var(--transition);
}

.sidebar-social a img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
  margin-left: var(--sidebar-width);
  padding-top: var(--header-height);
  min-height: 100vh;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(10px);
  z-index: 900;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
}

.hamburger-btn {
  display: none;
  width: 28px;
  height: 22px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.ham-line {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transform-origin: left center;
  transition: all 0.3s ease;
}

.ham-line:nth-child(1) {
  top: 0;
  animation: x-hamburger-wave .4s ease-out .6s infinite alternate;
}
.ham-line:nth-child(2) {
  top: 9px;
  animation: x-hamburger-wave .4s ease-out .8s infinite alternate;
}
.ham-line:nth-child(3) {
  top: 18px;
  animation: x-hamburger-wave .4s ease-out 1s infinite alternate;
}

@keyframes x-hamburger-wave {
  0% { transform: scaleX(1); }
  100% { transform: scaleX(0.75); }
}

/* Active state: X */
.hamburger-btn.active .ham-line {
  animation: none;
}
.hamburger-btn.active .ham-line:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.hamburger-btn.active .ham-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.active .ham-line:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

.header-logo img {
  height: 36px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-line img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
}

.btn-login {
  background: var(--purple-gradient);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(155, 81, 224, 0.4);
}

.btn-register {
  background: var(--pink-accent);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(155, 81, 224, 0.4);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  padding: 12px 16px 0;
}

.hero-swiper {
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-swiper .swiper-slide img {
  width: auto;
  height: 100%;
}

.hero-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--purple-main);
  width: 20px;
  border-radius: 5px;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: #fff;
  --swiper-navigation-size: 24px;
  background: rgba(0, 0, 0, 0.4);
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

/* ========================================
   PROMO SECTION
   ======================================== */
.promo-section {
  padding: 12px 16px;
}

.promo-swiper .swiper-slide {
  width: auto;
}

.promo-swiper .swiper-slide img {
  border-radius: var(--radius-sm);
  height: 100%;
  width: auto;
}

.promo-swiper .swiper-pagination-bullet-active {
  background: var(--purple-main);
}

.promo-swiper .swiper-button-prev,
.promo-swiper .swiper-button-next {
  color: #fff;
  --swiper-navigation-size: 20px;
  background: rgba(0, 0, 0, 0.5);
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

/* ========================================
   SECTION COMMON (Provider, Games)
   ======================================== */
.provider-section {
  padding: 4px 16px 12px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 600;
  color: var(--text-white);
  margin: 5px;
}

.section-title i {
  color: var(--purple-main);
}

.section-title img {
  display: inline;
  height: 18px;
}

.nav-arrows {
  display: flex;
  gap: 6px;
}

.nav-arrows button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-gray);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.nav-arrows button:hover {
  background: var(--purple-main);
  color: #fff;
}

/* ---------- Provider Grid ---------- */
.provider-grid-scroll {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}

.provider-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px 8px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  min-width: 80px;
}

.provider-grid-item:hover {
  background: rgba(155, 81, 224, 0.15);
  transform: translateY(-2px);
}

.provider-grid-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.provider-grid-item span {
  font-size: 14px;
  color: var(--text-gray);
  text-align: center;
}

/* ---------- Game Carousel ---------- */
.provider-carousel .swiper-slide {
  width: auto;
}

.provider-carousel .swiper-slide img {
  height: auto;
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
  transition: var(--transition);
}

.provider-carousel .swiper-slide img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(155, 81, 224, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: #0d0d1a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 20px;
}

.footer-inner {
  padding: 30px 20px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 36px;
  margin-bottom: 8px;
}

.footer-copyright-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 12px;
  color: var(--text-gray);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-white);
}

.footer-link-list {
  list-style: none;
}

.footer-link-list li {
  margin-bottom: 6px;
}

.footer-link-list a {
  font-size: 13px;
  color: var(--text-gray);
  transition: var(--transition);
}

.footer-link-list a:hover {
  color: var(--purple-light);
}

.footer-social-icons {
  display: flex;
  gap: 10px;
}

.footer-social-icons a img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-social-icons a img:hover {
  opacity: 1;
  transform: scale(1.15);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 16px 0;
}

.footer-licenses {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-licenses img {
  height: 30px;
  opacity: 0.5;
  filter: grayscale(0.5);
  transition: var(--transition);
}

.footer-licenses img:hover {
  opacity: 1;
  filter: none;
}

.footer-category-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-cat-btn {
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-gray);
  transition: var(--transition);
}

.footer-cat-btn:hover {
  border-color: var(--purple-main);
  color: var(--text-white);
}

.footer-provider-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-provider-grid img {
  width: 100px;
  height: 40px;
  object-fit: contain;
  opacity: 0.8;
  filter: grayscale(0.5);
  transition: var(--transition);
}

.footer-provider-grid img:hover {
  opacity: 1;
  filter: none;
}

/* ========================================
   MOBILE BOTTOM BAR
   ======================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-header);
  backdrop-filter: blur(10px);
  z-index: 1100;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: var(--bottom-bar-height);
  padding: 0 8px;
}

.bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition);
}

.bar-item i {
  font-size: 18px;
}

.bar-item:hover {
  color: var(--text-white);
}

.bar-center {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--purple-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  box-shadow: 0 4px 15px rgba(155, 81, 224, 0.5);
  transition: var(--transition);
}

.bar-center i {
  font-size: 18px;
  color: #fff;
}

.bar-center:hover {
  transform: scale(1.08);
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple-gradient);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1050;
  box-shadow: 0 2px 10px rgba(155, 81, 224, 0.4);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  transform: translateY(-3px);
}

/* ========================================
   LOGIN MODAL
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.login-modal {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px;
  width: 90%;
  max-width: 380px;
  position: relative;
}

.login-modal h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: var(--text-gray);
}

.form-group {
  margin-bottom: 14px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--purple-main);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--purple-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  box-shadow: 0 4px 15px rgba(155, 81, 224, 0.4);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay.active {
    display: block;
  }

  .main-content {
    margin-left: 0;
  }

  .site-header {
    left: 0;
  }

  .hamburger-btn {
    display: block;
  }

  .mobile-bottom-bar {
    display: block;
  }

  .main-content {
    padding-bottom: var(--bottom-bar-height);
  }

  .hero-swiper .swiper-slide img {
    aspect-ratio: 16/8;
  }

  .provider-grid-scroll {
    grid-template-columns: none;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: 80px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .provider-grid-scroll::-webkit-scrollbar {
    display: none;
  }

  .footer-provider-grid {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: 100px;
    flex-wrap: nowrap;
    justify-content: start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .footer-provider-grid::-webkit-scrollbar {
    display: none;
  }

  .provider-carousel .swiper-slide img {
    height: 140px;
  }

  .promo-swiper .swiper-slide img {
    height: 110px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scroll-top-btn {
    bottom: 75px;
    right: 14px;
  }
}

@media (max-width: 480px) {
  .provider-grid-scroll {
    grid-auto-columns: 100px;
  }

  .provider-carousel .swiper-slide img {
    height: 120px;
  }

  .btn-login {
    font-size: 11px;
    padding: 6px 14px;
  }

  .promo-swiper .swiper-slide img {
    height: 90px;
  }
}


/* old */
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control, .form-select {
    border-radius: 10px;
    background-color: #505050;
    border-color: #303030;
}

.formInput {
    position: relative;
    margin-bottom: 8px;
}

.titleCenter {
    font-family: var(--font-bold);
    font-size: 32px;
}

.underLineTitle {
      display: block;
      height: 3px;
      background-color: #fad700;
      width: 50px;
      position: absolute;
      left: 50%;
      transform: translate(-50%, 8px);
  }

.cardTitleCenter {
    text-align: center;
    margin-top: 14px;
    margin-bottom: 16px;
    padding-bottom: 10px;
}

.backLink a {
    display: inline-flex;
    align-items: center;
    color: #00005a;
}

.backLink a img {
    margin-right: 8px;
}

.titlePage {
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}

.titlePage h1,
.titlePage h3 {
    color: #00005A !important;
    font-family: var(--font-extrabold);
}

.titlePage h1 {
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #EBE6FF30;
    font-size: 64px;
    color: transparent;
    position: absolute;
    left: 50%;
    top: -30%;
    transform: translate(-50%, 0);
}

.imgPage {
    position: absolute;
    left: -10px;
    top: -65px;
}

.banknameCard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
    margin-top: 20px;
}

.bankBottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.leftBankname h6,
.bankBottom h6 {
    color: var(--secondary-color);
}

.leftBankname h4,
.bankBottom h4 {
    margin-bottom: 0;
    font-family: var(--font-bold);
}

.bankIcon img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
}

.cardColorDark {
    border-radius: 14px;
    background: linear-gradient(201deg, #100b18 0%, #3d055c 27.58%, #1d0132 86.19%);
    padding: 20px;
}

.blockCredit {
    text-align: center;
    position: relative;
    margin-bottom: 30px;
    margin-top: 20px;
}

.refresh-credit.abs {
    position: absolute;
    right: 0;
    top: 0;
}

.promotion img {
    margin-bottom: 16px;
    border-radius: 14px;
    box-shadow: 0px 0px 10px 0px rgba(51, 51, 51, 0.49);
    transition: all 0.3s ease;
}

.promotion:hover img {
    box-shadow: 0px 0px 20px 0px rgba(41, 41, 41, 0.639);
}

.activity {
    display: block;
    position: relative;
}

.activity img {
    margin-bottom: 16px;
    border-radius: 14px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.activity:hover img {
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
}

.activity h5 {
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
    font-size: 34px;
    color: transparent;
    font-family: var(--font-extrabold);
    margin-bottom: 0;
    position: absolute;
    left: 10%;
    top: 35%;
    transform: translate(0, -50%);
    z-index: 99;
}

.activity h2 {
    font-family: var(--font-extrabold);
    color: #ffffff80;
    font-size: 60px;
    margin-bottom: 0;
    position: absolute;
    left: 10%;
    top: 54%;
    transform: translate(0, -50%);
    transition: all 0.3s ease;
    z-index: 99;
}

.activity:hover h2 {
    color: #ffffff;
}

.activity .iconAct {
    position: absolute;
    box-shadow: none;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    transition: all 0.3s ease;
}

.activity:hover .iconAct {
    top: 40%;
    box-shadow: none;
}

.history {
    border-radius: 10px;
    background: #5C588D20;
    padding: 10px 16px;
    margin-bottom: 8px;
}

.rowDate {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.rowDate p {
    font-family: var(--font-bold);
}

.rowDate img {
    margin-right: 5px;
}

.badge {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 8px;
}

.cardReward {
    border-radius: 14px;
    border: 1px solid #25221e;
    background: #2e2c29;
    box-shadow: 0px -6px 3px 0px rgba(16, 21, 42, 0.19) inset;
    display: block;
    font-size: 14px;
}

.imgReward {
    width: 100%;
    height: 178px;
    overflow: hidden;
    position: relative;
    border-radius: 13px 13px 0 0;
    margin-bottom: 20px;
    display: block;
}

.imgReward img {
    width: 100%;
    height: 100%;
    object-position: center;
}

.imgReward::before {
    border-radius: 0;
    background: linear-gradient(180deg, rgba(44, 30, 98, 0.00) 0%, #58533c 100%);
    content: "";
    position: absolute;
    width: 100%;
    height: 60%;
    bottom: 0;
    left: 0;
}

.color-gold {
    color: #E09A52;
}

.point {
    display: flex;
    align-items: center;
}

.flex-1 {
    flex: 1;
}

.btn-reward {
    display: block;
    border-radius: 6px;
    background: var(--Linear, linear-gradient(90deg, #f8be00 0%, #f8be00 50%, #f8be00 100%));
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.29);
    margin-left: 5px;
    text-align: center;
    padding: 8px 16px;
    color: #000000;
}

.btn-reward.disable {
    background: var(--Linear, linear-gradient(180deg, #181818 0%, #565656 100%));
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.29);
    color: #999999;
}

.btn-reward2 {
    display: block;
    border-radius: 6px;
    background: var(--Linear, linear-gradient(90deg, #f8be00 0%, #f8be00 50%, #f8be00 100%));
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.29);
    margin-left: 5px;
    text-align: center;
    padding: 8px;
    white-space: nowrap;
}

.btn-reward2.disable {
    background: var(--Linear, linear-gradient(180deg, #181818 0%, #565656 100%));
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.29);
    color: #524B6B;
}

.modalNew {
    border-radius: 20px;
    background: linear-gradient(201deg, #0a0a8f 0%, #0a0aaa 27.58%, #0a0a8f 86.19%);
    box-shadow: 0px 6px 14.5px 0px rgba(0, 0, 0, 0.25);
    border: none
}

.closeModallink {
    position: absolute;
    right: 0;
    top: -22px;
    display: block;
    z-index: 999;
}

.imgageReward {
    overflow: hidden;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    left: 50%;
    position: relative;
    transform: translate(-50%, 0);
    margin-bottom: 30px;
    margin-top: 30px;
    border-radius: 20px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.38);
}

.imgageReward img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 200px;
}

.pointBg {
    background-color: #e62b2bde;
    color: var(--main-color);
    text-align: center;
    position: absolute;
    top: 10px;
    padding: 6px 10px;
    border-radius: 6px;
}

.form-control:disabled {
    background-color: #1D124B;
    opacity: 1;
    color: #342862;
}

.rewardImgs {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.rewardImgs img,
.imgAnnonue img,
.imgAccount img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.imgAnnonue {
    width: 100%;
    height: 170px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 20px;
}

.imgAccount {
    overflow: hidden;
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    left: 50%;
    top: -30px;
    transform: translate(-50%, 0);
}

.accountName {
    margin-top: 60px;
    margin-bottom: 30px;
}

.cardBorder {
    border-radius: 14px;
    border: 1px solid #23201b;
    background: #121212;
    padding: 16px;
    height: 100%;
}

.cardyouBank {
    border-radius: 10px;
    background: #121212;
    padding: 18px;
}

.rigIcons {
    padding-right: 50px !important;
}

.copyIcons {
    position: absolute;
    display: inline-block;
    right: 12px;
    top: 50%;
    transform: translate(0, -50%);
}

.cardNormal {
    border-radius: 14px;
    border: 1px solid #181818;
    background: linear-gradient(201deg, #100b18 0%, #3d055c 27.58%, #1d0132 86.19%);
    box-shadow: 0px -6px 3px 0px rgba(16, 21, 42, 0.19) inset;
    padding: 20px;
}

.topAffCredit {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.underline {
    text-decoration: underline;
}

.underline:hover {
    text-decoration: none;
    color: var(--secondary-color);
}

.tab-pane {
    padding-top: 20px;
}

.tabAff {
    justify-content: center;
    border-bottom: 3px solid #5024B9;
}

.nav-link {
    color: #877ABD;
    border-radius: 12px 12px 0px 0px;
    background: var(--Linear, linear-gradient(201deg, #462A82 0%, #2F1D61 27.58%, #22184F 86.19%));
    box-shadow: 0px -6px 3px 0px rgba(16, 21, 42, 0.19) inset;
    font-size: 18px;
}

.nav-tabs .nav-link {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin-right: 4px;
    border: none;
    padding: 10px 32px;
    margin-bottom: calc(0* var(--bs-nav-tabs-border-width));
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    background: var(--Linear, linear-gradient(180deg, #139D74 0%, #6024DC 100%));
    box-shadow: 0px -6px 3px 0px rgba(16, 21, 42, 0.19) inset;
}

.cardBlock {
    position: relative;
    border-radius: 20px;
    background: linear-gradient(201deg, #100b18 0%, #3d055c 27.58%, #1d0132 86.19%);
    box-shadow: 0px 6px 14.5px 0px rgba(0, 0, 0, 0.25);
    padding: 20px;
}

.cardBlock::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    height: 3px;
    width: 80%;
    background: linear-gradient(90deg, rgba(109, 79, 226, 0.00) 0%, #a500fd 50%, rgba(109, 79, 226, 0.00) 100%);
}
.services {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    color: #fff;
}

.cateService {
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    box-shadow: 0px 5px 5.8px 0px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.cateService img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.2s ease-in-out;
}

.cateService:hover img {
    transform: scale(1.1);
}

.tabDetail {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding-top: 30px;
}

.tabDetail.active {
    display: block;
    opacity: 1;
}

.linkPartner {
    display: block;
    border-radius: 8px;
    /* background: #372F55; */
    margin-bottom: 3px;
    padding: 3px;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.25);
}

.linkPartner:hover {
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
    radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    box-shadow: 0px 20px 20px 0px rgba(0, 0, 0, 0.2);
}

.partSlide {
    background: transparent;
}

.partSlide:hover {
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
    radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.2);
}

.linkPartner img {
    width: 100%;
}

.titlePartner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.logoPartner {
    position: relative;
    margin-top: 20px;
}

.logoPartner img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -70%);
    width: 90px;
}

.nameService {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.services:hover .nameService {
    color: var(--main-color);
}

/* BUTTON STYLE */
.btn-flat {
    background-color: #f2b500;
    color: #000;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
}

.btn-flat:hover {
    background-color: #00006c;
}

.btn-flat-sm {
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 12px;
}

.btn-border-light {
    background-color: transparent;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #1e1eac;
}

.btn-flat-block {
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    display: flex;
    text-align: center;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
}

.btn-flat-block img {
    margin-right: 10px;
    width: 24px;
    height: auto;
}

.btn-border-light:hover {
    border: 1px solid #00005A;
}

.btn-border-light {
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 12px;
}

.btn-main {
    border-radius: 10px;
    background-color: #f2b500;
    color: #000;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.40);
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 16px;
}

.btn-main:hover {
    background-color: #dda500;
    color: #000;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.25);

}

.btn-danger2 {
    border-radius: 10px;
    background: linear-gradient(90deg, #e2bd5c 0%, #f3dd86 50%, #c38c32 100%);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.29);
    padding: 5px 15px;
    border: var(--bs-btn-border-width) solid transparent;
    color:#000000;
}

.btn-danger2:hover {
    border-color: #c38c32 !important;
    color:#1d1d1d;
}

.btn-danger3 {
    border-radius: 10px;
    background: var(--Linear, linear-gradient(180deg, #CF3F9E 0%, #DC242F 100%));
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.29);
    padding: 10px 15px;
    font-size: 18px;
}

.btn-danger3:hover {
    border-color: #dc3459 !important;
}

.btn-normal {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 18px;
}

.btn-normal:hover {
    box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.6);
    background-color: #ffcf3e;
    color: #11111190;
}

.btn-main-sm {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
}

.btn-main-sm2 {
    display: inline-block;
    padding: 7px 20px;
    border-radius: 5px;
    font-size: 16px;
}

/* BUTTON STYLE */


.navUserTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.rightNav {
    display: flex;
    align-items: center;
    position: relative;
}

.grad_color01 {
    background-color: #f4b800;
    color: #000000;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.29);
}

.grad_color02 {
    background-color: #f4b800;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.29);
    color: #000000;
    font-weight: bold;
    font-size: 1.3rem;
}

.btnCal {
    padding: 8px 20px;
    display: block;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
}

/* Progress Bar */
.progress-bar {
  background-image: linear-gradient(45deg, #FF5722 25%, #FF9800 25%, transparent 50%, #ff980000 50%, #FF9800 75%, transparent 75%, #9c27b000);
  position: relative;
  z-index: 2;
  display: flex;
  /* ใช้ Flexbox จัดให้อยู่กึ่งกลาง */
  align-items: center;
  justify-content: center;
  color: black;
  font-weight: bold;
  height: 20px;
  line-height: 20px;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar-stripes {
  background-image: linear-gradient(34deg, #ff0036 40%, #0042ff 70%);
  /* background-size: 40px 40px; */
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  animation: moveStripes 1s linear infinite;
}

.progress-value {
  position: relative;
  z-index: 3;
  font-size: 10px;
  font-weight: bold;
  color: #fff;
  bottom: 3px;
}

.bg-blue {
    --bs-bg-opacity: 1;
    background-image: linear-gradient(180deg, #011683 25%, #004890 60%);
    color:#fff;
}

.g-list a {
  text-decoration: none;
}