
/* ==========================================================
   UW88 RTP — LUXURY GOLD 2026
   FULL CSS REVISED — VERSION 1.2

   - Premium Obsidian Black & Champagne Gold
   - Desktop and Mobile Responsive
   - Sidebar Slot Games Expandable
   - Provider Submenu Dark Gold Pill Design
   - Compatible With Existing UW88 RTP Structure
========================================================== */


/* =========================
   01. GLOBAL VARIABLES
========================= */

:root {
    --lux-bg: #080706;
    --lux-panel: #15110d;
    --lux-soft: #211a12;
    --lux-gold: #eabf62;
    --lux-gold2: #fff1b9;
    --lux-border: #735422;
    --lux-muted: #b3a48b;
    --lux-text: #f8f3e7;
    --lux-gradient: linear-gradient(
        130deg,
        #fff0ac,
        #d89319 62%,
        #f8c75a
    );
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 !important;
    color: var(--lux-text) !important;
    font-family: Inter, system-ui, -apple-system,
                 "Segoe UI", Arial, sans-serif !important;
    background:
        radial-gradient(
            ellipse at 70% -15%,
            #5e3510 0%,
            transparent 40%
        ),
        radial-gradient(
            ellipse at -20% 80%,
            #372006 0%,
            transparent 45%
        ),
        var(--lux-bg) !important;
}


/* =========================
   02. MAIN WEBSITE SHELL
========================= */

.lux-shell {
    display: grid;
    grid-template-columns: 218px minmax(0, 1fr);
    max-width: 1500px;
    min-height: calc(100vh - 50px);
    margin: 25px auto;
    border: 1px solid #e1af46;
    border-radius: 26px;
    overflow: hidden;
    background: #0a0908;
    box-shadow:
        0 0 0 5px #1c1207,
        0 0 33px #d4923075,
        0 30px 90px #000;
}


/* =========================
   03. SIDEBAR
========================= */

.lux-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 21px 14px;
    background: linear-gradient(
        155deg,
        #1c1510,
        #100e0c 65%,
        #2e1b0a
    );
    border-right: 1px solid #5b4525;
}

.lux-brand {
    display: block;
    padding: 9px 12px 27px;
}

.lux-brand img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 65px;
    object-fit: contain;
}

.lux-sidebar-label {
    margin: 0 12px 15px;
    font-size: 10px;
    letter-spacing: 2px;
    color: #998061;
}

.lux-nav {
    display: grid;
    gap: 9px;
    align-content: start;
}

.lux-nav-link {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #ffffff04;
    color: #e6d9c1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.lux-nav-link::first-letter {
    color: #f7cb6b;
}

.lux-nav-link:hover,
.lux-nav-link.active {
    background: var(--lux-gradient);
    color: #1c1309;
    border-color: #ffe09a;
    box-shadow: 0 3px 13px #dba22c46;
}

.lux-sidebar-bottom {
    margin-top: auto;
    padding: 32px 12px 12px;
    text-align: center;
    color: #a9916b;
}

.lux-crown {
    display: block;
    font-size: 74px;
    line-height: 1;
    color: #bf8a29;
    text-shadow: 0 2px 12px #ffb74388;
}

.lux-sidebar-bottom p {
    font-weight: 800;
    font-size: 12px;
    color: #dbb66e;
}

.lux-sidebar-bottom small {
    display: block;
    font-size: 11px;
    line-height: 1.5;
}


/* ===================================================
   04. SLOT GAMES — EXPANDABLE MENU
=================================================== */

.lux-nav-group {
    min-width: 0;
}

.lux-slot-toggle {
    width: 100%;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.lux-slot-toggle .lux-nav-chevron {
    margin-left: auto;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.lux-slot-toggle[aria-expanded="false"]
.lux-nav-chevron {
    transform: rotate(-90deg);
}

.lux-slot-toggle[aria-expanded="true"]
.lux-nav-chevron {
    transform: rotate(0deg);
}


/* ===================================================
   05. PROVIDER SUBMENU — LUXURY GOLD FIX
=================================================== */

/*
   Important:
   These rules override legacy .cek-rtp-btn styling
   ONLY inside the Slot Games submenu.
*/

.lux-shell .lux-sidebar .lux-slot-submenu {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;

    width: calc(100% - 12px);
    margin: 11px 0 14px 12px;
    padding: 0 0 0 15px;

    border-left: 1px solid #a77d32;
    background: transparent;
}

.lux-shell .lux-sidebar
.lux-slot-submenu[hidden] {
    display: none !important;
}

/* Provider buttons */

.lux-shell .lux-sidebar
.lux-slot-submenu a.lux-provider-link,
.lux-shell .lux-sidebar
.lux-slot-submenu button.lux-provider-link {

    position: relative;
    box-sizing: border-box !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 35px !important;
    height: auto !important;

    margin: 0 !important;
    padding: 7px 10px !important;

    background: linear-gradient(
        120deg,
        #1b140d 0%,
        #32210e 65%,
        #17110b 100%
    ) !important;

    color: #f0d39d !important;

    border: 1px solid #966b2b !important;
    border-radius: 22px !important;

    text-decoration: none !important;
    text-align: left !important;

    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;

    white-space: normal !important;
    text-shadow: none !important;
    text-transform: none !important;

    box-shadow:
        inset 0 1px 0 #ffdf8812,
        0 2px 6px #0004 !important;

    transform: none !important;
    filter: none !important;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease !important;
}

/* Connector dots */

.lux-shell .lux-sidebar
.lux-slot-submenu .lux-provider-link::before {
    content: "";
    position: absolute;

    left: -19px;
    top: 50%;

    width: 6px;
    height: 6px;

    border: 0;
    border-radius: 50%;

    background: #f5c65e;
    box-shadow: 0 0 7px #f9bf50;

    transform: translateY(-50%);
    pointer-events: none;
}

/* Provider icons */

.lux-shell .lux-sidebar
.lux-slot-submenu .lux-provider-icon {
    display: inline-flex !important;
    flex: 0 0 24px !important;

    width: 24px !important;
    min-width: 24px !important;

    align-items: center !important;
    justify-content: center !important;

    color: #f2bd57 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-shadow: none !important;
}

/* Hover and selected provider */

.lux-shell .lux-sidebar
.lux-slot-submenu .lux-provider-link:hover,
.lux-shell .lux-sidebar
.lux-slot-submenu .lux-provider-link:focus-visible,
.lux-shell .lux-sidebar
.lux-slot-submenu .lux-provider-link.active {

    background: linear-gradient(
        115deg,
        #fff0ad,
        #dca137
    ) !important;

    color: #211609 !important;
    border-color: #ffe1a1 !important;

    box-shadow:
        0 0 12px #e8b64d65,
        inset 0 1px 0 #fff5cc !important;

    outline: none;
}

.lux-shell .lux-sidebar
.lux-slot-submenu .lux-provider-link:hover
.lux-provider-icon,
.lux-shell .lux-sidebar
.lux-slot-submenu .lux-provider-link.active
.lux-provider-icon {
    color: #261805 !important;
}


/* =========================
   06. MAIN CONTENT
========================= */

.lux-content {
    min-width: 0;
    padding: 22px 22px 13px;
}


/* =========================
   07. TOP BAR
========================= */

.lux-topbar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.lux-category,
.lux-search,
.lux-data-status {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #6b4a22;
    border-radius: 24px;
    background: linear-gradient(#21190f, #110f0d);
    color: #e9d8b3;
    font-size: 12px;
}

.lux-category {
    flex: 0 0 165px;
    justify-content: space-between;
}

.lux-category span {
    color: var(--lux-gold);
}

.lux-search {
    flex: 1;
    min-width: 110px;
    gap: 11px;
}

.lux-search span {
    color: var(--lux-gold);
    font-size: 24px;
}

.lux-search input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 13px;
}

.lux-search input::placeholder {
    color: #b2a084;
}

.lux-data-status {
    white-space: nowrap;
}

.lux-status-dot {
    width: 8px;
    height: 8px;
    margin-right: 8px;
    background: #a89c7d;
    border-radius: 50%;
}

.lux-mobile-toggle {
    display: none;
}


/* =========================
   08. HERO BANNER
========================= */

.lux-hero-row {
    display: grid;
    grid-template-columns:
        minmax(0, 3.1fr) minmax(205px, 1fr);
    gap: 16px;
}

.lux-hero,
.lux-update-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #b58535;
    border-radius: 19px;
    background-color: #1d140b;
}

.lux-hero {
    display: flex;
    align-items: center;

    min-height: 288px;
    padding: 33px;

    background-image:
        radial-gradient(
            circle at 76% 45%,
            #b3791680,
            transparent 38%
        ),
        linear-gradient(
            100deg,
            #160e07 0%,
            #241306c7 52%,
            #2d1709a8 100%
        ),
        url("../../picture/bg_rtp_uw88.webp");

    background-size: cover;
    background-position: center;
}

.lux-hero::after {
    content: "✧  ✦    ✧      ✦";
    position: absolute;
    bottom: 12px;
    right: 20px;
    font-size: 25px;
    letter-spacing: 24px;
    color: #f5bd6399;
}

.lux-hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.lux-kicker {
    font-size: 11px;
    letter-spacing: 2px;
    color: #f7d489;
    font-weight: 800;
}

.lux-hero h1 {
    margin: 16px 0 12px !important;
    font-size: clamp(30px, 3.4vw, 51px);
    line-height: 1.1;
    letter-spacing: -1px;
    font-weight: 950;
    color: #fff0b4 !important;
    text-shadow:
        0 3px 2px #6a310a,
        0 0 22px #ffac3199;
}

.lux-hero h1 em {
    font-style: normal;
    color: #fff;
}

.lux-hero p {
    max-width: 460px;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.7;
    color: #f1e6cc;
}

.lux-hero-symbol {
    position: absolute;
    right: 9%;
    top: 17%;
    z-index: 1;

    font-size: 155px;
    color: #f0b13b;
    opacity: 0.65;

    text-shadow: 0 0 34px #ffc23c9a;
    transform: rotate(-7deg);
}

.lux-halo {
    position: absolute;
    top: -20px;
    right: -52px;

    width: 230px;
    height: 230px;

    border: 2px solid #ffd17d85;
    border-radius: 50%;

    box-shadow:
        0 0 45px #f4b93b99,
        inset 0 0 27px #f4b93b66;
}


/* =========================
   09. GOLD BUTTONS
========================= */

.lux-gold-button,
.lux-outline-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    margin: 0 8px 8px 0;
    padding: 13px 18px;

    border-radius: 24px;
    text-decoration: none !important;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.3px;
}

.lux-gold-button {
    background: linear-gradient(
        #fff4bd,
        #ffc543 50%,
        #cc7b06
    );
    border: 1px solid #ffe29c;
    color: #251405 !important;
    box-shadow:
        inset 0 1px #fff7d8,
        0 4px 18px #d9922670;
}

.lux-outline-button {
    border: 1px solid #e3b666;
    background: #130e09c9;
    color: #fbe5b2 !important;
}


/* =========================
   10. RTP STATUS PANEL
========================= */

.lux-update-card {
    padding: 24px 19px;
    text-align: center;
    background: radial-gradient(
        ellipse at 50% 43%,
        #573510,
        #1d130b 65%
    );
}

.lux-update-icon {
    font-size: 40px;
    color: #ffc75f;
}

.lux-update-card h2 {
    margin: 9px 0 !important;
    font-size: 21px !important;
    color: #ffdd98 !important;
}

.lux-update-card p {
    margin-bottom: 9px;
    font-size: 12px;
    line-height: 1.65;
    color: #e2d0b0;
}

.lux-update-card strong {
    display: block;
    font-size: 40px;
    color: #f8d891;
}

.lux-update-card small {
    display: block;
    margin-bottom: 23px;
    font-size: 11px;
    color: #bfb29c;
}

.lux-update-card .lux-gold-button {
    width: 100%;
    margin: 0;
}


/* =========================
   11. SECTIONS
========================= */

.lux-section {
    margin-top: 26px;
}

.lux-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.lux-section-heading > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lux-section-heading span {
    font-size: 23px;
    color: #f4c25f;
}

.lux-section-heading h2 {
    margin: 0 !important;
    color: #ffe2a0 !important;
    font-size: 21px !important;
    line-height: 1.25;
    font-weight: 900 !important;
}

.lux-section-heading small {
    color: #b5a389;
    font-size: 12px;
}


/* =========================
   12. FEATURED SLOT GAMES
========================= */

.lux-featured-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.lux-feature-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #654b23;
    border-radius: 15px;
    background: #17120e;
    color: #fff !important;
    text-decoration: none !important;
    transition:
        transform 0.2s,
        border-color 0.2s;
}

.lux-feature-card:hover {
    transform: translateY(-3px);
    border-color: #f7c668;
}

.lux-feature-image {
    position: relative;
    aspect-ratio: 1.6;
    overflow: hidden;
    background: #33220c;
}

.lux-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lux-rtp-chip {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 5px 7px;

    border: 1px solid #d5a94b;
    border-radius: 20px;
    background: #100b08e8;

    color: #f4d6a2;
    font-size: 9px;
    font-weight: 800;
}

.lux-feature-bottom {
    position: relative;
    display: grid;
    gap: 5px;
    padding: 12px 34px 15px 12px;
}

.lux-feature-bottom b {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lux-feature-bottom small {
    color: #ae9975;
    font-size: 11px;
}

.lux-feature-bottom > span {
    position: absolute;
    top: 13px;
    right: 12px;
    width: 24px;
    height: 24px;

    border-radius: 50%;
    background: #c18b25;
    color: #1e1307;

    font-size: 25px;
    line-height: 21px;
    text-align: center;
}


/* =========================
   13. LEGACY RTP COMPONENTS
========================= */

#header-container {
    display: none !important;
}

#body-container {
    min-width: 0;
}

#body-container .uw88-rtp-body {
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

#body-container .rtp-body-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#body-container .rtp-search-box {
    max-width: 420px !important;
    margin: 0 0 18px !important;
}

#body-container .provider-grid,
#body-container .game-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

#body-container .provider-card {
    overflow: hidden !important;
    border: 1px solid #7a5827 !important;
    border-radius: 14px !important;
    background: linear-gradient(
        145deg,
        #2e2417,
        #100e0b
    ) !important;
    box-shadow: 0 10px 25px #0005 !important;
}

#body-container .provider-card:hover {
    border-color: #ffd47a !important;
    transform: translateY(-3px);
}

/* Legacy RTP buttons only inside body */

#body-container .cek-rtp-btn {
    background: linear-gradient(
        #fff0af,
        #c48b22
    ) !important;
    color: #231607 !important;
    border: 1px solid #efc677 !important;
    font-weight: 900 !important;
}

#body-container .provider-header {
    border: 1px solid #775a2c !important;
    border-radius: 16px !important;
    background: linear-gradient(
        120deg,
        #120f0a,
        #37240d
    ) !important;
}

#body-container .provider-header h1 {
    color: #ffdf9b !important;
}

#body-container .rtp-notice {
    border: 1px solid #84672c !important;
    border-radius: 12px !important;
    background: #2e2515 !important;
    color: #f7e0ae !important;
}

#body-container .game-toolbar,
#body-container .game-container {
    background: transparent !important;
}

#body-container .game-container {
    max-width: none !important;
    padding: 0 !important;
}

#body-container .game-card {
    overflow: hidden !important;
    border: 1px solid #85602a !important;
    border-radius: 16px !important;
    background: #17120d !important;
    box-shadow: 0 8px 20px #0006 !important;
}

#body-container .game-card:hover {
    border-color: #ffcf71 !important;
}

#body-container .rtp-badge {
    background: #1a110beb !important;
    border: 1px solid #d9ab59 !important;
    color: #ffe0a3 !important;
}

#body-container .rtp-badge span {
    font-size: 9px !important;
}

#body-container .rtp-badge strong {
    font-size: 16px !important;
}

#body-container .rtp-meter {
    background: #4b3d29 !important;
}

#body-container .rtp-meter-fill {
    background: #f6c45a !important;
}

#body-container .pattern-box {
    background: #221b12 !important;
    border: 1px solid #594321 !important;
}

#body-container .pattern-title {
    color: #d9b77e !important;
}


/* =========================
   14. METHODOLOGY
========================= */

.lux-unavailable {
    font-size: 11px;
    color: #e8d3ad;
}

.lux-method {
    margin-top: 25px;
    padding: 17px 22px;
    border: 1px solid #6d532d;
    border-radius: 13px;
    background: #1e180f;
    color: #dbc9a7;
}

.lux-method b {
    color: #f6ce82;
    font-size: 13px;
}

.lux-method p {
    font-size: 12px;
    line-height: 1.75;
}

.lux-method small {
    font-size: 11px;
    color: #bca47a;
}


/* =========================
   15. FOOTER
========================= */

.lux-footer {
    display: flex;
    justify-content: space-between;

    margin-top: 25px;
    padding: 22px 0 8px;

    border-top: 1px solid #49361b;
    color: #ad9166;
    font-size: 12px;
}


/* =========================
   16. TABLET
========================= */

@media (max-width: 1150px) {

    .lux-featured-grid,
    #body-container .provider-grid,
    #body-container .game-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
    }

    .lux-data-status {
        display: none;
    }

    .lux-hero-symbol {
        right: -4%;
        opacity: 0.38;
    }
}


/* =========================
   17. MOBILE
========================= */

@media (max-width: 850px) {

    .lux-shell {
        grid-template-columns: minmax(0, 1fr);
        min-height: 95vh;
        margin: 9px;
        border-radius: 17px;
    }

    .lux-sidebar {
        display: none;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;

        width: 250px;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;

        box-shadow: 15px 0 60px #000;
    }

    .lux-sidebar.lux-open {
        display: flex;
    }

    .lux-sidebar-bottom {
        margin-top: 24px;
    }

    .lux-content {
        padding: 16px;
    }

    .lux-mobile-toggle {
        display: block;
        padding: 9px 13px;

        border: 1px solid #a67a37;
        border-radius: 9px;

        background: #2b1e0f;
        color: #f6ce78;
        font-size: 20px;
    }

    .lux-hero-row {
        grid-template-columns: 1fr;
    }

    .lux-update-card,
    .lux-category {
        display: none;
    }

    .lux-topbar {
        gap: 8px;
    }

    .lux-section-heading small {
        display: none;
    }

    .lux-featured-grid,
    #body-container .provider-grid,
    #body-container .game-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .lux-hero {
        min-height: 255px;
        padding: 24px;
    }

    .lux-hero h1 {
        font-size: 35px;
    }

    .lux-hero-symbol {
        font-size: 120px;
        right: 3%;
    }
}


/* =========================
   18. SMALL MOBILE
========================= */

@media (max-width: 450px) {

    .lux-content {
        padding: 12px;
    }

    .lux-shell {
        margin: 5px;
    }

    .lux-featured-grid {
        gap: 8px;
    }

    .lux-hero {
        padding: 21px;
        min-height: 282px;
    }

    .lux-hero h1 {
        font-size: 30px;
    }

    .lux-hero p {
        font-size: 12px;
    }

    .lux-gold-button,
    .lux-outline-button {
        padding: 11px 12px;
        font-size: 10px;
    }

    .lux-section-heading h2 {
        font-size: 17px !important;
    }

    .lux-feature-bottom b {
        font-size: 11px;
    }

    .lux-rtp-chip {
        max-width: 125px;
        font-size: 8px;
        text-align: center;
    }

    .lux-hero-symbol {
        opacity: 0.2;
    }

    #body-container .provider-grid,
    #body-container .game-grid {
        gap: 8px !important;
    }

    .lux-footer {
        display: block;
        line-height: 1.8;
    }
}


/* ============================================
   UW88 LUXURY GOLD
   AUTO IMAGE SIZE — POPULAR SLOT GAMES
============================================ */

/* Grid responsif */
.lux-shell .lux-featured-grid {
    display: grid !important;
    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: start !important;
}

/* Kartu mengikuti ukuran konten */
.lux-shell a.lux-feature-card {
    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    padding: 0 !important;
    overflow: hidden !important;

    border: 1px solid #986F31 !important;
    border-radius: 15px !important;
    background: #17110C !important;
}

/* Container gambar otomatis */
.lux-shell .lux-feature-card .lux-feature-image {
    display: block !important;

    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    aspect-ratio: auto !important;

    overflow: hidden !important;
    background: #24170E !important;
}

/* Gambar mengikuti rasio asli */
.lux-shell .lux-feature-card
.lux-feature-image img {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    min-height: 0 !important;
    max-height: none !important;

    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Informasi game */
.lux-shell .lux-feature-card .lux-feature-bottom {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    min-height: 60px !important;
    height: auto !important;

    padding: 11px 42px 11px 13px !important;

    background: #1A130D !important;
}

/* Judul */
.lux-shell .lux-feature-card
.lux-feature-bottom b {
    color: #FFF !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Provider */
.lux-shell .lux-feature-card
.lux-feature-bottom small {
    color: #D4AD69 !important;
    font-size: 11px !important;
}

/* Tablet */
@media (max-width: 1150px) {
    .lux-shell .lux-featured-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 850px) {
    .lux-shell .lux-featured-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* Mobile kecil */
@media (max-width: 450px) {
    .lux-shell .lux-featured-grid {
        gap: 8px !important;
    }

    .lux-shell .lux-feature-card
    .lux-feature-bottom b {
        font-size: 11px !important;
    }
}


/* END — UW88 LUXURY GOLD CSS V1.2 */


/* =================================================
   UW88 LUXURY GOLD
   FIX POPULAR SLOT GAMES — AUTO IMAGE SIZE
   VERSION 2.0
================================================= */

/* Grid popular game */
.lux-shell .lux-featured-grid {
    display: grid !important;
    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: start !important;
}

/* FIX: Override height 30px from .cek-rtp-btn */
.lux-shell .lux-featured-grid
a.lux-feature-card.cek-rtp-btn {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;

    position: relative !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border: 1px solid #98702c !important;
    border-radius: 15px !important;

    background: #17110c !important;
    color: #ffffff !important;

    text-align: left !important;
    text-decoration: none !important;

    white-space: normal !important;
    line-height: normal !important;
}

/* Image wrapper follows original image ratio */
.lux-shell .lux-featured-grid
.lux-feature-card .lux-feature-image {
    display: block !important;
    position: relative !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    aspect-ratio: auto !important;

    overflow: hidden !important;
    background: #21170e !important;

    flex: 0 0 auto !important;
}

/* Full image, no cropping */
.lux-shell .lux-featured-grid
.lux-feature-card .lux-feature-image img {
    display: block !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;

    border: 0 !important;
    border-radius: 0 !important;
}

/* Game title and provider */
.lux-shell .lux-featured-grid
.lux-feature-card .lux-feature-bottom {
    display: flex !important;
    position: relative !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;

    width: 100% !important;
    height: auto !important;
    min-height: 65px !important;

    padding: 12px 42px 12px 13px !important;
    background: #19120c !important;
}

.lux-shell .lux-featured-grid
.lux-feature-bottom b {
    display: block !important;
    width: 100% !important;

    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;

    color: #fff1d6 !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.lux-shell .lux-featured-grid
.lux-feature-bottom small {
    display: block !important;

    color: #d5ad68 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

/* Bottom right arrow */
.lux-shell .lux-featured-grid
.lux-feature-bottom > span {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 28px !important;
    height: 28px !important;

    border-radius: 50% !important;
    background: linear-gradient(
        #ffe9a2,
        #d59a30
    ) !important;

    color: #211407 !important;

    transform: translateY(-50%) !important;
}

/* Hover effect */
.lux-shell .lux-featured-grid
a.lux-feature-card.cek-rtp-btn:hover {
    height: auto !important;
    transform: translateY(-4px) !important;
    filter: none !important;

    border-color: #ffdc88 !important;
    box-shadow: 0 8px 24px #daaa463b !important;
}

/* Responsive grid */
@media (max-width: 1150px) {
    .lux-shell .lux-featured-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 850px) {
    .lux-shell .lux-featured-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

@media (max-width: 450px) {
    .lux-shell .lux-featured-grid {
        gap: 8px !important;
    }

    .lux-shell .lux-featured-grid
    .lux-feature-bottom b {
        font-size: 11px !important;
    }
}

/* ==========================================================
   UW88 LUXURY GOLD
   POPULAR SLOT GAMES — VENDOR ROWS
========================================================== */

.lux-popular-vendors {
    display: grid;
    gap: 16px;
}

.lux-vendor-row {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border: 1px solid #8a6427;
    border-radius: 18px;
    background:
        linear-gradient(180deg, #1a120c, #120d09);
    box-shadow:
        inset 0 0 0 1px #f5d37b12,
        0 10px 24px #00000055;
}

.lux-vendor-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    padding: 18px 16px;
    border-right: 1px solid #5d4320;
}

.lux-vendor-logo {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    color: #fff0c2;
}

.lux-vendor-sub {
    color: #d8b97a;
    font-size: 12px;
    font-weight: 700;
}

.lux-vendor-tag {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 10px 13px;
    border: 1px solid #8c6729;
    border-radius: 999px;
    background: linear-gradient(#22170f, #120d09);
    color: #ffe2a0;
    font-size: 12px;
    font-weight: 800;
}

.lux-vendor-tag-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lux-gradient);
    color: #241507;
    font-weight: 900;
    flex: 0 0 28px;
}

.lux-vendor-games {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.lux-mini-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #7a5928;
    border-radius: 14px;
    background: #17110d;
    text-decoration: none;
    color: #fff;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.lux-mini-card:hover {
    transform: translateY(-3px);
    border-color: #ffd67a;
    box-shadow: 0 10px 20px #00000055;
}

.lux-mini-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #2a1b10;
}

.lux-mini-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lux-mini-badge {
    position: absolute;
    top: 7px;
    left: 7px;
    right: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #100c09e8;
    border: 1px solid #c69238;
    box-shadow: 0 2px 8px #0005;
}

.lux-mini-verify {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #f7e6bf;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.lux-mini-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2fd66d;
    box-shadow: 0 0 10px #2fd66daa;
    flex: 0 0 8px;
}

.lux-mini-rtp {
    color: #ffe39d;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.lux-mini-bottom {
    display: grid;
    gap: 3px;
    padding: 10px 12px 12px;
    min-height: 66px;
    background: linear-gradient(180deg, #1b130d, #120d09);
}

.lux-mini-bottom b {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    color: #fff6df;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lux-mini-bottom small {
    color: #d6b174;
    font-size: 11px;
    line-height: 1.3;
}

@media (max-width: 1500px) {
    .lux-vendor-games {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1150px) {
    .lux-vendor-row {
        grid-template-columns: 1fr;
    }

    .lux-vendor-brand {
        border-right: 0;
        border-bottom: 1px solid #5d4320;
        padding-bottom: 16px;
    }
}

@media (max-width: 850px) {
    .lux-vendor-games {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lux-mini-bottom b {
        font-size: 12px;
    }
}

@media (max-width: 450px) {
    .lux-vendor-games {
        grid-template-columns: 1fr;
    }
}


/* ==========================================
   UW88 POPULAR SLOTS — EXTRA STYLING
========================================== */

.lux-popular-disclaimer {
    margin: 0 0 15px;
    padding: 9px 13px;
    border-left: 3px solid #b88735;
    background: #20170e;
    border-radius: 0 8px 8px 0;
    color: #d8bd8c;
    font-size: 12px;
    line-height: 1.6;
}

.lux-popular-loading {
    margin: 0;
    padding: 35px 15px;
    text-align: center;
    color: #d9b878;
    border: 1px solid #765627;
    border-radius: 14px;
    background: #17110b;
}

/* Smooth anchor scrolling */

#featuredGames,
#rtp-provider,
#luxMethod {
    scroll-margin-top: 20px;
}

/* Preserve six-game horizontal vendor layout */

.lux-shell .lux-vendor-games {
    grid-template-columns:
        repeat(6, minmax(0, 1fr)) !important;
}

@media (max-width: 1200px) {
    .lux-shell .lux-vendor-games {
        grid-template-columns:
            repeat(6, minmax(120px, 1fr)) !important;
        overflow-x: auto !important;
    }
}

@media (max-width: 850px) {
    .lux-popular-disclaimer {
        font-size: 11px;
    }

    .lux-shell .lux-vendor-games {
        grid-template-columns:
            repeat(6, 130px) !important;
    }
}



/* UW88 — LAGI GACOR BADGE */

.lux-shell .lux-mini-badge {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 7px !important;

    width: max-content !important;
    max-width: calc(100% - 12px) !important;
    right: auto !important;

    padding: 6px 11px !important;
    background: rgba(18, 13, 8, .92) !important;
    border: 1px solid #b98b39 !important;
    border-radius: 30px !important;
}

.lux-shell .lux-mini-verify {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #ffe2a1 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

.lux-shell .lux-mini-dot {
    width: 9px !important;
    height: 9px !important;
    flex: 0 0 9px !important;

    background: #35db74 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 8px #35db74aa !important;
}


/* ==========================================
   UW88 POPULAR SLOTS
   LAGI GACOR BADGE — V3.2
========================================== */

.lux-shell .lux-mini-badge {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: auto !important;

    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: max-content !important;
    max-width: calc(100% - 16px) !important;

    gap: 7px !important;
    padding: 7px 11px !important;

    background: rgba(18, 12, 7, .94) !important;
    border: 1px solid #B98B39 !important;
    border-radius: 30px !important;

    box-shadow:
        0 3px 10px rgba(0,0,0,.45) !important;

    z-index: 5 !important;
}

.lux-shell .lux-mini-verify {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 7px !important;
    min-width: 0 !important;

    color: #FFE0A1 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

.lux-shell .lux-mini-dot {
    display: block !important;

    width: 9px !important;
    height: 9px !important;
    min-width: 9px !important;
    flex: 0 0 9px !important;

    background: #35DB74 !important;
    border-radius: 50% !important;

    box-shadow:
        0 0 0 2px #35DB7420,
        0 0 9px #35DB74AA !important;
}

.lux-shell .lux-mini-badge-label {
    display: inline-block !important;
    color: #FFE0A1 !important;
    white-space: nowrap !important;
}

/* Hide old percentage if legacy markup remains */

.lux-shell .lux-mini-badge
.lux-mini-rtp {
    display: none !important;
}

/* Compact badge on smaller screens */

@media (max-width: 850px) {
    .lux-shell .lux-mini-badge {
        top: 6px !important;
        left: 6px !important;
        padding: 5px 8px !important;
    }

    .lux-shell .lux-mini-verify {
        font-size: 9px !important;
        gap: 5px !important;
    }

    .lux-shell .lux-mini-dot {
        width: 7px !important;
        height: 7px !important;
        min-width: 7px !important;
        flex-basis: 7px !important;
    }
}


/* ==========================================
   UW88 LUXURY GOLD
   HIDE EXPLORE RTP PROVIDERS ON HOME
========================================== */

/* Sembunyikan judul dan katalog provider
   ketika halaman Home ditampilkan */

.lux-shell:has(#homeButton.active)
.lux-provider-section {
    display: none !important;
}

/* Tampilkan kembali ketika pengguna
   memilih halaman provider */

.lux-shell:not(:has(#homeButton.active))
.lux-provider-section {
    display: block !important;
}


/* ==========================================
   UW88 DAFTAR & LOGIN BUTTONS
   LUXURY GOLD V1.0
========================================== */

.uw88-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;

    width: 100%;
    margin-top: 18px;
}

.uw88-auth-buttons .uw88-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 44px;

    margin: 0;
    padding: 10px 18px;
    box-sizing: border-box;

    border: 1px solid #ffdc88;
    border-radius: 30px;

    background: linear-gradient(
        180deg,
        #fff0b0 0%,
        #f5c758 35%,
        #e5a62f 75%,
        #c9881b 100%
    );

    color: #1c1207;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    text-align: center;

    box-shadow:
        0 5px 17px rgba(212, 148, 37, 0.24),
        inset 0 1px 0 rgba(255,255,255,.55);

    transition:
        filter .2s ease,
        transform .2s ease;
}

.uw88-auth-buttons .uw88-auth-btn:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}

.uw88-auth-buttons .uw88-auth-btn:focus-visible {
    outline: 2px solid #fff1b5;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .uw88-auth-buttons {
        gap: 9px;
    }

    .uw88-auth-buttons .uw88-auth-btn {
        min-height: 42px;
        font-size: 12px;
    }
}


/* ==========================================
   UW88 LUXURY GOLD
   SIDEBAR DAFTAR & LOGIN
========================================== */

.lux-shell .uw88-sidebar-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;

    width: 100%;
    padding: 0 2px;
    margin: -10px 0 25px;
    box-sizing: border-box;
}

.lux-shell .uw88-sidebar-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    margin: 0;

    box-sizing: border-box;

    border: 1px solid #ffe3a0;
    border-radius: 28px;

    background: linear-gradient(
        180deg,
        #fff1b5 0%,
        #f7cf73 30%,
        #e8a82d 75%,
        #ce8818 100%
    );

    color: #211407 !important;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    text-decoration: none !important;
    letter-spacing: 0.5px;

    box-shadow:
        0 4px 15px rgba(218, 155, 44, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.65);

    transition:
        transform 0.2s ease,
        filter 0.2s ease,
        box-shadow 0.2s ease;
}

.lux-shell .uw88-sidebar-auth-btn:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);

    box-shadow:
        0 6px 20px rgba(247, 186, 68, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.7);
}

.lux-shell .uw88-sidebar-auth-btn:focus-visible {
    outline: 2px solid #ffe9a8;
    outline-offset: 3px;
}

/* Rapikan jarak logo */

.lux-shell .lux-sidebar .lux-brand {
    padding-bottom: 20px;
}

/* Mobile */

@media (max-width: 850px) {
    .lux-shell .uw88-sidebar-auth {
        gap: 10px;
        margin-bottom: 22px;
    }

    .lux-shell .uw88-sidebar-auth-btn {
        min-height: 42px;
        font-size: 12px;
    }
}

