* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Kanit", sans-serif;
}
:root {
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-border: rgba(212, 175, 55, 0.35);
  --bg-dark-card: #141414;
}
body {
  background-color: #000;
  overflow-x: hidden !important;
}
html {
  scroll-behavior: smooth;
}
p,
ul,
li,
ol {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}
strong,
em,
u {
  color: #fff;
  font-size: 16px;
}
p a,
strong a,
li a,
p strong,
li strong {
  color: #ffd700;
}
.span-txt {
  color: #fff4b5;
}
p a:hover,
strong a:hover,
li a:hover {
  color: rgb(255, 233, 109);
}
/* header */
.main-header {
  background-image: linear-gradient(to bottom, #050505, #272727);
}
.main-header a.nav-link {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}
.main-header a.nav-link:not(.active):hover {
  color: #888080 !important;
}
.main-header a.nav-link.active {
  color: #ffbf00 !important;
  font-weight: bold !important;
}
.auth-buttons-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}
.btn-login {
  background: linear-gradient(135deg, #2c3e50 0%, #000000 100%);
  color: #f1c40f;
  border: 1.5px solid #f1c40f;
}
.btn-login:hover {
  background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(241, 196, 15, 0.4);
}
.btn-register {
  background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
  color: #ffffff;
  border: 1.5px solid #ffeb3b;
  animation: pulse-gold 2s infinite;
}
.btn-register:hover {
  background: linear-gradient(135deg, #f1c40f 0%, #e67e22 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
}
@keyframes pulse-gold {
  0% {
    box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(243, 156, 18, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(243, 156, 18, 0);
  }
}
@media (max-width: 991px) {
  .banner-bg {
    padding-top: 120px !important;
  }
  .site-footer {
    padding-bottom: 90px !important;
  }
}
@media (max-width: 768px) {
  .hero-title h1 {
    font-size: 1.6em !important;
  }
  .hero-title p {
    font-size: 14px !important;
  }
  .banner-bg {
    padding-top: 90px !important;
  }
  .btn-custom {
    padding: 6px 10px;
    font-size: 12px;
  }
  .navbar-brand img {
    width: 70px !important;
  }
  .btn-custom.no-phone {
    padding: 8px 15px !important;
    font-size: 14px !important;
    gap: 6px;
  }
  p,
  ul,
  li,
  ol,
  strong,
  em,
  u {
    font-size: 14px;
  }
}
@media (max-width: 576px) {
  .hero-title h1 {
    font-size: 1.3em !important;
  }
  .navbar-brand .logo-img {
    width: 75px !important;
  }
  .btn-custom:not(.no-phone) {
    padding: 5px 8px !important;
    font-size: 11px !important;
    gap: 4px;
  }
}
.main-header {
  background-image: linear-gradient(to bottom, #050505, #272727);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.banner-bg {
  padding-top: 90px;
  background-color: #050505;
  background-image:
    radial-gradient(
      circle at 0% 50%,
      rgba(180, 100, 20, 0.35) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 100% 50%,
      rgba(180, 100, 20, 0.35) 0%,
      transparent 20%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0.9) 100%
    );
  background-size: cover;
  background-position: center;
}
/* header */
.hero-title h1 {
  font-size: 2.5em;
  font-weight: 700;
  color: #ffe300;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    2px 2px 5px rgba(0, 0, 0, 0.4);
}
.hero-title p {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
/* actions-mobile */
@media (min-width: 992px) {
  #account-actions-mobile {
    display: none;
  }
}
#account-actions-mobile {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 100%;
}
#account-actions-mobile .outer-wrapper {
  display: flex;
  align-items: flex-end;
}
#account-actions-mobile .left-wrapper,
#account-actions-mobile .right-wrapper {
  display: flex;
  align-items: flex-end;
  flex: 1;
  z-index: 2;
  height: 70px;
  padding-bottom: 6px;
  background: linear-gradient(180deg, #f39c12, #d35400);
  border-top: 3px solid #ffffff;
  transition:
    filter 0.2s,
    -webkit-filter 0.2s;
}

#account-actions-mobile .center-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  z-index: 2;
  width: 74px;
  height: 74px;
  margin: 0 8px 16px;
  padding-bottom: 8px;
  color: #fff;
  background: linear-gradient(180deg, #f39c12, #d35400);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 10px hsla(0, 0%, 100%, 0.4);
}

#account-actions-mobile .center-wrapper:hover {
  text-shadow:
    0 0 10px white,
    0 0 10px white;
  color: #fff;
  text-decoration: none;
}

#account-actions-mobile .center-wrapper .selected {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  transition: all 0.4s;
  background-size: 450px;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  background-position: 0 0;
  border-radius: 50%;
}

.selected h5 {
  position: absolute;
  bottom: 6px;
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  margin: 0;
}

.selected img {
  width: 65px !important;
  max-width: 65px !important;
  height: auto;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

#account-actions-mobile .fake-center-bg-wrapper {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 50px;
  transition:
    filter 0.2s,
    -webkit-filter 0.2s;
  overflow: hidden;
}

#account-actions-mobile .fake-center-bg-wrapper svg {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 108px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

#account-actions-mobile .fake-center-bg-wrapper svg path {
  fill: url(#rectangleGradient);
}

#account-actions-mobile .left-wrapper {
  border-top-left-radius: 10px;
  border-top-right-radius: 22px;
}

#account-actions-mobile .right-wrapper {
  border-top-right-radius: 10px;
  border-top-left-radius: 22px;
}

#account-actions-mobile .item-wrapper {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: #fff;
  position: relative;
}

.ic-img img {
  width: 34px;
  height: auto;
  display: block;
  margin: 0 auto;
  padding-bottom: 20px;
  position: relative;
}

#account-actions-mobile .item-wrapper .text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #000;
  transition: color 0.2s;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  margin: 0 auto;
  margin-top: 0.25rem;
}

@media (max-width: 575.98px) {
  #account-actions-mobile .item-wrapper .text {
    font-size: 0.8rem;
  }
}

#account-actions-mobile .item-wrapper:active,
#account-actions-mobile .item-wrapper:hover {
  text-decoration: none;
}

#account-actions-mobile .item-wrapper:active .text,
#account-actions-mobile .item-wrapper:hover .text {
  color: #f7d18e;
}

#account-actions-mobile .fully-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
}
/*  */
.name-game {
  padding: 10px;
  border-top: 2px solid #dfb97b;
  border-bottom: 2px solid #dfb97b;
  background-color: #1a1a1a;
}
.title-heading {
  padding: 10px 0;
  font-weight: 700;
  color: #e2c56b;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    2px 2px 5px rgba(0, 0, 0, 0.4);
  text-align: center;
  background-image: linear-gradient(to right, #000, #1a1a1a, #1a1a1a, #000);
}
.bg-row {
  background-image: linear-gradient(to right, #000, #1a1a1a, #1a1a1a, #000);
}

.quickfacts-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 28px auto;
  padding: 1px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.7) 0%,
    rgba(212, 175, 55, 0.1) 50%,
    rgba(212, 175, 55, 0.5) 100%
  );
  box-shadow:
    0 12px 35px -8px rgba(0, 0, 0, 0.8),
    0 0 20px -3px rgba(212, 175, 55, 0.12);
}
.quickfacts-inner {
  background: linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
  border-radius: 13px;
  overflow: hidden;
}
.quickfacts-header {
  padding: 18px 24px;
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0.12) 0%,
    transparent 100%
  );
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quickfacts-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff2b2 0%, #d4af37 60%, #aa7c11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}
.quickfacts-badge {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #ffd700;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.quickfacts-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.quickfacts-table thead th {
  background-color: #111111;
  color: #dfb743;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 13px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.quickfacts-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease;
}
.quickfacts-table tbody tr:last-child {
  border-bottom: none;
}
.quickfacts-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.04);
}
.quickfacts-table td {
  padding: 16px 22px;
  font-size: 14.5px;
  line-height: 1.6;
  vertical-align: middle;
}
.quickfacts-table td:first-child {
  width: 28%;
  color: #f3e5ab;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.015);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}
.quickfacts-table td:last-child {
  color: #d1d5db;
}
.text-gold {
  color: #ffd700;
  font-weight: 600;
}
@media screen and (max-width: 640px) {
  .quickfacts-header {
    padding: 14px 16px;
  }

  .quickfacts-title {
    font-size: 15px;
  }

  .quickfacts-table thead {
    display: none;
  }

  .quickfacts-table,
  .quickfacts-table tbody,
  .quickfacts-table tr,
  .quickfacts-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  .quickfacts-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  }

  .quickfacts-table tr:last-child {
    border-bottom: none;
  }

  .quickfacts-table td:first-child {
    border-right: none;
    background: transparent;
    padding: 0 0 5px 0;
    font-size: 13.5px;
    color: #dfb743;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .quickfacts-table td:first-child::before {
    content: "◆";
    font-size: 9px;
    color: #d4af37;
  }

  .quickfacts-table td:last-child {
    padding: 0;
    font-size: 14px;
    color: #e5e7eb;
  }
}
/*  */
.faq-container {
  max-width: 860px;
  margin: 30px auto;
}
.custom-faq-accordion .accordion-item {
  background: #141414;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.custom-faq-accordion .accordion-item:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.12);
}
.custom-faq-accordion .accordion-button {
  background: #141414;
  color: #f5f5f7;
  font-size: 15.5px;
  font-weight: 600;
  padding: 16px 20px;
  box-shadow: none !important;
}
.custom-faq-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.12) 0%, #141414 100%);
  color: #ffd700;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.custom-faq-accordion .accordion-button::after {
  filter: invert(75%) sepia(50%) saturate(1000%) hue-rotate(5deg)
    brightness(95%);
  transition: transform 0.3s ease;
}
.custom-faq-accordion .accordion-body {
  background-color: #101010;
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.7;
  padding: 18px 20px;
}
.custom-faq-accordion .accordion-body a {
  color: #ffd700;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.custom-faq-accordion .accordion-body a:hover {
  color: #fff2b2;
}
.faq-q-tag {
  color: #d4af37;
  margin-right: 8px;
  font-weight: 700;
}
.site-footer {
  background: linear-gradient(180deg, #111111 0%, #080808 100%);
  color: #a3a3a3;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 40px 20px 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
}

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

/* ค่ายเกม */
.footer-providers {
  text-align: center;
  margin-bottom: 25px;
}
.providers-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #dfb743;
  margin-bottom: 12px;
  font-weight: 600;
}
.providers-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #737373;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.2),
    transparent
  );
  margin: 20px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 30px;
}
.footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}
.footer-brand span {
  color: #d4af37;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #8a8a8a;
  margin-bottom: 15px;
}
.footer-badges {
  display: flex;
  gap: 8px;
}
.badge-gold {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 4px;
  color: #dfb743;
  background: rgba(212, 175, 55, 0.06);
}
.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #f3e5ab;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-links a {
  color: #a3a3a3;
  text-decoration: none;
  font-size: 13.5px;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}
.footer-links a:hover {
  color: #d4af37;
  padding-left: 4px;
}
.platform-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.platform-tags span {
  background: #1c1c1c;
  border: 1px solid #2e2e2e;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  color: #ccc;
}
.contact-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.contact-btn {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  background: rgba(212, 175, 55, 0.1);
  color: #dfb743;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 4px;
  text-decoration: none;
  transition: 0.2s;
}
.contact-btn:hover {
  background: #d4af37;
  color: #000;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 35px;
  padding-top: 18px;
  font-size: 12px;
  color: #666;
}
@media screen and (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-col {
    text-align: left;
  }
  .footer-badges {
    justify-content: flex-start;
  }
}
section.error{
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
section.error strong{
  display: flex;
  font-size: 4em;
  color: #ff0000;
}
section.error p.white{
  color: #fff !important;
}
