:root {
  --mpo-blue: #0860d5;
  --mpo-blue-2: #2b4eb4;
  --mpo-blue-3: #4d8de3;
  --mpo-blue-4: #001a69;
  --mpo-navy: #061222;
  --mpo-navy-2: #020712;
  --mpo-cyan: #00ffdc;
  --mpo-cyan-soft: rgba(0, 255, 220, .16);
  --mpo-gold: #d8b75a;
  --mpo-gold-soft: rgba(216, 183, 90, .16);
  --mpo-red: #f12f45;
  --mpo-text: #f5f8ff;
  --mpo-muted: #aebde7;
  --mpo-glass: rgba(7, 18, 44, .76);
  --mpo-glass-2: rgba(4, 10, 27, .90);
  --mpo-line: rgba(77, 141, 227, .34);
  --mpo-line-strong: rgba(0, 255, 220, .42);

  --header-color: linear-gradient(180deg, #0a65de 0%, #061222 100%) !important;
  --navbar-color: linear-gradient(180deg, #4d8de3 0%, #183c99 100%) !important;
  --primary-color: linear-gradient(180deg, #0a65de 0%, #061222 100%) !important;
  --secondary-color: linear-gradient(180deg, #4d8de3 0%, #2b4eb4 100%) !important;
  --background-page: linear-gradient(180deg, #081d4a 0%, #020712 100%) !important;
}

@keyframes mpoAurora {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .72; }
  50% { transform: translate3d(-2%, 1%, 0) scale(1.05); opacity: 1; }
}

@keyframes mpoLineRun {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

@keyframes mpoShine {
  0% { transform: translateX(-130%) skewX(-18deg); }
  100% { transform: translateX(260%) skewX(-18deg); }
}

@keyframes mpoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes mpoGlow {
  0%, 100% { box-shadow: 0 0 22px rgba(8, 96, 213, .24), 0 18px 46px rgba(0, 0, 0, .45); }
  50% { box-shadow: 0 0 38px rgba(0, 255, 220, .24), 0 22px 58px rgba(0, 0, 0, .58); }
}

@keyframes mpoScan {
  0% { transform: translateY(-120%); opacity: 0; }
  20% { opacity: .34; }
  100% { transform: translateY(120%); opacity: 0; }
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  margin: 0 auto !important;
  color: var(--mpo-text) !important;
  font-family: "Chakra Petch", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(8, 96, 213, .38), transparent 30rem),
    radial-gradient(circle at 88% 10%, rgba(0, 255, 220, .18), transparent 24rem),
    linear-gradient(180deg, #071d4a 0%, var(--mpo-navy) 42%, var(--mpo-navy-2) 100%) !important;
  box-shadow: 0 0 70px rgba(0, 255, 220, .34), 0 0 0 1px rgba(77, 141, 227, .18) !important;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(rgba(77, 141, 227, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 220, .035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .14));
}

body::after {
  background:
    radial-gradient(circle at 18% 16%, rgba(8, 96, 213, .28), transparent 24rem),
    radial-gradient(circle at 82% 12%, rgba(0, 255, 220, .12), transparent 22rem),
    linear-gradient(transparent 0 52%, rgba(255, 255, 255, .025) 52% 53%, transparent 53% 100%);
  background-size: 100% 100%, 100% 100%, 100% 4px;
  animation: mpoAurora 9s ease-in-out infinite;
}

a,
a:hover {
  color: inherit;
  text-decoration: none !important;
}

.container {
  max-width: 1080px !important;
}

.header {
  position: relative;
  overflow: hidden;
  margin-top: 14px !important;
  border: 1px solid var(--mpo-line);
  border-bottom: 0;
  border-radius: 18px 18px 0 0 !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(77, 141, 227, .34), transparent 26rem),
    linear-gradient(180deg, rgba(9, 32, 86, .96), rgba(4, 10, 27, .96)) !important;
  box-shadow: 0 20px 52px rgba(0, 0, 0, .48), 0 0 34px rgba(8, 96, 213, .25);
  backdrop-filter: blur(16px);
}

.header::after,
.header-nav::after,
.home__slider::after,
.home__menu .menu-container::after,
.provider-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mpo-blue), var(--mpo-cyan), var(--mpo-gold), transparent);
  background-size: 220% 100%;
  box-shadow: 0 0 18px rgba(0, 255, 220, .58);
  animation: mpoLineRun 4.8s linear infinite;
}

.header__top {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(77, 141, 227, .22);
  background: rgba(2, 7, 18, .36) !important;
}

.header-time,
.header-marquee,
.header-icons,
.header-flag {
  color: var(--mpo-text) !important;
}

.header-time {
  color: var(--mpo-muted) !important;
  font-size: 12px;
  letter-spacing: .35px;
}

.header-marquee {
  width: 100%;
  min-height: 36px;
  display: flex !important;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0, 255, 220, .16);
  border-radius: 999px;
  padding: 0 12px;
  background: linear-gradient(90deg, rgba(8, 96, 213, .22), rgba(0, 255, 220, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.header-marquee i {
  color: var(--mpo-gold);
  text-shadow: 0 0 12px rgba(216, 183, 90, .45);
}

.header-icons {
  justify-content: flex-end;
  gap: 12px;
}

.header-icons i,
.header-flag {
  transition: color .18s ease, transform .18s ease;
}

.header-icons i:hover,
.header-flag:hover {
  color: var(--mpo-cyan) !important;
  transform: translateY(-1px);
}

.flag-dropdown {
  border: 1px solid var(--mpo-line) !important;
  border-radius: 12px !important;
  background: rgba(4, 10, 27, .96) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .48), 0 0 24px rgba(8, 96, 213, .18);
  overflow: hidden;
}

.flag-item:hover {
  background: rgba(77, 141, 227, .14) !important;
}

.header__mid {
  position: relative;
  z-index: 1;
  padding: 14px 0 !important;
  background:
    linear-gradient(180deg, rgba(8, 96, 213, .22), rgba(2, 7, 18, .12)) !important;
}

.header-logo img {
  width: auto;
  max-width: 250px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(0, 255, 220, .35));
  animation: mpoFloat 4s ease-in-out infinite;
}

.header-form .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 92px 100px;
  gap: 10px;
  align-items: center;
  margin: 0 !important;
}

.header-form input,
.modal-body-form input,
.form-item input {
  height: 42px !important;
  border: 1px solid rgba(77, 141, 227, .36) !important;
  border-radius: 12px !important;
  background: rgba(2, 7, 18, .62) !important;
  color: var(--mpo-text) !important;
  padding: 0 14px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 18px rgba(8, 96, 213, .10);
  outline: 0 !important;
}

.header-form input::placeholder,
.modal-body-form input::placeholder,
.form-item input::placeholder {
  color: rgba(245, 248, 255, .55) !important;
}

.header-form input:focus,
.modal-body-form input:focus,
.form-item input:focus {
  border-color: var(--mpo-cyan) !important;
  box-shadow: 0 0 0 3px rgba(0, 255, 220, .12), 0 0 22px rgba(8, 96, 213, .22) !important;
}

.btn-masuk,
.btn-daftar,
.button-login,
.download-item a,
.provider-link,
.footer-mobile .footer-login {
  position: relative;
  overflow: hidden;
}

.btn-masuk::before,
.btn-daftar::before,
.button-login::before,
.download-item a::before,
.provider-link::before {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: 0;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  transform: translateX(-130%) skewX(-18deg);
}

.btn-masuk:hover::before,
.btn-daftar:hover::before,
.button-login:hover::before,
.download-item a:hover::before,
.provider-link:hover::before {
  animation: mpoShine .8s ease;
}

.btn-masuk,
.button-login {
  height: 42px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-weight: 900 !important;
  letter-spacing: .35px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #0534b5 0%, var(--mpo-blue) 52%, #4d8de3 100%) !important;
  box-shadow: 0 10px 24px rgba(8, 96, 213, .35), inset 0 1px 0 rgba(255, 255, 255, .24) !important;
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.btn-daftar {
  height: 42px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 12px !important;
  color: #09101e !important;
  font-weight: 950 !important;
  letter-spacing: .35px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff0a6 0%, var(--mpo-gold) 48%, #b88425 100%) !important;
  box-shadow: 0 10px 24px rgba(216, 183, 90, .26), inset 0 1px 0 rgba(255, 255, 255, .48) !important;
  transition: transform .16s ease, filter .16s ease;
}

.btn-masuk:hover,
.btn-daftar:hover,
.button-login:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.header-forgot a {
  display: inline-block;
  margin-top: 8px;
  color: var(--mpo-muted) !important;
  font-size: 12px;
}

.header-forgot a:hover {
  color: var(--mpo-cyan) !important;
}

.header-nav {
  z-index: 50 !important;
  border: 1px solid var(--mpo-line);
  border-top: 0;
  background:
    linear-gradient(180deg, rgba(77, 141, 227, .92), rgba(43, 78, 180, .92) 45%, rgba(3, 17, 50, .96)) !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .42), 0 0 24px rgba(8, 96, 213, .24);
  backdrop-filter: blur(14px);
}

.header-nav .navbar {
  padding: 0 !important;
}

.navbar-nav {
  width: 100%;
  justify-content: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  min-height: 48px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .35px;
  text-transform: uppercase;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.nav-link:hover,
.nav-item:hover > .nav-link {
  color: #fff !important;
  background: linear-gradient(180deg, rgba(0, 255, 220, .18), rgba(8, 96, 213, .18)) !important;
  box-shadow: inset 0 -2px 0 var(--mpo-cyan), 0 0 18px rgba(0, 255, 220, .18);
  transform: translateY(-1px);
}

.nav-item__game {
  border: 1px solid var(--mpo-line-strong) !important;
  border-radius: 0 0 18px 18px !important;
  background:
    radial-gradient(circle at 15% 0%, rgba(8, 96, 213, .28), transparent 28rem),
    linear-gradient(180deg, rgba(7, 18, 44, .98), rgba(2, 7, 18, .98)) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .62), 0 0 28px rgba(0, 255, 220, .18);
  backdrop-filter: blur(16px);
}

.game-item a {
  display: block;
  border: 1px solid rgba(77, 141, 227, .18);
  border-radius: 14px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, .035);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.game-item a:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 220, .36);
  background: rgba(8, 96, 213, .14);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .28), 0 0 18px rgba(0, 255, 220, .12);
}

.game-item img {
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .36));
}

.game-name {
  color: var(--mpo-text) !important;
  font-weight: 800;
}

.main-content,
main[id="main-route"],
.home {
  background: transparent !important;
}

.home__slider {
  position: relative;
  overflow: hidden;
  max-height: none !important;
  border: 1px solid var(--mpo-line);
  border-top: 0;
  border-radius: 0 0 20px 20px !important;
  background: var(--mpo-glass-2);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .48), 0 0 30px rgba(8, 96, 213, .18);
  animation: mpoGlow 5.5s ease-in-out infinite;
}

.home__slider::before,
.home__menu .menu-container::before,
.provider-content::before,
.custom-popup .modal-content::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .07), transparent);
  transform: translateY(-120%);
  animation: mpoScan 6s ease-in-out infinite;
}

.home__slider .swiper-slide img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
}

.swiper-pagination-bullet {
  width: 9px !important;
  height: 9px !important;
  border-radius: 999px !important;
  background: rgba(245, 248, 255, .48) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  width: 30px !important;
  background: linear-gradient(90deg, var(--mpo-blue), var(--mpo-cyan), var(--mpo-gold)) !important;
  box-shadow: 0 0 14px rgba(0, 255, 220, .72);
}

.swiper-button-next,
.swiper-button-prev {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid rgba(0, 255, 220, .30);
  border-radius: 999px;
  background-color: rgba(2, 7, 18, .64) !important;
  background-size: 44% !important;
  box-shadow: 0 0 18px rgba(0, 255, 220, .12);
}

.home__jackpot {
  padding: 18px 0 !important;
}

.jackpot-gif {
  border: 1px solid rgba(216, 183, 90, .32);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(8, 96, 213, .24), rgba(216, 183, 90, .10), rgba(8, 96, 213, .24)),
    rgba(2, 7, 18, .68) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.jackpot-amount {
  color: var(--mpo-gold) !important;
  text-shadow: 0 0 16px rgba(216, 183, 90, .44), 0 0 26px rgba(0, 255, 220, .14);
}

.home__menu .menu-container {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mpo-line);
  border-radius: 20px;
  padding: 18px;
  background:
    radial-gradient(circle at 14% 0%, rgba(8, 96, 213, .24), transparent 26rem),
    linear-gradient(180deg, rgba(7, 18, 44, .82), rgba(2, 7, 18, .88)) !important;
  box-shadow: 0 24px 58px rgba(0, 0, 0, .44), 0 0 30px rgba(8, 96, 213, .16);
}

.download-border,
.item-download,
.slider-cstmr__holder,
.slider-provider,
.lotto-border,
.provider-content {
  border: 1px solid rgba(77, 141, 227, .24) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .018)),
    rgba(5, 14, 36, .70) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.menu-download img,
.games-item img,
.slider-provider img,
.slider-cstmr__holder img {
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .38));
}

.menu-download h4,
.slider-cstmr-title,
.slider-provider-title,
.provider-title,
.lotto-country {
  color: var(--mpo-gold) !important;
  font-weight: 950 !important;
  letter-spacing: .45px;
  text-shadow: 0 0 14px rgba(216, 183, 90, .26);
}

.download-item a {
  display: inline-flex;
  border-radius: 12px;
  transition: transform .16s ease, filter .16s ease;
}

.download-item a:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.games-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(77, 141, 227, .22);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 96, 213, .12), rgba(2, 7, 18, .58));
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.games-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 220, .38);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .34), 0 0 24px rgba(0, 255, 220, .16);
}

.games-border {
  background: linear-gradient(90deg, rgba(8, 96, 213, .90), rgba(43, 78, 180, .90)) !important;
}

.games-name {
  color: #fff !important;
  font-weight: 950;
  text-shadow: 0 0 12px rgba(0, 255, 220, .24);
}

.cstmr-content,
.service-item-desc,
.lotto-date,
.provider-nav,
.footer__trademark {
  color: var(--mpo-muted) !important;
}

.lotto-item {
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 96, 213, .16), rgba(2, 7, 18, .62)) !important;
}

.lotto-number {
  color: var(--mpo-cyan) !important;
  text-shadow: 0 0 14px rgba(0, 255, 220, .44);
}

.home__seo .seo-content,
.home .home__seo .mobile__seo .seo-mobile,
.home .mobile__seo .home__seo .seo-mobile {
  border: 1px solid rgba(77, 141, 227, .24) !important;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(43, 78, 180, .62), rgba(2, 7, 18, .78)) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
  color: var(--mpo-text) !important;
}

footer,
.footer {
  border-top: 1px solid rgba(77, 141, 227, .26);
  background:
    radial-gradient(circle at 20% 0%, rgba(8, 96, 213, .26), transparent 28rem),
    linear-gradient(180deg, rgba(5, 14, 36, .88), #020712) !important;
}

.provider-content {
  position: relative;
  overflow: hidden;
  padding: 16px !important;
  margin-bottom: 14px;
}

.provider-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.provider-logo {
  gap: 8px !important;
}

.provider-logo img {
  border: 1px solid rgba(77, 141, 227, .18);
  border-radius: 12px;
  padding: 6px;
  background: rgba(255, 255, 255, .045);
  transition: transform .16s ease, border-color .16s ease, filter .16s ease;
}

.provider-logo img:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 220, .34);
  filter: brightness(1.08) drop-shadow(0 0 12px rgba(0, 255, 220, .12));
}

.provider-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 !important;
}

.provider-link {
  border: 1px solid rgba(77, 141, 227, .24);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--mpo-muted) !important;
  background: rgba(255, 255, 255, .035);
  transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

.provider-link:hover {
  color: var(--mpo-gold) !important;
  border-color: rgba(216, 183, 90, .34);
  background: rgba(216, 183, 90, .08);
  transform: translateY(-1px);
}

.footer__trademark {
  padding: 14px 12px 20px !important;
  text-align: center;
  font-size: 12px;
}

.floating-contact__button,
.floating-contact__item,
.wabutton {
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .42)) drop-shadow(0 0 12px rgba(0, 255, 220, .18));
}

.floating-contact__button {
  border: 1px solid rgba(0, 255, 220, .28) !important;
  background: linear-gradient(135deg, var(--mpo-blue), var(--mpo-blue-2)) !important;
}

.floating-contact__item a {
  border: 1px solid rgba(77, 141, 227, .24);
  border-radius: 12px;
  background: rgba(4, 10, 27, .92) !important;
  color: var(--mpo-text) !important;
}

.custom-popup .modal-content,
.modal-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 220, .32) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(8, 96, 213, .26), transparent 24rem),
    linear-gradient(180deg, rgba(7, 18, 44, .98), rgba(2, 7, 18, .98)) !important;
  color: var(--mpo-text) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .72), 0 0 34px rgba(0, 255, 220, .18) !important;
}

.modal-title,
.item-title {
  color: var(--mpo-gold) !important;
}

.custom-popup .close {
  color: #fff !important;
  text-shadow: 0 0 12px rgba(0, 255, 220, .28);
}

.form-forgot a {
  color: var(--mpo-muted) !important;
}

.form-forgot a:hover {
  color: var(--mpo-cyan) !important;
}

.footer-mobile {
  border-top: 1px solid rgba(0, 255, 220, .26) !important;
  background:
    linear-gradient(180deg, rgba(8, 96, 213, .92), rgba(3, 13, 38, .98)) !important;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, .56), 0 0 24px rgba(0, 255, 220, .16);
  backdrop-filter: blur(14px);
}

.footer-mobile .footer-item {
  color: var(--mpo-muted) !important;
  transition: color .16s ease, transform .16s ease, text-shadow .16s ease;
}

.footer-mobile .footer-item.active,
.footer-mobile .footer-item:hover {
  color: #fff !important;
  transform: translateY(-2px);
  text-shadow: 0 0 14px rgba(0, 255, 220, .42);
}

.footer-mobile .footer-login {
  color: #061222 !important;
  background: linear-gradient(135deg, #fff0a6, var(--mpo-gold)) !important;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 24px rgba(216, 183, 90, .22);
}

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

@media (max-width: 991.98px) {
  body {
    max-width: 100% !important;
    margin: 0 !important;
    padding-bottom: 72px;
    box-shadow: none !important;
  }

  .container {
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .header {
    margin: 0 !important;
    border-radius: 0 !important;
    border-left: 0;
    border-right: 0;
  }

  .header__top {
    padding: 8px 0;
  }

  .header__top .row {
    gap: 8px;
  }

  .header__top .col-lg-3,
  .header__top .col-lg-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    justify-content: center !important;
  }

  .header-time {
    text-align: center;
    font-size: 11px;
  }

  .header-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .header__mid {
    padding: 12px 0 14px !important;
  }

  .header__mid .row {
    gap: 12px;
  }

  .header__mid .col-lg-3,
  .header__mid .col-lg-9 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .header-logo {
    display: flex;
    justify-content: center;
  }

  .header-logo img {
    max-width: min(78vw, 250px);
  }

  .header-form .row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .header-form input,
  .btn-masuk,
  .btn-daftar {
    width: 100% !important;
  }

  .header-forgot {
    text-align: center;
  }

  .header-nav {
    top: 0 !important;
    border-left: 0;
    border-right: 0;
  }

  .navbar {
    min-height: 50px;
  }

  .navbar-toggler {
    margin: 7px 0;
    border: 1px solid rgba(0, 255, 220, .34) !important;
    border-radius: 12px;
    background: rgba(2, 7, 18, .42) !important;
  }

  .navbar-collapse {
    border-top: 1px solid rgba(0, 255, 220, .18);
    background: rgba(2, 7, 18, .94);
  }

  .navbar-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 0;
  }

  .nav-link {
    min-height: 44px;
    border: 1px solid rgba(77, 141, 227, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
  }

  .nav-item__game {
    position: static !important;
    max-height: 360px;
    overflow: auto;
    border-radius: 14px !important;
    margin-top: 8px;
  }

  .nav-item__game .container {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px !important;
  }

  .game-item a {
    padding: 8px 4px;
  }

  .game-name {
    font-size: 10px;
    line-height: 1.15;
  }

  .home__slider {
    border-radius: 0 0 18px 18px !important;
  }

  .home__slider .swiper-slide img {
    min-height: 145px;
    object-fit: cover;
  }

  .home__jackpot {
    padding: 14px 0 !important;
  }

  .jackpot-gif {
    border-radius: 16px;
  }

  .jackpot-amount {
    font-size: clamp(18px, 5vw, 30px) !important;
  }

  .home__menu .menu-container {
    padding: 14px;
    border-radius: 18px;
  }

  .menu-container {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
  }

  .menu-games {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .games-item img {
    width: 100% !important;
    height: auto !important;
  }

  .games-name {
    font-size: 12px;
  }

  .slider-cstmr__holder,
  .slider-provider {
    margin-bottom: 12px;
  }

  .lotto-border {
    border-radius: 16px !important;
  }

  .provider-content {
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .provider-logo {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px !important;
  }

  .provider-logo img {
    width: 100% !important;
    height: auto !important;
    min-height: 44px;
    object-fit: contain;
  }

  .provider-nav {
    gap: 7px;
  }

  .provider-link {
    font-size: 11px;
    padding: 7px 10px;
  }

  .footer-mobile {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 64px;
  }

  .footer-mobile .footer-item {
    min-width: 0;
    padding: 8px 4px;
  }

  .footer-icon {
    font-size: 18px !important;
  }

  .footer-title {
    font-size: 10px !important;
    white-space: nowrap;
  }

  .floating-contact {
    right: 12px !important;
    bottom: 84px !important;
  }

  .custom-popup .modal-dialog {
    margin: 18px auto !important;
    max-width: calc(100% - 28px) !important;
  }
}

@media (max-width: 420px) {
  .navbar-nav {
    grid-template-columns: 1fr;
  }

  .nav-item__game .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-games,
  .provider-logo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-title {
    font-size: 9px !important;
  }
}

/* V2 refinement: stronger MPO878 identity, better payment/status blocks, native mobile header. */
:root {
  --mpo-radius: 18px;
  --mpo-radius-sm: 12px;
  --mpo-shadow: 0 24px 58px rgba(0, 0, 0, .50);
  --mpo-inner: inset 0 1px 0 rgba(255, 255, 255, .08);
}

@keyframes mpoGoldPulse {
  0%, 100% { text-shadow: 0 0 14px rgba(216, 183, 90, .35), 0 0 22px rgba(8, 96, 213, .18); }
  50% { text-shadow: 0 0 24px rgba(216, 183, 90, .60), 0 0 34px rgba(0, 255, 220, .22); }
}

@keyframes mpoOnlinePulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 rgba(0, 255, 220, 0); }
  50% { opacity: .78; transform: scale(.94); box-shadow: 0 0 16px rgba(0, 255, 220, .45); }
}

@keyframes mpoCardLift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

body {
  border-left: 1px solid rgba(0, 255, 220, .12);
  border-right: 1px solid rgba(0, 255, 220, .12);
}

body > .main-content,
main[id="main-route"],
.main-content.home {
  padding: 0 0 18px;
}

.header {
  border-radius: 22px 22px 0 0 !important;
}

.header__top .container,
.header__mid .container,
.header-nav .container {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.header__mid .row {
  align-items: center;
}

.header-logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(0, 255, 220, .18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(8, 96, 213, .18), rgba(0, 255, 220, .06)),
    rgba(2, 7, 18, .32);
}

.header-form {
  padding: 10px;
  border: 1px solid rgba(77, 141, 227, .20);
  border-radius: 18px;
  background: rgba(2, 7, 18, .24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.header-form .position-relative {
  min-width: 0;
}

.header-form .toggle-password,
.modal-body-form .toggle-password {
  color: var(--mpo-muted) !important;
}

.header-form .toggle-password:hover,
.modal-body-form .toggle-password:hover {
  color: var(--mpo-cyan) !important;
}

.header-nav {
  overflow: visible;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  opacity: 0;
  transform: scaleX(.35);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--mpo-cyan), var(--mpo-gold), transparent);
  transition: opacity .18s ease, transform .18s ease;
}

.nav-link:hover::after,
.nav-item:hover > .nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-item__game .container {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

.home__slider {
  margin-bottom: 10px;
}

.home__slider .swiper-slide a {
  display: block;
}

.home__slider .swiper-slide img {
  display: block;
  transition: filter .2s ease, transform .2s ease;
}

.home__slider:hover .swiper-slide-active img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.01);
}

.home__jackpot .container,
.home__menu .container,
.home__lotto .container,
.home__payment .container,
.home__seo .container,
.footer__provider .container {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.jackpot-gif {
  position: relative;
  overflow: hidden;
  min-height: 72px;
  display: grid;
  place-items: center;
}

.jackpot-gif::before {
  content: "GRAND JACKPOT";
  position: absolute;
  top: 9px;
  left: 18px;
  color: rgba(245, 248, 255, .52);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 1.3px;
}

.jackpot-gif::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -20%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .24), transparent);
  transform: skewX(-18deg);
  animation: mpoShine 4.8s ease-in-out infinite;
}

.jackpot-amount {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 4vw, 44px) !important;
  font-weight: 950 !important;
  letter-spacing: .8px;
  animation: mpoGoldPulse 2.8s ease-in-out infinite;
}

.home__menu .menu-container {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.download-border,
.item-download {
  min-height: 100%;
}

.menu-download {
  height: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 12px;
}

.menu-download #template-download {
  width: min(82%, 190px) !important;
  height: auto !important;
  animation: mpoCardLift 5s ease-in-out infinite;
}

.menu-download h4 {
  margin: 0;
  font-size: 16px !important;
  text-align: center;
}

.menu-right {
  min-width: 0;
}

.menu-games {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.menu-games > a {
  min-width: 0;
}

.games-item {
  height: 100%;
  isolation: isolate;
}

.games-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 255, 220, .14), transparent 48%),
    radial-gradient(circle at 50% 100%, rgba(216, 183, 90, .10), transparent 42%);
  opacity: .72;
}

.games-item img {
  width: 100% !important;
  height: 128px !important;
  object-fit: contain;
  padding: 8px 8px 0;
}

.games-border {
  margin: 0 8px 8px;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 255, 220, .20);
  overflow: hidden;
}

.games-name {
  padding: 8px 6px;
  font-size: 12px;
  letter-spacing: .5px;
}

.menu-slider .row {
  row-gap: 12px;
}

.slider-cstmr__holder,
.slider-provider {
  min-height: 210px;
  overflow: hidden;
}

.slider-provider .swiper-slide img,
.slide-game-favorit .swiper-slide img,
.slide-prov-favorit .swiper-slide img {
  width: 100% !important;
  height: 152px !important;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(77, 141, 227, .18);
}

.cstmr-item,
.service-item {
  border: 1px solid rgba(77, 141, 227, .18);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, .035);
}

.home__lotto {
  padding: 18px 0 8px;
}

.lotto-swiper {
  border: 1px solid rgba(77, 141, 227, .24);
  border-radius: 18px;
  padding: 14px 10px !important;
  background:
    linear-gradient(90deg, rgba(8, 96, 213, .16), rgba(0, 255, 220, .06), rgba(8, 96, 213, .16)),
    rgba(2, 7, 18, .42);
  box-shadow: var(--mpo-shadow);
}

.lotto-border {
  padding: 1px;
  background: linear-gradient(135deg, rgba(77, 141, 227, .36), rgba(0, 255, 220, .16), rgba(216, 183, 90, .18)) !important;
}

.lotto-item {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 8px !important;
}

.lotto-country {
  margin: 0 !important;
  font-size: 14px !important;
}

.lotto-date {
  margin: 0 !important;
  font-size: 10px !important;
}

.lotto-number {
  font-size: 28px !important;
  font-weight: 950 !important;
  letter-spacing: 1px;
}

.home__payment {
  padding: 18px 0;
}

.payment-border {
  height: 100%;
  border: 1px solid rgba(77, 141, 227, .28) !important;
  border-radius: 20px !important;
  padding: 1px;
  background: linear-gradient(135deg, rgba(77, 141, 227, .42), rgba(0, 255, 220, .18), rgba(216, 183, 90, .16)) !important;
  box-shadow: var(--mpo-shadow);
  overflow: hidden;
}

.payment-content {
  height: 100%;
  border-radius: 19px;
  padding: 18px !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(8, 96, 213, .22), transparent 24rem),
    linear-gradient(180deg, rgba(5, 14, 36, .92), rgba(2, 7, 18, .92)) !important;
}

.payment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(77, 141, 227, .18);
}

.payment-header img {
  width: 42px !important;
  height: 42px !important;
  padding: 8px;
  border-radius: 14px;
  background: rgba(8, 96, 213, .16);
  filter: drop-shadow(0 0 12px rgba(0, 255, 220, .16));
}

.payment-title {
  color: var(--mpo-gold) !important;
  font-weight: 950 !important;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.payment-service {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(77, 141, 227, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
}

.payment-service + .payment-service {
  margin-top: 10px;
}

.service-title {
  color: var(--mpo-text) !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.service-subtitle {
  color: var(--mpo-muted) !important;
  font-size: 11px;
}

.progress {
  height: 8px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .08) !important;
  overflow: hidden;
}

.progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mpo-blue), var(--mpo-cyan), var(--mpo-gold)) !important;
  box-shadow: 0 0 12px rgba(0, 255, 220, .30);
}

.service-time {
  display: grid;
  place-items: center;
  min-height: 64px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8, 96, 213, .22), rgba(2, 7, 18, .32));
  border: 1px solid rgba(0, 255, 220, .18);
}

.time-number {
  color: var(--mpo-cyan) !important;
  font-size: 26px !important;
  font-weight: 950 !important;
  line-height: 1;
}

.time-title {
  color: var(--mpo-muted) !important;
  font-size: 10px !important;
  text-transform: uppercase;
}

.pembarayan-swiper {
  padding-bottom: 24px !important;
}

.bank-content {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 8px !important;
  border: 1px solid rgba(77, 141, 227, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
}

.bank-logo {
  display: grid;
  place-items: center;
  min-height: 38px;
}

.bank-logo img {
  max-width: 100%;
  max-height: 32px;
  object-fit: contain;
}

.bank-status {
  width: fit-content;
  margin: 0 auto;
  border-radius: 999px;
  padding: 3px 8px !important;
  font-size: 9px !important;
  font-weight: 950 !important;
  letter-spacing: .35px;
}

.bank-status.online {
  color: #04130d !important;
  background: linear-gradient(180deg, #9fffe4, var(--mpo-cyan)) !important;
  animation: mpoOnlinePulse 1.8s ease-in-out infinite;
}

.home__seo {
  padding: 16px 0 24px;
}

.home__seo .seo-content,
.seo-content.showFooter {
  padding: 22px !important;
  line-height: 1.75;
}

.seo-content h1,
.seo-content h2,
.seo-content h3 {
  color: var(--mpo-gold) !important;
  font-weight: 950 !important;
}

.seo-content a {
  color: var(--mpo-cyan) !important;
  font-weight: 800;
}

.provider-header {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 8px 18px;
  border: 1px solid rgba(216, 183, 90, .28);
  border-radius: 999px;
  color: var(--mpo-gold) !important;
  background: rgba(216, 183, 90, .08);
  font-weight: 950;
  letter-spacing: 1px;
  text-align: center;
}

.footer__provider {
  padding-top: 24px;
}

.provider-holder {
  display: grid;
  gap: 14px;
}

.provider-title {
  margin-bottom: 10px;
}

.custom-popup .modal-header {
  border-bottom: 1px solid rgba(77, 141, 227, .18) !important;
}

.custom-popup .modal-body {
  padding: 18px !important;
}

.modal-body-form .form-item {
  margin-bottom: 12px;
}

.button-login {
  width: 100%;
}

.footer-mobile {
  left: 50% !important;
  width: min(100%, 1120px) !important;
  transform: translateX(-50%);
  border-radius: 20px 20px 0 0;
}

.footer-mobile .footer-login {
  margin-top: -12px;
  min-height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 183, 90, .40);
}

.footer-mobile .footer-login .footer-icon {
  color: #061222 !important;
}

.footer-mobile .footer-login .footer-title {
  color: #061222 !important;
  font-weight: 950;
}

@media (max-width: 991.98px) {
  body {
    border: 0;
    background:
      radial-gradient(circle at 20% 0%, rgba(8, 96, 213, .42), transparent 22rem),
      radial-gradient(circle at 88% 4%, rgba(0, 255, 220, .14), transparent 20rem),
      linear-gradient(180deg, #071d4a 0%, #020712 100%) !important;
  }

  .header {
    display: none !important;
  }

  .header-mobile {
    display: block !important;
    position: relative;
    z-index: 45;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 255, 220, .24);
    background:
      radial-gradient(circle at 18% 0%, rgba(8, 96, 213, .42), transparent 22rem),
      linear-gradient(180deg, rgba(7, 18, 44, .98), rgba(2, 7, 18, .98)) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .45), 0 0 24px rgba(8, 96, 213, .22);
  }

  .header-mobile::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mpo-blue), var(--mpo-cyan), var(--mpo-gold), transparent);
    background-size: 220% 100%;
    animation: mpoLineRun 4.8s linear infinite;
  }

  .header-mobile__top {
    padding: 12px 14px !important;
  }

  .mobile-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .mobile-logo img {
    max-width: min(58vw, 220px) !important;
    height: auto !important;
    filter: drop-shadow(0 0 12px rgba(0, 255, 220, .26));
  }

  .mobile-button {
    display: flex !important;
    align-items: center;
    gap: 8px;
  }

  .mobile-button--register,
  .mobile-button--menu,
  .btn-login,
  .btn-register {
    min-height: 38px;
    border: 0 !important;
    border-radius: 12px !important;
    padding: 0 12px !important;
    font-weight: 950 !important;
    text-transform: uppercase;
    letter-spacing: .35px;
  }

  .mobile-button--register,
  .btn-register {
    color: #061222 !important;
    background: linear-gradient(135deg, #fff0a6, var(--mpo-gold)) !important;
    box-shadow: 0 10px 22px rgba(216, 183, 90, .18);
  }

  .mobile-button--menu,
  .btn-login {
    color: #fff !important;
    background: linear-gradient(135deg, #0534b5, var(--mpo-blue), #4d8de3) !important;
    box-shadow: 0 10px 22px rgba(8, 96, 213, .28);
  }

  .header-mobile__marquee {
    padding: 8px 14px 12px !important;
  }

  .header-mobile__marquee .marquee,
  .header-mobile .marquee {
    min-height: 34px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 255, 220, .18);
    border-radius: 999px;
    padding: 0 12px;
    color: var(--mpo-text) !important;
    background: linear-gradient(90deg, rgba(8, 96, 213, .28), rgba(0, 255, 220, .08));
  }

  .header-nav {
    display: none !important;
  }

  .home__slider {
    border-radius: 0 0 18px 18px !important;
    border-left: 0;
    border-right: 0;
  }

  .home__slider .swiper-slide img {
    min-height: 168px;
  }

  .jackpot-gif {
    min-height: 68px;
  }

  .jackpot-gif::before {
    top: 7px;
    left: 14px;
  }

  .jackpot-amount {
    font-size: clamp(22px, 7vw, 34px) !important;
  }

  .home__menu .menu-container {
    display: flex !important;
    padding: 12px;
  }

  .item-download {
    order: 2;
  }

  .menu-right {
    order: 1;
  }

  .menu-download {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .menu-download #template-download {
    grid-row: span 2;
    width: 82px !important;
  }

  .menu-download h4 {
    font-size: 14px !important;
    text-align: left;
  }

  .menu-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .games-item img {
    height: 112px !important;
  }

  .payment-border {
    margin-bottom: 14px;
  }

  .payment-content {
    padding: 14px !important;
  }

  .payment-service {
    grid-template-columns: minmax(0, 1fr) 64px;
    padding: 10px;
  }

  .service-time {
    min-height: 58px;
  }

  .bank-content {
    min-height: 82px;
  }

  .home__seo .seo-content,
  .seo-content.showFooter {
    padding: 16px !important;
    border-radius: 18px;
    font-size: 14px;
  }

  .seo-content h1 {
    font-size: 21px !important;
  }

  .seo-content h2 {
    font-size: 18px !important;
  }

  .provider-holder {
    gap: 12px;
  }

  .provider-title {
    justify-content: center;
  }

  .footer-mobile {
    border-radius: 18px 18px 0 0;
  }
}

@media (max-width: 480px) {
  .header-mobile__top {
    padding: 10px 12px !important;
  }

  .mobile-logo {
    flex-wrap: wrap;
    justify-content: center;
  }

  .mobile-logo img {
    max-width: 72vw !important;
  }

  .mobile-button {
    width: 100%;
    justify-content: center;
  }

  .mobile-button--register,
  .mobile-button--menu {
    flex: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .home__slider .swiper-slide img {
    min-height: 142px;
  }

  .jackpot-amount {
    letter-spacing: .2px;
  }

  .menu-download {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .menu-download #template-download {
    width: 66px !important;
  }

  .games-item img {
    height: 96px !important;
  }

  .games-name {
    font-size: 11px;
    padding: 7px 4px;
  }

  .payment-service {
    grid-template-columns: 1fr;
  }

  .service-time {
    min-height: 48px;
    grid-template-columns: auto auto;
    gap: 6px;
  }

  .provider-logo {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ==========================================================
   FINAL NAV OVERRIDE
   Keep this block at the very bottom so it wins over template CSS.
   ========================================================== */

.header-nav {
  display: block !important;
  position: relative !important;
  z-index: 1000 !important;
  width: 100% !important;
  min-height: 54px !important;
  margin: 0 auto !important;
  overflow: visible !important;
  border: 1px solid rgba(216, 183, 90, .28) !important;
  border-top: 0 !important;
  border-radius: 0 0 18px 18px !important;
  background:
    linear-gradient(180deg, rgba(18, 18, 22, .98) 0%, rgba(5, 5, 8, .98) 100%),
    #050508 !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .58),
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 0 22px rgba(216, 183, 90, .12) !important;
  backdrop-filter: blur(14px) !important;
}

.header-nav::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 2px !important;
  pointer-events: none !important;
  background: linear-gradient(90deg, transparent, #d8b75a, #ffffff, #a90f18, transparent) !important;
  background-size: 220% 100% !important;
  box-shadow: 0 0 16px rgba(216, 183, 90, .48) !important;
  animation: mpoLineRun 5s linear infinite !important;
}

.header-nav .container,
.header-nav .navbar,
.header-nav .navbar-collapse {
  width: 100% !important;
  max-width: 1080px !important;
  min-height: 54px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.header-nav .navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.header-nav .navbar-collapse {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-basis: auto !important;
}

.header-nav .navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  gap: 4px !important;
  list-style: none !important;
  overflow: visible !important;
}

.header-nav .nav-item {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-nav .nav-link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 86px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  overflow: hidden !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  color: rgba(255, 255, 255, .88) !important;
  background: transparent !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: .35px !important;
  text-align: center !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  text-shadow: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition:
    color .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    transform .18s ease !important;
}

.header-nav .nav-link::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  opacity: 0 !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 183, 90, .24), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(169, 15, 24, .16)) !important;
  transition: opacity .18s ease !important;
}

.header-nav .nav-link::after {
  content: "" !important;
  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 7px !important;
  height: 2px !important;
  opacity: 0 !important;
  transform: scaleX(.34) !important;
  transform-origin: center !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, transparent, #d8b75a, #ffffff, transparent) !important;
  box-shadow: 0 0 12px rgba(216, 183, 90, .42) !important;
  transition: opacity .18s ease, transform .18s ease !important;
}

.header-nav .nav-link:hover,
.header-nav .nav-link:focus,
.header-nav .nav-item:hover > .nav-link,
.header-nav .nav-item.active > .nav-link,
.header-nav .nav-link.active {
  color: #ffffff !important;
  border-color: rgba(216, 183, 90, .34) !important;
  background: rgba(255, 255, 255, .055) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 10px 22px rgba(0, 0, 0, .28),
    0 0 16px rgba(216, 183, 90, .14) !important;
  transform: translateY(-1px) !important;
}

.header-nav .nav-link:hover::before,
.header-nav .nav-link:focus::before,
.header-nav .nav-item:hover > .nav-link::before,
.header-nav .nav-item.active > .nav-link::before,
.header-nav .nav-link.active::before {
  opacity: 1 !important;
}

.header-nav .nav-link:hover::after,
.header-nav .nav-link:focus::after,
.header-nav .nav-item:hover > .nav-link::after,
.header-nav .nav-item.active > .nav-link::after,
.header-nav .nav-link.active::after {
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

.header-nav .dropdown-menu,
.header-nav .nav-item__game {
  position: absolute !important;
  top: calc(100% + 0px) !important;
  left: 50% !important;
  right: auto !important;
  z-index: 1100 !important;
  display: block !important;
  width: min(1080px, calc(100vw - 28px)) !important;
  max-width: min(1080px, calc(100vw - 28px)) !important;
  max-height: min(70vh, 560px) !important;
  margin: 0 !important;
  padding: 14px !important;
  overflow: auto !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate(-50%, 10px) !important;
  border: 1px solid rgba(216, 183, 90, .30) !important;
  border-radius: 0 0 18px 18px !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(216, 183, 90, .12), transparent 26rem),
    linear-gradient(180deg, rgba(10, 10, 14, .98), rgba(2, 2, 4, .98)) !important;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, .72),
    0 0 28px rgba(216, 183, 90, .14) !important;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
}

.header-nav .nav-item:hover > .dropdown-menu,
.header-nav .nav-item:focus-within > .dropdown-menu,
.header-nav .nav-item:hover > .nav-item__game,
.header-nav .nav-item:focus-within > .nav-item__game {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate(-50%, 0) !important;
}

.header-nav .nav-item__game .container,
.header-nav .dropdown-menu .container {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-nav .game-item,
.header-nav .dropdown-item {
  min-width: 0 !important;
}

.header-nav .game-item a,
.header-nav .dropdown-item {
  display: grid !important;
  place-items: center !important;
  min-height: 86px !important;
  padding: 10px 8px !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, .035) !important;
  text-align: center !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06) !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease !important;
}

.header-nav .game-item a:hover,
.header-nav .dropdown-item:hover,
.header-nav .dropdown-item:focus {
  border-color: rgba(216, 183, 90, .34) !important;
  background: rgba(216, 183, 90, .08) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .28), 0 0 14px rgba(216, 183, 90, .12) !important;
  transform: translateY(-2px) !important;
}

.header-nav .game-item img {
  display: block !important;
  max-width: 100% !important;
  height: 50px !important;
  object-fit: contain !important;
  margin: 0 auto 6px !important;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .38)) !important;
}

.header-nav .game-name {
  display: block !important;
  width: 100% !important;
  color: rgba(255, 255, 255, .90) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: normal !important;
}

@media (max-width: 1120px) and (min-width: 992px) {
  .header-nav .navbar-nav {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    min-height: 54px !important;
    height: auto !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }

  .header-nav .nav-link {
    min-width: 82px !important;
    padding: 0 11px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 991.98px) {
  .header-nav {
    display: none !important;
  }

  .header-mobile {
    display: block !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
  }

  .header-mobile .mobile-logo,
  .header-mobile__top,
  .header-mobile__marquee {
    position: relative !important;
    z-index: 2 !important;
  }

  .mobile-button--register,
  .mobile-button--menu,
  .btn-login,
  .btn-register {
    border-radius: 10px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 480px) {
  .mobile-logo {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 10px !important;
  }

  .mobile-button {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .mobile-button--register,
  .mobile-button--menu,
  .btn-login,
  .btn-register {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }
}
