:root {
	--bg-color: #151436;
}

/* main bg color : #151436 */

.list-game.new .list-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
}

.list-game.new .list-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn.btn-arrow:hover {
    background-color: #fff !important;
    color: black;
    box-shadow: inherit !important; /* or remove if you don’t want any shadow on hover */
}

.g-content section, .top-nav, .g-content .user-page {
    /* padding: 25px !important; */
    padding: 15px 0px 15px 0px !important;
}
.g-content section {
    padding-bottom: 0px !important;
}
.banner-ad-content{
        padding: 10px 0 !important;
}

.left-sidebar {
        padding: 30px 0 40px 10px !important; 
        width: 230px; 
}
.site-logo {
        margin-bottom: 10px !important; 
}
.site-logo img{
    width: 80%;
}

.left-categories li{
    margin-bottom: -5px;
}
.left-categories li .g-icon {
    background : unset !important;
}
.mCSB_inside>.mCSB_container{
    margin-right: 15px;
}
.left-categories li a {
    padding: 14px 0px 10px 50px;
    height: 45px;
}
.g-content{
        width: calc(100% - 230px);
        padding-top: 0;
}
@media only screen and (max-width: 992px) {
    .g-content {
        width: 100% !important;
    }
    /* Scroll plugin container */
.mCustomScrollBox {
    /* max-height: calc(100vh - 120px) !important; */
    position: relative !important;
}
 /* Sidebar category list */
.left-categories {
    height: auto !important;
    padding: 20px 0 40px 0px;
}
.qr-btn{
    display: none !important;
}
.side-header {
    height: 65px;
}
    .site-logo a {
        top: 40%;
    }
}

.container-section {
    max-width: 1600px;
}

.left-categories {
    height: 100%;
}

.mCustomScrollBox{
    max-height: 90% !important;
    position: absolute;
}
.category-item:last-child {
    margin-bottom: 30px;
}


/* Active category text only */
.left-categories .category-item.active a {
    color: rgb(140,88,250,1) !important; /* your highlight color */
    font-weight: 600; /* optional for emphasis */
    background: unset !important; /* remove background highlight */
}

.game-item .btn-capsule{
    min-width: 70px !important;
    padding: 11px 0px !important;
}

@media (max-width: 580px) {
    .responsive-w {
        flex: 0 0 auto;
        width: 50%;
    }
}
li.nav-item a{
    padding: 13px 13px !important;
        font-size: large;
}
.user-avatar{
    margin-left: 20px;
    margin-right: 20px;
    width: 42px;
    height: 42px;
}
.navbar-nav .nav-link{
    overflow: unset;
}

.search-bar input.search{
    height: 40px;
}
.search-bar .bi-search{
    font-size: 16px;
}

.info-update{
    margin-top: 0;
    margin-bottom: 10px;
    padding: 10px;
    background: #262653;
}

.info-update .btn-circle , .btn-capsule-update{
    background: #3a3a66 !important;
}

.info-update .b-action a {
    margin-top: 0px;
}
.game-info .b-action a.btn-capsule, .game-info .b-action2 a.btn-capsule {
    padding: 2px 10px;
    height: auto;
    margin-left: 5px;
}
.btn-capsule-update{
    min-width: auto;
    margin-bottom :0px !important;
}

.header-left .btn-capsule-update i {
    font-size: 20px;
    vertical-align: middle;
    padding: 0 5px;
}

.btn-capsule-update i {
    margin-right: 0px;
}

/* For tablets & small desktops (501px–992px) */
@media only screen and (max-width: 992px) and (min-width: 370px) {
    .header-left {
        width: 50%;
        margin-bottom: 0;
    }
    .header-right {
        width: 50%;
        text-align: right;
    }
}

/* For mobile (500px and below) */
@media only screen and (max-width: 370px) {
    .header-left {
        width: 100%;
        margin-bottom: 20px;
    }
    .header-right {
        width: 100%;
        text-align: left;
    }
}
@media only screen and (max-width: 370px) {
 .header-left {
        width: 100%;
    }
    .header-right {
        width: 100%;
    }
}
.popover{
    z-index: 999;
}
.popover-header{
    background: var(--bg-color);
    color: white;
}
.game-iframe{
    z-index: 3;
}
/* .popover-body{
    background: #262653;
} */

.list-update {
    /* padding: 8px 0px 0px 0px; */
    padding: 0px 0px 0px 0px;
}

.play-update{
    margin-top: 10px !important;
}
.section-title{
    margin-bottom: 12px;
}
.g-icon {
  width: 36px;
  height: 36px;
}
/* .section-title .g-icon{
    top: 7px
} */
.grid-1, .grid-2, .grid-3 {
    padding: 5px;
}
.game-item{
    padding: 3px;
    -webkit-border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-item:hover{
     /* transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.5); */
    /* transform: translateY(-5px); */
    /* border: 1px solid var(--brand-100); */
    box-shadow: 0 10px 15px rgb(80 52 179 / 50%);
}
  .section-title .home-g-icon {
    top: 7px;
  }
  .section-title .all-games-g-icon{
     top: 7px;
  }
@media (max-width: 1024px) {
  .section-title .all-games-g-icon {
     top: 0px !important;
  }
}


.center-title {
  display: inline-flex;       /* Makes icon and text inline-flex */
  align-items: center;        /* Vertically center the icon with text */
  gap: 15px !important;                  /* Space between icon and text */
  justify-content: center;    /* Center content horizontally */
}
.center-title span.g-icon {
    position: unset;
}

.footer p {
    font-size: 16px;
    color: #ffffffba;
}

.footer-title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 15px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 8px;
}

.footer-menu li a {
  color: #a9a9a9;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  display: inline-block;
}

.footer-menu li a:hover {
  color: #fff;
  padding-left: 5px;
}

/* grid-1 */

	.game-title{
        font-weight: 900 !important;
        margin-bottom: 5px !important;
        color: #6F58FA !important;
        font-size: 28px !important;
    }
    .cat-item{
        color: #fff;
    }
    .cat-item span.cat-count{
        color: #9280ff;
    }
.cat-item, .tag-item {
    /* color: #9280ff; */
    font-size: 17px;
    transition: background-color .2s ease-in;
}

a.cat-item:hover{
    background: #492eb3;
    color: white;
}
.list-thumbnail {
    position: relative;
    overflow: hidden;
}

.list-thumbnail img {
    display: block;
    width: 100%;
    transition: transform .3s ease-in-out;
}

/* Image zoom on hover */
.list-thumbnail:hover img {
    transform: scale(1.05);
}

.container-section{
    /* margin-right: 45px;
    margin-left: 45px; */
}

	@media (max-width: 1800px) {
  	section.section-category div.container-section {
    	width: 91% !important;
  }

}

@media only screen and (max-width: 992px) {
    .burger-right {
        padding: 13px 13px !important;
        width: unset;
        height: unset;
    }
    .burger-left {
        padding-top: 9px !important;
        width: unset;
        height: unset;
    }
    .site-logo a {
        left: 55%;
    }
}




/* hover-overlay css  */
/* Parent thumbnail must contain the overlay properly */
.list-thumbnail {
    position: relative;
    overflow: hidden; /* ensures overlay & zoom stay within box */
    border-radius: 10px;
    height: 100%; /* keeps consistent layout */
}

/* Thumbnail image */
.list-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

/* Optional: Zoom effect on hover */
.list-thumbnail:hover img {
    transform: scale(1.1);
}

/* Hover overlay */
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 93%);
    color: #fff;
    padding: 15px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform .4s ease, opacity .4s ease;
}

.list-thumbnail:hover .hover-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Header (title + rating) */
.hover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 20px;
}

.hover-header .game-title {
    flex: 1;
    text-align: left;
    color: #fff !important;
    font-size: 15px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hover-header .hover-rating {
    font-size: 14px;
    color: #ffcc00;
    margin-left: 8px;
}

/* Game intro text */
/* Game intro text (fixed) */
.hover-intro {
    font-size: 13px;
    color: #8b8b8b;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* show only 3 lines */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
}


/* Play button */
.hover-play-btn {
    align-self: flex-start;
    padding: 8px 16px;
    color: #fff;
    background: var(--linear);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-top: auto; /* push to bottom */
    position: absolute;
    bottom: 15px;
}
.hover-rating {
    position: absolute;
    bottom: 20px;
    right: 15px;
    font-size: 14px;
    color: #ffcc00;
}   

.hover-play-btn:hover {
    color: #fff;
}

/* Footer (play + rating) */
.hover-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

    .sm-widget {
        background: #05050769;
    }

@media (min-width: 1200px) and (max-width: 1500px),
       (min-width: 250px) and (max-width: 540px) {
    .hover-play-btn {
        font-size: 10px;
        padding: 3px 9px;
    }

     .hover-header {
        font-size: 14px;
    }

    .hover-intro {
        font-size: 10px;
        /* max-height: 40px; */
        overflow: hidden;
    }
    .hover-rating {
        font-size: 10px;
        margin-bottom: -2px;
    }

}

@media screen and (max-width: 450px) {
    .hover-intro {
        display: none;
    }
}

@media (min-width: 576px) and (max-width: 1015px) {
    .col-sm-9 {
        width: 100% !important;
    }
    .col-sm-3 {
        display: none;
        width: 50% !important;
		margin-top:20px;
    }
}
