/*
 * PGC YELLOW THEME — palet dari colour.html
 * Gray: content/theme/pgc-gray-colors.css + pgc-gray-LOCK.json
 */
:root {
  --yellow-base: #a87918;
  --yellow-deep: #5b3b0c;
  --yellow-mid: #7a5210;
  --yellow-light: #c49b43;
  --yellow-soft: #f2dfaa;
  --yellow-cta-light: #fff09a;
  --yellow-cta-mid: #f2dfaa;
  --yellow-cta-deep: #3d2806;
  --pgc-register-btn-bg: linear-gradient(to top, #8d6810 0%, #f9d459 48%, #fff0b8 100%);
  --pgc-register-btn-bg-hover: linear-gradient(to top, #fff0b8 0%, #ffe14a 52%, #8d6810 100%);
  --body-theme-bg: #a87918;
  --announcement-cntr-bg: #7a5210;
  --banner-bg: #a87918;
  --home-info-cntr-bg: #5b3b0c;
  --home-info-cntr-border: 1px solid rgba(218, 163, 43, 0.55);
  --popular-games-bg: #5b3b0c;
  --popular-games-left-section-title-bg: #7a5210;
  --popular-games-nav-tabs-li-a-bg: #5b3b0c;
  --popular-games-tab-pane-bg: #5b3b0c;
  --promotion-cntr-bg: #5b3b0c;
  --promotion-list-bg: #7a5210;
  --provider-slide-bg: #5b3b0c;
  --arcade-games-cntr-bg: #5b3b0c;
  --sports-cntr-bg: #5b3b0c;
  --arcade-games-cntr-vendor-name-color: #f5b8c0;
  --arcade-games-cntr-category-filter-link-active-bg: #1a1a1a;
  --jackpot-winners-bg: #5b3b0c;
  --banner-carousel-indicators-active-bg: #dab04b;
  --banner-carousel-indicators-active-border: #dab04b;
  --download-apk-btn-bg: #1a1a1a;
  --download-popup-modal-header-title-color: #c5bda9;
  --home-progressive-jackpot-bg: linear-gradient(#1a1a1a, #1a1a1a, #1a1a1a);
  --home-progressive-jackpot-outer-cntr-bg: #080808;
  --home-progressive-jackpot-inner-cntr-bg: linear-gradient(#0c0c0c, #0c0c0c);
  --home-progressive-jackpot-border-cntr-bg: #141414;
  --home-progressive-jackpot-border-cntr-border: 3px solid #c4a24a;
  --home-progressive-jackpot-jackpot-cntr-bg: linear-gradient(#1a1a1a, #1a1a1a);
  --home-progressive-jackpot-jackpot-inner-cntr-bg: #080808;
  --home-progressive-jackpot-jackpot-border-cntr-border: 3px dotted #f9d459;
  --home-progressive-jackpot-jackpot-currency-color: #f9d459;
  --home-progressive-jackpot-jackpot-play-text-color: #f9d459;
  --home-progressive-jackpot-jackpot-play-text-label-color: #c5bda9;
  --lottery-result-cntr-title-bg: #1a1a1a;
  --popular-game-title-cntr-content-game-list-game-item-game-name-color: #c5bda9;
  --home-game-list-cntr-content-game-list-game-item-game-name-color: #c5bda9;
  --promotion-cntr-std-side-menu-a-true-bg: #1a1a1a;
  --register-done-cntr-btn-deposit-bg: #1a1a1a;
  --modal-footer-btn-primary-bg: #1a1a1a;
  --modal-footer-btn-primary-hover-bg: #2c2c2c;
  --user-info-item-a-btn-logout-bg: #1a1a1a;
  --user-info-item-a-btn-logout-hover-bg: #2c2c2c;
  --pgc-yellow-accent: #dab04b;
  --pgc-yellow-deep: #5b3b0c;
  --jp-yellow: #7a5210;
  --jp-yellow-bright: #f2dfaa;
  --jp-yellow-deep: #5b3b0c;
  --default-body-bg: #a87918;
  --site-header-bg: #5b3b0c;
  --site-menu-ul-bg: #7a5210;
  --site-menu-li-a-bg: #5b3b0c;
  --site-footer-bg: #a87918;
  --site-footer-border: 2px solid rgba(218, 163, 43, 0.55);
  --announcement-cntr-section-announcement-bg: #5b3b0c;
  --main-menu-outer-cntr-bg: #5b3b0c;
  --topbar-cntr-bg: #5b3b0c;
  --footer-featured-product-bg: #5b3b0c;
  --footer-hero-icon-bg: #7a5210;
  --footer-banking-card-bg: #5b3b0c;
  --default-body-color: #f5f2e9;
  --default-p-color: #f5f2e9;
  --default-h1-color: #ff6b7a;
  --default-h2-color: #ff5c6c;
  --default-h3-color: #f5b8c0;
  --default-h4-color: #f5b8c0;
  --default-h5-color: #ecc9cf;
  --default-h6-color: #ecc9cf;
  --default-a-color: #ff8a98;
  --announcement-cntr-color: #ff6b7a;
  --announcement-cntr-section-announcement-color: #f5f2e9;
  --announcement-cntr-list-li-color: #f5f2e9;
  --footer-links-li-a-color: #f5b8c0;
  --footer-links-li-a-hover-color: #ff6b7a;
  --footer-description-note-color: #f5f2e9;
  --footer-section-title-color: #f5f2e9;
  --popular-games-scroll-arrow-color: #ff6b7a;
  --a-color: #ff8a98;
  /* PGC polish tokens → pgc-theme-polish.css */
  --pgc-polish-border: #c49b43;
  --pgc-polish-border-strong: #a87918;
  --pgc-polish-border-accent: #dab04b;
  --pgc-polish-frame-grad: linear-gradient(135deg, #5b3b0c 0%, #a87918 24%, #fff0b8 50%, #a87918 76%, #5b3b0c 100%);
  --pgc-polish-border-grad: linear-gradient(120deg, #5b3b0c, #a87918, #f2dfaa, #a87918, #5b3b0c);
  --pgc-polish-shadow-soft: 0 2px 12px rgba(91, 59, 12, 0.2), 0 0 0 1px rgba(218, 163, 43, 0.4);
  --pgc-polish-shadow-panel: 0 8px 24px rgba(91, 59, 12, 0.22), inset 0 1px 0 rgba(255, 240, 184, 0.2);
  --pgc-polish-text-heading: var(--default-h1-color);
  --pgc-polish-text-heading-alt: var(--default-h2-color);
  --pgc-polish-text-body: var(--default-p-color);
  --pgc-polish-text-muted: #c5bda9;
  --pgc-polish-link-hover: var(--footer-links-li-a-hover-color);
  --pgc-polish-article-bg: linear-gradient(180deg, #7a5210 0%, #5b3b0c 100%);
  --pgc-polish-table-head-bg: #7a5210;
  --pgc-polish-table-cell-bg: #5b3b0c;
  --pgc-polish-table-cell-even: #a87918;
  --pgc-polish-table-cell-hover: #c49b43;
  --pgc-polish-header-bg: linear-gradient(180deg, #a87918 0%, #5b3b0c 100%);
  --pgc-polish-login-bg: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 55%, #080808 100%);
  --pgc-polish-login-color: #fff8e8;
  --pgc-polish-home-info-border: 2px solid #a87918;
  --pgc-polish-footer-inset: inset 0 1px 0 rgba(242, 223, 170, 0.2);
  --pgc-polish-embed-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(240, 192, 0, 0.35);
}

html,
html body {
  background-color: #a87918 !important;
  background-image: linear-gradient(
    180deg,
    rgba(218, 163, 43, 0.34) 0%,
    rgba(91, 59, 12, 0.26) 48%,
    rgba(218, 163, 43, 0.40) 100%
  ) !important;
  color: var(--default-p-color) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-shadow: none !important;
}

.site-footer .site-description h1 {
  color: #f5f2e9 !important;
}

.site-footer .site-description h2 {
  color: #ff6b7a !important;
}

.site-footer .site-description h3,
.site-footer .site-description .faq-item summary h3 {
  color: var(--default-h3-color) !important;
}

.site-footer .site-description p,
.site-footer .site-description li,
.site-footer .site-description ol {
  color: var(--default-p-color) !important;
}

.site-footer .site-description a {
  color: var(--default-a-color) !important;
}

.site-footer .site-description a:hover {
  color: #ffb3bc !important;
}

.announcement-container,
.announcement-container .announcement-list li {
  color: var(--announcement-cntr-section-announcement-color) !important;
}

.announcement-container [data-section="title"] {
  color: var(--announcement-cntr-color) !important;
}

.section-title,
.jackpot-winner-title,
.popular-games .section-title {
  color: var(--default-h2-color) !important;
}

.top-menu > li > a,
.main-menu-outer-container > main > a {
  color: var(--default-body-color) !important;
}

.top-menu > li:hover > a,
.top-menu > li[data-active="true"] > a,
.main-menu-outer-container > main > a:hover,
.main-menu-outer-container > main > a[data-active="true"] {
  color: var(--default-h1-color) !important;
}

.fixed-footer.index-mobile-only > a {
  color: var(--default-body-color) !important;
}

.fixed-footer.index-mobile-only > a[data-active="true"] {
  color: var(--default-h1-color) !important;
}

.home-progressive-jackpot .jackpot-play-text {
  color: var(--home-progressive-jackpot-jackpot-play-text-color) !important;
}

.home-progressive-jackpot .jackpot-play-text span {
  color: var(--home-progressive-jackpot-jackpot-play-text-label-color) !important;
}

.topbar-container.index-desktop-only,
.topbar-container,
.site-header.index-desktop-only,
.header.index-mobile-only .site-header {
  background: var(--yellow-deep) !important;
  border-bottom: 2px solid #f0c000 !important;
}

.site-header.index-desktop-only::after {
  background: #f0c000 !important;
}

.announcement-container {
  background: var(--yellow-mid) !important;
  border-color: #f0c000 !important;
  color: #fff !important;
}

.home-info-container {
  background: var(--yellow-base) !important;
  border-color: var(--yellow-mid) !important;
}

.banner,
.banner-carousel {
  background: var(--banner-bg) !important;
}

.popular-games {
  background-color: var(--popular-games-bg) !important;
}

.popular-games .nav-tabs > li > a,
.popular-games .nav-tabs > li.active > a,
.popular-games .nav-tabs > li.active > a:focus,
.popular-games .nav-tabs > li.active > a:hover {
  background-color: var(--popular-games-nav-tabs-li-a-bg) !important;
}

.popular-games .tab-content {
  background-color: var(--popular-games-tab-pane-bg) !important;
}

.popular-games [data-section="left"] {
  background-color: var(--jackpot-winners-bg) !important;
}

.popular-games .section-title,
.jackpot-winner-title {
  background-color: var(--popular-games-left-section-title-bg) !important;
}

.lottery-result-container .lottery-result-title {
  background: var(--lottery-result-cntr-title-bg) !important;
}

/* Jackpot Play: struktur & padding dari normad-alpha-desktop (sama index1), warna merah */
.home-progressive-jackpot {
  background: var(--home-progressive-jackpot-bg) !important;
  background-image: var(--home-progressive-jackpot-bg) !important;
}

.home-progressive-jackpot .outer-container {
  background-color: var(--home-progressive-jackpot-outer-cntr-bg) !important;
}

.home-progressive-jackpot .inner-container {
  background-color: transparent !important;
  background-image: var(--home-progressive-jackpot-inner-cntr-bg) !important;
}

.home-progressive-jackpot .border-container {
  background-color: var(--home-progressive-jackpot-border-cntr-bg) !important;
  border: var(--home-progressive-jackpot-border-cntr-border) !important;
}

.home-progressive-jackpot .jackpot-container {
  background-color: transparent !important;
  background-image: var(--home-progressive-jackpot-jackpot-cntr-bg) !important;
}

.home-progressive-jackpot .jackpot-inner-container {
  background-color: var(--home-progressive-jackpot-jackpot-inner-cntr-bg) !important;
}

.home-progressive-jackpot .jackpot-border-container {
  border: var(--home-progressive-jackpot-jackpot-border-cntr-border) !important;
}

.home-progressive-jackpot .jackpot-currency {
  color: var(--home-progressive-jackpot-jackpot-currency-color) !important;
}

.site-footer {
  background-color: var(--site-footer-bg) !important;
  background-image: none !important;
  border-top-color: var(--yellow-mid) !important;
}

.site-footer .footer-description-section,
.site-footer .footer-copyright-section,
.site-footer .site-description {
  background-color: transparent !important;
}

.site-footer .site-description table,
.site-footer .site-description table thead,
.site-footer .site-description table tbody {
  background-color: transparent !important;
}

.site-footer .site-description table thead th {
  background-color: var(--yellow-mid) !important;
  color: #f5f2e9 !important;
  border-color: var(--yellow-light) !important;
}

.site-footer .site-description table tbody th {
  background-color: var(--yellow-deep) !important;
}

.site-footer .copyright,
.site-footer .footer-section-title {
  color: var(--yellow-soft) !important;
}

.announcement-container [data-section="announcements"] {
  background-color: var(--announcement-cntr-section-announcement-bg) !important;
}

.home-mode-switch {
  background: linear-gradient(120deg, #5b3b0c, #a87918, #daa32b, #a87918, #5b3b0c) !important;
}

.home-mode-switch__btn {
  background: var(--yellow-deep) !important;
  color: #ffb3bc !important;
}

.home-mode-switch__btn.is-active {
  background: linear-gradient(to top, #8d6810 0%, #f9d459 48%, #fff0b8 100%) !important;
  color: #141414 !important;
}

.home-baccarat-embed-shell {
  width: 100%;
  margin: 4px 0 14px;
  padding: 2px;
  border-radius: 10px;
  background: linear-gradient(120deg, #5b3b0c, #a87918, #daa32b, #a87918, #5b3b0c) !important;
  background-size: 200% 200%;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.home-baccarat-embed {
  display: block;
  width: 100%;
  min-height: 780px;
  height: min(92vh, 920px);
  border: none;
  border-radius: 8px;
  background: var(--yellow-base) !important;
}

.home-baccarat-embed.home-baccarat-embed--hilo {
  min-height: 400px;
  height: 520px;
  max-height: none;
  background: #0a0a0a !important;
}

.home-baccarat-embed.home-baccarat-embed--blackjack,
.home-baccarat-embed.home-baccarat-embed--poker,
.home-baccarat-embed.home-baccarat-embed--roulette {
  min-height: 0 !important;
  height: 520px;
  max-height: none;
  overflow: hidden;
  background: #071b17 !important;
}

.home-baccarat-embed.home-baccarat-embed--sa,
.home-baccarat-embed.home-baccarat-embed--dragon-tiger,
.home-baccarat-embed-shell .home-baccarat-inline {
  min-height: 0 !important;
  height: auto;
  max-height: none;
  overflow: visible;
  background: #04120c !important;
}

@media (max-width: 991px) {
  .home-sa-baccarat-demo-row {
    position: relative;
    z-index: 1;
  }

  .home-baccarat-embed {
    min-height: 360px;
    height: auto;
    max-height: none;
    overflow: visible;
    border-radius: 7px;
    vertical-align: top;
  }

  .home-baccarat-embed.home-baccarat-embed--hilo {
    min-height: 320px;
    height: auto;
  }

  .home-baccarat-embed.home-baccarat-embed--blackjack,
  .home-baccarat-embed.home-baccarat-embed--poker,
  .home-baccarat-embed.home-baccarat-embed--roulette,
  .home-baccarat-embed.home-baccarat-embed--sa,
  .home-baccarat-embed.home-baccarat-embed--dragon-tiger,
  .home-baccarat-inline {
    min-height: 0 !important;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .home-baccarat-embed-shell {
    overflow: visible;
    padding: 3px;
    border: 2px solid rgba(240, 192, 0, 0.75);
    box-sizing: border-box;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  }

  .home-sa-baccarat-demo-row,
  .home-sa-baccarat-demo-row .col-md-12 {
    overflow: visible;
    max-width: 100%;
  }
}

.login-links-container .login-button,
.side-menu-login-panel .login-button {
  background: var(--yellow-mid) !important;
  background-image: none !important;
  border: 1px solid #f0c000 !important;
  color: #fff !important;
}

/* Top bar: tonjolkan login / register */
.topbar-container .login-panel {
  align-items: center;
  gap: 4px;
}

.topbar-container .login-panel .login-panel-item + .login-panel-item {
  margin-left: 12px !important;
}

.topbar-container .login-panel .login-button,
.topbar-container .login-panel .register-button {
  width: auto !important;
  min-width: 122px;
  padding: 9px 20px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  border-radius: 999px !important;
  text-transform: none !important;
  letter-spacing: 0.02em;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(240, 192, 0, 0.4);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease;
}

.topbar-container .login-panel .login-button {
  background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 55%, #080808 100%) !important;
  border: 2px solid #f0c000 !important;
  color: #fff !important;
}

.topbar-container .login-panel .register-button {
  background: var(--pgc-register-btn-bg) !important;
  border: 2px solid #fff6c4 !important;
  color: #241c08 !important;
  box-shadow:
    0 4px 16px rgba(200, 140, 0, 0.42),
    0 0 14px rgba(255, 225, 74, 0.28),
    0 0 0 1px rgba(255, 246, 196, 0.55);
}

.topbar-container .login-panel .login-button:hover,
.topbar-container .login-panel .register-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.topbar-container .login-panel .login-button:hover {
  box-shadow:
    0 7px 20px rgba(0, 0, 0, 0.42),
    0 0 18px rgba(240, 192, 0, 0.45);
}

.topbar-container .login-panel .register-button:hover {
  background: var(--pgc-register-btn-bg-hover) !important;
  box-shadow:
    0 7px 20px rgba(0, 0, 0, 0.42),
    0 0 18px rgba(240, 192, 0, 0.45);
}

.login-links-container a.register-button,
.login-panel .register-button,
.side-menu-login-panel .register-button {
  background: var(--pgc-register-btn-bg) !important;
  background-image: var(--pgc-register-btn-bg) !important;
  border: 2px solid #fff6c4 !important;
  color: #241c08 !important;
  box-shadow: 0 4px 14px rgba(200, 140, 0, 0.35) !important;
}

.login-links-container a.register-button:hover,
.login-panel .register-button:hover,
.side-menu-login-panel .register-button:hover {
  background: var(--pgc-register-btn-bg-hover) !important;
  background-image: var(--pgc-register-btn-bg-hover) !important;
}

.site-footer .site-description table th {
  background: var(--yellow-mid) !important;
  border-color: var(--yellow-light) !important;
  color: #f5f2e9 !important;
}

.site-footer .site-description table td {
  background: var(--yellow-deep) !important;
  color: var(--default-p-color) !important;
  border-color: rgba(218, 176, 75, 0.35) !important;
}

.site-footer .site-description table tr:nth-child(even) td {
  background: var(--yellow-mid) !important;
}

.site-footer .site-description table tr:hover td {
  background: var(--yellow-light) !important;
}

.site-footer .site-description .faq-item {
  background: var(--yellow-deep) !important;
  border-color: rgba(240, 192, 0, 0.55) !important;
}

.modal-content,
.popup-modal .modal-content {
  background: var(--yellow-deep) !important;
  border-color: #f0c000 !important;
  color: #fff !important;
}

.main-menu-outer-container.index-mobile-only {
  background: var(--yellow-deep) !important;
}

.fixed-footer.index-mobile-only {
  background: var(--yellow-deep) !important;
  border-top-color: #f0c000 !important;
}

.site-footer .site-description .faq-item p {
  color: var(--default-body-color) !important;
}

.site-menu a,
.site-menu ul,
.site-menu li {
  color: var(--default-p-color) !important;
}

@media (min-width: 992px) {
  .home-sa-baccarat-demo-row {
    margin-top: 0;
  }

  .home-info-container > .container > .row:nth-child(4) #home_panel_games .popular-games {
    margin-top: 10px;
  }
}