:root {
  --green-deep: #0b2f1f;
  --green-mid: #145034;
  --green-soft: #1f6a45;
  --gold: #d4af37;
  --gold-soft: #f5d37a;
  --white: #ffffff;
  --ink: #122018;
  --bg: #f4f7f4;
  --shadow: 0 18px 45px rgba(7, 31, 19, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Prompt', sans-serif;
  color: var(--ink);
  background: var(--green-deep) url('../assets/images/Green-background-Layout-2.webp') center center / cover scroll no-repeat;
}

@media (max-width: 991.98px) {
  body {
    background-attachment: fixed;
    background-position: center top;
  }
}

a {
  text-decoration: none;
}

.site-main {
  margin-left: 0;
}

.sidebar-desktop {
  display: none;
  position: fixed;
  inset: 0 auto 0 0;
  width: 50px;
  flex-direction: column;
  background: linear-gradient(180deg, #0a2a1b 0%, #000 100%);
  color: var(--white);
  z-index: 1030;
  overflow: hidden;
  transition: width 0.28s ease;
  box-shadow: 2px 0 14px rgba(0, 0, 0, 0.35);
}

.sidebar-desktop:hover,
.sidebar-desktop:focus-within {
  width: 210px;
}

.sidebar-brand {
  flex: 0 0 auto;
  padding: 12px 8px 18px;
}

.sidebar-brand img {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.sidebar-desktop:hover .sidebar-brand img,
.sidebar-desktop:focus-within .sidebar-brand img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.sidebar-nav {
  list-style: none;
  padding: 0 6px;
  margin: 0;
}

.sidebar-nav-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-color: var(--gold) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.sidebar-nav-wrap::-webkit-scrollbar {
  width: 6px;
}

.sidebar-nav-wrap::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-nav-wrap::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 999px;
}

.sidebar-nav-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--gold-soft);
}

.sidebar-nav li {
  margin-bottom: 8px;
}

.sidebar-nav a,
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  padding: 10px 10px;
  border-radius: 12px;
  transition: background-color 0.22s ease, transform 0.22s ease;
}

.sidebar-nav a:hover,
.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
}

.sidebar-nav i,
.mobile-nav i {
  width: 20px;
  text-align: center;
  color: var(--gold-soft);
}

.sidebar-nav span {
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.sidebar-desktop:hover .sidebar-nav span,
.sidebar-desktop:focus-within .sidebar-nav span {
  opacity: 1;
}

.sidebar-actions {
  flex: 0 0 auto;
  padding: 10px 6px 12px;
}

.btn-sidebar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 6px;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
}

.btn-sidebar span {
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.sidebar-desktop:hover .btn-sidebar span,
.sidebar-desktop:focus-within .btn-sidebar span {
  opacity: 1;
}

.btn-login {
  background: #fff;
  color: #111;
}

.btn-register {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1a1404;
}

.mobile-bottom-nav {
  position: fixed;
  inset: auto 0 0;
  z-index: 1040;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: calc(66px + env(safe-area-inset-bottom));
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  background: rgba(5, 20, 12, 0.97);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
}

.mobile-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 54px;
  gap: 3px;
  padding: 4px 2px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.mobile-bottom-nav-item i {
  font-size: 1.05rem;
  color: var(--gold-soft);
}

.mobile-bottom-nav-item span {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-bottom-nav-item:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: -2px;
}

.mobile-bottom-nav-play {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1a1404;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.mobile-bottom-nav-play i {
  color: #1a1404;
}

body {
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

.mobile-menu {
  background: linear-gradient(180deg, #0d3422, #000);
  color: var(--white);
}

.offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-block {
  padding: 24px 0 16px;
  background: transparent;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-brand {
  max-width: 980px;
  margin: 0 auto;
}

.hero-logo {
  width: min(130px, 38vw);
  height: auto;
  aspect-ratio: 1;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 3px solid #fff;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  margin-bottom: 0.35rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: var(--gold-soft);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.hero-copy {
  max-width: 980px;
  margin: 0.8rem auto 0;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.button-row-wrap {
  margin-top: 1.1rem;
}

@media (max-width: 767.98px) {
  .button-row-wrap {
    display: none;
  }
}

.button-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  flex: 1 1 100%;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a1404;
  border: 1px solid #b78918;
  background: linear-gradient(135deg, #c69a43 0%, #f8ef9f 48%, #b78117 100%);
  box-shadow: 0 10px 24px rgba(137, 104, 21, 0.22);
}

.gold-button:hover {
  color: #1a1404;
  transform: translateY(-1px);
}

.marquee-frame {
  width: min(940px, 100%);
  margin: 12px auto 0;
  padding: 0 8px;
  height: 30px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  border: 2px solid #362d07;
  background: #fff;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
}

.marquee-track {
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--green-deep);
  padding-left: 100%;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.carousel-shell {
  width: min(960px, 100%);
  margin: 0 auto;
}

.carousel-inner {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slide-media {
  display: block;
  width: 100%;
  height: auto;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gold);
}

@media (max-width: 991.98px) {
  .carousel-shell {
    position: relative;
    left: auto;
    width: calc(100% + 56px);
    margin-left: -28px;
    margin-right: 0;
  }

  .carousel-inner {
    border-radius: 0;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 48px;
    opacity: 1;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 2.15rem;
    height: 2.15rem;
    padding: 0.55rem;
    background-size: 1rem 1rem;
  }

  .carousel-indicators {
    gap: 4px;
    margin-bottom: 4px;
  }

  .carousel-indicators [data-bs-target] {
    position: relative;
    width: 32px;
    height: 24px;
    margin: 0;
    border: 0;
    background: transparent;
    opacity: 1;
  }

  .carousel-indicators [data-bs-target]::after {
    position: absolute;
    top: 10px;
    right: 4px;
    left: 4px;
    height: 4px;
    content: '';
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
  }

  .carousel-indicators .active::after {
    background: var(--gold-soft);
    box-shadow: 0 0 8px rgba(245, 211, 122, 0.85);
  }
}

.slide-placeholder {
  width: 100%;
  aspect-ratio: 1920 / 676;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: #fff;
  padding: 18px;
}

.slide-placeholder span,
.feature-image span,
.mini-image,
.size-card,
.promo-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  border-radius: 14px;
}

.slide-placeholder span,
.feature-image span {
  background: rgba(0, 0, 0, 0.55);
  padding: 6px 12px;
}

.slide-placeholder strong {
  font-size: 1.6rem;
}

.slide-placeholder small {
  opacity: 0.88;
}

.slide-gold {
  background: linear-gradient(135deg, #8e6d13, #d5b04c 60%, #2c4d36);
}

.slide-green {
  background: linear-gradient(135deg, #0a3020, #16623f 55%, #0c2417);
}

.slide-white {
  background: linear-gradient(135deg, #ffffff, #f4f7f4);
  color: var(--green-deep);
}

.slide-white span {
  background: rgba(11, 47, 31, 0.08);
}

.content-section {
  padding: 32px 0;
}

.section-dark {
  background: transparent;
  color: #fff;
}

.section-title,
.side-note h3,
.contact-panel h2 {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 0;
  color: #fff;
}

/* the page background is always dark, so loose heading text stays white by default; */
/* .article-panel is the one opaque light card that needs its own dark heading color */
.article-panel .section-title {
  color: var(--ink);
  text-shadow: none;
}

.section-heading p {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.section-pill,
.section-pill.light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.service-card,
.mini-feature,
.side-note,
.contact-panel,
.size-card,
.promo-modal {
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 100%;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1a1404;
  font-size: 1.3rem;
}

.service-card h3,
.feature-copy h3,
.mini-feature h3,
.side-note h3,
.contact-panel h2 {
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.feature-copy {
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.feature-image {
  min-height: 190px;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  box-shadow: var(--shadow);
}

.feature-big {
  background: linear-gradient(135deg, #134c33, #0a2518 65%, #d4af37);
}

.feature-tall {
  background: linear-gradient(135deg, #0d3724, #2a6a43 60%, #8f6d14);
}

.mini-feature {
  height: 100%;
  background: #fff;
  padding: 18px;
  color: var(--ink);
}

.mini-image {
  min-height: 160px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #0d3724, #206746 55%, #d4af37);
  color: #fff;
}

.mini-image-photo {
  overflow: hidden;
  padding: 0;
}

.mini-image-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.size-card {
  min-height: 124px;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1.3rem;
  flex-direction: column;
  gap: 6px;
}

.size-card small {
  font-size: 0.9rem;
  opacity: 0.9;
}

.side-note {
  padding: 18px;
  background: linear-gradient(135deg, rgba(12, 36, 23, 0.88), rgba(23, 56, 39, 0.88));
  color: #fff;
}

.article-panel {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.article-panel p {
  margin-bottom: 1rem;
  line-height: 1.85;
}

.article-panel p:last-child {
  margin-bottom: 0;
}

.size-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.size-list li:last-child {
  border-bottom: 0;
}

.contact-panel {
  background: rgba(7, 18, 13, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 18px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1a1404;
  border: 0;
  font-weight: 700;
}

.btn-gold:hover {
  color: #1a1404;
}

.site-footer {
  background: linear-gradient(180deg, rgba(7, 18, 13, 0.82), rgba(3, 10, 7, 0.96));
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding: 40px 0 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.footer-brand span {
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
}

.site-footer p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1a1404;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.footer-links {
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a {
  color: inherit;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 8px 0 20px;
}

.site-footer small {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}

.footer-legal-link:hover {
  color: var(--gold-soft);
}

.promo-modal {
  background: linear-gradient(180deg, #102f20, #07120d);
  color: #fff;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  position: relative;
}

.promo-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.5);
  opacity: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.promo-modal-close:hover {
  background: rgba(212, 175, 55, 0.85);
  border-color: var(--gold);
}

.promo-image {
  display: block;
  padding: 0;
  min-height: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #0d3724, #206746 55%, #d4af37);
}

.promo-popup-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.promo-modal-footer {
  padding: 16px;
}

@media (max-width: 991.98px) {
  .promo-modal.modal-content {
    width: min(340px, calc(100vw - 32px));
    margin: 0 auto;
  }

  .promo-popup-image {
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .promo-modal-footer {
    padding: 12px;
  }
}

.mobile-menu .offcanvas-body {
  background: linear-gradient(180deg, #0d3422, #000);
}

.results-table-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.results-table {
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.82rem;
}

.results-table thead {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  color: #fff;
}

.results-table td,
.results-table th {
  padding: 10px 8px;
  vertical-align: middle;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  background: rgba(11, 47, 31, 0.1);
  color: var(--green-deep);
}

.badge-pulse {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1a1404;
}

.results-note {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.casino-card {
  height: 100%;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.casino-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1a1404;
  font-size: 1.3rem;
}

.casino-card h3 {
  font-weight: 800;
  margin-bottom: 8px;
}

.text-gold {
  color: var(--gold);
}

.featured-game-card {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(11, 47, 31, 0.9), rgba(20, 80, 52, 0.9));
  border: 2px solid rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow);
}

.featured-game-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.featured-game-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.featured-game-body {
  padding: 20px;
  color: #fff;
}

.featured-game-body h3 {
  font-weight: 800;
  margin-bottom: 12px;
}

.featured-game-body > p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.featured-highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.featured-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11, 47, 31, 0.92), rgba(20, 80, 52, 0.92));
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.featured-highlight:hover {
  border-color: rgba(212, 175, 55, 0.55);
  transform: translateY(-2px);
}

.featured-highlight-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1a1404;
}

.featured-highlight-title {
  margin: 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}

.featured-highlight-sub {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.featured-room-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 18px;
}

.featured-room-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.featured-room-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 4px 0;
}

.featured-room-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green {
  background: #3ddc84;
}

.dot-gold {
  background: var(--gold-soft);
}

.btn-featured-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 700;
  color: #1a1404;
  border: 1px solid #b78918;
  background: linear-gradient(135deg, #c69a43 0%, #f8ef9f 48%, #b78117 100%);
  box-shadow: 0 10px 24px rgba(137, 104, 21, 0.22);
}

.btn-featured-cta:hover {
  color: #1a1404;
  transform: translateY(-1px);
}

.game-subsection {
  margin-bottom: 32px;
}

.game-subsection-head {
  margin-bottom: 14px;
}

.subsection-title {
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.subsection-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.game-tile {
  height: 100%;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.game-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
}

.game-tile-media {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d3724, #206746 55%, #d4af37);
  font-size: 1.5rem;
  color: #fff;
}

.game-tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.game-tile-media.game-tile-square {
  aspect-ratio: 1 / 1;
}

.game-tile-body {
  padding: 12px;
}

.game-tile-body h4 {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.game-tile-body p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.btn-game {
  display: block;
  width: 100%;
  text-align: center;
  padding: 7px 8px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.8rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1a1404;
}

.btn-game:hover {
  color: #1a1404;
}

.feature-highlight-card {
  height: 100%;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.feature-highlight-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.feature-highlight-emoji {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
}

.feature-highlight-text {
  min-width: 0;
}

.feature-highlight-card h3 {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.feature-highlight-card p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

#features .feature-highlight-card {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

#features .feature-highlight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.45);
}

#features .section-heading,
#features .feature-highlight-card {
  animation: rise-in 0.7s ease-out both;
}

#features .col:nth-child(1) {
  --delay: 0.15s;
}

#features .col:nth-child(2) {
  --delay: 0.4s;
}

#features .col:nth-child(3) {
  --delay: 0.65s;
}

#features .col:nth-child(4) {
  --delay: 0.9s;
}

#features .feature-highlight-card {
  animation-delay: var(--delay, 0s);
}

.tube {
  height: 16px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(212, 175, 55, 0.35);
  overflow: hidden;
}

.tube-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.3) 0,
      rgba(255, 255, 255, 0.3) 12px,
      rgba(255, 255, 255, 0.05) 12px,
      rgba(255, 255, 255, 0.05) 24px
    ),
    linear-gradient(90deg, var(--gold), var(--gold-soft));
  background-size: 48px 100%, 100% 100%;
  background-position: 0 0, 0 0;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.6);
  animation:
    fill-up 1.8s cubic-bezier(0.22, 0.68, 0.16, 1) forwards,
    tube-flow 1s linear infinite;
  animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + 1.8s);
}

@keyframes fill-up {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes tube-flow {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 48px 0, 0 0;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(212, 175, 55, 0.4);
}

.contact-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.contact-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

.contact-card p a {
  color: inherit;
}

.contact-card p a:hover {
  color: var(--gold-soft);
}

.tag-pill-list {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 32, 24, 0.1);
}

.tag-pill {
  display: inline-flex;
  padding: 5px 12px;
  margin: 0 6px 6px 0;
  border-radius: 999px;
  background: rgba(11, 47, 31, 0.08);
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 600;
}

.referral-rate-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.referral-rate-item.referral-highlight {
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.12);
}

.referral-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(135deg, #0d3724, #206746 55%, #d4af37);
}

.referral-rate {
  margin-left: auto;
  font-weight: 800;
  color: var(--gold-soft);
}

.referral-banner-photo {
  aspect-ratio: 1000 / 417;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.referral-banner-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.vip-level-card {
  height: 100%;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.vip-level-card.vip-level-max {
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.12);
}

.vip-level-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.vip-level-badge {
  font-weight: 800;
  color: var(--gold-soft);
}

.vip-reward {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.rank-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.rank-showcase-body {
  color: rgba(255, 255, 255, 0.85);
}

.rank-showcase-media {
  aspect-ratio: 256 / 261;
  max-width: 220px;
  margin: 0 auto;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow);
}

.rank-showcase-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rank-title {
  font-weight: 800;
  color: var(--gold-soft);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.rank-credit {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  color: var(--gold-soft);
}

.notice-box {
  padding: 18px;
  border-radius: 16px;
  background: #fbf1d6;
  border-left: 4px solid var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.notice-box h3 {
  color: #8a6d1f;
  font-weight: 800;
}

/* Mobile-first base rules above target the smallest supported screen (320px). */
/* The queries below progressively enhance layout for larger viewports. */

@media (min-width: 360px) {
  .gold-button {
    width: auto;
    min-width: 48%;
    flex: 1 1 48%;
  }
}

@media (min-width: 576px) {
  .hero-logo {
    width: min(160px, 40vw);
  }

  .marquee-frame {
    height: 34px;
    border-width: 2px;
    margin-top: 16px;
  }

  .marquee-track {
    font-size: 0.84rem;
  }

  .results-table {
    font-size: 0.92rem;
  }

  .featured-highlight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .game-tile-body h4 {
    font-size: 1rem;
  }

  .game-tile-body p {
    font-size: 0.82rem;
  }

  .feature-highlight-emoji {
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
  }

  .feature-highlight-card h3 {
    font-size: 1rem;
  }

  .feature-highlight-card p {
    font-size: 0.85rem;
  }
}

@media (min-width: 768px) {
  .hero-block {
    padding: 42px 0 28px;
  }

  .hero-logo {
    width: min(180px, 42vw);
  }

  .marquee-frame {
    height: 42px;
    border-width: 3px;
    margin-top: 18px;
    padding: 0 10px;
  }

  .marquee-track {
    font-size: 1rem;
  }

  .button-row {
    gap: 10px;
  }

  .gold-button {
    width: auto;
    min-width: 172px;
    flex: 0 1 auto;
    padding: 13px 20px;
    font-size: 1rem;
  }

  .content-section {
    padding: 54px 0;
  }

  .service-card,
  .casino-card {
    padding: 24px;
  }

  .feature-highlight-card {
    padding: 20px;
  }

  .feature-highlight-emoji {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .tube {
    height: 20px;
  }

  .feature-copy,
  .feature-image {
    padding: 24px;
    border-radius: 24px;
  }

  .feature-image {
    min-height: 260px;
  }

  .side-note,
  .article-panel,
  .contact-panel {
    padding: 28px;
  }

  .article-panel,
  .side-note {
    border-radius: 24px;
  }

  .results-table td,
  .results-table th {
    padding: 14px 12px;
  }

  .featured-game-body {
    padding: 28px;
  }

  .game-subsection {
    margin-bottom: 40px;
  }

  .game-tile-body {
    padding: 16px;
  }

  .btn-game {
    font-size: 0.85rem;
    padding: 8px 10px;
  }
}

@media (min-width: 992px) {
  .carousel-shell {
    position: relative;
    left: calc(50% + 8px);
    width: calc(100vw - 50px);
    margin-left: calc((50px - 100vw) / 2);
    margin-right: 0;
  }

  .feature-grid {
    grid-template-columns: 1.1fr 1fr;
  }

  .featured-game-photo {
    aspect-ratio: auto;
    height: 100%;
    min-height: 420px;
  }

  .site-main {
    margin-left: 50px;
    overflow-x: clip;
  }

  .sidebar-desktop {
    display: flex;
  }

  .mobile-bottom-nav {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  .content-section {
    padding: 70px 0;
  }

  .hero-logo {
    width: min(210px, 45vw);
  }

  .mini-image {
    min-height: 210px;
  }

  .rank-showcase {
    grid-template-columns: 220px 1fr;
    text-align: left;
  }

  .rank-showcase-media {
    margin: 0;
  }

  body {
    background-attachment: fixed;
  }
}

.faq-accordion {
  --bs-accordion-border-color: rgba(11, 47, 31, 0.12);
  --bs-accordion-border-radius: 16px;
  --bs-accordion-inner-border-radius: 15px;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.35);
  --bs-accordion-active-bg: var(--green-deep);
  --bs-accordion-active-color: var(--gold-soft);
  box-shadow: var(--shadow);
  border-radius: 16px;
  overflow: hidden;
}

.faq-accordion .accordion-item {
  background: rgba(255, 255, 255, 0.96);
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--green-deep);
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--gold-soft);
  box-shadow: none;
}

.faq-accordion .accordion-body {
  color: var(--ink);
  line-height: 1.85;
}

/* ใช้ร่วมกันโดยหน้านโยบาย/ข้อกำหนด (privacy.html, terms.html) */
.legal-header {
  background: linear-gradient(180deg, #0a2a1b 0%, #061a11 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.legal-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.legal-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.legal-back-btn {
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease;
}

.legal-back-btn:hover {
  background: rgba(212, 175, 55, 0.25);
}

.legal-updated {
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 18px;
}

.article-panel h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 1.6rem 0 0.7rem;
}

.article-panel h2:first-child {
  margin-top: 0;
}

.article-panel h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--green-mid);
  margin: 1.1rem 0 0.5rem;
}

.article-panel ul.size-list,
.article-panel ol.size-list {
  margin-bottom: 1rem;
  padding-left: 1.1rem;
}

.article-panel ol.size-list li {
  padding-left: 0.3rem;
}

/* จองพื้นที่ไอคอนไว้ล่วงหน้า เพราะ Font Awesome ถูกโหลดแบบ non-blocking */
.fa-solid,
.fa-regular,
.fa-brands {
  display: inline-block;
  min-width: 1em;
  min-height: 1em;
}

/* ลูกศรขาวล้วนของ Bootstrap คอนทราสต์ไม่พอบนภาพสไลด์สีสด */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.7rem;
  border-radius: 50%;
  background-color: rgba(11, 47, 31, 0.75);
  background-size: 1.2rem 1.2rem;
  border: 1px solid rgba(212, 175, 55, 0.6);
}

.carousel-control-prev,
.carousel-control-next {
  width: 12%;
  opacity: 0.85;
}

@media (max-width: 991.98px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 48px;
    opacity: 1;
  }
}

/* marquee ถูกยกเว้นไว้ตามที่ผู้ใช้ระบุ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  #features .section-heading,
  #features .feature-highlight-card {
    animation: none;
  }

  /* tube-fill เริ่มที่ width:0 จึงต้องเติมเต็มแทนการเล่นอนิเมชัน */
  .tube-fill {
    animation: none;
    width: 100%;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

