body.template-modern-dark {
  background: #07111f;
  color: #e8f1ff;
}

body.template-modern-dark .mcp-top-header {
  display: block;
}

body.template-modern-dark #wrapper {
  background: #07111f;
}

body.template-modern-dark .mcp-top-header > header.d-none.d-sm-block {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 17, 31, 0.96);
  border-bottom: 1px solid rgba(123, 178, 255, 0.2);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

body.template-modern-dark .mcp-top-header > header.d-none.d-sm-block > .container {
  max-width: 1240px;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

body.template-modern-dark .mcp-top-header > header.d-none.d-sm-block > .container > .row {
  align-items: center;
}

body.template-modern-dark .mcp-top-header > header.d-none.d-sm-block .col-sm-3 {
  width: 25%;
  padding: 0 24px 0 0;
}

body.template-modern-dark .mcp-top-header > header.d-none.d-sm-block .col-sm-9 {
  width: 75%;
  padding: 0;
}

body.template-modern-dark .mcp-top-header .topbtandimgdesktop {
  max-height: 54px;
  width: auto;
  object-fit: contain;
}

body.template-modern-dark .mcp-top-header .col-sm-9 > .row > .col-12:first-child {
  padding: 0 0 8px !important;
}

body.template-modern-dark .mcp-top-header marquee {
  display: block;
  padding: 5px 12px;
  color: #9dc5f2;
  background: #0b1d32;
  border: 1px solid rgba(123, 178, 255, 0.16);
  border-radius: 8px;
  font-size: 12px;
}

body.template-modern-dark .mcp-top-header .dropdownoptiontop,
body.template-modern-dark .mcp-top-header .dropdownoptiontopbalance {
  background: #102b49;
  border: 1px solid rgba(123, 178, 255, 0.22);
  border-radius: 8px;
  color: #f5f9ff;
  padding: 7px 12px;
}

body.template-modern-dark .mcp-top-header .dropdownoptiontop:hover,
body.template-modern-dark .mcp-top-header .dropdownoptiontopbalance:hover {
  background: var(--color-hover, #0054bf);
}

body.template-modern-dark .mcp-top-header > header.d-block.d-sm-none {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #07111f;
  border-bottom: 1px solid rgba(123, 178, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

body.template-modern-dark .mcp-top-header > header.d-block.d-sm-none .container {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

body.template-modern-dark .mcp-top-header .topbrandimgmobile {
  max-height: 42px;
  width: auto;
}

body.template-modern-dark #carouselExampleIndicators {
  max-width: 1240px;
  margin: 18px auto 0;
  padding: 0 12px;
}

body.template-modern-dark #carouselExampleIndicators .carousel-inner {
  border: 1px solid rgba(123, 178, 255, 0.2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

body.template-modern-dark #carouselExampleIndicators .carousel-item img {
  min-height: 300px;
  max-height: 520px;
  object-fit: cover;
}

body.template-modern-dark #wrapper > .bg-custom.d-none.d-sm-block {
  background: transparent !important;
  padding-top: 28px !important;
}

body.template-modern-dark #wrapper > .bg-custom.d-none.d-sm-block > .container > .row {
  display: block;
}

body.template-modern-dark #wrapper > .bg-custom.d-none.d-sm-block > .container > .row > .col-md-2:first-child,
body.template-modern-dark #wrapper > .bg-custom.d-none.d-sm-block > .container > .row > .col-md-2:nth-child(3) {
  display: none;
}

body.template-modern-dark #wrapper > .bg-custom.d-none.d-sm-block > .container > .row > .col-md-8 {
  display: block;
  width: 100%;
  padding: 22px !important;
  background: linear-gradient(135deg, #0d2945, #0b1728);
  border: 1px solid rgba(123, 178, 255, 0.22);
  border-radius: 20px;
}

body.template-modern-dark #wrapper > .bg-custom.d-none.d-sm-block > .container > .row > .col-md-12 {
  display: block;
  width: 100%;
  padding: 24px !important;
  background: #0a182a;
  border: 1px solid rgba(123, 178, 255, 0.14);
  border-radius: 20px;
}

body.template-modern-dark #wrapper > .bg-custom.d-none.d-sm-block h3,
body.template-modern-dark #wrapper > .bg-custom.d-none.d-sm-block h2 {
  text-align: left !important;
  letter-spacing: 0.01em;
}

body.template-modern-dark #wrapper > .bg-custom.d-none.d-sm-block .row > [class*="col-"] {
  transition: transform 0.2s ease;
}

body.template-modern-dark #wrapper > .bg-custom.d-none.d-sm-block .row > [class*="col-"]:hover {
  transform: translateY(-3px);
}

body.template-modern-dark .gamenormalimg,
body.template-modern-dark .gamertpimg,
body.template-modern-dark .imgnormalmobilelayout {
  border: 1px solid rgba(123, 178, 255, 0.18);
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

body.template-modern-dark .lastgames,
body.template-modern-dark .lastgameplay {
  overflow-x: auto;
  padding-bottom: 8px;
}

body.template-modern-dark .lastgamenav,
body.template-modern-dark .navlastgameplay {
  flex-wrap: nowrap;
  width: max-content;
}

body.template-modern-dark .lastgameitem,
body.template-modern-dark .navitemlastgameplay {
  margin-right: 10px;
}

body.template-modern-dark .lastgameimg,
body.template-modern-dark .imgnavitemlastgameplay {
  border-radius: 14px;
  border: 1px solid rgba(123, 178, 255, 0.2);
}

body.template-modern-dark .container {
  max-width: 1240px;
}

body.template-modern-dark .card,
body.template-modern-dark .bg-custom,
body.template-modern-dark .game .card,
body.template-modern-dark .togelheader {
  background: #0c1b2e !important;
  color: #e8f1ff;
  border: 1px solid rgba(123, 178, 255, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

body.template-modern-dark .card-header,
body.template-modern-dark .card-footer {
  background: #10253d !important;
  border-color: rgba(123, 178, 255, 0.14);
}

body.template-modern-dark h1,
body.template-modern-dark h2,
body.template-modern-dark h3,
body.template-modern-dark h4,
body.template-modern-dark h5,
body.template-modern-dark h6 {
  color: #f5f9ff;
}

body.template-modern-dark .btn-primary,
body.template-modern-dark .bg-primary {
  background-color: var(--color-primary, #006eff) !important;
  border-color: var(--color-primary, #006eff) !important;
}

body.template-modern-dark .btn-primary:hover,
body.template-modern-dark .btn-primary:focus {
  background-color: var(--color-hover, #0054bf) !important;
  border-color: var(--color-hover, #0054bf) !important;
}

body.template-modern-dark .form-control,
body.template-modern-dark .custom-select {
  background: #081626;
  color: #f5f9ff;
  border-color: rgba(123, 178, 255, 0.24);
}

body.template-modern-dark .form-control:focus,
body.template-modern-dark .custom-select:focus {
  background: #0b1d32;
  color: #fff;
  border-color: var(--color-primary, #006eff);
  box-shadow: 0 0 0 0.2rem rgba(0, 110, 255, 0.2);
}

body.template-modern-dark .table {
  color: #e8f1ff;
}

body.template-modern-dark .table td,
body.template-modern-dark .table th {
  border-color: rgba(123, 178, 255, 0.12);
}

body.template-modern-dark .carouselborder {
  border-radius: 0 0 18px 18px;
}

body.template-modern-dark .styleimgprovider,
body.template-modern-dark .gameimg,
body.template-modern-dark .lastgameimg {
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

body.template-modern-dark .nav-link,
body.template-modern-dark a {
  color: #a9c8ed;
}

body.template-modern-dark .nav-link:hover,
body.template-modern-dark a:hover {
  color: #ffffff;
}

body.template-modern-dark .progressive-jackpot {
  background: linear-gradient(135deg, #102b49, #0b1728) !important;
  border: 1px solid rgba(123, 178, 255, 0.2);
  border-radius: 16px;
}

body.template-modern-dark .modal-content,
body.template-modern-dark .dropdown-menu {
  background: #0c1b2e;
  color: #e8f1ff;
  border-color: rgba(123, 178, 255, 0.18);
}

body.template-modern-dark .modal-header,
body.template-modern-dark .modal-footer {
  border-color: rgba(123, 178, 255, 0.14);
}

@media (max-width: 576px) {
  body.template-modern-dark .card,
  body.template-modern-dark .game .card {
    border-radius: 12px;
  }

  body.template-modern-dark .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.template-modern-dark #carouselExampleIndicators {
    margin-top: 8px;
    padding: 0 8px;
  }

  body.template-modern-dark #carouselExampleIndicators .carousel-inner {
    border-radius: 16px;
  }

  body.template-modern-dark #carouselExampleIndicators .carousel-item img {
    min-height: 180px;
  }

  body.template-modern-dark #wrapper > .bg-custom.d-block.d-sm-none {
    background: transparent !important;
  }

  body.template-modern-dark .mcp-top-header > header.d-block.d-sm-none .col-9 {
    display: flex;
    align-items: center;
  }
}
