.bos-faq {
    padding: clamp(26px, 4vw, 54px) 0;
    background: linear-gradient(115deg, #321317, #170e0f 72%);
    border-block: 1px solid #544324;
    color: #efe9dc;
}
.bos-faq h2, .bos-article h1 {
    color: #ecc975;
    line-height: 1.2;
    text-align: left;
}
.bos-faq h2 { font-size: clamp(24px, 3vw, 36px); margin: 0 0 20px; }
.bos-faq-list { border: 1px solid #5f4d2d; border-radius: 12px; overflow: hidden; background: #1e1213; }
.bos-faq details + details { border-top: 1px solid #413923; }
.bos-faq summary {
    padding: 16px 20px; display: flex; justify-content: space-between; align-items: center;
    gap: 16px; cursor: pointer; font-size: 17px; font-weight: 650; list-style: none;
}
.bos-faq summary::-webkit-details-marker { display: none; }
.bos-faq summary::after { content: ''; width: 9px; height: 9px; flex: none; border: solid #d6b469; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bos-faq details[open] summary { color: #f3cf7a; }
.bos-faq details[open] summary::after { transform: rotate(225deg); }
.bos-faq summary:focus-visible { outline: 2px solid #f3cf7a; outline-offset: -4px; }
.bos-faq p { margin: 0; padding: 0 20px 18px; color: #e0d9ca; line-height: 1.6; }
.bos-article p { color: #dfd9ce; line-height: 1.65; text-align: left; }
.footer-sitemap-section:has(.bos-info) { flex-wrap: wrap; gap: 22px; padding-right: 0; }
.bos-info { align-self: flex-start; flex: 0 1 470px; max-width: 100%; overflow: hidden; border: 1px solid #79602c; border-radius: 14px; background: #1e1213; }
.bos-info table { width: 100%; border-collapse: collapse; color: #ebe5d8; font-size: 15px; }
.bos-info caption { caption-side: top; color: #f2d38a; background: #461a1e; text-align: left; font-size: 20px; font-weight: 700; padding: 16px; }
.bos-info th, .bos-info td { padding: 10px 16px; border-top: 1px solid #403723; }
.bos-info th { text-align: left; }
.bos-info td { text-align: right; }
.bos-info strong, .bos-info [role="img"] { color: #f3cf7a; }
@media (max-width: 600px) {
    .bos-info { flex-basis: 100%; }
    .bos-info th, .bos-info td { padding: 9px 10px; }
}

:root {
    --home-info-cntr-bg: transparent;
    --home-info-cntr-tickercntr-bg: transparent;
    --home-progressive-jackpot-bg: linear-gradient(165deg, #613514 0%, #edc574 18%, #8c5829 42%, #512513 72%, #bd8942 100%);
    --home-progressive-jackpot-color: #ffdd87;
    --home-progressive-jackpot-outer-cntr-bg: #2e0b10;
    --home-progressive-jackpot-inner-cntr-bg: linear-gradient(135deg, #7c2528, #3d1319 55%, #652229);
    --home-progressive-jackpot-border-cntr-bg: #321016;
    --home-progressive-jackpot-border-cntr-border: 2px solid #bd8e45;
    --home-progressive-jackpot-jackpot-cntr-bg: linear-gradient(168deg, #e3b65d, #793b23 48%, #a87239);
    --home-progressive-jackpot-jackpot-inner-cntr-bg: #250c11;
    --home-progressive-jackpot-jackpot-border-cntr-border: 1px solid #b48042;
    --home-progressive-jackpot-jackpot-currency-color: #edb858;
    --home-progressive-jackpot-jackpot-play-text-color: #fff0bd;
    --home-progressive-jackpot-jackpot-play-text-label-color: #edb858;
    --body-theme-bg: #140d0e;
    --topbar-cntr-bg: #211012c4;
    --site-header-bg: #43161b;
    --top-menu-li-true-hover-bg: #68232a;
    --top-menu-game-list-bg: rgba(35, 14, 17, .97);
    --banner-bg: #160c0e;
    --announcement-cntr-bg: #511b20;
    --announcement-cntr-section-announcement-bg: #241214;
    --announcement-cntr-color: #f7d888;
    --popular-games-bg: #21121499;
    --popular-games-scrtabs-tab-cntr-bg: #32171b;
    --popular-games-tab-pane-bg: #211214a8;
    --popular-games-nav-tabs-li-a-active-bg: #64252d;
    --popular-game-title-cntr-title-span-bg: #702931;
    --popular-game-title-cntr-title-span-after-bg: #702931;
    --site-footer-bg: #1b1012;
    --footer-banking-card-bg: #241619;
    --footer-featured-product-bg: #30191d;
    --footer-sitemap-header-color: #e9c477;
}
body {
    isolation: isolate;
    background: transparent;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: #170c0e url("/brand/istana-mahjong.webp") center / cover no-repeat;
}
@media (orientation: portrait) {
    body::before { background-position: 14% center; }
}
body .site-header {
    position: relative;
    z-index: 50;
    background: linear-gradient(90deg, #190a0d52, #300e1380 50%, #190a0d52);
    border-bottom: 1px solid #805e35;
}
body .site-footer {
    background: linear-gradient(#1b0e1166, #180c0fa8);
}
.bos-article {
    padding: clamp(28px, 5vw, 64px) 0;
    background: linear-gradient(90deg, #1b0b1099, #180b0f66 74%, #180b0f22);
    border-block: 1px solid #76572e;
}
.bos-article h1 { max-width: 38ch; margin: 0 0 16px; font-size: clamp(25px, 3vw, 42px); }
.bos-article p { max-width: 90ch; margin: 0; font-size: 17px; }
.site-footer .bos-faq { padding: clamp(20px, 3vw, 36px); border: 1px solid #67492f; border-radius: 14px; }

.popular-game-title-container .container-content { background-color: #190d1099; }

:root { --bos-dock-height: 64px; }
body { padding-bottom: calc(var(--bos-dock-height) + env(safe-area-inset-bottom, 0px)); }
.bos-dock {
    position: fixed;
    inset: auto 0 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    background: linear-gradient(180deg, #472026, #281216);
    box-shadow: inset 0 1px #bd8e45, 0 -4px 16px #10070b80;
}
.bos-dock a {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    height: var(--bos-dock-height);
    box-sizing: border-box;
    padding-bottom: 6px;
    color: #f4d596;
    font: 600 .8125rem/1.2 system-ui, sans-serif;
    text-decoration: none;
    white-space: nowrap;
}
.bos-dock a:is(:hover, :focus-visible) { background-color: #612830; color: #fff1c9; }
.bos-dock a:focus-visible { outline: 2px solid #edc574; outline-offset: -3px; }
.bos-dock-icon { height: 28px; display: grid; place-items: center; }
.bos-dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bos-dock a[aria-current] { color: #ffdd87; }
.bos-dock a:nth-child(3) .bos-dock-icon {
    width: 39px;
    height: 39px;
    border-radius: 50%;
    border: 1px solid #eac67a;
    background: radial-gradient(at top, #7b3438, #37151b);
    box-shadow: 0 0 0 3px #36171c;
}

#popup_modal.welcome-promo {
    padding: 0 !important;
}
#popup_modal.welcome-promo .modal-dialog {
    width: min(25rem, calc(100vw - 24px));
    max-width: none;
    min-width: 0;
    min-height: calc(100% - 24px);
    margin: 12px auto;
    display: flex;
    align-items: center;
}
#popup_modal.welcome-promo .modal-content {
    width: 100%;
    padding: 0;
    border: 1px solid #be9149;
    border-radius: 16px;
    background: linear-gradient(145deg, #481a21, #220e12);
    box-shadow: 0 18px 64px #100508aa;
    overflow: hidden;
}
#popup_modal.welcome-promo .modal-header {
    position: relative;
    padding: 0 56px 0 16px;
    min-height: 46px;
    border: 0;
}
#popup_modal.welcome-promo .modal-title {
    margin: 0;
    color: #f5d38b;
    text-align: left;
    font: 700 1rem/46px system-ui, sans-serif;
}
#popup_modal.welcome-promo .modal-title::before,
#popup_modal.welcome-promo .modal-footer { display: none; }
#popup_modal.welcome-promo .btn-close {
    position: absolute;
    inset: 0 0 auto auto;
    width: 46px;
    height: 46px;
    padding: 0;
    margin: 0;
    opacity: 1;
    background: transparent;
    color: #ffedc5;
    font: 400 30px/1 system-ui, sans-serif;
}
#popup_modal.welcome-promo .btn-close span { color: inherit; }
#popup_modal.welcome-promo .modal-body,
#popup_modal.welcome-promo .modal-body p { margin: 0; padding: 0; }
#popup_modal.welcome-promo .promo-art {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 201px);
    max-height: calc(100dvh - 201px);
    object-fit: contain;
    background: #230e13;
}
#popup_modal.welcome-promo .promo-actions {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
    padding: 10px;
}
#popup_modal.welcome-promo .promo-actions a {
    grid-column: span 2;
    display: grid;
    place-items: center;
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid #a97e44;
    color: #ffe6b0;
    text-decoration: none;
    font: 650 .875rem/1.2 system-ui, sans-serif;
}
#popup_modal.welcome-promo .promo-actions .promo-contact { grid-column: span 3; }
#popup_modal.welcome-promo .promo-actions .promo-livechat {
    background-color: #8ed9ff;
    border-color: #8ed9ff;
    color: #10283d;
}
#popup_modal.welcome-promo .promo-actions .promo-whatsapp {
    background-color: #4ade80;
    border-color: #4ade80;
    color: #10291c;
}
#popup_modal.welcome-promo .promo-actions a:nth-child(2) {
    background: linear-gradient(#ffe5a5, #d5a04a);
    color: #321810;
}
#popup_modal.welcome-promo :focus-visible { outline: 2px solid #fff1c8; outline-offset: -3px; }

@media (max-width: 767px) {
    .home-inner-container:has([data-section="jackpot"]) { margin-block: 10px 20px; }
    .home-inner-container [data-section="jackpot"] { min-width: 0; width: 100%; }
    [data-section="jackpot"] > a { display: block; }
    .home-progressive-jackpot { padding: 3px; border-radius: 17px; }
    .home-progressive-jackpot :is(.outer-container, .inner-container) {
        min-width: 0;
        padding: 2px;
        border-radius: 14px;
    }
    .home-progressive-jackpot .border-container {
        min-width: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        padding: 7px;
        border-radius: 12px;
    }
    .home-progressive-jackpot .jackpot-play-section {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0;
    }
    .home-progressive-jackpot .jackpot-play-section img { display: block; width: 64px; }
    .home-progressive-jackpot .jackpot-play-section .jackpot-play-text {
        font-size: 17px;
        white-space: nowrap;
    }
    .home-progressive-jackpot .jackpot-container {
        min-width: 0;
        padding: 3px;
        font-size: clamp(18px, 5vw, 28px);
        letter-spacing: .025em;
    }
    .home-progressive-jackpot .jackpot-inner-container { min-width: 0; padding: 2px; }
    .home-progressive-jackpot .jackpot-border-container {
        min-width: 0;
        align-items: baseline;
        gap: .35em;
        line-height: 1.2;
        padding: 5px;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }
    .home-progressive-jackpot .jackpot-currency { margin: 0; font-size: .8em; }
}

.bos-article a { color: #f3cf7a; text-decoration: underline; }
.bos-reviews { padding: 24px 0 32px; color: #e0d9ca; }
.bos-reviews h2 { margin: 0 0 16px; color: #f3cf7a; font-size: clamp(24px, 3vw, 36px); }
.bos-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.bos-review { margin: 0; padding: 18px; border: 1px solid #67492f; border-radius: 12px; background: #1e1213; }
.bos-review figcaption { margin-bottom: 8px; color: #f3cf7a; font-weight: 700; }
.bos-review blockquote { margin: 0; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
