:root {
  --base-color-1: #03160d;
  --base-color-2: #0a2c1a;
  --gold: #efc93f;
  --gold-soft: #ffe56a;
  --red: #4fff8a;
  --dark: #020b06;
  --blue: #19a34e;
  --white: #f4f6fb;
  --border-gold: rgba(105, 255, 127, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Kanit", sans-serif;
  color: var(--white);
  background: var(--dark) url("../images/bg.jpg") center center / cover no-repeat fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(63, 255, 115, 0.2), transparent 42%),
    radial-gradient(circle at left center, rgba(25, 163, 78, 0.26), transparent 52%),
    rgba(1, 7, 4, 0.76);
  z-index: -1;
}

a {
  text-decoration: none;
}

.py-lg-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.site-header {
  background: linear-gradient(90deg, rgba(4, 24, 12, 0.96), rgba(16, 90, 42, 0.9));
  border-bottom: 1px solid rgba(97, 255, 127, 0.5);
  box-shadow: inset 0 -1px 0 rgba(178, 255, 80, 0.5), 0 6px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  z-index: 1040;
}

.header-row {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  width: 140px;
  max-width: 100%;
  object-fit: contain;
}

.hero-left {
  padding: 1.25rem;
}

.site-nav {
  justify-content: center;
  gap: 1.6rem;
}

.site-nav a,
.sidebar-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.site-nav a::before,
.sidebar-nav a::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.88em;
  line-height: 1;
}

.site-nav a:nth-child(1)::before,
.sidebar-nav a:nth-child(1)::before {
  content: "\f015";
}

.site-nav a:nth-child(2)::before,
.sidebar-nav a:nth-child(2)::before {
  content: "\f06b";
}

.site-nav a:nth-child(3)::before,
.sidebar-nav a:nth-child(3)::before {
  content: "\f2b9";
}

.sidebar-nav a:nth-child(4)::before {
  content: "\f2f6";
}

.sidebar-nav a:nth-child(5)::before {
  content: "\f234";
}

.site-nav a,
.sidebar-nav a,
.footer-nav a {
  color: #f3ffe9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.sidebar-nav a:hover,
.footer-nav a:hover {
  color: #b2ff6b;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-grad {
  color: #1f1a06;
  background: linear-gradient(120deg, #d9b62e, #ffe46d 60%, #f2c53a);
  border: 1px solid rgba(255, 236, 138, 0.5);
  border-radius: 999px;
  padding: 0.56rem 1.2rem;
  font-weight: 500;
  box-shadow: 0 5px 16px rgba(160, 124, 20, 0.32);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-grad:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(240, 201, 62, 0.36);
  color: #111;
}

.btn-outline-gold {
  border: 1px solid rgba(121, 255, 138, 0.75);
  color: #c2ff89;
  border-radius: 999px;
  padding: 0.56rem 1.2rem;
  background: rgba(34, 133, 65, 0.2);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-outline-gold:hover {
  background: rgba(53, 179, 91, 0.3);
  color: #fff;
  transform: translateY(-1px);
}

.hamburger-btn,
.icon-btn {
  border: 1px solid var(--border-gold);
  background: rgba(5, 25, 14, 0.95);
  color: #9eff72;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.site-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 1040;
}

.site-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: min(84vw, 320px);
  height: 100vh;
  background: linear-gradient(160deg, #04170d, #0c311c);
  border-right: 1px solid var(--border-gold);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  z-index: 1050;
}

.mobile-sidebar.is-open {
  transform: translateX(0);
}

.sidebar-head {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(224, 180, 92, 0.2);
}

.sidebar-head img {
  width: 120px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 0.8rem 1rem 1.2rem;
  gap: 0.7rem;
}

.sidebar-nav a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background: rgba(8, 47, 25, 0.75);
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.popup-overlay.is-open {
  display: flex;
}

.popup-content {
  width: min(92vw, 640px);
  position: relative;
}

.popup-content a {
  display: block;
}

.popup-content img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.popup-content.is-transparent {
  width: min(92vw, 520px);
}

.popup-content.is-transparent img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.popup-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
}

.glass-card {
  background: linear-gradient(145deg, rgba(4, 22, 12, 0.9), rgba(2, 12, 8, 0.9));
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(4, 8, 20, 0.48);
}

.hero-logo {
  width: min(220px, 100%);
  object-fit: contain;
}

.hero-title {
  font-weight: 700;
  line-height: 1.28;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  color: #fff;
  margin-bottom: 0;
}

.hero-subtitle {
  margin-top: 0.75rem;
  color: #d8f7d1;
  line-height: 1.55;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.hero-actions .btn-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.hero-carousel {
  border-radius: 16px;
  border: 1px solid var(--border-gold);
  overflow: hidden;
}

.hero-carousel img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shadow-glow {
  box-shadow: 0 10px 26px rgba(7, 49, 26, 0.62), 0 0 20px rgba(92, 255, 112, 0.2);
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.category-tab {
  border: 1px solid rgba(91, 255, 120, 0.36);
  background: rgba(3, 10, 7, 0.92);
  color: #f6f1e4;
  border-radius: 10px;
  min-height: 98px;
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.category-tab img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(175, 255, 121, 0.32));
}

.category-tab span {
  font-size: 1.05rem;
  font-weight: 600;
}

.category-tab:hover {
  transform: translateY(-2px);
  border-color: #91ff66;
}

.category-tab.is-active {
  background: linear-gradient(140deg, rgba(22, 119, 59, 0.95), rgba(145, 255, 102, 0.55));
  border-color: #ddff69;
  color: #081108;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.section-title {
  margin: 0;
  color: #d8ff6b;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.section-text {
  margin-top: 0.55rem;
  color: #d6f0cf;
}

.content-banner,
.gallery-link img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(116, 255, 132, 0.34);
}

.content-banner {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.football-banner {
  aspect-ratio: 21 / 8;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
}

.gallery-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(8, 59, 30, 0.48);
}

.gallery-link img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transition: transform 0.25s ease;
}

.gallery-link:hover img {
  transform: scale(1.05);
}

.promo-scroll {
  overflow: hidden;
  width: 100%;
}

.promo-track {
  width: max-content;
  display: flex;
  align-items: stretch;
  gap: 0.8rem;
  animation: promo-slide-left 26s linear infinite;
}

.promo-track.reverse {
  animation-name: promo-slide-right;
}

.promo-card {
  width: clamp(240px, 23vw, 320px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(116, 255, 132, 0.38);
  background: rgba(1, 9, 5, 0.92);
  box-shadow: 0 8px 18px rgba(8, 59, 30, 0.48);
  flex: 0 0 auto;
}

.promo-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #021108;
  display: block;
}

@keyframes promo-slide-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes promo-slide-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.feature-card,
.review-card,
.provider-card {
  height: 100%;
  border: 1px solid rgba(98, 255, 129, 0.3);
  border-radius: 10px;
  background: rgba(2, 12, 8, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.feature-card,
.review-card {
  padding: 1rem;
}

.feature-card h3 {
  color: #dfff72;
  font-size: 1.05rem;
}

.feature-card p,
.review-card p {
  color: #d5f3cf;
  margin-bottom: 0.45rem;
}

.review-card span {
  color: #ffe267;
  font-size: 0.9rem;
}

.provider-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 0.7rem;
  min-height: 120px;
  color: #f6f1e4;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.provider-card img {
  width: 100%;
  max-width: 140px;
  height: 42px;
  object-fit: contain;
}

.provider-card span {
  display: block;
  line-height: 1.2;
  font-size: 0.88rem;
}

.provider-card.provider-only-image {
  padding: 0.45rem;
  min-height: 98px;
  background: rgba(2, 14, 9, 0.96);
}

.provider-card.provider-only-image img {
  max-width: 100%;
  height: 86px;
  object-fit: contain;
}

.slot-provider-grid .provider-only-image {
  padding: 0.35rem;
  min-height: auto;
  border-radius: 12px;
  border-color: rgba(107, 255, 128, 0.42);
  background: linear-gradient(180deg, rgba(2, 18, 11, 0.96), rgba(2, 12, 8, 0.96));
  box-shadow: 0 6px 14px rgba(5, 41, 22, 0.45);
}

.slot-provider-grid .provider-only-image img {
  max-width: none;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border-radius: 10px;
}

.slot-provider-grid .provider-only-image:hover {
  transform: translateY(-2px);
  border-color: #dfff73;
  box-shadow: 0 10px 20px rgba(10, 78, 38, 0.5);
}

.provider-card:hover {
  border-color: #dfff73;
  background: rgba(55, 178, 86, 0.26);
  color: #fff;
}

.jackpot-box {
  border-radius: 12px;
  border: 1px solid var(--border-gold);
  background: linear-gradient(120deg, rgba(10, 64, 33, 0.9), rgba(56, 179, 87, 0.58));
  padding: 1rem;
  text-align: center;
}

.jackpot-box span {
  font-size: 0.95rem;
  color: #f0ff9b;
}

.jackpot-box strong {
  display: block;
  margin-top: 0.4rem;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  color: #fff;
}

.brand-sections .container {
  position: relative;
}

.register-pill {
  width: min(920px, 100%);
  margin: 0 auto;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: clamp(1rem, 2.1vw, 2rem);
  color: #f8ffe5;
  border: 1px solid rgba(150, 255, 121, 0.5);
  background: linear-gradient(180deg, rgba(105, 197, 42, 0.95), rgba(51, 113, 27, 0.95));
  box-shadow: inset 0 0 18px rgba(191, 255, 124, 0.24);
}

.register-banner-wrap {
  border: 1px solid rgba(123, 255, 127, 0.42);
  border-radius: 0;
  overflow: hidden;
}

.register-banner {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-split {
  background: rgba(3, 8, 6, 0.85);
  border-top: 2px solid rgba(215, 181, 70, 0.65);
  border-bottom: 2px solid rgba(215, 181, 70, 0.65);
  padding: 1.25rem;
}

.about-copy {
  max-width: 580px;
}

.about-image-link {
  display: block;
  border-radius: 0;
  overflow: hidden;
}

.about-image-link img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  background: #020b06;
  display: block;
}

.partner-strip {
  border-top: 1px solid rgba(224, 180, 92, 0.45);
  border-bottom: 1px solid rgba(224, 180, 92, 0.45);
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.62);
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.4rem;
}

.partner-row span {
  color: #e7d8a8;
  font-size: 0.96rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.payment-strip {
  text-align: center;
  background: linear-gradient(180deg, rgba(5, 51, 25, 0.9), rgba(4, 30, 17, 0.92));
  border: 1px solid rgba(116, 255, 132, 0.28);
  padding: 1.2rem 1rem;
}

.payment-strip h3 {
  margin: 0;
  color: #d7ff7f;
  font-size: 1.18rem;
  font-weight: 600;
}

.payment-icons {
  margin-top: 0.72rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.payment-icons i {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff5bf;
  border: 1px solid rgba(170, 255, 119, 0.48);
  background: rgba(13, 72, 37, 0.72);
}

.payment-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.payment-links a {
  color: #dcffbb;
  background: rgba(56, 124, 42, 0.6);
  border: 1px solid rgba(149, 255, 117, 0.3);
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.site-footer {
  background: #010302;
  border-top: 1px solid rgba(215, 181, 70, 0.55);
  padding: 1.5rem 0 1.25rem;
}

.footer-shell {
  width: 100%;
  padding: 0 1rem;
}

.footer-provider-section {
  border-top: 1px solid rgba(215, 181, 70, 0.45);
  border-bottom: 1px solid rgba(215, 181, 70, 0.45);
  padding: 0.8rem 0;
}

.provider-marquee {
  overflow: hidden;
  width: 100%;
}

.provider-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  animation: provider-scroll 28s linear infinite;
}

.provider-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f2dc9e;
  white-space: nowrap;
  padding: 0.2rem 0.1rem;
}

.provider-item img {
  width: 118px;
  height: 38px;
  object-fit: contain;
}

.footer-bonus-title {
  margin: 1rem 0 0.9rem;
  text-align: center;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: #f4f6fb;
  font-weight: 500;
}

.footer-main-block {
  background: linear-gradient(180deg, rgba(4, 62, 26, 0.88), rgba(1, 24, 11, 0.95));
  border-top: 1px solid rgba(215, 181, 70, 0.45);
  padding: 1rem;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: center;
}

.footer-deposit h5 {
  margin: 0;
  color: #ffd968;
  font-weight: 500;
  text-align: center;
}

.deposit-icons {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.deposit-icons a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff5bf;
  border: 1px solid rgba(170, 255, 119, 0.48);
  background: rgba(13, 72, 37, 0.72);
}

.footer-tag-list {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-tag-list a {
  color: #dcffbb;
  background: rgba(56, 124, 42, 0.6);
  border: 1px solid rgba(149, 255, 117, 0.3);
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  width: 170px;
  max-width: 100%;
}

.footer-year {
  margin-top: 0.45rem;
  color: #d6f0d1;
}

.footer-brand h3 {
  margin: 0.2rem 0;
  color: #dffb85;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

.footer-version {
  color: #bfdabf;
  font-size: 0.95rem;
}

@keyframes provider-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 991.98px) {
  .header-row {
    grid-template-columns: auto 1fr auto;
  }

  .site-logo {
    justify-self: center;
  }

  .site-logo img {
    width: 118px;
  }

  .header-actions .btn-login {
    padding: 0.5rem 0.95rem;
  }

  .hero-left {
    padding: 1.15rem;
  }

  .hero-title {
    font-size: clamp(1.25rem, 5vw, 1.55rem);
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .category-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .site-header .container {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .header-row {
    min-height: 66px;
    gap: 0.5rem;
  }

  .site-logo img {
    width: 126px;
  }

  .header-actions .btn-login {
    padding: 0.5rem 0.9rem;
    font-size: 0.96rem;
    min-height: 40px;
  }

  .hero-left {
    border-radius: 12px;
    padding: 1rem;
  }

  .hero-title {
    font-size: 1.88rem;
    line-height: 1.22;
  }

  .hero-subtitle {
    margin-top: 0.7rem;
    font-size: 1.02rem;
    line-height: 1.48;
  }

  .hero-actions {
    margin-top: 1rem;
    gap: 0.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-actions .btn-cta {
    min-width: 0;
    width: 100%;
    padding: 0.52rem 0.35rem;
    font-size: 0.97rem;
    border-radius: 999px;
  }

  .hero-carousel {
    border-radius: 12px;
  }

  .seo-block {
    padding: 1rem !important;
  }

  .section-title {
    font-size: 1.36rem;
    line-height: 1.28;
  }

  .section-text {
    font-size: 1.02rem;
    line-height: 1.55;
  }

  .category-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    gap: 0.55rem;
  }

  .category-tab {
    min-width: 98px;
    flex: 0 0 auto;
    min-height: 92px;
  }

  .category-tab img {
    width: 40px;
    height: 40px;
  }

  .category-tab span {
    font-size: 1rem;
  }

  .register-pill {
    font-size: 1.08rem;
    padding: 0.5rem 0.8rem;
  }

  .register-banner {
    aspect-ratio: 16 / 9;
  }

  .about-split {
    padding: 0.9rem;
  }

  .partner-row {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.2rem;
  }

  .partner-row span {
    flex: 0 0 auto;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .provider-item img {
    width: 96px;
    height: 32px;
  }

  .footer-bonus-title {
    font-size: 1.06rem;
  }

  .promo-card {
    width: 82vw;
  }
}
