@import url("theme.css");
@import url('https://fonts.googleapis.com/css2?family=Roboto&amp;display=swap');
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {

    vertical-align: baseline;
}
input:focus {
    outline: none;
}
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    background-color: #0b0e17;
    color: #e2e8f0;
    -webkit-font-smoothing: antialiased;
}
img {
    width: 100%;
    max-width: 100%;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    vertical-align: middle;
}
button {
    border: 0;
    background: 0;
}

li {
    list-style: none;
}

a {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

/* --- Header Styles for Gameplay Page --- */
.header {
    width: 100%;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(0, 210, 255, 0.25);
    background: linear-gradient(180deg, #13192d 0%, #0b0e17 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-con {
    display: flex;
    justify-content: space-between;
    position: relative;
    height: 60px;
    align-items: center;
    padding: 0px 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.logo:hover img {
    transform: scale(1.04);
}

.header-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.35);
    color: var(--theme-primary, #00d2ff);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.header-back-btn:hover {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.25), rgba(255, 183, 0, 0.25));
    color: #ffffff;
    border-color: var(--theme-primary, #00d2ff);
    box-shadow: 0 2px 12px rgba(0, 210, 255, 0.35);
    transform: translateX(-2px);
}

.ads-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 2px;
    padding-top: 0;
    position: relative;
}

.tops-ads.ads {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ads-label {
    text-align: center;
}

.wrapper {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 12px;
}

.detail-page {
    padding: 10px 0 30px;
}

.page-left {
    background: linear-gradient(160deg, #141b2d 0%, #0d1220 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: visible !important;
    flex-grow: 1;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    padding: 20px;
}

@media screen and (max-width: 480px) {
    .wrapper {
        padding: 0 4px !important;
    }
    .page-left {
        padding: 12px 6px !important;
        overflow: visible !important;
    }
}

.detail-right {
    overflow: hidden;
}

.detail-info .info {
    flex-shrink: 0;
}

.box-ad {
    width: 100%;
    height: auto;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(160deg, #151d30 0%, #0d1222 100%);
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 210, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.app-header .app-icon {
    width: 90px;
    height: 90px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(255, 183, 0, 0.35);
    flex-shrink: 0;
    border: 2px solid var(--theme-secondary, #ffb700);
    background: #0b0e17;
}

.app-header .app-title {
    margin-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.app-title .title {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.app-title .developer {
    font-size: 14px;
    font-weight: 500;
    color: var(--theme-primary, #00d2ff);
    line-height: 1.4;
}

.detail-info .app-icon {
    aspect-ratio: 1;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-icon {
    width: 10px;
    height: 10px;
}
.s-icon-2 {
    width: 15px;
    height: 15px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(145deg, #161e31 0%, #0e1424 100%);
  border: 1px solid rgba(0, 210, 255, 0.22);
  border-radius: 10px;
  padding: 8px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.info-card:hover {
  border-color: rgba(255, 183, 0, 0.5);
  box-shadow: 0 4px 16px rgba(255, 183, 0, 0.25);
  transform: translateY(-1px);
}

.info-card .icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--theme-primary, #00d2ff);
}

.info-card .text {
  flex: 1;
  min-width: 0;
}

.info-card .text span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-card .text strong {
  display: block;
  max-width: 100%;
  font-size: 13px;
  color: var(--theme-secondary, #ffb700);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Desktop / default */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

/* Mobile – force 2 grid */
@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.app-metas {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-top: 14px;
    padding: 12px 16px;
}
.app-metas ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}
.app-metas ul li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 0;
}
.app-metas ul li p {
    width: auto;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 2px;
}
.app-metas ul li small {
    text-align: left;
    width: auto;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 13px;
}
.leftbtn,
.rightbtn
{
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    cursor: pointer;
    background: linear-gradient(145deg, #1b243b, #101524);
    border: 1px solid rgba(0, 210, 255, 0.4);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    transition: all 0.25s ease;
    z-index: 5;
}

.leftbtn:hover,
.rightbtn:hover {
    border-color: var(--theme-secondary, #ffb700);
    box-shadow: 0 0 14px rgba(255, 183, 0, 0.5);
    transform: scale(1.08);
}

.leftbtn::after,
.rightbtn::after
{
    position: absolute;
    top: 12px;
    left: 11px;

    display: block;

    width: 8px;
    height: 8px;

    content: '';
    transform: rotate(-45deg);

    border-right: 2px solid var(--theme-secondary, #ffb700);
    border-bottom: 2px solid var(--theme-secondary, #ffb700);
}

.leftbtn::after
{
    left: 14px;

    transform: rotate(135deg);
}
.leftbtn
{
    left: -12px;
}

.rightbtn
{
    right: -12px;
}

.app-thumbs {
    position: relative;
    width: 100%;
    padding-bottom: 12px;
}
.maxpic-slides {
    height: 100%;
}
.thumb-slides {
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow: scroll;
    scrollbar-width: none;
}


.slide {
    flex-shrink: 0;
    margin-right: 16px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-pic {
    max-height: 250px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

section h5 {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff !important;
    padding-bottom: 10px;
    margin: 15px 0 20px 0;
    border-bottom: 1px solid rgba(0, 210, 255, 0.2);
}

section h5::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 90px;
    height: 4px;
    background: var(--theme-linear);
    border-radius: 2px;
}

.page-left section h5 {
    margin: 15px 0;
}

.page-left section {
    margin: 15px 0;
}

.game-item {
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: linear-gradient(160deg, #182035 0%, #0f1424 100%);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 24px rgba(0, 210, 255, 0.35);
    border-color: rgba(0, 210, 255, 0.6);
}

.game-item .game-icon {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 13px 13px 0 0;
    width: 100%;
    background: #101424;
}

.game-item .game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.game-item:hover .game-icon img {
    transform: scale(1.1);
}

.game-item .game-title,
.text-ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    -webkit-box-pack: center;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    overflow-wrap: break-word;
}

.game-item .game-title {
    color: #f1f5f9;
    padding: 0 5px;
    font-size: 11.5px;
    line-height: 1.25;
    text-align: center;
    font-weight: 600;
    margin: 0;
    height: 36px;
    max-height: 36px;
    box-sizing: border-box;
    transition: color 0.25s ease;
    position: static;
    opacity: 1;
    transform: none;
}

@media (min-width: 600px) {
    .game-item .game-title {
        font-size: 12.5px;
        line-height: 1.25;
        height: 38px;
        max-height: 38px;
        padding: 0 6px;
    }
}

.game-item:hover .game-title {
    color: var(--theme-primary, #00d2ff);
}

.page-left .game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    grid-gap: 12px;
}

@media (min-width: 600px) {
    .page-left .game-list {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        grid-gap: 14px;
    }
}

.ads-tips {
    color: #999;
    font-size: 12px;

}

.ads {
    margin: 20px 0;
}

.btn {
    width: 100%;
    border-radius: 4px;
    height: 60px;
    overflow: hidden;
    background-color: rgba(0, 201, 169, .05);
    border: 1px solid #00a890;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: .3;
    cursor: none;
    pointer-events: none;
    text-decoration: none;
    padding: .5rem 0;
}
.btn-down {
    margin: 20px 0;
    background: var(--theme-btn-gradient) !important;
    background-size: 100% 100% !important;
    border: 1px solid rgba(255, 183, 0, 0.5) !important;
    border-radius: 14px;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    height: 56px;
    line-height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0, 162, 255, 0.4), 0 2px 12px rgba(255, 183, 0, 0.3) !important;
    transition: all 0.35s ease;
    letter-spacing: 0.5px;
}

.btn-down:hover {
    background: var(--theme-btn-gradient-hover) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 183, 0, 0.55), 0 0 20px var(--theme-primary-glow) !important;
    color: #ffffff;
}

.btn-down:active {
    transform: translateY(0) scale(0.99);
}

.btn-down .cta {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 20px;
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.btn-down .cta::before {
    content: "▶";
    font-size: 16px;
}

.btn-down .tips {
    font-size: 12px;
    color: #999;
}
.btn.enable {
    opacity: 1;
    cursor: pointer;
    pointer-events: all;
}

.app-title .title {
    color: #ffffff !important;
}

/* =========================================================
   DOWNLOAD THE APP - MODERN 3-BUTTON UI
   ========================================================= */
.download-btns {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin: 18px 0 25px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.download-btns .btn {
    width: 100% !important;
    height: 72px !important;
    border-radius: 14px !important;
    padding: 10px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    cursor: pointer !important;
    pointer-events: all !important;
    opacity: 1 !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Button 1: Online Play (Electric Cyan) */
.download-btns .btn:first-child {
    background: linear-gradient(145deg, rgba(0, 210, 255, 0.12) 0%, rgba(13, 20, 36, 0.9) 100%) !important;
    border: 1px solid rgba(0, 210, 255, 0.3) !important;
}
.download-btns .btn:first-child:hover {
    background: linear-gradient(145deg, rgba(0, 210, 255, 0.24) 0%, rgba(16, 26, 48, 0.98) 100%) !important;
    border-color: var(--theme-primary, #00d2ff) !important;
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-3px) !important;
}
.download-btns .btn:first-child svg {
    height: 24px !important;
    width: 24px !important;
    fill: var(--theme-primary, #00d2ff) !important;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.7)) !important;
    margin: 0 !important;
}

/* Button 2: Google Play (Android Emerald) */
.download-btns .btn:nth-child(2) {
    background: linear-gradient(145deg, rgba(52, 168, 83, 0.12) 0%, rgba(13, 20, 36, 0.9) 100%) !important;
    border: 1px solid rgba(52, 168, 83, 0.3) !important;
}
.download-btns .btn:nth-child(2):hover {
    background: linear-gradient(145deg, rgba(52, 168, 83, 0.22) 0%, rgba(16, 26, 48, 0.98) 100%) !important;
    border-color: #34a853 !important;
    box-shadow: 0 8px 25px rgba(52, 168, 83, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-3px) !important;
}
.download-btns .btn:nth-child(2) svg {
    height: 22px !important;
    width: auto !important;
    max-width: 120px !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)) !important;
    margin: 0 !important;
}

/* Button 3: App Store (Apple Silver/White) */
.download-btns .btn:nth-child(3) {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(13, 20, 36, 0.9) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.download-btns .btn:nth-child(3):hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18) 0%, rgba(16, 26, 48, 0.98) 100%) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-3px) !important;
}
.download-btns .btn:nth-child(3) svg {
    height: 22px !important;
    width: auto !important;
    max-width: 90px !important;
    fill: #ffffff !important;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)) !important;
    margin: 0 !important;
}

/* If Button 3 is not enabled (href="###") */
.download-btns .btn:not(.enable) {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    border-style: dashed !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}
.download-btns .btn:not(.enable):hover {
    transform: none !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
}

/* Modern Typography for Button Labels */
.download-btns .btn span {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #f1f5f9 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    letter-spacing: 0.3px !important;
    transition: color 0.2s ease !important;
}

.download-btns .btn:hover span {
    color: #ffffff !important;
}

.show-md {
    display: none;
}
.banner-ad {
}

.score span{
    font-size: 12px;
    line-height: 16px;
    color: #666;
}

.top-box {
    display: flex;
    flex-direction: column;
}

.top-1 {
    order: 0;
}

.top-2 {
    order: -1;
}

.header-title {
    font-size: 20px;
    margin:0px 0px 10px 0px;
}

@media screen and (max-width: 767px) {
    .download-btns .btn:not(:first-child) {
        margin-top: 15px;
    }
}

@media screen and (min-width: 768px) {
    .detail-info {
        /* display: flex; */
        gap: 10px;
    }

    .detail-info .info{
        flex:0 0 380px;
        width:100%;
    }

    .detail-right {
        width: 100%;
        flex-grow: 0;
        flex-shrink: 0;
    }
    .app-header .app-icon {
        width: 106px;
        height: 106px;
    }

    .hide-md {
        display: none;
    }
    .show-md {
        display: block;
    }

    .download-btns {
        display: grid;
        grid-gap: 16px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin: 18px 0 25px 0;
    }

    .page-left .game-list {
        display: grid;
        grid-template-columns: repeat(5,minmax(0,1fr));
        grid-gap: 10px;
    }
    .right-list {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        grid-gap: 10px;
    }
}

@media screen and (min-width: 1024px ) and (max-width: 1279px) {

    .page-left .game-list {
        display: grid;
        grid-template-columns: repeat(6,minmax(0,1fr));
        grid-gap: 10px;
    }

    .right-list {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
        grid-gap: 10px;
    }
}

@media screen and (min-width: 1220px) {
    .detail-page {
        margin:0 auto;
        display: flex;
        gap: 20px;
    }

    .page-right {

        width: 300px;
        flex-shrink: 0;
        flex-grow: 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        padding: auto;
    }

    .page-left {
        width: calc(100% - 340px);
        flex-shrink: 0;
        flex-grow: 0;
    }

    .detail-right {
        width: 100%;
        flex-grow: 0;
        flex-shrink: 0;
    }

    .right-list {
        display: grid;
        grid-template-columns: repeat(1,minmax(0,1fr));
        grid-gap: 10px;
    }

    .top-1 {
        order: 1;
    }

    .top-2 {
        order: 2;
    }

    .header-title {
        display: none;
    }
}

/***home**/
.item-1 {
    grid-area: 1 / 1 / 3 / 3;
}

.item-2 {
    grid-area: 6/1/8/3
}


@media (min-width: 500px) {
    .item-1 {
    grid-area: 1 / 1 / 3 / 3;
    }
    .item-2 {
        grid-area:4/3/6/5
    }


}

@media (min-width: 640px) {
    .item-1 {
    grid-area: 1 / 1 / 3 / 3 ;
    }
    .item-2 {
        grid-area:3/3/5/5
    }

}

@media (min-width: 768px) {
    .item-1 {
    grid-area: 1 / 1 / 3 / 3 ;
    }
    .item-2 {
        grid-area:3/4/5/6
    }


}

@media (min-width: 1024px) {
    .item-1 {
    grid-area: 1 / 1 / 3 / 3 ;
    }

    .item-2 {
        grid-area:3/4/5/6
    }


}

@media (min-width: 1280px) {
    .item-1 {
    grid-area: 1 / 1 / 3 / 3 ;
    }
    .item-2 {
        grid-area:2/5/4/7
    }


}

@media (min-width: 1536px) {
    .item-1 {
    grid-area: 1 / 1 / 3 / 3 ;
    }

    .item-2 {
        grid-area:2/6/4/8
    }
}


.game-list-2 {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(3,minmax(0,1fr))
}


@media (min-width:104px) and (max-width:543px) {
    .game-list-2 {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }
}

@media (min-width:544px) and (max-width:763px) {
    .game-list-2 {
        grid-template-columns: repeat(5,minmax(0,1fr))
    }
}

@media (min-width:764px) and (max-width:1204px) {
    .game-list-2 {
        grid-template-columns: repeat(7,minmax(0,1fr))
    }
}

@media (min-width:1204px) and (max-width:1313px) {
    .game-list-2 {
        grid-template-columns: repeat(9,minmax(0,1fr))
    }
}

@media (min-width:1314px) and (max-width:1533px) {
    .game-list-2 {
        grid-template-columns: repeat(10,minmax(0,1fr))
    }
}

@media (min-width:1534px) and (max-width:1863px) {
    .game-list-2 {
        grid-template-columns: repeat(11,minmax(0,1fr))
    }
}

@media (min-width:1864px) {
    .game-list-2 {
        grid-template-columns: repeat(13,minmax(0,1fr))
    }
}

/*******/
.game-home-layout {
    width: 100%;
    padding: 10px;
    margin: auto;
    background: #0073dd;
}




/***entry***/

.entry h1 {
    margin: 25px 0;
    line-height: 30px
}

.entry h2 {
    margin: 20px 0
}

.entry h3 {
    margin: 18px 0
}

.entry h4 {
    margin: 16px 0
}

.entry h5 {
    margin: 15px 0
}

.entry {
    font-weight: 400;
    font-size: 14px;
    color: #4c4c4c;
    line-height: 25px
}

.entry p:first-of-type {
    margin-top: 0
}

.entry .aligncenter,.section a.more {
    display: block;
    margin: auto;
    text-align: center
}

.entry blockquote {
    border-left: 4px solid #f2f2f2;
    padding: 0 15px;
    font-style: italic
}

.entry .alignright {
    float: right;
    margin: 0 0 15px 15px
}



.entry ol,.entry ul {
    margin: 0 0 20px 15px
}

.entry li {
    margin: 0 0 5px
}

.entry ol li {
    list-style: decimal
}

.entry ul li {
    list-style: disc
}

.entry iframe {
    max-width: 100%
}
.entry p {
    margin: 0 0 15px;
}

.entry h1 {
    margin: 25px 0;
    line-height: 30px
}

.entry h2 {
    margin: 20px 0
}

.entry h3 {
    margin: 18px 0
}

.entry h4 {
    margin: 16px 0
}

.entry h5 {
    margin: 15px 0
}

.entry {
    font-weight: 400;
    font-size: 14px;
    color: #4c4c4c;
    line-height: 25px
}

.entry p:first-of-type {
    margin-top: 0
}

.entry .aligncenter,.section a.more {
    display: block;
    margin: auto;
    text-align: center
}

.entry blockquote {
    border-left: 4px solid #f2f2f2;
    padding: 0 15px;
    font-style: italic
}

.entry .alignright {
    float: right;
    margin: 0 0 15px 15px
}



.entry ol,.entry ul {
    margin: 0 0 20px 15px
}

.entry li {
    margin: 0 0 5px
}

.entry ol li {
    list-style: decimal
}

.entry ul li {
    list-style: disc
}

.entry iframe {
    max-width: 100%
}
.entry p {
    margin: 0 0 15px;
}
.game-list-3 {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 10px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.game-list-3::-webkit-scrollbar {
    height: 8px;
}

.game-list-3::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.game-list-3 .game-item {
    width: 120px;
    height: 120px;
    flex: 0 0 auto;
}



/* --- Right Sidebar & Games List --- */
.page-right {
    background: linear-gradient(160deg, #141b2d 0%, #0d1220 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-right h5,
.page-left h5 {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    padding-bottom: 10px;
    margin: 15px 0 16px 0;
    border-bottom: 1px solid rgba(0, 210, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-right h5::before,
.page-left h5::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 60px;
    height: 3px;
    background: var(--theme-linear);
    border-radius: 2px;
}

.game-item-column {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 10px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 8px;
}

.game-item-column .app-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(0, 210, 255, 0.3);
    background: #0b0e17;
}

.game-item-column:hover {
    transform: translateX(4px) scale(1.02);
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(255, 183, 0, 0.15));
    border-color: rgba(0, 210, 255, 0.5);
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.2);
}

.game-item-column .right-info {
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: calc(100% - 100px);
}

.game-item-column .right-info h2 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #f1f5f9;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    margin: 0;
}

.game-item-column:hover .right-info h2 {
    color: var(--theme-secondary, #ffb700);
}
.game-item-column:hover .download-icon {
    background: var(--theme-gradient) !important;
    color: #0b0e17 !important;
}
.game-item-column:hover {
    border-color: var(--theme-secondary, #ffb700) !important;
    box-shadow: 0 4px 20px rgba(255, 183, 0, 0.25) !important;
}

.game-item-column .right-info .cate {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
}

.game-item-column .right-info .score {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #ffb703;
    font-weight: 600;
}

.game-item-column .download-icon {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
}

.game-item-column:hover .download-icon {
    background: var(--theme-primary, #00d2ff);
    color: #000;
}

.game-item-column:hover .download-icon svg path {
    fill: #000;
}

/* --- Reviews & Game Description --- */
.review .entry {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
    color: #cbd5e1;
    line-height: 1.7;
}

.review .entry h2,
.review .entry h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-secondary, #ffb700);
    margin: 14px 0 6px 0;
}
.review .entry {
    background: linear-gradient(145deg, #141b2c 0%, #0d1220 100%);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.review .entry h2:first-of-type,
.review .entry h3:first-of-type {
    margin-top: 0;
}

.review .entry p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

/*** article collapsible ***/
.article-wrapper {
    position: relative;
    overflow: hidden;
    max-height: 260px;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-wrapper.expanded {
    max-height: 25000px;
}

.article-content {
    padding-bottom: 36px;
}

.fade-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 85px;
    background: linear-gradient(to bottom, rgba(13, 18, 32, 0), rgba(13, 18, 32, 0.95) 75%, rgba(13, 18, 32, 1));
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
    transition: all 0.3s ease;
    padding-bottom: 6px;
}

.article-wrapper.expanded .fade-mask {
    position: relative;
    height: auto;
    background: transparent;
    padding-top: 14px;
    padding-bottom: 0;
}

.toggle-button {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(255, 183, 0, 0.15));
    border: 1px solid rgba(0, 210, 255, 0.5);
    color: var(--theme-primary, #00d2ff);
    padding: 7px 22px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    pointer-events: auto;
    margin-bottom: 6px;
    z-index: 2;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.toggle-button:hover {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.35), rgba(255, 183, 0, 0.35));
    border-color: var(--theme-primary, #00d2ff);
    color: #ffffff;
    box-shadow: 0 0 16px var(--theme-primary-glow);
    transform: translateY(-1px);
}




/**** detail loading box ***/
.overlay,.loading-box {
    position: relative;
}

.overlay:before,.loading-box:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 3;
}

.overlay:before,.loading-box:before {
    border: 1rem solid hsla(0,0%,100%,.25);
    border-top-color: #6dd829;
    border-radius: 50%;
    animation: turnAround .6s linear infinite;
    width: 5.25rem;
    height: 5.25rem;
}

@keyframes turnAround {
    0% {
        transform: translate(-50%,-50%) rotate(0)
    }

    to {
        transform: translate(-50%,-50%) rotate(359deg)
    }
}

.desc-play .loading {
    background: #b9bcb9;
}

.overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.4);
    z-index: 10000;
}

footer, .site-footer {
    background: linear-gradient(180deg, #101526 0%, #080a11 100%) !important;
    position: relative;
    border-top: 1px solid rgba(0, 210, 255, 0.2) !important;
    margin-top: 30px;
    padding: 35px 15px 25px;
    color: #94a3b8;
}

.footer-content, .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    max-width: 240px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 8px rgba(0, 210, 255, 0.3));
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 18px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--theme-primary, #00d2ff);
    text-decoration: none;
    transform: translateY(-1px);
}

.footer-links span {
    color: rgba(255, 255, 255, 0.2);
}

.site-footer .copyright, .copyright {
    color: #64748b;
    font-size: 13px;
    margin-top: 10px;
    letter-spacing: 0.3px;
}

#disclaimer {
    margin-bottom: 2.2rem;
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,.2470588235);
}

/* ============================================================
   COMPLETE CSS RESET & ISOLATION FOR ADVERTISEMENT CONTAINERS
   Ensures:
   - No parent CSS affects the ad box (all: unset / isolated)
   - Zero fixed width or height, zero clipping (overflow: visible)
   - Ads never get cut off on mobile or desktop
   - No background colors, borders, shadows, or filters
   ============================================================ */
.ads-container,
.tops-ads,
.ads,
.banner-ad {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 8px auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 380px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transform: none !important;
    contain: none !important;
    clip-path: none !important;
}

[id^="div-gpt-ad"] {
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* Google Publisher Tag rendered divs & iframes */
[id^="div-gpt-ad"] > div {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    overflow: visible !important;
    max-width: none !important;
}

[id^="div-gpt-ad"] iframe {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    margin: 0 auto !important;
    vertical-align: middle !important;
    display: block !important;
    max-width: none !important;
}

/* Responsive container adjustment for mobile devices (no CSS transforms to protect Active View) */
@media screen and (max-width: 375px) {
    .ads-container [id^="div-gpt-ad"] > div {
        max-width: 100% !important;
    }
}

/* Subtle Advertisement text disclaimer without any boxes */
.ads-label {
    text-align: center !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.ads-label span {
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    background: transparent !important;
}



