/* Tab 3 Icon - Diamond/VIP */
#sidebar-content {
                background: #121212 !important;
                border-right: 2px solid #782a04 !important;
                box-shadow: 4px 0 15px rgba(0,0,0,0.5);
                padding-top: 20px;
            }
            .sidebar-link {
                color: white !important;
                padding: 12px 15px;
                padding-top: 20px;
                border-radius: 8px;
                transition: all 0.3s ease;
                display: flex;
                align-items: center;
                gap: 12px;
                text-decoration: none !important;
                font-weight: 500;
                font-family: 'Segoe UI', sans-serif;
            }
            .sidebar-link:hover {
                background: #FFC107; /* Deep Yellow */
                color: #000 !important; /* Black text for contrast */
                transform: translateX(5px);
                box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            }
            .sidebar-link svg {
                fill: white !important;
                width: 24px;
                height: 24px;
                filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3));
                transition: fill 0.3s ease;
            }
            .sidebar-link:hover svg {
                fill: #000 !important; /* Black icon on hover */
            }

.van-tab:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 12l-1.25 2.25L12 17.25l1.25 2.25L12 15zm4-4l-1.25 2.25L16 13.25l1.25 2.25L16 11zm-8 0l-1.25 2.25L8 13.25l1.25 2.25L8 11zm4-4l-1.25 2.25L12 9.25l1.25 2.25L12 7z'/%3E%3C/svg%3E");
}

/* Tab 4 Icon - Gift/Promo */
.van-tab:nth-child(4)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107'%3E%3Cpath d='M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z'/%3E%3C/svg%3E");
}

/* Custom Vant Tabs Design & Colors */
.van-tabs__wrap {
    height: 65px !important; /* Slightly increased height */
    background: #121214 !important; /* Red */
    border-radius: 10px !important; /* Square shape */
    margin-bottom: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s ease !important;
}

.van-tabs__wrap:hover {
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.3) !important; /* Red Glow */
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.van-tabs__nav {
    background: transparent !important;
}

.van-tab {
    line-height: 50px !important; /* Center text vertically */
    color: #035254 !important; /* Light Grey for inactive */
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}

/* Remove default active background and apply specific color */
.van-tab--active {
    background: #02686b !important; /* Red for active */
    border: 2px solid #FFC107 !important; /* Deep Yellow Border */
    border-radius: 25px !important; /* Round shape */
    color: #ffffff !important; /* White text for better contrast on red */
    font-weight: 800 !important;
    text-shadow: 0 0 10px rgba(150, 6, 6, 0.5) !important;
}

/* Ensure tabs-btn inherits or handles the color correctly */
.van-tab--active .tabs-btn {
    background-color: transparent !important; /* Transparent to show parent's red */
}

.van-tabs__line {
    display: none !important;
}

/* --- Sidebar Grid Layout --- */
#sidebar-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 5px;
}

#desktop-sidebar .sidebar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent; /* Use transparent to show pseudo-elements */
    border-radius: 12px;
    padding: 15px 5px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    aspect-ratio: 1;
    color: #8b9bb4;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 0; /* Reset */
    overflow: visible; /* Allow active border to show if needed */
}

#desktop-sidebar .sidebar-link span {
    margin-top: 8px;
    font-size: 12px !important;
    font-weight: 500;
    text-align: center;
    color: inherit;
}

#desktop-sidebar .sidebar-link .icon-box {
    width: 36px;
    height: 36px;
    background: transparent !important; /* Remove old gradients */
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

#desktop-sidebar .sidebar-link .icon-box svg {
    width: 28px;
    height: 28px;
    fill: #8b9bb4 !important; /* Grey fill */
    transition: all 0.3s ease;
    stroke: none; /* Reset stroke if set elsewhere */
}

/* Hover State */
#desktop-sidebar .sidebar-link:hover {
    background: #c9b504;
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#desktop-sidebar .sidebar-link:hover .icon-box svg {
    fill: #fff !important;
}

/* Active State (Home) */
#desktop-sidebar .sidebar-link.active-home {
    background: linear-gradient(to right, #1e232d, #252b36);
    color: #fff;
    border-left: 3px solid #ffc107;
    border-radius: 12px; /* Reset radius */
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

#desktop-sidebar .sidebar-link.active-home .icon-box svg {
    fill: #ffc107 !important; /* Yellow icon */
}

/* Top Items (Rotate, Mission) */
#desktop-sidebar .sidebar-link.top-item {
    flex-direction: row;
    aspect-ratio: auto;
    height: 50px;
    padding: 0 10px;
    gap: 8px;
    color: #fff;
    border-radius: 8px;
}

#desktop-sidebar .sidebar-link.top-item span {
    margin-top: 0;
    font-size: 14px !important;
    font-weight: 600;
}

#desktop-sidebar .sidebar-link.top-item .icon-box {
    width: 24px;
    height: 24px;
}

#desktop-sidebar .sidebar-link.top-item .icon-box svg {
    width: 20px;
    height: 20px;
    fill: #fff !important;
}

/* Rotate Button Style */
#desktop-sidebar .sidebar-link .top-item {
    background: linear-gradient(135deg, #e91e63, #9c27b0); /* Pink/Purple */
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.3);
    order: 2; /* Right side */
}

/* Mission Button Style */
#desktop-sidebar .sidebar-link .top-item {
    background: linear-gradient(135deg, #ff9800, #e65100); /* Orange */
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
    order: 1; /* Left side */
}

/* Banner Item (Affiliate/Chest) */
#desktop-sidebar .sidebar-link.banner-item {
    grid-column: span 2;
    aspect-ratio: auto;
    height: 80px;
    background: linear-gradient(135deg, #ffff00 0%, #ff0000 100%); /* Yellow Red */
    color: #fff;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    overflow: hidden;
    order: 3;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

#desktop-sidebar .sidebar-link.banner-item .icon-box {
    width: 60px;
    height: 60px;
}

#desktop-sidebar .sidebar-link.banner-item .icon-box svg {
    width: 40px;
    height: 40px;
    fill: #fff !important;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

#desktop-sidebar .sidebar-link.banner-item span {
    font-size: 15px !important; /* Show text for Affiliate */
    font-weight: 700;
    margin-left: 5px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(162, 170, 7, 0.2);
}

/* Ensure Grid Items are ordered after banner */
#desktop-sidebar .sidebar-link.grid-item {
    order: 4;
}

#desktop-sidebar .sidebar-link.grid-item::after {
    background: rgb(61, 61, 61);
}
#desktop-sidebar .sidebar-link.banner-item::after {
    background: rgb(208, 201, 7);
}
#desktop-sidebar .sidebar-link.mission-item::after {
    background: rgb(129, 7, 189);
}
#desktop-sidebar .sidebar-link.rotate-item::after {
    background: rgb(163, 5, 171);
}

/* --- Animated Moving Border Effect on Hover --- */
#desktop-sidebar .sidebar-link {
    position: relative;
    z-index: 1;
    overflow: hidden; /* Ensure pseudo-element doesn't spill out */
}

/* The rotating gradient (border source) */
#desktop-sidebar .sidebar-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%; /* Make it larger than the container to cover corners */
    height: 200%;
    
    transform: translate(-50%, -50%);
    z-index: -2;
    animation: rotateBorder 3s linear infinite;
    opacity: 1; /* Always visible */
    border-radius: 50%;
    display: block !important; /* Force display */
}

/* Inner background to mask the center */
#desktop-sidebar .sidebar-link::after {
    content: '';
    position: absolute;
    inset: 1px; /* Border thickness */
    border-radius: 10px; /* Slightly smaller than parent */
    z-index: -1;
    opacity: 1; /* Always visible */
    transition: background 0.3s ease; /* Smooth hover color change */
    display: block !important; /* Force display */
}

/* Show hover color on the inner mask */
#desktop-sidebar .sidebar-link:hover::after {
    background: #c9bc04; /* Lighter background on hover */
}

/* Ensure main element background is transparent to show the mask */
#desktop-sidebar .sidebar-link {
    background: transparent;
}

/* Adjust hover state */
#desktop-sidebar .sidebar-link:hover {
    background: transparent !important; 
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 4px 12px rgba(193, 186, 3, 0.2);
}

/* Keep special backgrounds for Mission item */


/* Change Rotate, Mission and Banner to Yellow on Hover */
#desktop-sidebar .sidebar-link.rotate-item:hover,
#desktop-sidebar .sidebar-link.mission-item:hover,
#desktop-sidebar .sidebar-link.banner-item:hover {
    background: #ffc107 !important; /* Yellow */
    background-image: none !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.5) !important;
}

#desktop-sidebar .sidebar-link.top-item:hover::before,
#desktop-sidebar .sidebar-link.top-item:hover::after,
#desktop-sidebar .sidebar-link.banner-item:hover::before,
#desktop-sidebar .sidebar-link.banner-item:hover::after {
    display: none !important; /* No border effect on colored buttons */
}

@keyframes rotateBorder {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* --- Enhanced Vant Tabs Content Design --- */
.van-tabs__content {
    background: transparent !important;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    color: #09022d;
    margin-top: 5px;
}

.fish .container .all {
    background: transparent !important;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    color: #09022d;
    min-height: 200px;
    margin-top: 5px;
}

.container {
    background: linear-gradient(135deg, #000428 0%, #06013d 100%); /* Deep Dark Blue */
    padding: 10px 20px 20px 20px; /* Reduced top padding */
    border-radius: 10px; /* Square round shape */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    color: #333333; /* Dark text for contrast */
    min-height: 200px;
    margin-top: 15px; /* Spacing from tabs */
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    align-items: flex-start !important; /* Prevent stretching */
}

/* Wallet Container Override - Reset Generic Container Styles */
.wallet-container .container {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: static !important;
    overflow: visible !important;
    color: inherit !important;
    min-height: auto !important;
    margin-top: 0 !important;
    display: block !important;
    flex-wrap: nowrap !important;
    justify-content: normal !important;
    gap: 0 !important;
    align-items: normal !important;
}

.wallet-container .container::after {
    content: none !important;
    display: none !important;
}

/* Reset inner items that might inherit game card styles */
.wallet-container .container .slot-img-wrapper,
.wallet-container .slot-img-wrapper {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: auto !important;
    display: inline-block !important;
    margin: 0 !important;
    overflow: visible !important;
    transition: none !important;
}

.wallet-container .container .slot-img-wrapper:hover,
.wallet-container .slot-img-wrapper:hover {
    transform: none !important;
    box-shadow: none !important;
    z-index: auto !important;
}

/* Hide Care/Heart Icon in Wallet */
.wallet-container .care-icon,
.wallet-container .container .care-icon {
    display: none !important;
}

/* Reset Image Styles in Wallet */
.wallet-container .container img,
.wallet-container .container .slot-img-wrapper img,
.wallet-container img {
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
    border: none !important;
}

/* Reset Link Styles in Wallet */
.wallet-container .container a,
.wallet-container .container .slot-img-wrapper a,
.wallet-container a {
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-decoration: none !important;
}

/* --- Fix Promotion/Affiliate Page Container Color --- */
.container[data-v-6cf5705a] {
    background-color: transparent !important;
    background-image: none !important;
    padding-top: 0 !important;
}

.container[data-v-6cf5705a] .info_content {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Remove the pseudo-element blocking the bottom */
.container[data-v-6cf5705a]:after {
    display: none !important;
}

/* --- Fix Promotion Share Container --- */
.promotionShare__container {
    background: transparent !important;
    padding-top: 20px !important;
}

.promotionShare__container .van-nav-bar {
    background-color: transparent !important;
}

.promotionShare__container .van-nav-bar .van-icon,
.promotionShare__container .van-nav-bar .van-nav-bar__title {
    color: #ffffff !important;
}

.promotionShare__container .promotionShare__container-tips {
    color: #ffffff !important;
}

.promotionShare__container .promotionShare__container-slogan p {
    color: #ffffff !important;
}

/* Ensure pointer events are enabled for dragging */
.promotionShare__container .swiper-wrapper {
    pointer-events: auto !important;
}

/* --- Fix Notice Bar on Desktop --- */
@media screen and (min-width: 768px) {
    /* Make the container full width */
    #app .noticeBar__container {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Expand the scrolling body area */
    #app .noticeBar__container-body {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 !important;
        overflow: hidden !important;
    }

    /* Adjust text size and animation for better readability */
    #app .noticeBar__container-body-text {
        font-size: 16px !important;
        line-height: 1.5 !important;
        animation-duration: 25s !important; /* Slower speed for wider screens */
        padding-left: 100% !important; /* Start off-screen */
        white-space: nowrap !important;
    }
}

/* --- Fix Wallet Buttons (Deposit, Withdraw, etc.) --- */
.wallet-container .userDetail {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    margin-top: 15px !important;
    width: 100% !important;
}

.wallet-container .userDetail > div {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
}

.wallet-container .userDetail .imgD {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important;
    background: transparent !important;
    margin-bottom: 0 !important;
    border-radius: 16px !important; /* Matches game items */
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wallet-container .userDetail .imgD img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Ensure image fills the box */
    border-radius: 0 !important;
}

/* Text Inside the Box */
.wallet-container .userDetail span {
    position: absolute !important;
    bottom: 8px !important;
    left: 0 !important;
    width: 100% !important;
    text-align: center !important;
    color: #ffffff !important;
    font-size: 11px !important; /* Small text to fit */
    font-weight: 700 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important; /* Readability */
    z-index: 10 !important;
    pointer-events: none !important;
    line-height: 1.1 !important;
    padding: 0 2px !important;
    white-space: normal !important; /* Allow wrapping if needed */
}

/* Animated modifier */
.van-tabs__content--animated,
.fish .container .all,
.container {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

/* Add a subtle shine effect */
.van-tabs__content::after,
.fish .container .all::after,
.container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(4, 1, 36, 0.5), transparent);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .van-tabs__content {
        padding: 0px;
        border-radius: 0px;
    }
}

/* --- Attractive Slots Picture Design --- */
.slotsPic,
.fish .container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 5px !important;
    background: transparent !important;
    border-radius: 16px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
    margin: 5px 0;
    overflow: visible !important; /* Allow hover effects to pop out */
    max-height: none !important; /* Override restrictive height */
}

.hide-when-empty {
    display: none !important;
}
.hide-when-empty img {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Auto-hide empty slot wrappers inside slotsPic when there is no valid img */
.slotsPic .slot-img-wrapper:not(:has(img)),
.slotsPic .slot-img-wrapper:has(img[src=""]),
.slotsPic .slot-img-wrapper:has(img[src="#"]),
.slotsPic .slot-img-wrapper:has(img[src="about:blank"]) {
    display: none !important;
}


/* Ensure parent fish container allows overflow for hover effects */
.fish {
    overflow: visible !important;
}

.okwin2Home_flash {
    /* Layout matching slotsPic grid */
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    overflow: visible !important;
    max-height: none !important;

    /* Visuals matching .van-tabs__content (Yellow Design) */
    background: linear-gradient(145deg, #020543, #08013a);
    border-radius: 0 0 16px 16px; /* Remove top border radius */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    color: #333333;
    min-height: 200px;
    position: relative;
    
    /* Animation from .van-tabs__content--animated */
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

/* Shine effect for okwin2Home_flash */
.okwin2Home_flash::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
}

/* Inner Container Grid Layout */
.okwin2Home_flash .container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    overflow: visible !important;
}

/* Update: Target the wrapper instead of img for layout */
.slotsPic .slot-img-wrapper,
.okwin2Home_flash .slot-img-wrapper,
.okwin2Home_flash .container .slot-img-wrapper,
.fish .container .slot-img-wrapper,
.container .slot-img-wrapper {
    position: relative;
    display: inline-block;
    aspect-ratio: 1/1;
    margin-bottom: 0px;
    border-radius: 20px; /* More rounded */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #ff0000 0%, #b71c1c 100%); /* Red square round shape */
    padding: 3px; /* Create a red border effect */
    overflow: visible !important;
}

/* Ensure img fills the wrapper */
.slotsPic img,
.slotsPic .slot-img-wrapper img,
.slotsPic .slot-img-wrapper a,
.okwin2Home_flash img,
.okwin2Home_flash .slot-img-wrapper img,
.okwin2Home_flash .slot-img-wrapper a,
.okwin2Home_flash .container img,
.okwin2Home_flash .container .slot-img-wrapper img,
.okwin2Home_flash .container .slot-img-wrapper a,
.fish .container img,
.fish .container .slot-img-wrapper img,
.fish .container .slot-img-wrapper a {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    display: block !important;
}

/* Fix for container images to show fully */
.container .slot-img-wrapper {
    aspect-ratio: auto !important;
}

.slot-img-wrapper{
    height: auto !important;
}

.container .slot-img-wrapper img,
.container .slot-img-wrapper a {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 17px !important;
    display: block;
    border: none !important;
    background-color: transparent;
}

/* Specific reset for a tag to remove default link styles if needed */
.slotsPic .slot-img-wrapper a,
.okwin2Home_flash .slot-img-wrapper a,
.okwin2Home_flash .container .slot-img-wrapper a,
.fish .container .slot-img-wrapper a,
.container .slot-img-wrapper a {
    text-decoration: none;
    padding: 0;
    margin: 0;
}

/* --- TABS BTN IMAGES --- */
/* Add images to elements with class "tabs-btn" */


.tabs-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 30px;
    font-size: 0 !important;
    color: transparent !important;
    text-shadow: none !important;
    background-repeat: no-repeat !important;

}

/* Create the image element using pseudo-element */
.tabs-btn::before {
    content: '';
    display: block;
    width: 0px; /* Adjust size */
    height: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    padding-bottom: 80px;
    padding-top: 0px;
    padding-left: 20px;
}


.tabs-btn .van-tab__text,
.tabs-btn span,
.tabs-btn p,
.tabs-btn i,
.tabs-btn b,
.tabs-btn em,
.tabs-btn small {
    display: none !important;
}

/* Background images for provided logos */
.van-tab:nth-child(1) .tabs-btn { background-image: url('/assets/slotspic/jili.png'); }
.van-tab:nth-child(2) .tabs-btn { background-image: url('/assets/slotspic/pgsoft.png'); }
.van-tab:nth-child(3) .tabs-btn { background-image: url('/assets/slotspic/playson.png'); }
.van-tab:nth-child(4) .tabs-btn { background-image: url('/assets/slotspic/cq9.png'); }
.van-tab:nth-child(5) .tabs-btn { background-image: url('/assets/slotspic/jdb.png'); }
.van-tab:nth-child(6) .tabs-btn { background-image: url('/assets/slotspic/pragmatic.png'); }
.van-tab:nth-child(7) .tabs-btn { background-image: url('/assets/slotspic/playtech.png'); }
.van-tab:nth-child(8) .tabs-btn { background-image: url('/assets/slotspic/playngo.png'); }
.van-tab:nth-child(9) .tabs-btn { background-image: url('/assets/slotspic/redtiger.png'); }
.van-tab:nth-child(10) .tabs-btn { background-image: url('/assets/slotspic/Evoplay.png'); }
.van-tab:nth-child(11) .tabs-btn { background-image: url('/assets/slotspic/mg.png'); }


/* Hover effects on wrapper */
.slotsPic .slot-img-wrapper:hover,
.okwin2Home_flash .slot-img-wrapper:hover,
.okwin2Home_flash .container .slot-img-wrapper:hover,
.fish .container .slot-img-wrapper:hover,
.container .slot-img-wrapper:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.3); /* Red glow */
    z-index: 100;
}

/* Care Icon */
.care-icon {
    position: absolute;
    top: -8px; /* Extend slightly outside/on the border */
    right: -8px;
    width: 36px;
    height: 36px;
    background: transparent; /* No background */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
    transform: scale(1);
}

.care-icon svg {
    width: 28px; /* Larger icon */
    height: 28px;
    fill: rgba(0, 0, 0, 0.3); /* Slight dark fill for contrast */
    stroke: #ff0000; /* Pure Red Stroke */
    stroke-width: 2.5px; /* Thicker stroke */
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); /* Shadow for pop */
}

/* Hover Effects */
.care-icon:hover {
    transform: scale(1.15) rotate(5deg); /* Slight tilt */
}

/* Fill with red on hover (icon or wrapper) or active */
.care-icon:hover svg,
.slotsPic .slot-img-wrapper:hover .care-icon svg,
.okwin2Home_flash .slot-img-wrapper:hover .care-icon svg,
.okwin2Home_flash .container .slot-img-wrapper:hover .care-icon svg,
.fish .container .slot-img-wrapper:hover .care-icon svg,
.container .slot-img-wrapper:hover .care-icon svg,
.care-icon.active svg {
    fill: #ff0000;
    stroke: #ff0000;
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.6)); /* Glowing red */
}

.care-icon.active {
    transform: scale(1.15);
}

/* Responsive Widths for Wrapper */
/* Mobile: 4 items per row */
@media (max-width: 1023px) {
    .slotsPic .slot-img-wrapper,
    .okwin2Home_flash .slot-img-wrapper,
    .okwin2Home_flash .container .slot-img-wrapper,
    .fish .container .slot-img-wrapper,
    .container .slot-img-wrapper {
        width: calc(25% - 6px) !important;
    }
    
    /* Fallback for direct img if JS fails or loads late */
    .slotsPic > img,
    .okwin2Home_flash > img,
    .okwin2Home_flash .container > img,
    .fish .container > img,
    .container > img {
    width: calc(25% - 6px) !important;
    aspect-ratio: 1/1;
    border-radius: 12px !important;
    height: auto !important; /* Ensure aspect ratio is respected */
}

    /* Fix for container mobile width (3 items per row) */
    .container .slot-img-wrapper,
    .container > img {
        width: calc(33.33% - 6px) !important;
    }
}

/* Desktop: 6 items per row */
@media (min-width: 1024px) {
    .slotsPic .slot-img-wrapper,
    .okwin2Home_flash .slot-img-wrapper,
    .okwin2Home_flash .container .slot-img-wrapper,
    .fish .container .slot-img-wrapper,
    .container .slot-img-wrapper {
        width: calc(16.66% - 7px) !important;
    }
    
    .slotsPic > img,
    .okwin2Home_flash > img,
    .okwin2Home_flash .container > img,
    .fish .container > img,
    .container > img {
         width: calc(16.66% - 7px) !important;
         aspect-ratio: 1/1;
         border-radius: 12px !important;
         height: auto !important; /* Ensure aspect ratio is respected */
    }
}

/* --- Game Type List Design (Icon Top, Text Below) --- */
.gameTypeList {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 5px !important;
    padding-left: 0 !important;
    background: transparent !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    margin: 5px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

/* Moving Gradient Border */
.gameTypeList::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%; 
    height: 150%;
    
    transform: translate(-50%, -50%);
    animation: rotateBorder 4s linear infinite;
    z-index: -2 !important;
}

/* Inner Background Mask */
.gameTypeList::after {
    content: '';
    position: absolute;
    inset: 1px; /* Border width */
    background: transparent !important;
    border-radius: 14px;
    z-index: -1 !important;
}

/* Ensure content sits on top */
.gameTypeList > * {
    position: relative !important;
    z-index: 2 !important;
}

/* Child items */
.gameTypeList > div, 
.gameTypeList > a,
.gameTypeList .item {
    border-radius: 16px !important;
    overflow: visible !important;
    box-shadow: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    background: linear-gradient(135deg, #025735 0%, #02665c 100%) !important;
    padding: 4px !important;
    position: relative !important;
    min-width: 72px;
    min-height: 72px;
    aspect-ratio: 1/1;
    display: flex !important;
    flex-direction: column !important; /* Stack Icon and Text */
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6) !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
}

/* Active State for Game Type Items */
.gameTypeList > div.active, 
.gameTypeList > a.active,
.gameTypeList .item.active {
    background: linear-gradient(135deg, #ffff00 0%, #d4c006 100%) !important;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-3px);
    z-index: 5 !important;
}

/* Images inside gameTypeList - HIDDEN */
.gameTypeList img {
    display: none !important;
}

/* Base Icon (::before) */
.gameTypeList > div::before, 
.gameTypeList > a::before,
.gameTypeList .item::before {
    content: '';
    display: block;
    width: 64px !important; /* Increased size */
    height: 64px !important; /* Increased size */
    margin-bottom: 5px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    transition: transform 0.3s ease !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)) !important;
    z-index: 10 !important;
    position: relative !important;
}

/* --- Specific Icons (Gradient & Colorful) --- */

/* 1. Slots (Red Gradient 7) */
.gameTypeList > div:nth-child(1)::before, 
.gameTypeList > a:nth-child(1)::before, 
.gameTypeList .item:nth-child(1)::before {
    background-image: url('/assets/svg/slots_a-de9dd5ee.svg');
}

/* 2. Casino (Purple Gradient Dice) */
.gameTypeList > div:nth-child(2)::before, 
.gameTypeList > a:nth-child(2)::before, 
.gameTypeList .item:nth-child(2)::before {
    background-image: url('/assets/svg/card_a-1da2e03a.svg');
}
/* 3. Sports (Football Icon) */
.gameTypeList > div:nth-child(3)::before, 
.gameTypeList > a:nth-child(3)::before, 
.gameTypeList .item:nth-child(3)::before {
    background-image: url('/assets/svg/sports_a-5313dd33.svg');
}

/* 4. Fishing (Orange/Red Fish) */
.gameTypeList > div:nth-child(4)::before, 
.gameTypeList > a:nth-child(4)::before, 
.gameTypeList .item:nth-child(4)::before {
    background-image: url('/assets/svg/icon_fish-80dac6e1.svg');
}

/* 5. Minigames (Pink/Blue Puzzle) */
.gameTypeList > div:nth-child(5)::before, 
.gameTypeList > a:nth-child(5)::before, 
.gameTypeList .item:nth-child(5)::before {
    background-image: url('/assets/svg/icon_mini-9bd4090f.svg');
}

/* 6. PVC (Card Icon) */
.gameTypeList > div:nth-child(6)::before, 
.gameTypeList > a:nth-child(6)::before, 
.gameTypeList .item:nth-child(6)::before {
    background-image: url('/assets/svg/icon_chess-b71f3e88.svg');
}


/* Hover Effects */
.gameTypeList > div:hover, 
.gameTypeList > a:hover,
.gameTypeList .item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3) !important;
    background: linear-gradient(135deg, #bcb306 0%, #c6b604 100%) !important; /* Deep Blue Gradient */
}

.gameTypeList > div:hover::before, 
.gameTypeList > a:hover::before,
.gameTypeList .item:hover::before {
    transform: scale(1.15) !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4)) !important;
}

/* Clear ::after just in case */
.gameTypeList > div::after,
.gameTypeList > a::after,
.gameTypeList .item::after {
    display: none !important;
}

/* Mobile Scroll Layout */
.gameTypeItem {
    font-size: 12px !important;
    font-weight: bold !important;
}

.gameTypeTitle {
    font-size: 12px !important;
    font-weight: bold !important;
}

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@media (max-width: 600px) {
    .gameTypeList {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 0px !important;
        gap: 10px !important;
        justify-content: flex-start !important;
        
        /* New Moving Border Technique for Scroll Containers */
        position: relative !important;
        border: 2px solid transparent !important;
        background: linear-gradient(#1b0249, #010129) padding-box;
    }
    
    @keyframes rotation {
        0% { --gradient-angle: 0deg; }
        100% { --gradient-angle: 360deg; }
    }
    
    /* Disable pseudo-elements on mobile as we use background-border */
    .gameTypeList::before,
    .gameTypeList::after {
        display: none !important;
    }
    
    .gameTypeList::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }

    .gameTypeList > div, 
    .gameTypeList > a,
    .gameTypeList .item {
        flex: 0 0 auto !important;
        width: 64px !important;
    }
}

/* Fix for slotsPic images visibility - control via aspect ratio only */
.slotsPic .slot-img-wrapper,
.slotsPic > img {
    aspect-ratio: 0.8 !important;
}


/* Fix for van-swipe-item images on desktop to show fully */
@media (min-width: 1024px) {
    .van-swipe-item img {
        height: 290px !important; /* Force full height */
        object-fit: fill !important; /* Stretch to fill */
        background-color: transparent;
        display: block !important;
        gap: 20px;

    }
    
}

/* Hide class="all" as requested */
.all {
    display: none !important;
}

/* Attendence Icon - Teal/Green Gradient */
#desktop-sidebar .sidebar-link .icon-box.attendence {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

/* Invite Friend Icon - Purple/Blue Gradient */
#desktop-sidebar .sidebar-link .icon-box.invite {
    background: linear-gradient(135deg, #02732f, #047f3b);
}

/* Promotion Icon - Pink/Red Gradient */
#desktop-sidebar .sidebar-link .icon-box.promotion {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

/* --- Profile Modal Design --- */
#profileModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#profileModal.active {
    display: flex;
}

.profile-box {
    background: linear-gradient(145deg, #1a1f3c, #252b4d);
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    color: #fff;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.profile-box h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    background: linear-gradient(90deg, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.profile-box label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #aab2c8;
    font-weight: 500;
}

.profile-box input[type="text"],
.profile-box input[type="email"],
.profile-box input[type="password"],
.profile-box input[type="file"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    background: #13172c;
    border: 1px solid #2d3655;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.profile-box input:focus {
    border-color: #3a7bd5;
    box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.2);
    outline: none;
}

.profile-box input:disabled {
    background: #0f1222;
    color: #666;
    cursor: not-allowed;
}

/* OTP Section */
.otp-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.otp-row input {
    margin-bottom: 0;
    flex: 1;
    text-align: center;
    letter-spacing: 1px;
    min-width: 120px;
}

.otp-row .btn {
    padding: 12px 20px;
    font-size: 13px;
    white-space: nowrap;
}

/* Buttons */
.profile-box .btn {
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn.save {
    background: linear-gradient(90deg, #00d2ff, #3a7bd5);
    color: white;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(58, 123, 213, 0.4);
}

.btn.save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 123, 213, 0.6);
}

.btn.cancel {
    background: transparent;
    color: #aab2c8;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
}

.btn.cancel:hover {
    color: #fff;
}

#profile_send_otp, #profile_verify_otp {
    background: #2d3655;
    color: #00d2ff;
    border: 1px solid #3a7bd5;
}

#profile_send_otp:hover, #profile_verify_otp:hover {
    background: #3a7bd5;
    color: white;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.profile-box .preview {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    max-height: 200px;
    display: flex;
    justify-content: center;
    background: #13172c;
}

.profile-box .preview img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.actions {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}

#profile_verify_status {
    font-size: 13px;
    margin-top: -15px;
    margin-bottom: 15px;
    min-height: 20px;
}
.verify-success { color: #00ff88; }
.verify-error { color: #ff4b4b; }
.verify-info { color: #00d2ff; }

.mt-3 { margin-top: 1rem; }

/* Responsive */
@media (max-width: 767px) {
    .profile-box {
        padding: 20px;
    }
    .otp-row {
        gap: 5px;
    }
    .otp-row .btn {
        padding: 12px 8px;
        font-size: 12px;
    }
    .otp-row input {
        font-size: 12px;
        padding: 12px 5px;
        font-weight: 400px;
        flex: 1.5;
        min-width: 100px;
    }
}

@media (min-width: 768px) {
    .actions {
        flex-direction: row;
        justify-content: flex-end;
    }
    .btn.save, .btn.cancel {
        width: auto;
        min-width: 120px;
        margin-top: 0;
    }
}

/* Menu Toggle Button Styling */
#menu-toggle {
    position: fixed;
    top: 4px;
    left: 0;
    margin: 0;
    z-index: 10001;
    /* Glassmorphic Gold/Orange Gradient */
    background: linear-gradient(135deg, rgba(6, 102, 144, 0.9) 0%, rgba(4, 90, 107, 0.9) 100%);
    color: #3e1f00; /* Dark brown for better contrast */
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    /* Corner shape */
    padding: 0px 10px 8px 8px;
    border-radius: 0 0 16px 0;
    cursor: pointer;
    /* Soft shadow */
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    font-size: 18px;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy transition */
    display: none; /* Hidden by default on desktop */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

#menu-toggle:hover {
    transform: scale(1.05) translate(1px, 1px);
    background: linear-gradient(135deg, rgba(6, 131, 168, 0.95) 0%, rgba(4, 125, 125, 0.95) 100%);
    box-shadow: 6px 6px 20px rgba(255, 140, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    color: #000;
}

#menu-toggle:active {
    transform: scale(0.95);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    #menu-toggle {
        display: flex !important;
    }

    #desktop-sidebar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 320px !important;
        z-index: 10000 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        background: #011418 !important;
        box-shadow: 2px 0 10px rgba(0,0,0,0.5) !important;
        overflow-y: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #desktop-sidebar.active {
        transform: translateX(0) !important;
    }

    /* CRITICAL FIX: Override inline styles on the inner content div */
    #sidebar-content {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100% !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        margin: 0 !important;
        padding-top: 10px !important;
        box-shadow: none !important;
        background: transparent !important; /* Allow parent background to show */
    }

    .sidebar-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0,0,0,0.5) !important;
        z-index: 9999 !important;
        display: none !important;
    }

    .sidebar-overlay.active {
        display: block !important;
    }
}

/* --- Mobile Sidebar Fixes --- */
@media (max-width: 768px) {
    /* Show Toggle Button */
    #menu-toggle {
        display: flex !important;
        position: fixed;
        top: 5px; /* Adjusted for better placement */
        left: 5px;
        z-index: 2147483647 !important; /* Max z-index */
        width: 45px; /* Slightly larger touch target */
        height: 45px;
        background: linear-gradient(135deg, #07e6ff, #00fff2);
        border: 2px solid #fff;
        border-radius: 50%;
        color: #fff;
        font-size: 24px;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(0,0,0,0.4);
        cursor: pointer;
        visibility: visible !important;
        opacity: 1 !important;
        transition: all 0.3s ease;
    }

    #menu-toggle.active {
        background: linear-gradient(135deg, #ff416c, #ff4b2b); /* Red gradient for close */
        transform: rotate(90deg);
        box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
    }

    /* Sidebar Mobile Layout */
    #desktop-sidebar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 320px !important;
        z-index: 2147483646 !important; /* Just below toggle */
        transform: translateX(-100%) !important;
        transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
        background: #011418 !important;
        box-shadow: 2px 0 10px rgba(0,0,0,0.5) !important;
        /* overflow-y: auto !important;  REMOVED: content handles scroll */
        visibility: visible !important;
        opacity: 1 !important;
    }

    #desktop-sidebar.active {
        transform: translateX(0) !important;
    }

    /* Close Button inside Sidebar */
    .sidebar-close-btn {
        display: none; /* Hidden on desktop */
    }

    /* CRITICAL FIX: Override inline styles on the inner content div */     
    #desktop-sidebar #sidebar-content {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100% !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        margin: 0 !important;
        padding-top: 70px !important; /* Space for toggle button */
        box-shadow: none !important;
        background: transparent !important;
    }

    /* Overlay */
    .sidebar-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0,0,0,0.7) !important;
        z-index: 2147483645 !important;
        display: none !important;
        backdrop-filter: blur(3px);
    }

    .sidebar-overlay.active {
        display: block !important;
    }

    /* Mobile Close Button */
    .sidebar-close-btn {
        display: flex !important;
        position: absolute;
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        color: #fff;
        font-size: 24px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 2000;
        transition: all 0.3s ease;
        pointer-events: auto !important;
    }

    .sidebar-close-btn:hover {
        background: rgba(255, 65, 108, 0.8);
        border-color: #ff416c;
        transform: rotate(90deg);
    }

    /* Ensure content is not pushed */
#app {
    margin-left: 0 !important;
    width: 100% !important;
}
}

#sidebar-content::-webkit-scrollbar {
    display: none;
}

#desktop-sidebar #sidebar-content {
    background: #010f26;
}

#desktop-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    padding: 8px 5px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

#desktop-sidebar .sidebar-link:hover {
    background: #FFD700;
    color: #000;
    transform: translateX(10px);
}

#desktop-sidebar .sidebar-link .icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
    background: linear-gradient(135deg,#ff7e5f,#feb47b);
}

#desktop-sidebar .sidebar-link .icon-box svg {
    width: 22px;
    height: 22px;
    fill: none;
    color: inherit;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#desktop-sidebar .sidebar-link .icon-box.wheel {
    background: linear-gradient(135deg,#FF9800,#FFC107);
    color: #FFF200;
}

#desktop-sidebar .sidebar-link .icon-box.vip {
    background: linear-gradient(135deg,#6A11CB,#FAD961);
    color: #FFD700;
}

#desktop-sidebar .sidebar-link .icon-box.attendence {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: #E0F7FA;
}

#desktop-sidebar .sidebar-link .icon-box.home {
    background: linear-gradient(135deg,#00C6FF,#0072FF);
    color: #00E5FF;
}

#desktop-sidebar .sidebar-link .icon-box.casino {
    background: linear-gradient(135deg,#ff416c,#ff4b2b);
    color: #FF3D00;
}

#desktop-sidebar .sidebar-link .icon-box.slot {
    background: linear-gradient(135deg,#56ab2f,#a8e063);
    color: #00E676;
}

#desktop-sidebar .sidebar-link .icon-box.affiliate {
    background: linear-gradient(135deg,#f7971e,#ffd200);
    color: #FF9100;
}

#desktop-sidebar .sidebar-link .icon-box.wallet {
    background: linear-gradient(135deg,#1D976C,#93F9B9);
    color: #00C853;
}

#desktop-sidebar .sidebar-link .icon-box.language {
    background: linear-gradient(135deg,#4b79a1,#283e51);
    color: #64B5F6;
}

#desktop-sidebar .sidebar-link .icon-box.more {
    background: linear-gradient(135deg,#434343,#000000);
    color: #9E9E9E;
}

#desktop-sidebar .sidebar-link .icon-box.promotion {
    background: linear-gradient(135deg,#f7971e,#ffd200);
    color: #FFAB40;
}

#desktop-sidebar .sidebar-link .icon-box.invite {
    background: linear-gradient(135deg,#00b09b,#96c93d);
    color: #7C4DFF;
}

#desktop-sidebar .sidebar-link .icon-box.account {
    background: linear-gradient(135deg,#ff758c,#ff7eb3);
    color: #FF80AB;
}

@media (max-width: 767px) {
    #app {
        margin-left: 0 !important;
    }
    #menu-toggle {
        display: flex !important;
        position: fixed !important;
        top: 4px !important;
        left: 0px !important;
        z-index: 100000 !important;
        background: linear-gradient(135deg, rgba(4, 122, 138, 0.9) 0%, rgba(3, 139, 133, 0.9) 100%) !important;
        color: #3e1f00 !important;
        border: none !important;
        border-radius: 0 0 16px 0 !important;
        box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.15) !important;
        width: 35px !important;
        height: 35px !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 24px !important;
    }
}

/* Tabbar (Bottom Navigation) */
.tabbar__container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #010f26;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.tabbar__container-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #b0b8c5;
    text-decoration: none;
    font-size: 12px;
    flex: 1;
}

.tabbar__container-item.active, .tabbar__container-item:hover {
    color: #ffc107;
}

.tabbar__container-item svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-bottom: 4px;
}

/* Central Round Button (Deposit) */
.tabbar__container-item.deposit-btn {
    position: relative;
    top: -20px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    border: 4px solid #041243;
}

.tabbar__container-item.deposit-btn svg {
    width: 30px;
    height: 30px;
    margin-bottom: 0;
}

/* Use JS-driven class to hide broken/empty okwin2Home_slot tiles */
.okwin2Home_slot.hide-when-empty { display: none !important; }
.okwin2Home_slot.hide-when-empty img { display: none !important; width:0 !important; height:0 !important; overflow:hidden !important; }

@media (max-width: 1024px) {
    /* Fix for "button response late" - Optimize click targets */
    .tabs-btn, 
    .van-tab, 
    .van-tabs__wrap, 
    .van-tab__text, 
    .van-tabs__nav {
        transition: none !important; /* Remove delay from transitions */
        touch-action: manipulation !important; /* Eliminate 300ms tap delay */
        -webkit-tap-highlight-color: transparent !important; /* Remove tap highlight lag */
        transform: translateZ(0) !important; /* Force GPU layer */
    }
    
    /* Instant feedback on press */
    .tabs-btn:active, 
    .van-tab:active {
        opacity: 0.7 !important;
        transition: none !important;
    }

    /* Fix for "not sliding smoothly" - Optimize slider tracks */
    .van-tabs__content, 
    .van-swipe__track,
    .van-tabs__track,
    .van-swipe-item {
        will-change: transform !important; /* Hint browser to promote layer */
        transform: translateZ(0) !important; /* Force GPU layer */
        -webkit-transform: translateZ(0) !important;
        backface-visibility: hidden !important;
        -webkit-backface-visibility: hidden !important;
        perspective: 1000px !important;
        -webkit-perspective: 1000px !important;
    }
}
