* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Kanit", sans-serif;
}
:root {
  --bg-dark: #120902;
  --bg-card: #1f1207;
  --gold-primary: #f5c042;
  --gold-hover: #d49419;
  --gold-gradient: linear-gradient(
    180deg,
    #ffe28a 0%,
    #e6a827 50%,
    #b87b10 100%
  );
  --silver-gradient: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  --gold-border: rgba(245, 192, 66, 0.4);
}
body {
  background-color: #1c1208;
  overflow-x: hidden !important;
}
html {
  scroll-behavior: smooth;
}
h1,
h2,
h3,
h4,
h5 {
  color: #ffd700;
  font-weight: 500 !important;
}
h2 {
  font-size: 1.7em;
}
h3 {
  font-size: 1.6em;
}
h4 {
  font-size: 1.55em;
}
h5 {
  font-size: 1.55em;
}
p,
ul,
li,
ol {
  color: #f0e6dc;
  font-size: 16px;
  font-weight: 400;
}
strong,
em,
u {
  color: #f0e6dc;
  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);
}

@media (max-width: 768px) {
  p,
  ul,
  li,
  ol,
  strong,
  em,
  u {
    font-size: 14px;
  }
}
/* header */
.custom-navbar {
  background: linear-gradient(180deg, #1f1004 0%, #120902 100%);
  border-bottom: 1px solid rgba(245, 192, 66, 0.25);
}
.brand-logo-text {
  color: #d4af37;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-logo-text small {
  font-size: 0.55rem;
  color: #d1b18a;
  letter-spacing: 1px;
  margin-top: 2px;
}
.nav-link {
  color: #f1e7db !important;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.2s ease;
}
.nav-link.active {
  color: #d4af37 !important;
  text-shadow: 0 0 8px rgba(245, 192, 66, 0.5);
}
.nav-link:hover {
  color: #d4af37 !important;
  text-shadow: 0 0 8px rgba(245, 192, 66, 0.5);
}
.btn-login {
  background: var(--silver-gradient);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 20px;
  padding: 5px 22px;
  border: 1px solid #ffffff;
  transition: 0.2s;
}
.btn-login:hover {
  background: #e2e8f0;
  color: #000;
}
.btn-register {
  background: var(--gold-gradient);
  color: #3b2203;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 20px;
  padding: 5px 22px;
  border: 1px solid #ffe9a6;
  box-shadow: 0 2px 10px rgba(230, 168, 39, 0.3);
  transition: 0.2s;
}
.btn-register:hover {
  filter: brightness(1.1);
  color: #1f1004;
}
.hero-banner {
  position: relative;
  background: radial-gradient(
    circle at 65% 50%,
    #4a2800 0%,
    #201003 45%,
    var(--bg-dark) 90%
  );
  padding: 60px 0 70px;
  overflow: hidden;
  border-bottom: 2px solid rgba(245, 192, 66, 0.3);
  /* background-image: url("../img/background-banner-pc-Winner55.webp") !important; */
}
.hero-h1 {
  font-size: 1.8em;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}
.hero-h1 .gold-text {
  color: #d4af37;
  text-shadow: 0 0 15px rgba(245, 192, 66, 0.4);
}
.hero-sub {
  font-size: 18px;
  color: #ecdac5;
  font-weight: 400;
  line-height: 1.6;
}
.game-section {
  padding: 40px 0 60px;
  background-color: var(--bg-dark);
}
.game-card {
  background: linear-gradient(180deg, #1f1004 0%, #120902 100%);
  border: 1px solid rgba(245, 192, 66, 0.3);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: #f5c042;
  box-shadow: 0 8px 20px rgba(245, 192, 66, 0.2);
}
.game-img-link {
  display: block;
  text-decoration: none;
}
.game-img-box {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background-color: #000000;
}
.game-img-box img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 9 / 10;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.game-card:hover .game-img-box img {
  transform: scale(1.03);
}
.btn-play {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 8px 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffe28a 0%, #e6a827 50%, #b87b10 100%);
  color: #2b1700;
  border: none;
  transition: filter 0.2s ease;
}

.btn-play:hover {
  filter: brightness(1.15);
  color: #000000;
}
.hero-model-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7));
  transition: transform 0.3s ease;
}
@media (max-width: 991px) {
  .hero-model-img {
    max-width: 320px;
    margin-top: 15px;
  }
  .hero-h1 {
    font-size: 1.8em;
  }
  .hero-sub {
    font-size: 16px;
  }
  .hero-banner {
    text-align: center;
    padding: 40px 0;
  }
}
/* content */
.txt-heading {
  padding: 10px 8px;
  background: linear-gradient(
    90deg,
    #1c1208 0%,
    #9b6b22 5%,
    #ffda55 50%,
    #9b6b22 95%,
    #1c1208 100%
  );
  color: #000 !important;
  text-align: center !important;
  font-weight: 700 !important;
}

/* 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, #b66600, #ffd268);
  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, #b66600, #ffd268);
  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 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);
}

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;
}
/* breadcrumb-list */
.breadcrumb-nav {
  padding: 12px 20px;
  background: linear-gradient(
    90deg,
    rgba(20, 20, 20, 0.9) 0%,
    rgba(10, 10, 10, 0.4) 100%
  );
  border-radius: 8px;
  border-left: 3px solid #d4af37;
  margin: 15px auto 25px;
  max-width: 1140px;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 10px;
  color: #a3a3a3;
  font-size: 15px;
  font-weight: bold;
}
.breadcrumb-item a {
  color: #a3a3a3;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.breadcrumb-item a:hover {
  color: #ffd700;
}
.breadcrumb-item.active {
  color: #f3e5ab;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.breadcrumb-home-icon {
  font-size: 14px;
  color: #d4af37;
}

/* article */
.luxury-container {
  margin: 0 auto;
  padding: 30px 15px;
}
.posts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.section-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
  position: relative;
}
@media (max-width: 576px) {
  .posts-header {
    margin-bottom: 18px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .btn-gold {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}
.btn-gold {
  display: inline-block;
  padding: 8px 22px;
  background: transparent;
  color: #f3e5ab;
  border: 1px solid #d4af37;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-gold:hover {
  background: linear-gradient(
    135deg,
    #bf953f,
    #fcf6ba,
    #b38728,
    #fbf5b7,
    #aa771c
  );
  color: #000;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.post-card {
  background: #161306;
  border: 1px solid #26231c;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: relative;
}
.post-card:hover {
  transform: translateY(-7px);
  border-color: #d4af37;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.18);
}
.card-thumb {
  width: 100%;
  height: 190px;
  overflow: hidden;
  position: relative;
  background: #000;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .card-thumb img {
  transform: scale(1.08);
}
.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 0.85rem;
}
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.post-date {
  font-size: 0.78rem;
  color: #d4af37;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.post-title {
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 12px 0;
  font-weight: 600;
}
.post-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card:hover .post-title a {
  color: #f3e5ab;
}
.post-excerpt {
  font-size: 0.85rem;
  color: #8e8e93;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: auto;
}
.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #8e8e93;
  border: 1px dashed #26231c;
  border-radius: 8px;
}

@media (max-width: 992px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 576px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .card-thumb {
    height: 180px;
  }
}
/* --- Table --- */
.table-container {
  margin-top: 40px;
  background-color: #1a1005;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #4a3311;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.custom-table {
  border-color: #4a3311;
  margin-bottom: 0;
}
.custom-table th {
  background: linear-gradient(90deg, #9b6b22 0%, #ffda55 50%, #9b6b22 100%);
  color: #000 !important;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: none;
}
.custom-table td {
  background-color: #1a1005;
  color: #e0e0e0;
  border-color: #4a3311;
  vertical-align: middle;
  padding: 15px;
}
.custom-table tbody tr:hover td {
  background-color: #2c1c0a;
  color: #ffda55;
  transition: 0.3s;
}
/* --- FAQ --- */
.faq-title {
  color: #ffda55;
  text-align: center;
  margin: 50px 0 30px 0;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.custom-accordion {
  --bs-accordion-border-color: #4a3311;
  --bs-accordion-bg: #1a1005;
  --bs-accordion-active-bg: #2c1c0a;
  --bs-accordion-active-color: #ffda55;
  --bs-accordion-btn-color: #e0e0e0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  overflow: hidden;
}
.accordion-item {
  border-bottom: 1px solid #4a3311;
}
.accordion-button {
  font-family: "Kanit", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
}
.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(255, 218, 85, 0.5);
}
.accordion-button:not(.collapsed) {
  color: #ffda55;
  background-color: #2c1c0a;
  box-shadow: inset 0 -1px 0 #4a3311;
}
.accordion-button::after {
  filter: invert(1) brightness(100%);
}
.accordion-button:not(.collapsed)::after {
  filter: invert(80%) sepia(50%) saturate(500%) hue-rotate(360deg)
    brightness(110%);
}
.accordion-body {
  color: #cccccc;
  line-height: 1.6;
  background-color: #120c06;
}
/* --- Footer --- */
.custom-footer {
    background-color: #000000;
    padding: 30px 20px;
    margin-top: 50px;
    border-top: 2px solid #4a3311;
}

.copyright-text {
    color: #e0e0e0;
    font-size: 0.9rem;
    margin-top: 10px;
    margin-bottom: 0;
}
.footer-links-section {
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    text-align: center;
}
.footer-menu li{
  display: inline-block;
  margin: 5px 10px;
}
.footer-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s;
}
.footer-menu a:hover {
    color: #ffda55;
}
.footer-providers-section {
    display: flex;
    justify-content: flex-end;
}
.provider-grid {
    display: block;
    text-align: center;
}
.provider-img {
    max-width: 100%;
    height: auto;      
    display: inline-block;  
    margin: 5px;   
}

@media (max-width: 991px) {
    .footer-brand-section, .footer-links-section {
        margin-bottom: 30px;
    }
    .footer-providers-section {
        justify-content: center;
    }
    .custom-footer{
      padding-bottom: 100px;
    }
}