:root,
[data-bs-theme="light"] {
    --bs-primary: #0e3fcc;
    --bs-primary-rgb: 14, 63, 204;
    --bs-body-bg: #0732a0;
}

body {
    background: #0732a0;
    font-family: "Kanit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-shell {
    background:
        radial-gradient(ellipse 80% 44% at 50% 28%, rgba(14, 74, 176, 0.88), rgba(4, 18, 66, 0.36) 54%, transparent 76%),
        radial-gradient(ellipse 60% 52% at 86% 56%, rgba(35, 130, 255, 0.48), transparent 62%),
        radial-gradient(ellipse 54% 42% at 8% 62%, rgba(20, 95, 230, 0.58), transparent 66%),
        linear-gradient(155deg, #1150de 0%, #061a6a 28%, #06164e 52%, #0a2e98 78%, #1359ef 100%);
    background-attachment: fixed;
    isolation: isolate;
}

.app-shell::before,
.app-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
    z-index: 0;
}

.app-shell::before {
    background:
        linear-gradient(116deg, transparent 0 54%, rgba(90, 180, 255, 0.12) 55%, transparent 64%),
        linear-gradient(128deg, transparent 0 69%, rgba(35, 110, 255, 0.22) 70%, transparent 78%);
}

.app-shell::after {
    background:
        radial-gradient(ellipse 70% 34% at 50% 0%, rgba(255, 255, 255, 0.12), transparent 58%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.18));
}

.bg-swirl-right {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: clamp(180px, 32%, 360px);
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.bg-swirl-left {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: clamp(150px, 28%, 300px);
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.dashboard-panel {
    z-index: 1;
    padding-top: 9rem;
    background: linear-gradient(155deg, rgba(10, 45, 130, 0.85), rgba(5, 22, 80, 0.92) 55%, rgba(8, 38, 115, 0.88));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.55),
        0 0 30px rgba(80, 150, 255, 0.28),
        inset 0 0 40px rgba(15, 70, 190, 0.18);
}

/* === panel-stack: wrapper เดียวใน flex ของ app-shell === */
.panel-stack {
    width: 100%;
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.brand-logo-wrap {
    z-index: 3;
    top: -2rem;
}

.hero-card-wrap {
    max-width: 620px;
    position: relative;
    z-index: 3;
    margin-top: 2rem;
    margin-bottom: -8.6rem;
}

.brand-logo {
    width: 210px;
    position: relative;
    z-index: 3;
    filter:
        drop-shadow(0 0 10px rgba(255, 197, 42, 0.95)) drop-shadow(0 0 22px rgba(255, 150, 0, 0.75)) drop-shadow(0 0 40px rgba(255, 100, 0, 0.45)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.65));
    animation: logo-aura 2.4s ease-in-out infinite alternate;
}

@keyframes logo-aura {
    from {
        filter:
            drop-shadow(0 0 8px rgba(255, 197, 42, 0.85)) drop-shadow(0 0 18px rgba(255, 150, 0, 0.60)) drop-shadow(0 0 32px rgba(255, 100, 0, 0.35)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.65));
    }

    to {
        filter:
            drop-shadow(0 0 14px rgba(255, 220, 60, 1)) drop-shadow(0 0 30px rgba(255, 160, 0, 0.85)) drop-shadow(0 0 55px rgba(255, 110, 0, 0.55)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.65));
    }
}

.brand-main {
    color: #ffc521;
    font-size: 3.55rem;
    font-weight: 900;
    line-height: 0.84;
}

.brand-sub {
    color: #e3331f;
    font-size: 2.05rem;
    font-weight: 900;
    line-height: 0.9;
}

.brand-caption {
    margin-top: 0.2rem;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    transform: rotate(2deg);
}

.member-card {
    min-height: 175px;
    max-width: 620px;
    padding-top: 4.1rem !important;
    background: linear-gradient(145deg, #092f74, #040f34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -16px 34px rgba(0, 0, 0, 0.25),
        0 10px 24px rgba(0, 0, 0, 0.42) !important;
}

.welcome-text {
    font-size: 1.08rem;
    font-weight: 700;
}

.wallet-label {
    font-size: 0.95rem;
}

.reward-balance {
    color: #f5d34f;
    font-size: 1.35rem;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(245, 211, 79, 0.42);
}

.back-button {
    margin-top: 0.75rem;
    margin-right: 0.85rem;
    font-size: 2rem;
}

.play-zone {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.play-button-img {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(80, 150, 255, 0.7));
    transition: filter 0.2s, transform 0.2s;
}

.play-button-img:hover {
    filter: drop-shadow(0 0 18px rgba(80, 180, 255, 1));
    transform: scale(1.06);
}

.play-triangle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-42%, -50%);
    width: 0;
    height: 0;
    border-top: 1.0rem solid transparent;
    border-bottom: 1.0rem solid transparent;
    border-left: 1.55rem solid rgba(255, 255, 255, 0.92);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
    pointer-events: none;
}

.play-game-text {
    font-size: 1rem;
    margin-top: 0.5rem;
}

.menu-tile {
    aspect-ratio: 1 / 1;
    padding: 10px;
    background: linear-gradient(348deg, rgba(0, 8, 54, 0.73), rgba(22, 112, 205, 0.77));
    border-width: 2px !important;
    border-color: #e0dfdf !important;
    border-radius: 21px !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 12px rgba(255, 255, 255, 0.12) !important;
}

.menu-tile:hover {
    border-color: #fff !important;
    box-shadow: 0 0 5px #fff, 0 0 10px #e0dfdf, 0 0 30px rgba(255, 255, 255, 0.69) !important;
}

.menu-tile .small {
    display: block;
    margin-top: 10px;
    font-size: clamp(10px, 3.5vw, 16px) !important;
    font-weight: 200;
    line-height: 1.15;
    white-space: nowrap;
}

.menu-icon {
    width: 50%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.45));
}

.menu-grid {
    max-width: 620px;
}

.line-float {
    position: fixed;
    top: 72%;
    right: 0;
    transform: translateY(-50%);
    z-index: 100;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-right: none;
    border-radius: 0.65rem 0 0 0.65rem !important;
    padding: 1rem 0.65rem !important;
    line-height: 1.2;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.72) 0 11%, rgba(255, 255, 255, 0.24) 12%, transparent 32%),
        linear-gradient(145deg, #50da5b 0%, #20b43a 48%, #078923 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset -8px -10px 18px rgba(0, 78, 20, 0.42),
        0 5px 15px rgba(0, 0, 0, 0.42) !important;
}

.line-float::before {
    content: "";
    position: absolute;
    top: 0.25rem;
    left: 0.28rem;
    width: 58%;
    height: 42%;
    border-radius: 0.55rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 68%);
    pointer-events: none;
}

.line-float-icon {
    position: relative;
    z-index: 1;
    filter:
        drop-shadow(0 3px 1px rgba(0, 92, 25, 0.35)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.25));
}

.line-float .small,
.line-float {
    text-shadow: 0 1px 2px rgba(0, 84, 24, 0.7);
}

.inside-card {
    background: rgba(0, 13, 45, 0.72);
}

.peek-carousel {
    --peek-height: 215px;
}

.peek-window {
    width: 100%;
}

.peek-track {
    transition: transform 0.35s ease;
    will-change: transform;
}

.peek-slide {
    width: 90%;
}

.inside-card {
    min-height: var(--peek-height);
}

.slide-image {
    filter: brightness(1.22) contrast(1.12) saturate(1.08);
}

.inside-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 22, 67, 0.44), rgba(0, 22, 67, 0.02) 58%, rgba(0, 22, 67, 0.15)),
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.13), transparent 38%);
    pointer-events: none;
}

.inside-card>.position-absolute {
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.peek-control {
    position: absolute;
    top: calc(var(--peek-height) / 2);
    z-index: 3;
    width: auto;
    height: auto;
    padding: 0;
    transform: translateY(-50%);
    opacity: 0.9;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.85);
    font-size: 3.2rem;
    font-weight: 300;
    line-height: 1;
}

.peek-control-prev {
    left: 2.8%;
}

.peek-control-next {
    right: 2.8%;
}

.peek-dot {
    width: 0.42rem;
    height: 0.42rem;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, 0.35);
}

.peek-dot.is-active {
    background: #f5d34f;
    box-shadow: 0 0 8px rgba(245, 211, 79, 0.9);
}

@media (max-width: 380px) {
    .brand-logo {
        width: 156px;
    }

    .brand-main {
        font-size: 2.72rem;
    }

    .brand-sub {
        font-size: 1.55rem;
    }

    .play-button-img {
        width: 4.7rem;
        height: 4.7rem;
    }

    .menu-icon {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 2.1rem;
    }

    .menu-tile .small {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 767.98px) {
    .app-shell {
        padding-top: 1.5rem !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .panel-stack {
        max-width: 430px;
    }

    .brand-logo {
        width: 140px;
    }

    .brand-logo-wrap {
        top: -1.2rem;
    }

    .hero-card-wrap {
        margin-top: 0.75rem;
        margin-bottom: -7rem;
    }

    .member-card {
        min-height: 185px;
        padding-top: 3.2rem !important;
        padding: 2.2rem 0.85rem 2rem !important;
    }

    .member-card>.row {
        min-height: calc(195px - 3.2rem);
        align-items: flex-end !important;
    }

    .welcome-text {
        font-size: 0.85rem;
    }

    .wallet-label {
        font-size: 0.8rem;
    }

    .reward-balance {
        font-size: 1.05rem;
    }

    .play-button-img {
        width: 5rem;
        height: 5rem;
    }

    .play-zone {
        justify-content: flex-end;
        transform: translateY(1.15rem);
    }

    .play-game-text {
        font-size: 0.75rem;
        margin-top: 0.3rem;
    }

    .dashboard-panel {
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent;
        box-shadow: none;
        padding: 0 !important;
    }

    .menu-grid {
        max-width: 100%;
        margin-top: 7.25rem !important;
        margin-bottom: 0 !important;
        --bs-gutter-x: 0.65rem;
        --bs-gutter-y: 0.65rem;
    }

    #deposittab,
    #withdrawtab,
    #promotiontab,
    #historytab,
    #privilegetab,
    #playtab,
    #reftab,
    #tooltab {
        padding-top: 7.25rem;
    }

    #slottab,
    #bartab {
        padding-top: 8.5rem;
    }

    .menu-tile {
        min-height: 5.5rem;
        padding: 5px;
    }

    .menu-icon {
        width: 50%;
        height: auto;
        margin-bottom: 0.25rem !important;
    }

    .menu-tile .small {
        font-size: clamp(10px, 3.5vw, 16px) !important;
        line-height: 1.1;
    }

    .peek-carousel {
        --peek-height: 145px;
        margin-top: 0.75rem;
    }

    .line-float {
        top: 88%;
        bottom: auto;
        right: 0;
        transform: translateY(-50%);
        border-right: none;
        border-radius: 0.65rem 0 0 0.65rem !important;
        padding: 0.65rem 0.45rem !important;
        font-size: 0.65rem;
    }

    .line-float-icon {
        font-size: 1.5rem !important;
        margin-bottom: 0.15rem !important;
    }
}

@media (min-width: 768px) {
    .app-shell {
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .dashboard-panel {
        max-width: 1120px;
        min-height: 700px;
        background: linear-gradient(155deg, rgba(10, 45, 130, 0.85), rgba(5, 22, 80, 0.92) 55%, rgba(8, 38, 115, 0.88));
    }

    .panel-stack {
        max-width: 1120px;
    }

    .hero-card-wrap {
        max-width: 480px;
        margin-top: 2.2rem;
        margin-bottom: -9.4rem;
    }

    .dashboard-panel {
        padding-top: 11rem;
        padding-left: 4.5rem !important;
        padding-right: 4.5rem !important;
    }

    .member-card {
        max-width: 480px;
        min-height: 178px;
        margin-top: 0;
        margin-bottom: 1.1rem !important;
        padding: 4.15rem 1.5rem 1.15rem !important;
    }

    .welcome-text {
        font-size: 1.08rem;
    }

    .wallet-label {
        font-size: 0.95rem;
    }

    .reward-balance {
        font-size: 1.35rem;
    }

    .play-button-img {
        width: 6rem;
        height: 6rem;
    }

    .menu-tile {
        padding: 10px;
    }

    .menu-icon {
        width: 50%;
        height: auto;
    }

    .menu-grid {
        max-width: 650px;
    }

    .peek-carousel {
        --peek-height: 215px;
        margin-left: auto;
        margin-right: auto;
        max-width: 1060px;
    }

    .peek-slide {
        width: 64%;
    }

}

/* ===== MENU CONTENT SWITCHING ===== */
.menucontent {
    /* display: none; Removed because it breaks other separate PHP pages */
}

#hometab {
    /* display: block; */
}

/* Back button */
.backtohome {
    display: block;
    width: 100%;
    max-width: 700px;
    margin: 10px auto 0;
    position: relative;
    z-index: 50;
}

.backtohome button {
    background: linear-gradient(153deg, #438aff, #0d295f);
    border: 0;
    color: #fff;
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 0.9rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, .72);
    cursor: pointer;
}

.backtohome button:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* Section headers */
.menuhead {
    text-align: center;
    margin-top: 5px;
    margin-bottom: .4rem;
    font-size: 22px;
    font-weight: 400;
}

.menuhead i {
    font-size: 25px;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, .6), 0 0 25px #fcbb2b;
}

.headerbankdt {
    text-align: center;
    margin-top: 10px;
    margin-bottom: .35rem;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, .85), 0 2px 8px rgba(0, 0, 0, .8);
}

/* Glow HR */
.x-hr-border-glow {
    border: 0;
    height: 2px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
    box-shadow: 0 0 8px rgba(255, 255, 255, .85), 0 0 16px rgba(130, 200, 255, 0.65);
}

/* Left pill tabs */
.leftdps {
    border-radius: 10px;
    background: rgba(5, 22, 80, .58);
    box-shadow: 3px -2px 7px rgba(0, 0, 0, .32);
    overflow: hidden;
}

.leftdps .nav-pills .nav-link {
    color: #fff;
    font-size: clamp(10px, 2.8vw, 16px);
    font-weight: 300;
    text-align: center;
    padding: 20px 0;
    border-radius: 0;
    margin-bottom: 0;
    background: transparent;
    line-height: 1.3;
    white-space: nowrap;
}

.leftdps .nav-pills .nav-link.active {
    background: linear-gradient(45deg, #666666 0%, #c3c3c3 50%, #717070 100%);
    color: #000;
    box-shadow: none;
}

.banktabicon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    margin: 0 auto .25rem;
}

/* Rule text */
.rulewd {
    width: 100%;
    max-width: 500px;
    margin: 10px auto;
    color: #fff0db;
    background: #114597;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    font-weight: 100;
    line-height: 1.5;
    box-shadow: 0 0 10px rgba(0, 0, 0, .72);
}

/* Bank card grid */
.griddps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
}

.iningriddps {
    text-align: center;
    color: #efefef;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: .5rem .25rem;
    font-size: 14px;
    font-weight: 100;
    line-height: 1.45;
}

.iningriddps img {
    width: 100%;
    max-width: 70px;
    height: auto;
    object-fit: contain;
    margin-bottom: 5px;
}

.iningriddps span {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    display: block;
}

.iningriddps button {
    margin-top: 5px;
    background: transparent;
    border: 2px solid #d9ba8e;
    color: #fff;
    border-radius: 10px;
    padding: 5px 10px;
    font-size: .82rem;
    font-weight: 100;
    cursor: pointer;
}

.iningriddps button i {
    color: #fff4bc;
}

/* QR select */
.selectqrcode {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 0.5rem 0;
}

.selectqrcode label {
    cursor: pointer;
}

.selectqrcode input[type="radio"] {
    display: none;
}

.inlabel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.5rem;
    padding: 0.5rem 0.65rem;
    text-align: center;
    font-size: 0.72rem;
    transition: background 0.2s, border-color 0.2s;
}

.inlabel img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    margin: 0 auto 0.2rem;
}

.selectqrcode input[type="radio"]:checked+.inlabel {
    background: rgba(14, 63, 204, 0.7);
    border-color: rgba(130, 200, 255, 0.8);
}

.deposit-promo-img {
    display: block;
    width: min(72vw, 300px);
    max-width: 100%;
    height: auto;
    margin: 0.35rem auto 0.15rem;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .35));
}

/* Amount input */
.el-input {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.5rem;
    padding: 0.4rem 0.75rem;
}

.el-input i {
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.el-input .inputstyle {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.9rem;
}

.el-input .inputstyle::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

/* Confirm button */
.loginbtn {
    display: inline-block;
    background: linear-gradient(135deg, #1a5fd4, #0a3aaa);
    border: none;
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.45rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.loginbtn:hover {
    background: linear-gradient(135deg, #2470e8, #1050cc);
}

/* Transfer section */
.transfermoney .transferitem {
    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s;
}

.transfermoney .transferitem img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    margin: 0 auto 0.35rem;
}

.transfermoney .transferitem div {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ===== WITHDRAW TAB ===== */
.nmwdcontain {
    padding: 0.25rem 0 0.75rem;
}

#withdrawtab .inmenucontent {
    max-width: 430px;
    margin: 0 auto;
}

#withdrawtab .menuhead {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .75);
}

#withdrawtab .menuhead img {
    width: 34px !important;
    filter: drop-shadow(0 0 6px rgba(255, 185, 40, .85));
}

#withdrawtab .rulewd {
    max-width: 100%;
    margin: 10px 0 8px;
    background: linear-gradient(155deg, #1455b1 0%, #0d4191 100%);
    border-radius: 9px;
    padding: 12px 13px;
    color: #e8f5ff;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .45);
}

#withdrawtab .x-hr-border-glow {
    max-width: 250px;
    margin-top: 9px !important;
    margin-bottom: 9px !important;
}

.detailwdbottom {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.72);
    background: transparent;
    border-radius: 0;
    padding: 0.15rem 0 0.35rem;
    line-height: 1.55;
    margin-bottom: 0.65rem;
    text-align: center;
}

/* Bank card radio */
.bank-tf {
    position: relative;
    height: 100%;
}

.bank-tf input[type="radio"] {
    display: none;
}

.bank-tf label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    background: linear-gradient(120deg, #0f2c78 0%, #071c62 100%);
    border: 0;
    border-radius: 5px;
    padding: 6px 8px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    width: 100%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .28);
}

.bank-tf input[type="radio"]:checked+label {
    background: linear-gradient(90deg, #244ee3 0%, #153ec7 58%, #58319a 100%);
    box-shadow: 0 4px 11px rgba(0, 0, 0, .35);
}

.bank-tf label img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    order: 3;
    margin-left: auto;
}

.bank-tf-check {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
    transition: color 0.2s;
}

.bank-tf input[type="radio"]:checked+label .bank-tf-check {
    color: #78ff76;
}

.bank-tf-info {
    min-width: 0;
    flex: 1;
    text-align: center;
}

.bank-tf-info h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.05rem;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
}

.bank-tf-info p {
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Add bank button */
.boxaddbank {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 100%;
    min-height: 44px;
    background: linear-gradient(100deg, #9d54ec 0%, #aa2f57 100%);
    border: 0;
    border-radius: 5px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .28);
    transition: filter 0.2s, transform 0.2s;
}

.boxaddbank:hover {
    filter: brightness(1.08);
}

#withdrawtab .headerbankdt {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .75);
}

#withdrawtab .el-input {
    background: rgba(78, 82, 111, .88);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 9px rgba(0, 0, 0, .42);
}

#withdrawtab .el-input .inputstyle {
    color: #d5d9e6;
}

#withdrawtab .el-input .inputstyle::placeholder {
    color: rgba(213, 217, 230, .58);
}

#withdrawtab .loginbtn {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .95);
    border-radius: 10px;
    padding: 0.65rem 2rem;
    box-shadow: none;
}

#withdrawtab .loginbtn:hover {
    background: rgba(255, 255, 255, .1);
}

/* ===== PROMOTION TAB ===== */
.containslide {
    position: relative;
    padding: 1rem 0 0.5rem;
}

.prosw {
    width: 100%;
    padding-bottom: 0.5rem;
}

.prosw .swiper-slide {
    width: 72%;
    max-width: 320px;
    border-radius: 14px;
    overflow: hidden;
    background: #061640;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
    transition: transform 0.3s;
}

.prosw .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px 14px 0 0;
}

.pro-btns {
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem 0.65rem 0.75rem;
    background: linear-gradient(180deg, #0a1f66 0%, #060f38 100%);
}

.pro-btn-accept,
.pro-btn-detail {
    flex: 1;
    background: linear-gradient(135deg, #f5d020 0%, #e8a800 50%, #c97d00 100%);
    border: none;
    color: #3a1f00;
    border-radius: 8px;
    padding: 0.45rem 0.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 0 8px rgba(245, 200, 0, 0.35);
    transition: filter 0.2s, transform 0.15s;
}

.pro-btn-accept:hover,
.pro-btn-detail:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.btnslide {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.85rem;
}

.btnleftslide,
.btnrightslide {
    width: 2.4rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2258d4, #0d3aaa);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
    transition: filter 0.2s, transform 0.15s;
}

.btnleftslide i,
.btnrightslide i {
    display: block;
    font-size: 1.45rem;
    line-height: 1;
}

.btnleftslide:hover,
.btnrightslide:hover {
    filter: brightness(1.15);
    transform: scale(1.08);
}

/* ===== HISTORY TAB ===== */
#historytab .inmenucontent {
    max-width: 420px;
    margin: 0 auto;
}

.his-leftdps {
    min-height: 400px;
    background: rgba(4, 18, 72, .72);
    border-radius: 8px;
    box-shadow: 3px 0 10px rgba(0, 0, 0, .28);
}

.his-leftdps .nav-pills .nav-link {
    min-height: 66px;
    padding: 12px 2px;
    font-size: clamp(10px, 2.8vw, 13px);
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.his-leftdps .nav-pills .nav-link.active {
    background: linear-gradient(45deg, #777777 0%, #d7d7d7 52%, #737373 100%);
    color: #111;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .32);
}

.his-leftdps .nav-pills .nav-link.green {
    color: #6dffb2;
}

.his-leftdps .nav-pills .nav-link.red {
    color: #ff8080;
}

.his-leftdps .nav-pills .nav-link.green.active {
    color: #00a844;
}

.his-leftdps .nav-pills .nav-link.red.active {
    color: #c0392b;
}

.containhislist {
    padding-left: 12px;
}

.containerhis {
    max-height: none;
    overflow-y: auto;
    padding-right: 2px;
}

.containerhis::-webkit-scrollbar {
    width: 3px;
}

.containerhis::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.containerhis::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
}

.listht,
.listhtwd {
    border-radius: 10px;
    margin-bottom: 9px;
    padding: 8px 10px;
    min-height: 80px;
    background: rgba(3, 17, 62, .64);
    box-shadow: 0 5px 13px rgba(0, 0, 0, .25);
}

.listht {
    border: 2px solid #4ad66d;
}

.listhtwd {
    border: 2px solid #ff3b4a;
}

.listht table,
.listhtwd table {
    width: 100%;
    border-collapse: collapse;
}

.listht table td,
.listhtwd table td {
    padding: 2px 4px;
    vertical-align: middle;
    font-size: 0.83rem;
    font-weight: 300;
    color: #e8eeff;
    line-height: 1.45;
}

.listht table td:first-child,
.listhtwd table td:first-child {
    width: 54%;
}

.listht table td:last-child,
.listhtwd table td:last-child {
    text-align: right;
    white-space: nowrap;
    font-weight: 400;
    width: 46%;
    font-size: 0.86rem;
}

.listht table b,
.listhtwd table b {
    font-size: 1rem;
    font-weight: 700;
}

.timehis {
    font-size: 0.72rem;
    color: rgba(205, 220, 255, 0.74);
    display: inline-block;
}

#historytab .badge {
    font-size: 0.68rem;
    padding: 0.25em 0.5em;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .containerhis {
        max-height: none;
    }

    .his-leftdps .nav-pills .nav-link {
        min-height: 66px;
        padding: 12px 1px;
        font-size: clamp(10px, 2.5vw, 12px);
    }
}

/* ===== PRIVILEGE TAB ===== */
#privilegetab .inmenucontent {
    max-width: 500px;
    margin: 0 auto;
}

.priv-current-level {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(5, 22, 80, .55);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 10px 0 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}

.priv-level-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    gap: 3px;
}

.priv-level-badge i {
    font-size: 1.5rem;
    line-height: 1;
}

.priv-level-badge.bronze {
    background: linear-gradient(135deg, #cd7f32, #8b4513);
    box-shadow: 0 0 14px rgba(205, 127, 50, 0.55);
    color: #fff8e1;
}

.priv-level-badge.silver {
    background: linear-gradient(135deg, #c0c0c0, #808080);
    box-shadow: 0 0 14px rgba(192, 192, 192, 0.55);
    color: #fff;
}

.priv-level-badge.gold {
    background: linear-gradient(135deg, #f5d020, #c97d00);
    box-shadow: 0 0 14px rgba(245, 208, 32, 0.55);
    color: #3a1f00;
}

.priv-level-badge.diamond {
    background: linear-gradient(135deg, #b9f2ff, #6ec6ff, #0d6efd);
    box-shadow: 0 0 14px rgba(110, 198, 255, 0.65);
    color: #001433;
}

.priv-level-info {
    flex: 1;
    min-width: 0;
}

.priv-label {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2px;
}

.priv-username {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.priv-xp-bar-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.priv-xp-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    overflow: hidden;
}

.priv-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #cd7f32, #f5c842);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.priv-xp-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.priv-level-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 1rem;
}

.priv-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}

.priv-card-head {
    padding: 8px 14px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.priv-card.bronze .priv-card-head {
    background: linear-gradient(90deg, #a0522d, #cd7f32);
    color: #fff8e1;
}

.priv-card.silver .priv-card-head {
    background: linear-gradient(90deg, #696969, #b0b0b0);
    color: #fff;
}

.priv-card.gold .priv-card-head {
    background: linear-gradient(90deg, #b8860b, #f5d020);
    color: #3a1f00;
}

.priv-card.diamond .priv-card-head {
    background: linear-gradient(90deg, #0a3090, #2196f3, #6ec6ff);
    color: #fff;
}

.priv-card-body {
    background: rgba(5, 22, 80, .6);
    padding: 8px 14px;
}

.priv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 0.84rem;
    font-weight: 300;
    color: #d8e4ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.priv-row:last-child {
    border-bottom: 0;
}

.priv-row b {
    font-weight: 600;
    color: #fff;
}

/* ===== PLAY HISTORY TAB ===== */
#playtab .inmenucontent {
    max-width: 420px;
    margin: 0 auto;
}

.listplay-tie {
    border-radius: 10px;
    margin-bottom: 9px;
    padding: 8px 10px;
    min-height: 80px;
    background: rgba(3, 17, 62, .64);
    border: 2px solid rgba(180, 180, 180, 0.55);
    box-shadow: 0 5px 13px rgba(0, 0, 0, .25);
}

.listplay-tie table {
    width: 100%;
    border-collapse: collapse;
}

.listplay-tie table td {
    padding: 2px 4px;
    vertical-align: middle;
    font-size: 0.83rem;
    font-weight: 300;
    color: #e8eeff;
    line-height: 1.45;
}

.listplay-tie table td:first-child {
    width: 54%;
}

.listplay-tie table td:last-child {
    text-align: right;
    white-space: nowrap;
    font-weight: 400;
    width: 46%;
    font-size: 0.86rem;
}

.listplay-tie table b {
    font-size: 1rem;
    font-weight: 700;
}

/* ===== REF TAB ===== */
#reftab .inmenucontent {
    max-width: 430px;
    margin: 0 auto;
}

.friendsimg {
    text-align: center;
    margin: 6px 0 4px;
}

.friendsimg img {
    width: 62%;
    max-width: 220px;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .45));
}

.friendtext {
    font-size: 0.84rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2px;
}

.friendlink {
    cursor: pointer;
}

.levelfriend {
    width: 100%;
    margin-bottom: 10px;
}

.levelfriend td {
    padding: 5px 6px;
    font-size: 0.86rem;
    font-weight: 300;
    color: #d8e8ff;
    line-height: 1.4;
}

.levelfriend td i {
    color: #f5d020;
    margin-right: 4px;
}

.levelfriend td.text-right,
.levelfriend td:last-child {
    text-align: right;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.headdtf {
    text-align: center;
    margin: 6px 0 6px;
}

.detailaf {
    display: inline-block;
    background: linear-gradient(135deg, #f5d020 0%, #e8a800 50%, #c97d00 100%);
    color: #3a1f00;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 5px 28px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35), 0 0 8px rgba(245, 200, 0, .3);
}

.frienddetail {
    background: rgba(0, 5, 30, .55);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 300;
    color: #c8d8ff;
    line-height: 2;
}

.frienddetail .col-4 {
    font-weight: 600;
    color: #fff;
}

.containinputwd {
    padding: 0;
}

/* ===== TOOL TAB ===== */
#tooltab .inmenucontent {
    max-width: 430px;
    margin: 0 auto;
}

.eventbox {
    margin-top: 6px;
}

.tool-box {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(348deg, rgba(0, 8, 54, 0.73), rgba(22, 112, 205, 0.77));
    border: 2px solid #e0dfdf;
    border-radius: 18px;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 12px rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tool-box:hover {
    border-color: #fff;
    box-shadow: 0 0 5px #fff, 0 0 18px rgba(255, 255, 255, 0.55);
}

.tool-box img {
    width: 52%;
    max-width: 80px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
    margin-bottom: 8px;
}

.tool-detail span {
    font-size: clamp(11px, 3.2vw, 15px);
    font-weight: 200;
    color: #fff;
    line-height: 1.2;
}

/* Modal styles */
.modalcontent {
    background: linear-gradient(155deg, #0a2d74 0%, #050f34 55%, #081e6e 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.headmodalcontent {
    background: linear-gradient(90deg, #0d3aaa, #1a5fd4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 0.75rem 1rem;
}

.headmodalcontent .modal-title {
    font-size: 1rem;
    font-weight: 600;
}

.footermodalcontent {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.65rem 1rem;
}

.footermodalcontent .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 8px;
    font-size: 0.88rem;
}

.bankwd {
    padding: 0.65rem;
}

.bankwd-box {
    background: linear-gradient(135deg, rgba(10, 30, 90, 0.85), rgba(5, 15, 55, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 8px;
    height: 100%;
    min-height: 70px;
    color: #e0e8ff;
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.5;
}

.bankwd-box table {
    width: 100%;
    border-collapse: collapse;
}

.bankwd-box table td {
    vertical-align: middle;
    padding: 2px 4px;
    font-size: 0.78rem;
    color: #d8e4ff;
    line-height: 1.5;
}

.bankwd-box table td:first-child {
    width: 44px;
}

.bankwd-box table td img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

.bankwd-box .badge {
    font-size: 0.65rem;
    padding: 0.2em 0.45em;
}

.addnewbankbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #1a5fd4, #0a3aaa);
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    height: 100%;
    min-height: 70px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    transition: filter 0.2s;
}

.addnewbankbtn:hover {
    filter: brightness(1.12);
}

.pwdlabel {
    display: block;
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 5px;
}

.btn-rule {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 0.78rem;
    font-weight: 300;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-rule:hover {
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
}

.ruletext {
    font-size: 0.84rem;
    font-weight: 300;
    color: #d0dcff;
    line-height: 1.7;
}

.ruletext h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
}

/* ===== LOGOUT / LOGIN TAB ===== */
.is-logout-page .hero-card-wrap {
    display: none;
}

body.is-logout-page .dashboard-panel {
    padding-top: 2.5rem !important;
}

#logouttab {
    display: none;
}

.logout-login-shell {
    max-width: 430px;
    padding: 0.5rem 0 2rem;
}

.logout-login-logo {
    width: min(48vw, 190px);
    filter:
        drop-shadow(0 0 10px rgba(255, 197, 42, 0.95)) drop-shadow(0 0 24px rgba(255, 130, 0, 0.65)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55));
}

.logout-login-icons {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.logout-login-icons img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .45));
}

.logout-front-section {
    max-width: 385px;
    margin: 0 auto;
}

.headerlogin h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .7), 0 0 16px rgba(255, 255, 255, .38);
}

#logouttab label {
    color: rgba(255, 255, 255, .9);
    font-size: 0.95rem;
    font-weight: 300;
}

#logouttab .el-input {
    min-height: 46px;
    background: rgba(0, 8, 45, .74);
    border: 1.5px solid rgba(255, 255, 255, .82);
    border-radius: 9px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .42);
}

#logouttab .el-input i {
    color: #fff;
}

#logouttab .el-input .inputstyle,
#logouttab .el-input select.inputstyle {
    color: #fff;
}

#logouttab .el-input .inputstyle::placeholder {
    color: rgba(255, 255, 255, .32);
}

#logouttab .loginbtn {
    min-height: 42px;
    border-radius: 9px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .92);
    color: #fff;
    box-shadow: none;
}

#logouttab .loginbtn.active {
    background: linear-gradient(180deg, #316cf0 0%, #1546bd 100%);
    border-color: rgba(80, 145, 255, .9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
}

.wantregister {
    color: rgba(255, 255, 255, .72);
    font-size: 0.95rem;
}

.wantregister a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.linelogin .btn {
    min-height: 42px;
    background: #00bf14;
    color: #fff;
    border: 0;
    border-radius: 9px;
    font-weight: 700;
}

.rulebtn .btn {
    background: linear-gradient(180deg, #2f72ff 0%, #1852d4 100%);
    color: #fff;
    border: 0;
    border-radius: 5px;
    padding: 0.65rem 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .28);
}

@media (max-width: 767.98px) {
    .is-logout-page .app-shell {
        padding-top: 1.25rem !important;
    }

    .is-logout-page .dashboard-panel {
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .logout-login-icons {
        max-width: 315px;
        gap: 0.5rem !important;
    }

    .logout-login-icons img {
        width: 48px;
        height: 48px;
    }
}

@media (min-width: 768px) {
    body.is-logout-page .app-shell {
        padding-top: 8rem !important;

    }

    body.is-logout-page .dashboard-panel {
        padding-top: 2.5rem !important;
    }
}

select.inputstyle option {
    background-color: #00082d;
    color: #fff;
}

/* ===== PLAYTAB / GAME PREVIEW ===== */
.slidePartner {
    position: sticky !important;
    top: 185px !important;
    z-index: 9 !important;
    float: left !important;
    max-width: 82px !important;
    width: 100% !important;
    background: linear-gradient(180deg, rgba(8, 26, 92, 0.9) 0%, rgba(3, 11, 40, 0.95) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
    height: calc(100vh - 200px) !important;
    max-height: 600px !important;
    min-height: 300px !important;
    border-radius: 20px;
    padding: 10px 0;
    overflow: hidden;
}

.partnerSlider {
    height: 100%;
    overflow-y: auto;
    padding: 0 !important;
}

.partnerSlider li {
    padding: 2px 4px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partnerSlider::-webkit-scrollbar {
    width: 4px !important;
}

.partnerSlider::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2) !important;
}

.partnerSlider::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3) !important;
    border-radius: 10px !important;
}

.partnerSlider::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.6) !important;
}

.linkPartner {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    padding: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.linkPartner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: grayscale(40%) brightness(80%);
    transition: all 0.2s;
}

.linkPartner:hover,
.linkPartner.active {
    border-color: #fce280;
    box-shadow: 0 0 10px rgba(252, 226, 128, 0.5);
    background: rgba(252, 226, 128, 0.1);
}

.linkPartner:hover img,
.linkPartner.active img {
    filter: grayscale(0%) brightness(105%);
}

.gameCard {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background: rgba(0, 8, 45, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 1;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gameCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

.gameCard img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.gameCard span:not(.playHover) {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 1) 100%);
    color: #fff;
    font-size: 0.75rem;
    text-align: center;
    padding: 20px 5px 6px;
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playHover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(150deg, #1546bd, #316cf0);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0;
    z-index: 3;
    transition: opacity 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.gameCard:hover .playHover {
    opacity: 1;
}


/* ===== CATEGORY BUTTONS ===== */
.btnTab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    border-radius: 16px;
    border: 3px solid rgba(255, 255, 255, 0.75);
    background: linear-gradient(153deg, rgba(67, 138, 255, 0.35), rgba(13, 41, 95, 0.55));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btnTab:hover,
.btnTab.active {
    border-color: #fce280;
    background: linear-gradient(153deg, #438aff, #0d295f);
    box-shadow: 0 0 15px rgba(252, 226, 128, 0.4), 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

.btnTab img {
    margin-right: 6px;
    width: 25px;
    height: 25px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}


/* ===== STICKY PLAYTAB HEADER ===== */
.sticky-playtab-tabs {
    position: sticky !important;
    top: 0 !important;
    z-index: 90 !important;
    background: rgba(8, 26, 92, 0.65) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 15px 10px;
    /* margin-left: -20px; */
    /* margin-right: -20px; */
    margin-top: -20px;
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

/* ===== SWEETALERT2 PREMIUM DARK THEME ===== */
.swal2-popup {
    background: linear-gradient(145deg, #1e1e1e, #121212) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    color: #ffffff !important;
}
.swal2-title {
    color: #ffffff !important;
}
.swal2-html-container {
    color: rgba(255, 255, 255, 0.75) !important;
}
.swal2-confirm {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7) !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3) !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
}
.swal2-cancel {
    background: linear-gradient(135deg, #6c757d, #495057) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
}
.swal2-icon.swal2-error {
    border-color: #f27474 !important;
}
.swal2-icon.swal2-error [class^=swal2-x-mark-line] {
    background-color: #f27474 !important;
}
.swal2-icon.swal2-success {
    border-color: #a5dc86 !important;
}
.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #a5dc86 !important;
}
.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(165, 220, 134, 0.3) !important;
}