@import url("https://fonts.googleapis.com/css2?family=Roboto&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: "Roboto", sans-serif, Roboto, Opensans, Arial, Helvetica;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4375;
  color: #111;
  -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: #000;
}

.wrapper {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

.detail-page {
  padding: 10px;
}

.page-left {
  background: white;
  overflow: hidden;
  flex-grow: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  padding: 10px;
}

.detail-right {
  overflow: hidden;
}

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

.box-ad {
  min-width: 336px;
  min-height: 280px;
  width: 100%;
  height: 100%;
}

.app-title {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.app-title .title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.app-title .developer {
  font-size: 16px;
  font-weight: 300;
  color: #666;
  line-height: 1.5;
}

.app-header {
  display: flex;
}

.app-header .app-title {
  margin-left: 10px;
}

.app-header .app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20%;
  overflow: hidden;
  box-shadow:
    0 1px 2px 0 rgb(60 64 67 / 20%),
    0 1px 3px 1px rgb(60 64 67 / 10%);
  flex-shrink: 0;
}

.app-icon {
  aspect-ratio: 1;
  width: 100%;
}

.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: #f7f7f7;
  border-radius: 8px;
  padding: 5px 5%;
}

.info-card .icon {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.info-card .text {
  flex: 1;
  min-width: 0; /* ⭐ THIS FIXES OVERFLOW */
}

.info-card .text span {
  display: block;
  font-size: 12px;
  color: #111;
  font-weight: 600;
}

.info-card .text strong {
  display: block; /* Required */
  max-width: 100%; /* Required */
  font-size: 11px;
  color: #888;
  font-weight: 300;

  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);
  }
  .leftbtn,
  .rightbtn {
    display: none !important;
  }
}

.app-metas {
  border-radius: 4px;
  margin-top: 10px;
  padding: 10px;
}
.app-metas ul li {
  display: flex;
  margin-top: 10px;
}
.app-metas ul li p {
  width: 140px;
}
.app-metas ul li small {
  text-align: right;
  width: calc(100% - 150px);
  color: #70554f;
  font-weight: 600;
}
.screen-box {
  position: relative;
}
.leftbtn,
.rightbtn {
  position: absolute;
  top: 50%;
  display: block;
  /*display: none;
    */
  width: 36px;
  height: 36px;
  margin-top: -18px;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 18px;
}

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

  display: block;

  width: 8px;
  height: 8px;

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

  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
}

.leftbtn::after {
  left: 14px;

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

.rightbtn {
  right: -12px;
}

.leftbtn svg,
.rightbtn svg {
  width: 20px;
  height: 20px;
  display: block;
  margin: 7px auto;
}

.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 {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  margin: 10px;
}

section h5 {
  position: relative;
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

section h5::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 90px;
  height: 6px;
  background-color: #0088ff;
}

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

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

.game-item {
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.game-item .game-icon {
  aspect-ratio: 1;
}

.game-item .game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.game-item .game-title {
  color: #fff;
  opacity: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.25rem;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  --bezier: cubic-bezier(0.25, 0.1, 0.25, 1);
  transition:
    transform 0.3s var(--bezier) 0.1s,
    opacity 0.3s var(--bezier) 0.1s;
  transform: translate3d(0px, 8px, 0px);
  font-weight: 700;
}
.game-item:hover {
  background: #f2f9f7;
  transform: scale(1.1); /* zoom-in effect */
}

.game-item:hover .game-title {
  transform: translate3d(0px, 0px, 0px);
  opacity: 1;
}

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

.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, 0.05);
  border: 1px solid #00a890;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0.3;
  cursor: none;
  pointer-events: none;
  text-decoration: none;
  padding: 0.5rem 0;
}
.btn-down {
  margin: 10px;
  background: #2296f5;
  border: 0;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  height: 45px;
  line-height: 45px;
  height: 50px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.ad-300x250 {
  max-width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.download-btns .btn-gp {
}

.download-btns .btn-ios {
}

.download-btns .btn span {
  font-size: 0.6rem;
  color: gray;
  margin-top: 0.3rem;
}

.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: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 15px 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;
}

.game-item-column {
  background-color: #fff;
  display: flex;
  border-radius: 10px;
  transition: transform 0.3s ease;
  padding: 10px;
}

.game-item-column .app-icon {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
}

.game-item-column:hover {
  transform: scale(1.06);
  z-index: 6000;
  background: #edeff4;
}

.game-item-column .right-info {
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: calc(100% - 90px);
}
.game-item-column .right-info h2 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.game-item-column .right-info .cate {
  font-size: 14px;
  font-weight: 500;
  margin-top: 3px;
  margin-bottom: 3px;
  color: #999;
  position: relative;
  z-index: 2;
}

.game-item-column .download-icon {
  display: flex;
  align-items: center;
}

/***article***/
.article-wrapper {
  position: relative;
  overflow: hidden;
  max-height: 200px;
  transition: max-height 0.5s ease;
}

.article-wrapper.expanded {
  max-height: none;
}

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

.fade-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}

.toggle-button {
  background: white;
  border: 1px solid #1a73e8;
  color: #1a73e8;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  pointer-events: auto;
  margin-bottom: 10px;
  z-index: 2;
  transition: all 0.2s ease;
}

.fade-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}

.toggle-button {
  background: white;
  border: 1px solid #1a73e8;
  color: #1a73e8;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  pointer-events: auto;
  margin-bottom: 10px;
  z-index: 2;
  transition: all 0.2s ease;
}

/**** 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%, 0.25);
  border-top-color: #6dd829;
  border-radius: 50%;
  animation: turnAround 0.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, 0.4);
  z-index: 10000;
}

/***footer***/

footer {
  background-color: #f1f2f2;
  position: relative;
  height: auto;
  border-top: 1px solid #eee;
  margin-top: 20px;
  padding: 15px;
}

.footer-content {
  padding-top: 22px;
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .links {
  text-align: center;
}

footer .links a {
  color: #000000;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
}

footer a {
  margin: 0 10px;
  color: #0445bf;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

.introduce {
  color: #000000;
  display: block;
  text-align: center;
  position: relative;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 400;
}

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

#disclaimer .disclaimer-card {
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
}

#disclaimer .disclaimer-card h5 {
  font-size: 16px;

  height: 35px;
  background-color: #fbfbfb;
  padding-left: 3rem;
  box-sizing: border-box;
  line-height: 5rem;
  border-bottom: 1px solid #e6e6e6;
}

#disclaimer .disclaimer-card .disclaimer-text {
  width: 100%;
  background-color: #fff;
  padding: 2rem 3rem;
  box-sizing: border-box;
}

#disclaimer .disclaimer-card .disclaimer-text p {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 2.1rem;
  color: #666;
}

#disclaimer .disclaimer-card .disclaimer-text p:not(:last-of-type) {
  padding-bottom: 8px;
}

#disclaimer .disclaimer-card .disclaimer-text p a {
  text-decoration: none;
  color: #00c9a9;
}
