.public-home {
  --home-bg: #003826;
  --home-surface: #00432d;
  --home-surface-raised: #005236;
  --home-border: rgba(190, 205, 194, 0.12);
  --home-text: #e8eee9;
  --home-muted: #a0aaa3;
  --home-green: #00f000;
  --home-green-bright: #00f000;
  --home-green-soft: rgba(0, 240, 0, 0.12);
  --home-gold: #fcc804;
  --home-radius: 10px;
  --home-shadow: none;
  color: var(--home-text);
  background: var(--home-bg);
}

.public-home #wrapper {
  min-height: 100vh;
  overflow: hidden;
}

.public-home #wrapper .bg-custom {
  background: transparent;
}

.public-home a {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.public-home a:focus-visible,
.public-home button:focus-visible,
.public-home input:focus-visible {
  outline: 2px solid var(--home-green-bright);
  outline-offset: 3px;
}

.public-home .mcp-top-header > header {
  background: #003826;
  border-bottom: 1px solid var(--home-border);
}

.public-home .mcp-top-header > header .container,
.public-home section.site-header .container {
  max-width: 1320px;
}

.public-home .mcp-top-header > header .row {
  align-items: center;
}

.public-home .topbrandimgmobile,
.public-home .topbtandimgdesktop {
  width: auto;
  object-fit: contain;
  animation: none;
}

.public-home .topbrandimgmobile {
  max-height: 46px;
}

.public-home .topbtandimgdesktop {
  max-height: 58px;
}

.public-home .mcp-top-header > header marquee {
  color: var(--home-muted);
  font-size: 0.76rem !important;
}

.public-home .mcp-top-header > header .form-control {
  min-height: 38px;
  width: 145px;
  border: 1px solid var(--home-border);
  border-radius: 6px;
  color: var(--home-text) !important;
  background: var(--home-surface);
  font-size: 0.78rem;
}

.public-home .mcp-top-header > header .form-control:focus {
  border-color: var(--home-green);
  background: var(--home-surface-raised);
  box-shadow: 0 0 0 3px var(--home-green-soft);
}

.public-home .mcp-top-header > header form .btn,
.public-home .mcp-top-header > header > .container .btn {
  border-radius: 6px;
  font-weight: 650;
}

.public-home section.site-header {
  height: auto !important;
  min-height: 0;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--home-border);
  background: #101713;
}

.public-home section.site-header .navbar {
  margin-top: 0 !important;
  padding: 0.2rem 0;
}

.public-home section.site-header ul.navbar-nav li.nav-item {
  flex: 1 1 0;
  width: auto !important;
  min-width: 0;
}

.public-home section.site-header ul.navbar-nav li.nav-item a.nav-link {
  display: flex;
  min-height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.35rem 0.25rem;
  border-radius: 6px;
  color: var(--home-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.15;
}

.public-home section.site-header ul.navbar-nav li.nav-item a.nav-link:hover {
  color: #d5e2d8;
  background: var(--home-green-soft);
}

.public-home .gamelistmenudesktop {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.public-home .main-content .owl-carousel .item {
  padding: 0.35rem 0.2rem;
}

.public-home .main-content .owl-carousel .nav-link {
  min-width: 62px;
  padding: 0.4rem 0.25rem;
  border-radius: 6px;
  color: var(--home-muted);
  font-size: 0.68rem !important;
  font-weight: 700;
}

.public-home .main-content .owl-carousel .nav-link:hover {
  color: #d5e2d8;
  background: var(--home-green-soft);
}

.public-home .gamelistmenumobile {
  display: block !important;
  width: 30px;
  height: 30px;
  margin: 0 auto 0.2rem;
  object-fit: contain;
}

.public-home .notificationtext {
  min-height: 36px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--home-border);
  color: var(--home-muted);
  background: var(--home-surface) !important;
}

.public-home .notificationtext > .container {
  width: 100%;
}

.public-home .notificationtext .fa-bullhorn {
  color: var(--home-gold);
}

.public-home .notificationmarquee {
  color: var(--home-muted);
}

.public-home .containerslide {
  max-width: 1320px;
  margin: 1rem auto 1.3rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  background: var(--home-surface);
  box-shadow: var(--home-shadow);
}

.public-home .containerslide .carousel-inner,
.public-home .containerslide .carousel-item {
  border-radius: inherit;
}

.public-home .containerslide .carousel-item img {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border-radius: inherit !important;
}

.public-home #wrapper > .bg-custom.d-none.d-sm-block > .container,
.public-home #wrapper > .bg-custom.d-block.d-sm-none > .container {
  max-width: 1320px;
}

.public-home #wrapper > .bg-custom.d-none.d-sm-block > .container > .row,
.public-home #wrapper > .bg-custom.d-block.d-sm-none > .container > .row {
  row-gap: 0.8rem;
}

.public-home .progressive-jackpot {
  margin-bottom: 0.75rem;
}

.public-home .jackpot-wrapper {
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  background: var(--home-surface);
  box-shadow: var(--home-shadow);
}

.public-home .jackpot-wrapper > img {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: inherit;
}

.public-home .type-container {
  width: 100%;
  margin-bottom: 0.8rem;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid var(--home-border) !important;
  border-radius: var(--home-radius);
  background: var(--home-surface) !important;
  box-shadow: var(--home-shadow);
}

.public-home .type-container > legend {
  max-width: 100%;
  padding: 0 0.65rem;
  border: 0;
  border-radius: 0;
  color: var(--home-text);
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
}

.public-home .type-container legend h1,
.public-home .type-container legend h2,
.public-home .type-container legend h3,
.public-home .type-container legend h4 {
  margin: 0;
  color: var(--home-text);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 650;
}

.public-home .type-container legend a {
  color: inherit;
  text-decoration: none;
}

.public-home .type-container legend a:hover {
  color: #b7c9bc;
}

.public-home .togelheader {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--home-border) !important;
  border-radius: 7px !important;
  color: var(--home-muted);
  background: #151d18 !important;
}

.public-home .togelheader .card-body {
  padding: 0.8rem !important;
}

.public-home .togelheader .h1 {
  color: #83b194 !important;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 750;
  letter-spacing: 0.035em;
}

.public-home .togelheader .card-footer {
  border-top: 1px solid var(--home-border);
  color: var(--home-muted);
  background: #121914;
  font-size: 0.76rem;
}

.public-home .type-container .table {
  margin-bottom: 0.85rem;
  color: var(--home-text);
  border-collapse: separate;
  border-spacing: 0;
}

.public-home .type-container .table th,
.public-home .type-container .table td {
  padding: 0.65rem 0.55rem;
  border-color: var(--home-border) !important;
  vertical-align: middle;
}

.public-home .type-container .table thead th {
  color: var(--home-muted) !important;
  font-size: 0.7rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.public-home .type-container .table tbody tr:last-child td {
  border-bottom: 0;
}

.public-home .lastgameplay {
  height: auto;
  min-height: 0;
  padding: 0.2rem 0 0.7rem;
  overflow-x: auto;
  scrollbar-color: var(--home-green) transparent;
  scrollbar-width: thin;
}

.public-home .navlastgameplay {
  width: max-content;
  height: auto;
  gap: 0.5rem;
}

.public-home .navitemlastgameplay {
  width: 136px;
  padding: 0.25rem;
}

.public-home .imgnavitemlastgameplay {
  display: block;
  width: 100%;
  height: 90px;
  border: 1px solid var(--home-border);
  border-radius: 7px;
  object-fit: cover;
}

.public-home .game-item {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 0.3rem;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  background: #141b16;
  transition: border-color 160ms ease;
}

.public-home .game-item:hover {
  border-color: rgba(114, 169, 135, 0.5);
}

.public-home .game-item > img.gamertpimg,
.public-home .game-item > img.gamenormalimg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1.4;
  border-radius: 6px;
  object-fit: cover;
}

.public-home .game-item p,
.public-home .game-item small {
  color: var(--home-text);
  font-size: 0.78rem;
  font-weight: 600;
}

.public-home .gamertpimgtitle {
  height: 22px;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.1);
}

.public-home .gamertpimgtitle .progress-bar {
  background-color: #527d60 !important;
  font-size: 0.7rem;
  font-weight: 700;
}

.public-home .game-btn .btn-beginplay,
.public-home .game-btn .btn-freeplay {
  min-width: 60px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  color: var(--home-text);
  background: rgba(9, 21, 15, 0.95);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.public-home .game-btn .btn-freeplay {
  border-color: var(--home-green);
  background: #00f000;
  color: #003826;
}

.public-home .menuprovider {
  margin: 0.2rem;
  transition: background-color 160ms ease;
}

.public-home .menuprovider:hover {
  box-shadow: none;
  background: var(--home-green-soft);
}

.public-home .menuprovider small {
  display: block;
  margin-top: 0.3rem;
  color: var(--home-muted);
}

.public-home #wrapper .btn {
  border-radius: 6px;
  font-weight: 650;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.public-home #wrapper .btn:hover {
  transform: none;
}

.public-home #wrapper .btn-primary {
  border-color: var(--home-green);
  background: #00f000;
  color: #003826;
}

.public-home #wrapper .btn-primary:hover {
  border-color: #00f000;
  color: #003826;
  background: #00f000;
  box-shadow: none;
}

.public-home #wrapper .btn-success {
  border-color: #00f000;
  background: #00f000;
  color: #003826;
}

.public-home #wrapper .btn-success:hover {
  border-color: #00f000;
  background: #00f000;
  color: #003826;
}

.public-home #wrapper .form-control {
  min-height: 42px;
  border: 1px solid var(--home-border);
  border-radius: 6px;
  color: var(--home-text) !important;
  background-color: var(--home-surface);
}

.public-home #wrapper .form-control::placeholder {
  color: #8ca295;
}

.public-home #wrapper .form-control:focus {
  border-color: #6a9475;
  box-shadow: 0 0 0 2px var(--home-green-soft);
}

.public-home #wrapper > .bg-custom.pb-4 {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--home-border);
  background: var(--home-surface) !important;
}

.public-home #wrapper > .bg-custom.pb-4 .row {
  row-gap: 1.3rem;
}

.public-home #wrapper > .bg-custom.pb-4 h2,
.public-home #wrapper > .bg-custom.pb-4 h3,
.public-home #wrapper > .bg-custom.pb-4 h4 {
  color: var(--home-text);
}

.public-home #wrapper > .bg-custom.pb-4 a {
  color: var(--home-muted);
}

.public-home #wrapper > .bg-custom.pb-4 a:hover {
  color: var(--home-green-bright);
}

.public-home #wrapper > .bg-custom.pb-4 img {
  max-width: 100%;
  height: auto;
}

.public-home .footercontentdesktop[style] {
  padding-top: 0.45rem !important;
  padding-bottom: calc(0.45rem + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid var(--home-border);
  border-radius: 10px 10px 0 0;
  background-color: #101713 !important;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.2);
}

.public-home .footercontentdesktop a {
  display: inline-flex;
  min-width: 48px;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--home-muted) !important;
  font-size: 0.68rem;
  text-decoration: none;
}

.public-home .footercontentdesktop a:hover {
  color: #d5e2d8 !important;
}

.public-home .footercontenttext {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(114, 169, 135, 0.18);
  border-radius: 8px;
  color: #9ab4a0;
  background: #18221b;
  font-size: 1rem;
}

@media (min-width: 576px) {
  .public-home .containerslide {
    margin-right: auto;
    margin-left: auto;
  }

  .public-home #wrapper > .bg-custom.d-none.d-sm-block > .container > .row {
    row-gap: 1.1rem;
  }

  .public-home .progressive-jackpot img {
    max-height: 260px;
    object-fit: contain;
  }

  .public-home .game-item > img.gamertpimg,
  .public-home .game-item > img.gamenormalimg {
    max-height: 190px;
  }
}

@media (max-width: 575.98px) {
  .public-home {
    padding-bottom: 78px !important;
    font-size: 0.94rem;
  }

  .public-home .mcp-top-header > header .container {
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
  }

  .public-home .topbrandimgmobile {
    max-height: 42px;
  }

  .public-home section.site-header {
    padding: 0.1rem 0;
  }

  .public-home .containerslide {
    width: calc(100% - 1.3rem);
    margin: 0.75rem 0.65rem 1rem;
  }

  .public-home #wrapper > .bg-custom.d-block.d-sm-none > .container:first-child {
    padding-top: 0.5rem;
  }

  .public-home #wrapper > .bg-custom.d-block.d-sm-none > .container:first-child form {
    padding: 0.8rem;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: var(--home-surface);
    box-shadow: none;
  }

  .public-home #wrapper > .bg-custom.d-block.d-sm-none > .container:first-child form .form-group {
    margin: 0 0 0.55rem !important;
  }

  .public-home #wrapper > .bg-custom.d-block.d-sm-none > .container:first-child form .row {
    margin: 0 !important;
  }

  .public-home #wrapper > .bg-custom.d-block.d-sm-none > .container:first-child form .row > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 0.2rem;
  }

  .public-home #wrapper > .bg-custom.d-block.d-sm-none > .container:first-child form .btn {
    min-height: 40px;
    margin: 0;
  }

  .public-home .jackpot-wrapper {
    border-radius: 7px;
  }

  .public-home #counter1 {
    max-width: 100%;
    font-size: clamp(20px, 7vw, 32px);
    letter-spacing: 0.04em;
  }

  .public-home .type-container {
    padding: 12px;
    border-radius: 8px;
  }

  .public-home .type-container .row {
    margin-right: -5px;
    margin-left: -5px;
  }

  .public-home .type-container .row > [class*="col-"] {
    padding-right: 5px;
    padding-left: 5px;
  }

  .public-home .type-container .table th,
  .public-home .type-container .table td {
    padding: 0.55rem 0.35rem;
    font-size: 0.76rem;
  }

  .public-home .type-container .table thead th {
    font-size: 0.65rem;
  }

  .public-home .togelheader .card-body {
    padding: 0.6rem 0.35rem !important;
    font-size: 0.76rem;
  }

  .public-home .togelheader .card-footer {
    padding: 0.42rem 0.2rem !important;
    font-size: 0.67rem;
  }

  .public-home .game-item {
    padding: 0.22rem;
    border-radius: 7px;
  }

  .public-home .game-item p,
  .public-home .game-item small {
    font-size: 0.69rem;
    line-height: 1.3;
  }

  .public-home .game-btn-sm {
    top: auto;
    bottom: 0;
    height: auto;
    min-height: 42px;
    padding: 1.2rem 0.2rem 0.3rem;
    border-radius: 0 0 9px 9px;
    opacity: 1;
    background: linear-gradient(transparent, rgba(5, 12, 8, 0.88));
  }

  .public-home .game-btn-sm .btn-beginplay,
  .public-home .game-btn-sm .btn-freeplay {
    width: auto;
    min-width: 48px;
    height: 25px;
    margin-top: 0;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    color: var(--home-text);
    background: rgba(11, 25, 17, 0.95);
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
  }

  .public-home .game-btn-sm .btn-freeplay {
    border-color: var(--home-green);
    background: #00f000;
    color: #003826;
  }

  .public-home .dailydropwin {
    top: 6px;
    left: 6px;
    width: 30px;
    height: 30px;
  }

  .public-home #wrapper > .bg-custom.pb-4 {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .public-home .footerfixedcontent {
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-home *,
  .public-home *::before,
  .public-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
