* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: fixed;
    background-image: url(../img/bg.webp);
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
    background-size: cover;
    overflow-x: hidden;
    font-family: "Inter";
    height: 100%;
}


.theme-box,
.theme-box .category-bar,
.theme-box h1,
.theme-box h2,
.theme-box h3,
.theme-box p,
.theme-box span,
.theme-box li,
.theme-box button {
    color: rgb(255, 255, 255);
}

.theme-box .game-card {
    background-color: #191919;
}

.theme-box.category-bar {
    background-color: #80808096 !important;
}

.theme-box.category {
    background-color: #80808000 !important;
}

.theme-box .light {
    border-radius: 8px;
    height: 36px !important;
    width: 36px !important;
    background-color: rgb(255 73 0 / 31%) !important;
    color: white;
    border: none;
    margin-left: 68px;
    font-size: 18px;
    padding: 0 8px;
}

.theme-box.dark-mode,
.theme-box.dark-mode .category-bar,
.theme-box.dark-mode .game-card,
.theme-box.dark-mode h1,
.theme-box.dark-mode h2,
.theme-box.dark-mode h3,
.theme-box.dark-mode p,
.theme-box.dark-mode span,
.theme-box.dark-mode li,
.theme-box.dark-mode button {
    background-color: #ffffff !important;
    color: rgb(0, 0, 0);
}

.theme-box.dark-mode .light {
    border-radius: 8px;
    height: 36px !important;
    width: 36px !important;
    background-color: rgb(255 73 0 / 31%) !important;
    color: rgb(0, 0, 0);
    border: none;
    margin-left: 68px;
    font-size: 18px;
    padding: 0 12px;
}

.theme-box.dark-mode .light {
    background-color: rgb(255 73 0 / 31%) !important;
}

.theme-box.dark-mode .category-bar {
    background-color: #80808096 !important;
}

.theme-box.dark-mode .category {
    background-color: #80808000 !important;
}

.close-btn {
    background-color: rgba(255, 255, 255, 0) !important;
}

header {
    width: 100%;
    position: fixed;
}

.logo a {
    text-decoration: none;
    padding-top: 7px;
}

a {
    text-decoration: none;
    color: white;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    text-align: center;
}

ul {
    list-style-type: none
}

.light {
    border-radius: 8px;
    height: 36px !important;
    background-color: rgb(255 73 0 / 31%) !important;
    color: white;
    border: none;
    margin-left: 68px;
    font-size: 18px;
    padding: 0 12px;
}

.container {
    background-color: #000000;
    font-family: "Inter";
    margin: 0 auto;
}

.logo {
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.main-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgb(53 53 53);
}

.nav {
    display: flex;
    overflow-x: auto;
    background: #111;
    padding: 10px 20px;
}

.nav div {
    margin-right: 20px;
    color: #aaa;
    cursor: pointer;
    white-space: nowrap;
}

.nav div.active {
    color: #a259ff;
    border-bottom: 2px solid #a259ff;
}


.gamebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 2fr));
    gap: 20px;
    padding: 20px;

}

.game-card {
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 10px;
    height: 209px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.game-card img {
    width: 100%;
    display: block;
    height: 110px;
    object-fit: cover;
}

.game-info {
    padding: 10px;
}

.game-title {
    font-size: 16px;
    margin: 5px 0;
    color: white;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #ccc;
    place-self: flex-end;
    margin-top: -19px;
    background-color: #ccc !;
    padding-right: 5px;
}

.game-meta i {
    padding-right: 5px;
}

.play-btn {
    background: linear-gradient(#FF8800, #FF3401);
    border: none;
    padding: 10px;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.Advertisement {
    min-height: 100px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.play-btn i {
    padding-right: 7px;
}

.activeplay {
    background: none !important;
    color: white;
    font-size: 14px;
    padding: 1px;
    margin-right: -3px;
}

.category-bar {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 12px;
    padding: 10px 10px;
    background-color: #000;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    max-width: 100vw;
    background-color: #80808096 !important;
    margin-top: -52px;
}

.category-bar::-webkit-scrollbar {
    display: none;
}

.category {
    flex: 0 0 auto;
    cursor: pointer;
    color: #aaa;
    font-size: 12px;
    position: relative;
    padding: 6px 10px;
    background-color: #80808000 !important;
}

.category.active {
    background: linear-gradient(90deg, #FF8800, #FF3401);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.category.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    background-color: #ff5f0096;
}

footer i {
    color: #5a5a5a !important;
}

.game span {
    position: absolute;
    top: 32px !important;
    left: 21px !;
    font-size: 12px !important;
    color: white;
}



.about span {
    position: absolute;
    top: 32px !important;
    left: 21px !important;
    font-size: 12px !important;
    color: #ffffff;
}


.contact span {
    position: absolute;
    top: 32px !important;
    left: 21px !important;
    font-size: 12px !important;
    color: white;
}




.privacy span {
    position: absolute;
    top: 32px !important;
    left: 17px !important;
    font-size: 12px !important;
    color: white;
}

.gamebar {
    margin: 0 auto;
    padding-bottom: 500px;
}

.main-footer {
    border-top: 2px solid gray;
}

.main-footer a {
    text-decoration: none;
    color: white;
    display: inline-block;
    padding: 10px 40px;
    padding-bottom: 20px;
    position: relative;
}