:root {
    --main-color: #d9ac4f;
    --main_gradient-color: linear-gradient(90deg, #FAE59F 0%, #C4933F 100%);
    --main_gradient-color2: linear-gradient(180deg, #FAE59F 0%, #C4933F 100%);
    --norm_red-color: #D23838;
    --norm_green-color: #17B15E;
    --norm_secondary-color: #DD9138;
    --norm_Purple-color: #9B48DB;
    --norm_bule-color: #5088D3;
    --button_dis_color: #6F7381;
    --text_color_L1: #F5F3F0;
    --text_color_L2: #A8A5A1;
    --text_color_L3: #666462;
    --text_color_L4: #8F5206;
    --text_color_black: #292929;
    --bg_color_L1: #242424;
    --bg_color_L2: #333332;
    --bg_color_L3: #4D4D4C;
    --Dividing-line_color: #525167;
    --sheet_nva_color: #3A3947;
    --sheet_detail_bg_color: #282730;
    --icon1: rgba(217, 172, 79, .6);
    --icon2: rgba(217, 172, 79, .3);
    --blackGoldN: #FAE59F;
    --van-sidebar-text-color: var(--main-color);
    --van-picker-background: var(--bg_color_L2);
    --van-picker-mask-color: linear-gradient(180deg, rgba(32, 29, 43, .9), rgba(32, 29, 43, .4)), linear-gradient(0deg, rgba(32, 29, 43, .9), rgba(32, 29, 43, .4));
    --van-picker-option-text-color: var(--text_color_L2);
    --van-picker-confirm-action-color: var(--main-color);
    --van-popup-background: #201D2B;
    --van-checkbox-checked-icon-color: var(--main-color);
    --van-checkbox-label-color: var(--text_color_L2);
    --van-field-input-text-color: var(--text_color_L1);
    --van-radio-checked-icon-color: var(--main-color);
    --van-grid-item-content-background: var(--bg_color_L1);
    --van-text-color: var(--text_color_L1);
    --van-dialog-background: var(--bg_color_L2);
    --van-circle-color: var(--main-color);
    --van-calendar-background: var(--bg_color_L1);
    --van-calendar-range-edge-background: var(--main-color);
    --van-radio-label-color: var(--text_color_L2);
    --van-cell-background: var(--bg_color_L2);
    --van-button-default-background: var(--main_gradient-color);
    --van-popover-light-background: var(--bg_color_L2);
    --van-circle-layer-color: var(--bg_color_L3);
    --van-button-primary-background: var(--main_gradient-color);
    --van-button-primary-border-color: var(--main-color);
    --van-slider-active-background: var(--main-color);
    --van-slider-inactive-background: var(--bg_color_L1);
    --van-collapse-item-content-background: var(--bg_color_L1);
    --van-action-sheet-item-background: var(--bg_color_L2);
    --van-action-sheet-item-text-color: var(--text_color_L1);
    --van-button-primary-color: var(--text_color_L4);
    --van-dialog-has-title-message-text-color: var(--text_color_L2);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;    
    scroll-behavior: smooth;    
}
body {
    height: 100%;
    width: 100%;    
    background-color: #9195a3;   
    font-family: var(--van-base-font);
}
.main-container {    
    position: relative; /* Make it the positioning reference for child elements */
    width: 100%;
    margin: auto;
    font-family: bahnschrift;
    background: var(--bg_color_L1); /* Inner screen color */
    max-width: 480px; /* Matches a common smartphone width */
    padding-top: 10px;    
    border-radius: 1px; /* Rounded corners for phone shape */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);     
}
.navbar{
    padding: 10px 15px 0px 15px;
    box-sizing: border-box;
    position: absolute; /* Positioned relative to .main-container */
    top: 0; /* Align with the top of .main-container */
    left: 0; /* Start from the left edge of .main-container */
    width: 100%; /* Full width of the main-container */
    height: 110px;
    z-index: 100;
    background: var(--bg_color_L2);
    color: var(--text_color_L1);
    display: flex;
}
.logo{
    width: 60%;
    height: auto;
    overflow: hidden;   
}
.logo img{
width: 100%;
}
.lang{    
    width: 100%;    
    display: inline-flex;            
}
.lang img{
    width: 10%;    
}
.lang p{
    padding-left: 10px;
    font-size: 12px;    
}
.nav-left{
    width: 60%;
    color: var(--main-color);   
    padding-bottom: 50px;       
}
.nav-right{
    width: 40%;
    color: var(--main-color);    
}
#button{
    width: 90%;  
    height: 40%;   
    margin: -5px 10px 10px 10px;
    border-radius: 15px;
    background: linear-gradient(180deg, #F6E3A3 0%, #D2A753 100%);
    padding: auto;
    font-size: 12px;
    color: var(--text_color_black);
    display: inline-flex;
}
#button img{
width: 38px;
height: 38px;
padding: 5px 0px 5px 10px;
margin-right: 20px;
text-align: center;

}
#button p{
  text-align: center;
  justify-content: center;
  padding-top: 5px;
  
}
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
width: 100%;
  max-width: 480px;
  position: relative;
  margin: auto;
  margin-top: 100px;
  padding: 10px;
  border-radius: 20px;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}
.bulletin-news{
    width: 100%;
    height: 60px;
    overflow: hidden;
    display: inline-flex;
    color: #F5F3F0;
    margin: 10px 0px 10px 0px;
    padding: 5px;
    overflow: hidden;
} 
.bulletin-news img{
    width: 25px;
    height: 25px;
    margin: 0px 30px 0px 30px;
}
.noticeBar-text{
    font-size: 10px;
}
.button{
    width: 200px;
    background-color: var(--main-color);
    height: 30px;
    padding: -10px;
    border-radius: 20px;
     
}
.button img{
    width: 25px;
    height: 25px;
}
.button p{
    padding: 10px;
    text-align: center;   
}
/* On smaller screens, decrease text size */
.game-box{
    width: 100%;
    height: 500px;
    padding-left: 20px;
    padding-right: 20px;
}
.game-box h3{
    text-align: center;
}
.top-game{
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: space-around;
}
#popullar-game{
    width: 30%;    
    background-image: url(images/hot-game-bg.png);
    background-size: 100% 100%;
    z-index: 100;         
}
#popullar-game img{
    width: 90%;
    margin-top: -10px;
}
.hot-game{
    background-image: url(images/third_bg-e90cc231.png);
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    padding: 10px;
}
#hot-game img{    
    width: 90%;
}
.base-game{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
#rum-game{
    width: 48%;
    height: auto;
    background-image: url(images/bottom-ccedfa9a.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: flex;
    margin-top: 20px;   
    
}
#rum-game img{
    width: 60%;
    padding: 10px;
}
#rum-game h3{
    margin: 35px 5px 20px 5px;       
}
.heading-2{
    width: 100%;
    color: white;
    display: flex;
}
.heading-2 .ver-bar{
color: #17B15E;
width: 3px;
height: 20px;
margin-left: 20px;
margin-right: 8px;
background-color: var(--main-color);
}
.heading-2 h2{
    color: white;
    
}
/* Hide scrollbar in Firefox */
 /* Scroll container */
 .scroll-container {
    width: 100%;
    background-color: #333;
    display: flex;
    align-items: center;
    position: relative;    
    height: 60px;
    overflow: hidden;
    max-width:480px;   
}

/* Scrollable content */
.scroll-content {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: 100%; /* For Firefox */
    scrollbar-color: #aaa #555; /* Track and thumb colors */
   
}

/* Scroll items */
.scroll-item {
    color: #ddd;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    white-space: nowrap;
    cursor: pointer;
    min-width:80px;
   
}
/* Scrollable Menu Styles */
.scroll-container {
    background-color: #333;
    padding: 10px;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none; /* Hide scrollbar in IE */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    margin-bottom: 10px;
}

.scroll-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Chrome, Safari */
}

.scroll-content {
    display: inline-flex;
}

.scroll-item {
    display: inline-block;
    padding: 16px 16px;
    margin: 0 5px;
    background-color: #444;
    color: #aaa;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;   
}

.scroll-item:hover,
.scroll-item.active {
    color: #fff;
    background-color: #555;
}
.game-list-container{
    max-width: 480px;
            width: 100%;
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* 3 columns */
            grid-template-rows: repeat(6, auto); /* 6 rows */
            gap: 10px;
            padding: 10px;
            margin-top: 10px;
            box-sizing: border-box;          
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.game-item {
    display: flex;
    height: 160px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Ensure title aligns at the bottom */
    position: relative; /* Enable positioning of child elements */
    text-align: center;
    overflow: hidden;
    border-radius: 10px;  
}

.game-item img {
    width: 100%;
    height: 100%;
    max-height: 160px; /* Match the height of the container */
    object-fit: cover; /* Ensure the image covers the container without distortion */
    position: absolute; /* Image fills the entire .game-item */
    top: 0;
    left: 0;
    z-index: 1;
}

.game-item .title {
    font-size: 14px;
    font-weight: bold;    
    width: 100%;
    font-weight: 700;
    color: #ffee6a; /* Ensure visibility over the image */
    position: relative; /* Ensures it sits on top of the image */
    z-index: 2; /* Ensure it’s above the image */
    text-align: center; /* Center the text */
    padding: 4px 0; /* Optional: Space around the text */
}
.bottom-menu {
    width: 100%;
    max-width: 480px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 480px;    
    margin: 0;
    padding: 0;
    background-color: #4e4e4e;
    border-radius: 10px;
    z-index: 1000;
}

.menu-item {
    flex: 1;
    text-align: center;
    color: #ccc;
    text-decoration: none;
    font-size: 12px;
    justify-content: center;
}

.menu-item img {
    width: 35%;
    height: 35%px;
    margin-bottom: 5px;    
    display: block;
    margin-left: 20px;
   
}
.menu-item h3{
    color:white;
    justify-content: center;
    align-content: flex-start;
     
}


.menu-item.active h3,
.menu-item.active {
    color: #f5c43d;
    fill: #f5c43d;
}
/* Winning information CONTAINER) */
.ver-bar-2 h2{
    color: var(--main-color);
    padding-left: 20px;
}
.container {
    width: 100%;
    max-width: 480px;
    height: 350px; /* Show only 5 rows (5 rows * row height 50px) */
    overflow: hidden; 
    padding: 2%;   
    border-radius: 8px;
    background-color: var(--bg_color_L1);
    z-index: -100;
  }

  .content {
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.5s ease;
    
  }

  .item {
    display: flex;
    align-items: center;
    padding: 10px;
    height: 50px; /* Set row height */
    background-color: var(--bg_color_L2);
    margin: 2px 5px;
    border-radius: 8px;
    
  }

  .item:last-child {
    border-bottom: none;
  }

  .item img {
    width: 100%;
    max-width:40px;
    height: 100%;
    max-width: 40px;
    border-radius: 50%;
    margin-right: 10px;
    border-image-width: 100%;
  }

  .item .details {
    flex: 1;
  }
  .item .game-profile{
    width: 60px;
    height: 40px;
    border-radius: 5%;
    margin-right: 10px;
  }
  .item .details span {
    display: block;
    color: var(--text_color_L2);
  }

  .item .details .amount {
    font-weight: bold;
    color: #28a745;
  }
  /* END BOTTOM MENU CONTAINER) */