* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #fff;
    background-size: cover;
}

.header,
.footer {
    background: linear-gradient(0deg, #c6e7ff, #6efbdc);
    color: #333;
}

.sidebar,
.sidebar.active {
    background: linear-gradient(180deg, #c6e7ff, #6efbdc);
}

.sidebar a {
    color: #fff;
}

.content {
    background: #65ccff63;
}

.logo-text {
    color: #ffffff;
    text-shadow: 2px -2px #ff505e;
}

.game-recommendation {
    background: linear-gradient(180deg, #c9fffc, #bbcaf5);
    box-shadow: 0 0 10px rgba(0, 0, 0);
    color: #fff;
}

.img-container1 img,
.img-container2 img {
    box-shadow: 2px 2px 5px #1e1e1e;
}

footer a {
    color: #fff !important;
}

.category {
    background-color: #66e1e1;
    color: #fff;
}

.play-btn {
    border: 1px solid #fff;
    box-shadow: 2px 2px 5px #979797;
    color: #fff;
    background: linear-gradient(45deg, #a0ffee, #66e7f5);
}

.play-btn2 {
    background: linear-gradient(45deg, #a0ffee, #66e7f5);
    color: #ffffff;
}

.banner-p {
    border-bottom: 3px solid #70d6f5;
    color: #5dbffb;
}



.des {
    color: #737373;
}

.title {
    color: #7194fc;
    text-shadow: 2px 2px #fff;
}

.game-des {
    color: #f5f5f5;
    background: linear-gradient(45deg, #8d85ff, #f857f9);
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    max-width: 1000px;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    font-size: 24px;
}

.hamburger-menu {
    font-size: 24px;
    cursor: pointer;
}

.sidebar {
    position: fixed;
    top: 60px;
    left: -250px;
    width: 250px;
    height: 100%;
    padding: 20px;
    transition: left 0.3s;
    z-index: 1000;
}

.sidebar.active {
    left: 0;
}

.sidebar a {
    text-decoration: none;
    display: block;
    padding: 10px 0;
    font-weight: bold;
}

.content {
    padding: 20px;
    max-width: 1000px;
    margin: 60px auto !important;
    background-size: cover;
}

.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    border-radius: 10px;
}

.carousel-item {
    min-width: 100%;
    transition: opacity 0.5s ease;
    height: 35vh;
}

.carousel-item:not(.active) {
    opacity: 0;
    pointer-events: none;
}

.carousel-inner img {
    width: 100%;
    height: 35vh;
    object-fit: cover;
    border-radius: 10px;
}

.game-card {
    margin: .5rem 0;
}

.game-card img {
    width: 100%;
    border-radius: 10px;
}

.game-recommendations {
    margin: 20px 0;
}

.logo-text {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.5rem;
}

.game-detail-container {
    position: relative;
}

.game-recommendation {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    background-size: cover;
    margin-bottom: 20px;
}

.game-recommendation img {
    width: 100%;
    border-radius: 10px;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-position: left;

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: .5rem 0;
    text-align: center;
    max-width: 1000px;
    left: 50%;
    transform: translateX(-50%);
}

.img-container img {
    width: 80px;
    height: 80px;
}

.img-container1,
.img-container2 {
    width: 100%;
    padding-top: 100%;
    position: relative;
    border-radius: 10px;
    text-align: center;
}

.img-container1 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 10px;
}

.img-container2 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

footer p {
    margin-bottom: 0;
}

.category {
    padding: .25rem .5rem;
    border-radius: 8px;
    position: absolute;
    font-size: 1rem;
    top: 10px;
    left: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.tag {
    padding: .25rem 0;
    border-radius: 8px;
    font-size: 1rem;
    text-transform: capitalize;
    font-weight: bold;
    display: inline-block;
    width: 100%;
    color: #737373;
}

.tag-category {
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: underline;
    color: #a37bff;
}

.play-btn {
    padding: .5rem .75rem;
    border-radius: 8px;
    font-weight: bolder;
    text-decoration: none;
    font-size: .9rem;
}

.play-btn2 {
    padding: .75rem 1rem;
    margin-top: 1rem;
    text-align: center;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;

}

#game-detail {
    margin-bottom: 60px;
}


.banner-p {
    margin: 1rem 0;
    font-size: 1.5rem;
    text-align: left;
    font-family: fantasy;

}

h1 {
    color: #737373;
    text-align: center;
    margin-top: 10px;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px #464bd8;
}

#game-cards2 {
    margin-bottom: 30px;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 1;
}

.carousel-control-prev {
    left: 10px;
    background: none;
}

.carousel-control-next {
    right: 10px;
    background: none;
}

#game-list {
    margin-bottom: 60px;
}

.moregame-list {
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .content {
        margin-left: 20px;
        margin-right: 20px;
    }

    .sidebar {
        width: 200px;
    }

    .sidebar.active {
        left: 0;
    }
}

.game-card {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.play-btn-container {
    margin-left: 10px;
}


.des {
    font-weight: bold;
    font-size: 1.2rem;
}

@media screen and (min-width:1200px) {
    .carousel-item {
        height: 45vh;
    }
}

.scroll-container {
    width: 100%;
    overflow-x: scroll;
    /* Enable horizontal scrolling */
    overflow-y: hidden;
    /* Disable vertical scrolling */
    white-space: nowrap;
    /* Prevent line breaks in the container */
    -webkit-overflow-scrolling: touch;
    /* Enable smooth scrolling on iOS */
}

.scroll-content {
    display: inline-flex;
    /* Align items in a row */
    padding: 10px 0;
    width: 100%;
    justify-content: space-evenly;
}

.category-item {
    display: inline-block;
    min-width: 80px;
    margin-right: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #fff;
    background: linear-gradient(45deg, #68e3ff, #a8ffdc);
    font-weight: bold;
}

.category-item:hover {
    background-color: #e0e0e0;
    /* Changes background on hover */
}

/* Hide scrollbar for Webkit browsers */
.scroll-container::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
.scroll-container {
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
}

.img-container1 .hot {
    width: 40px;
    height: 40px;
    box-shadow: none;
    right: 5px;
    top: 5px;
    left: auto;
}

.title {
    display: -webkit-inline-box !important;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    font-weight: bold;
}

.game-des {
    margin-top: 10px;
    text-align: justify;
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    line-height: 1;
    padding: 1rem;
    border-radius: 0 20px 20px;
}
.rw_footer_sticky{
    position: fixed;
    left: 0;
    bottom: 60px;
    width: 100%;
    text-align: center;
    z-index: 999999;
}