/* Aureon-specific refinements. Everything else continues to inherit Velora/V2. */
.aureon-mobile-header {
  position: relative;
  min-height: 82px;
  padding: 8px 18px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  background: #070c3d !important;
  border: 0 !important;
  z-index: 1030;
}

.aureon-mobile-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.aureon-mobile-brand img {
  display: block;
  width: auto;
  max-width: none;
  height: 60px;
  object-fit: contain;
}

.aureon-mobile-action {
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #d18b2b;
  text-decoration: none;
}

.aureon-mobile-menu {
  flex-direction: column;
  gap: 6px;
}

.aureon-mobile-menu span {
  display: block;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: #d18b2b;
}

.aureon-mobile-account svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #f4bd2f;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aureon-mobile-action:focus-visible {
  outline: 2px solid #f4bd2f;
  outline-offset: 2px;
  border-radius: 8px;
}

@media (max-width: 767.98px) {
  body.theme-aureon header.as-header-top {
    position: relative !important;
    z-index: 1030;
    padding: 8px 0 6px !important;
    border: 0 !important;
    background: #070c3d !important;
    box-shadow: none !important;
    font-family: Arial, sans-serif !important;
  }

  body.theme-aureon header.as-header-top > .container {
    max-width: 100%;
    padding-inline: 12px;
  }

  body.theme-aureon header.as-header-top .row:first-child > .col-12 {
    min-height: 82px;
    align-items: center;
  }

  body.theme-aureon header.as-header-top .row:first-child > .col-12 > a:first-child img {
    width: auto !important;
    height: 60px !important;
    max-width: none !important;
    margin-top: 0 !important;
    object-fit: contain;
  }

  body.theme-aureon header.as-header-top .as-user-info-section {
    gap: 1px;
    margin-left: auto !important;
    color: #ffffff;
    font-family: Arial, sans-serif !important;
    font-size: 12px;
    line-height: 1.2;
  }

  body.theme-aureon header.as-header-top .as-user-info-section > div {
    margin-bottom: 3px !important;
  }

  body.theme-aureon header.as-header-top .as-user-info-section .as-user-credit-info {
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    text-decoration: none;
  }

  body.theme-aureon header.as-header-top .as-user-info-section .icon-user,
  body.theme-aureon header.as-header-top .as-user-info-section .icon-coins {
    color: #bb7a26 !important;
    font-size: 16px !important;
  }

  body.theme-aureon header.as-header-top .as-menu-afterlogin-wrapper {
    flex-wrap: nowrap;
    width: calc(100% + 24px);
    min-height: 60px;
    margin: 0 -12px !important;
    border: 0;
    background: #222e9b !important;
  }

  body.theme-aureon header.as-header-top .as-menu-afterlogin-left {
    padding: 0;
    background: #222e9b !important;
  }

  body.theme-aureon header.as-header-top .as-menu-afterlogin-wrapper > .col-2 {
    padding: 0;
    background: #222e9b !important;
  }

  body.theme-aureon header.as-header-top .as-menu-afterlogin-section {
    gap: 22px;
    width: 100%;
    padding: 20px 4px 20px 10px !important;
    overflow-x: auto;
    scrollbar-width: none;
    background: #222e9b !important;
  }

  body.theme-aureon header.as-header-top .as-menu-afterlogin-section::-webkit-scrollbar {
    display: none;
  }

  body.theme-aureon header.as-header-top .as-menu-afterlogin-item {
    flex: 0 0 auto;
    padding: 0 !important;
  }

  body.theme-aureon header.as-header-top .as-menu-afterlogin-item a {
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
  }

  body.theme-aureon header.as-header-top .as-menu-afterlogin-item a span {
    color: #ffffff !important;
    font-size: 14px !important;
  }

  body.theme-aureon header.as-header-top .as-menu-more-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #bb7a26 !important;
    font-size: 22px;
    text-decoration: none;
    background: #222e9b !important;
  }

  body.theme-aureon header.as-header-top .as-menu-more-small .icon-burger-bar {
    color: #bb7a26 !important;
  }

  body.theme-aureon header.as-header-top .as-important-menu-section {
    padding: 13px 0 10px !important;
    --bs-gutter-x: 8px;
  }

  body.theme-aureon header.as-header-top .as-important-menu-section .btn {
    min-height: 32px;
    padding: 6px 4px !important;
    font-size: 12px !important;
    line-height: 1;
  }

  body.theme-aureon header.as-header-top .as-important-menu-section .btn span {
    margin-right: 5px !important;
    font-size: 15px !important;
  }
}

body.theme-aureon header.as-header-top,
body.theme-aureon .desktop-header {
  background: #070c3d !important;
  color: #ffffff !important;
  border-bottom: 0 !important;
  font-family: Arial, sans-serif !important;
}

body.theme-aureon .aureon-mobile-header,
body.theme-aureon .aureon-mobile-header button,
body.theme-aureon .aureon-mobile-header a {
  font-family: Arial, sans-serif !important;
}

/* Match the authenticated 4DBOS header actions, only in Aureon. */
body.theme-aureon header.as-header-top .as-important-menu-section .btn {
  border-radius: 0 !important;
  color: #ffffff !important;
  font-family: Arial, sans-serif !important;
  font-weight: 400;
  box-shadow: none !important;
}

body.theme-aureon header.as-header-top .as-important-menu-section .btn span {
  color: #ffffff !important;
  font-size: 1.3em;
}

body.theme-aureon header.as-header-top .as-important-menu-section .btn-success,
body.theme-aureon header.as-header-top .as-important-menu-section .btn-success:hover {
  background: #37dd4a !important;
  border: 1px solid #37dd4a !important;
}

body.theme-aureon header.as-header-top .as-important-menu-section .btn-outline-warning {
  background: transparent !important;
  border: 1px solid #ed0c6d !important;
}

body.theme-aureon header.as-header-top .as-important-menu-section .btn-outline-warning:hover {
  background: #ed0c6d !important;
  border-color: #ed0c6d !important;
}

body.theme-aureon header.as-header-top .as-important-menu-section .btn-secondary,
body.theme-aureon header.as-header-top .as-important-menu-section .btn-secondary:hover {
  background: #8c8f83 !important;
  border: 1px solid #8c8f83 !important;
}

body.theme-aureon header.as-header-top .time-container,
body.theme-aureon header.as-header-top .icon-clock {
  color: #ffffff !important;
}

body.theme-aureon header.as-header-top a.as-language-link,
body.theme-aureon header.as-header-top a.as-language-link span {
  color: #bb7a26 !important;
}

body.theme-aureon header.as-header-top .as-login-form .as-input-group-text {
  background: #bb7a26 !important;
  border-color: #bb7a26 !important;
  color: #ffffff !important;
}

body.theme-aureon header.as-header-top .as-login-form .as-input-group-text span {
  color: #ffffff !important;
}

body.theme-aureon header.as-header-top .as-login-form .toggle-password,
body.theme-aureon header.as-header-top .as-login-form .toggle-password svg {
  color: #071426 !important;
}

body.theme-aureon header.as-header-top .as-login-form input[type="text"],
body.theme-aureon header.as-header-top .as-login-form input[type="password"] {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #68717a !important;
}

body.theme-aureon header.as-header-top .as-login-form input::placeholder {
  color: #68717a !important;
  opacity: 1;
}

body.theme-aureon header.as-header-top .as-login-form input:focus {
  border-color: #bb7a26 !important;
  box-shadow: 0 0 0 2px rgb(187 122 38 / 22%) !important;
}

body.theme-aureon header.as-header-top .as-login-form .as-login-button {
  background: #bb7a26 !important;
  border-color: #bb7a26 !important;
  color: #ffffff !important;
}

body.theme-aureon header.as-header-top .as-login-form .as-login-button:hover {
  background: #d18b2b !important;
  border-color: #d18b2b !important;
}

body.theme-aureon header.as-header-top .as-login-form .as-daftar-button {
  background: #8c8f83 !important;
  border-color: #8c8f83 !important;
  color: #ffffff !important;
}

body.theme-aureon header.as-header-top .as-login-form .as-daftar-button:hover {
  background: #9da094 !important;
  border-color: #9da094 !important;
}

body.theme-aureon header.as-header-top .as-login-form .as-forget-pass,
body.theme-aureon header.as-header-top .as-login-form .as-forget-pass small {
  color: #bb7a26 !important;
}

body.theme-aureon nav.navbar.navbar-nav.as-navbar {
  background: var(--site-bg) !important;
  background-color: var(--site-bg) !important;
  border-bottom: 0 !important;
  font-family: Arial, sans-serif !important;
}

@media (min-width: 768px) {
  body.theme-aureon nav.as-navbar {
    min-height: 106px;
    padding-block: 0 !important;
  }

  body.theme-aureon nav.as-navbar .menu-wrapper {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    height: 106px;
    min-height: 106px;
    padding: 0 !important;
  }

  body.theme-aureon nav.as-navbar .menu-list {
    align-items: center;
    gap: 40px !important;
  }

  body.theme-aureon nav.as-navbar .menu-list > .menu-item {
    padding: 3px 16px !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-family: "Times New Roman", Times, serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.3;
  }

  body.theme-aureon nav.as-navbar .menu-list > .menu-item > a,
  body.theme-aureon nav.as-navbar .menu-list > .menu-item .icon-wrapper,
  body.theme-aureon nav.as-navbar .menu-list > .menu-item span {
    font-family: "Times New Roman", Times, serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.3;
  }

  body.theme-aureon nav.as-navbar .menu-item .icon-wrapper img,
  body.theme-aureon nav.as-navbar .menu-item > a > img {
    width: 58px !important;
    height: 58px !important;
    margin: 0 auto 3px !important;
    padding: 0 !important;
    object-fit: contain;
  }

  body.theme-aureon nav.as-navbar .menu-list > .menu-item:hover,
  body.theme-aureon nav.as-navbar .menu-list > .menu-item.active {
    background: transparent !important;
  }

  body.theme-aureon nav.as-navbar .bonus-menu-item .icon-wrapper > img {
    display: none !important;
  }

  body.theme-aureon nav.as-navbar .bonus-menu-item .icon-gift {
    display: none !important;
  }

  body.theme-aureon nav.as-navbar .bonus-menu-item .aureon-bonus-icon {
    display: block !important;
    width: 42px;
    height: 42px;
    margin: 8px auto 11px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: 50% 85%;
    animation: aureonBonusGift 1.6s ease-in-out infinite;
  }

  body.theme-aureon nav.as-navbar .bonus-menu-item .hot-badge {
    top: 0;
    right: auto;
    left: -12px;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f34b55;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgb(243 75 85 / 55%);
    font-family: Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    letter-spacing: 0;
  }
}

@keyframes aureonBonusGift {
  0%, 68%, 100% { transform: rotate(0deg) scale(1); }
  74% { transform: rotate(-8deg) scale(1.04); }
  81% { transform: rotate(8deg) scale(1.04); }
  88% { transform: rotate(-5deg) scale(1.02); }
  94% { transform: rotate(4deg) scale(1.01); }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-aureon nav.as-navbar .bonus-menu-item .aureon-bonus-icon,
  body.theme-aureon nav.as-navbar .bonus-menu-item .bonus-hot-blink {
    animation: none !important;
  }
}

body.theme-aureon #lc-btn {
  background: #20d66b !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow:
    0 0 0 15px #0c1b50,
    0 9px 24px rgb(0 0 0 / 35%) !important;
  animation: none !important;
}

body.theme-aureon #lc-btn svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

body.theme-aureon #lc-btn:hover {
  background: #25df74 !important;
}

body.theme-aureon .as-running-text {
  background: #1c2692 !important;
  color: #bb7a26 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-sizing: border-box;
  min-height: 42px;
  padding-block: 0.5rem !important;
  font-family: Arial, sans-serif !important;
}

body.theme-aureon .as-running-text .running-text-inner {
  min-height: 26px;
}

body.theme-aureon .as-running-text span,
body.theme-aureon .as-running-text marquee {
  color: #bb7a26 !important;
}

body.theme-aureon .as-running-text .icon-volume {
  font-size: 1rem;
}

body.theme-aureon .as-running-text marquee {
  font-family: Arial, sans-serif !important;
  font-size: 0.9em;
  font-weight: 200;
}

/* Home catalog — follows the compact 4DBOS six-card composition. */
body.theme-aureon .home-catalog {
  margin-top: 24px !important;
  font-family: Arial, sans-serif !important;
}

body.theme-aureon .home-catalog-panel {
  padding: 18px;
  overflow: hidden;
  border: 0 !important;
  border-radius: 5px !important;
  background: #222e9b !important;
  box-shadow: none !important;
}

body.theme-aureon .home-catalog-heading {
  display: block;
  min-height: 50px;
  margin: 0 0 14px;
  padding: 0 !important;
  border: 0 !important;
}

body.theme-aureon .home-catalog-title {
  position: relative;
  display: block;
  width: max-content;
  min-width: 292px;
  padding-bottom: 10px;
}

body.theme-aureon .home-catalog-title::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ffb31a 0%, #ffbc20 42%, #ff5e5e 100%);
  content: "";
}

body.theme-aureon .home-catalog-title > img,
body.theme-aureon .home-provider-count,
body.theme-aureon .home-catalog-link,
body.theme-aureon .home-provider-action,
body.theme-aureon .home-card-caption p {
  display: none !important;
}

body.theme-aureon .home-catalog-title h2 {
  margin: 0 !important;
  color: #ffffff !important;
  font-family: Arial, sans-serif !important;
  font-size: 31px !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgb(255 255 255 / 45%);
}

body.theme-aureon .home-popular-track,
body.theme-aureon .home-provider-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px !important;
  padding: 0 !important;
}

body.theme-aureon .home-popular-track {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 80px) / 6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

body.theme-aureon .home-popular-track .home-game-card {
  min-width: 0 !important;
}

body.theme-aureon .home-game-card,
body.theme-aureon .home-provider-card {
  overflow: hidden;
  border: 0 !important;
  border-radius: 4px !important;
  background: #292929 !important;
  box-shadow: none !important;
  scroll-snap-align: start;
}

body.theme-aureon .home-game-card > a,
body.theme-aureon .home-provider-card > a,
body.theme-aureon .home-provider-card > div {
  display: block;
  padding: 8px 8px 9px;
  color: #ffffff !important;
  text-decoration: none !important;
}

body.theme-aureon .home-game-art,
body.theme-aureon .home-provider-art {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0 !important;
  border-radius: 3px !important;
  background: #161616;
}

body.theme-aureon .home-game-art img,
body.theme-aureon .home-provider-art img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

body.theme-aureon .home-card-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 8px;
  padding: 6px 8px !important;
  border-radius: 4px;
  background: #07104b !important;
  text-align: center;
}

body.theme-aureon .home-card-caption h3 {
  display: -webkit-box;
  margin: 0 !important;
  overflow: hidden;
  color: #ffffff !important;
  font-family: Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 991.98px) {
  body.theme-aureon .home-catalog-panel { padding: 12px; }
  body.theme-aureon .home-catalog-title { min-width: 220px; }
  body.theme-aureon .home-catalog-title h2 { font-size: 23px !important; }
  body.theme-aureon .home-popular-track,
  body.theme-aureon .home-provider-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px !important; }
  body.theme-aureon .home-popular-track {
    grid-template-columns: none;
    grid-auto-columns: calc((100% - 20px) / 3);
  }
}

@media (max-width: 575.98px) {
  body.theme-aureon .home-catalog { margin-top: 14px !important; }
  body.theme-aureon .home-catalog-panel { padding: 10px; }
  body.theme-aureon .home-catalog-heading { min-height: 40px; margin-bottom: 10px; }
  body.theme-aureon .home-catalog-title { min-width: 190px; padding-bottom: 7px; }
  body.theme-aureon .home-catalog-title h2 { font-size: 20px !important; }
  body.theme-aureon .home-popular-track { grid-template-columns: none; grid-auto-columns: minmax(132px, 42vw); }
  body.theme-aureon .home-provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.theme-aureon .home-card-caption h3 { font-size: 12px !important; }
}

@media (max-width: 767.98px) {
  body.theme-aureon .aureon-mobile-game-types {
    margin-top: 12px;
  }
}
