html {
    font-size: 16px !important;
}

.header-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #132340;
    padding-left: 18.75rem;
    padding-right: 1rem;
    z-index: 4;
}

.header-top.collapsed {
    padding-left: 5.75rem !important;
}

.bg-navbar {
    margin-left: 18.75rem;
}

.bg-navbar.collapsed {
    margin-left: 5.25rem !important;
}

.bg-header {
    background-color: #142340;
}

.container-fluid {
    padding: 0;
}

.container-xxl {
    max-width: 92.5rem;
}

body {
    background-color: #121318;
    color: #f0f0f0;
    font-family: "Inter", sans-serif;
}

.btn-login {
    background-color: #3d4668;
    color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-login:hover {
    opacity: 0.8;
    color: white;
}

.btn-register {
    background-color: #ffb31a;
    color: black;
    padding: 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-register:hover {
    opacity: 0.8;
    color: black;
}

.sidebar {
    background-color: #142340;
    height: 100vh;
    padding-top: 15px;
    position: fixed;
    width: 18.75rem;
    z-index: 4;
    /* overflow-y: auto; */
}

.sidebar.collapsed {
    width: 5.25rem;
}

.sidebar.collapsed .nav-link img {
    margin-right: 0 !important;
}

.sidebar.collapsed .nav-link .justify-content-between {
    justify-content: center !important;
}

.sidebar-menu .nav-link {
    color: #f0f0f0;
    padding: 1rem;
    transition: all 0.3s ease;
    background: #1d2841;
}

.sidebar-menu .nav-link:hover {
    background: #29334b;
}

.sidebar-menu .nav-link.active,
.sidebar-menu .nav-link:hover {
    color: #ffb31a;
}

.game-tabs .nav-link.active {
    color: #ffb31a;
}

.sidebar-menu .nav-item:hover .text-point {
    opacity: 1;
    margin-right: 0;
}

.text-point {
    opacity: 0;
    transition-duration: 0.3s;
    margin-right: 30px;
}

.btn-icon {
    width: 50px;
    margin-right: 5px;
    padding: 0 !important;
    height: auto;
    border-radius: 50%;
}

.game-icon {
    width: 40px;
    margin-right: 5px;
    border-radius: 50%;
}

.icon-sidebar-menu {
    position: fixed;
    left: 0;
    z-index: 6;
    margin-top: 10px;
    padding-right: 1rem;
    padding-left: 1rem;
}

.icon-sidebar-menu.collapsed {
    padding-left: 1.5rem !important;
}

.navbar-brand img {
    height: 62px;
    width: 60px;
}

.nav {
    flex-wrap: unset !important;
}

.icon-menu,
.icon-menu i {
    cursor: pointer !important;
}

.content-block {
    padding-top: 2.5rem;
    height: 100vh;
    overflow-y: scroll;
    background: #121318;
}

/* .game-tabs {
  padding-bottom: 0.5rem;
  padding-top: 6rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-left: 19.5rem;
  padding-right: 1rem;
  background: #121318;
  z-index: 3;
} */

.game-tabs {
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    width: 100%;
    background: #121318;
    z-index: 3;
}

/* turn nav into grid */

.game-tabs .nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    /* grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); */
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.game-tabs .nav-link {
    background-color: #142340;
    white-space: nowrap;
    color: #f0f0f0;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.game-tabs .nav-item {
    margin: 0px;
}

/* .game-tabs.collapsed {
  padding-left: 6rem;
} */

.icon {
    width: 20px;
    filter: brightness(0) invert(1);
}

.icon-tap {
    width: 20px;
}

.list-block-item.collapsed {
    margin-left: 85px;
}

.list-block-item {
    position: absolute;
    top: 5rem;
    /* margin-top: -573px; */
    margin-left: 300px;
    background-color: #101520bf;
    height: calc(100vh - 5rem);
    overflow-y: auto;
    display: none;
    z-index: 99999 !important;
}

.list-block-item {
    overflow-y: scroll;
    /* enable scroll */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

.sidebar-menu {
    height: 100vh;
    padding-top: 4.5rem;
}

.list-block-item::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.list-item {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 15px;
}

.item {
    width: 330px;
    height: 150px;
    position: relative;
    display: inline-block;
}

.items {
    width: 130px;
    height: 150px;
    position: relative;
    display: inline-block;
}

.item img {
    width: 100%;
    border-radius: 1rem;
}

.items img {
    width: 100%;
    border-radius: 1rem;
}

.item button {
    position: absolute;
    top: 80%;
    left: 80%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 1.25rem;
    font-size: 0.875rem;
    width: 4.375rem !important;
}

/* Custom navigation buttons */

.swiper-slide img {
    width: 100%;
}

.ad-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* left bigger, right smaller */
    gap: 1rem;
    align-items: stretch;
}

.ad-left,
.ad-right {
    height: 100%;
}

.ad-left img,
.ad-right img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.products-section {
    padding: 20px 0;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image img {
    width: 100%;
    border: 2px solid #161d31;
    box-shadow: 0px 0px 7px #161d31;
    border-radius: 2rem;
    overflow: hidden;
    cursor: pointer;
}

.load-more-btn {
    background: rgba(61, 70, 104, 0.1);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.block-grid-6 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
}

.block-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 1400px) {
    .game-tabs .nav {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
}

@media (max-width: 1150px) {
    .game-tabs .nav {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .list-block-item {
        top: 2rem;
    }
    .block-grid-6 {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-gap: 5px;
    }
    .block-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
    }
    .sidebar {
        position: absolute !important;
        padding-top: 25px !important;
    }
    .header-top {
        padding-left: 1rem;
    }
    .navbar-brand img {
        display: none;
    }
    /* .game-tabs {
    padding-top: 4rem;
  } */
    .content-block {
        padding-top: 1rem;
    }
    /* .game-tabs {
    padding-left: 6rem;
  } */
    .sidebar-menu {
        padding-top: 2rem;
    }
    .bg-navbar {
        margin-left: 6rem !important;
    }
    .icon-sidebar-menu {
        margin-top: 0 !important;
    }
    .bg-navbar.collapsed {
        margin-left: 6rem !important;
    }
}

@media (max-width: 800px) {
    .block-grid-6 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .product-card {
        border-radius: 5px;
    }
    .block-grid-4 {
        gap: 5px;
    }
    .icon-sidebar-menu.collapsed {
        padding-left: 1rem !important;
    }
    .sidebar.collapsed {
        margin-left: -85px;
    }
    /* .game-tabs.collapsed,
  .game-tabs {
    padding-left: 1rem !important;
  } */
    .bg-navbar.collapsed,
    .bg-navbar {
        margin-left: 0rem !important;
    }
}

/* Responsive adjustments */

@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 2rem;
    }
    .slide-content p {
        font-size: 1rem;
    }
    .list-block-item {
        top: 3rem;
        margin-left: 0%;
        height: calc(100vh);
    }
    /* .banner-content {
    margin-top: 12rem;
  } */
    .game-tabs .nav {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 465px) {
    .block-grid-6 {
        /* grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; */
        grid-gap: 5px;
    }
    .product-card {
        border-radius: 10px;
    }
    .product-content {
        border-radius: 0 0 5px 5px;
    }
    .product-image img {
        border-radius: 10px;
    }
    .product-title {
        font-size: 8px;
    }
    .product-subtitle {
        font-size: 5px;
    }
    .game-tabs .nav {
        grid-template-columns: 1fr 1fr;
    }
}