/* 现代化游戏站点主题 - 全新设计 */
.placeholder-100h{
  height: 100px;
  width: 100%;
  display: block;
  background-color: #fff;
}

/* 品牌和标题样式 */
.logo-title{
  font-size: 28px;
  font-weight: bold;
  margin-left: .3rem;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

/* 主容器 */
.container {
  width: 7.5rem;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  min-height: 100vh;
  padding-bottom: 2rem;
}

/* 游戏分类区域 */
.box-type {
  width: 6.94rem;
  margin: 0.3rem auto 0;
}

.game-type {
  display: grid;
  grid-template-columns: 1.48rem 1.48rem 1.48rem 1.48rem;
  grid-gap: 0.34rem;
}

.game-type > .item {
  width: 1.48rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-type > .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.game-type > .item img {
  width: 1.48rem;
  height: 1.2rem;
  border-radius: 0.1rem;
  object-fit: cover;
  border: 2px solid #4cc9f0;
}

.game-type > .item > span {
  width: 1.48rem;
  display: block;
  color: #f8f9fa;
  font-size: 0.26rem;
  font-weight: bold;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 0.1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 排行榜区域 */
.box-top {
  width: 100%;
  margin: 0.3rem auto 0;
}

.box-top .scorll-wrap {
  overflow-x: scroll;
  overflow-y: hidden;
  padding: 0 0.3rem;
}

.box-top .scorll-wrap::-webkit-scrollbar {
  display: none;
}

.box-top .scorll-wrap .item-top {
  width: 8.56rem;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.box-top .scorll-wrap .item-top .top1 {
  width: 5.4rem;
  height: 12.2rem;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 0.2rem;
  margin-right: 0.2rem;
  padding: 0.28rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.box-top .scorll-wrap .item-top .top1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-33c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 43c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 11c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM32 64c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm57-11c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-9-23c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM60 73c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 21c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm25 52c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.2;
  border-radius: 0.2rem;
}

.box-top .scorll-wrap .item-top .top1 .top-tile {
  width: 3.3rem;
  height: 0.9rem;
  font-size: 0.34rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.box-top .scorll-wrap .item-top .top1 .top-tile > img {
  display: none;
}

.box-top .scorll-wrap .item-top .top1 .top-con {
  width: 5.4rem;
  height: 12.2rem;
}

.box-top .scorll-wrap .item-top .top1 .top-con > .items {
  width: 100%;
  margin-bottom: 0.26rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.15rem;
  padding: 0.1rem;
  transition: background 0.3s ease;
}

.box-top .scorll-wrap .item-top .top1 .top-con > .items:hover {
  background: rgba(255, 255, 255, 0.2);
}

.box-top .scorll-wrap .item-top .top1 .top-con > .items > a {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
}

.box-top .scorll-wrap .item-top .top1 .top-con > .items > a .items-idx {
  color: #ff6b6b;
  font-size: 0.34rem;
  font-weight: bold;
  width: 0.8rem;
  height: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-right: 0.1rem;
}

.box-top .scorll-wrap .item-top .top1 .top-con > .items > a .imgs {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 0.2rem;
  margin-left: 0.1rem;
  object-fit: cover;
  border: 2px solid #4cc9f0;
}

.box-top .scorll-wrap .item-top .top1 .top-con > .items > a .g-info {
  display: flex;
  flex-direction: column;
  margin-left: 0.2rem;
  flex: 1;
}

.box-top .scorll-wrap .item-top .top1 .top-con > .items > a .g-info > p {
  width: 2.52rem;
  font-size: 0.28rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* 搜索结果列表 */
.list-search {
  min-height: 56vh;
}

/* 趣味游戏区域 */
.box-funny {
  width: 6.94rem;
  margin: 0.3rem auto 0;
}

.box-funny .title {
  margin-bottom: 0.3rem;
}

.box-funny .box-funny-list {
  width: 100%;
  max-height: 520px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.box-funny .box-funny-list .item {
  width: 3.36rem;
  height: 2.02rem;
  border-radius: 0.3rem;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-funny .box-funny-list .item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.box-funny .box-funny-list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.box-funny .box-funny-list .item:hover img {
  transform: scale(1.1);
}

.box-funny .box-funny-list .item p {
  color: #ffffff;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 0.56rem;
  font-size: 0.2rem;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  backdrop-filter: blur(2px);
}

/* 精彩游戏区域 */
.box-amazing {
  width: 6.94rem;
  margin: 0.3rem auto;
}

.box-amazing-list {
  overflow-x: scroll;
  display: flex;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  width: 6.94rem;
  padding: 0 0.3rem;
  gap: 0.2rem;
}

.box-amazing-list::-webkit-scrollbar {
  display: none;
}

.box-amazing-list .item {
  width: 2.8rem;
  height: 4rem;
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
  border-radius: 0.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.14rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.box-amazing-list .item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f72585, #b5179e, #7209b7);
}

.box-amazing-list .item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.box-amazing-list .item > a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.box-amazing-list .item > a > img {
  width: 2.54rem;
  height: 2.54rem;
  border-radius: 0.2rem;
  object-fit: cover;
  border: 3px solid #ffffff;
  margin-bottom: 0.2rem;
}

.box-amazing-list .item .txt {
  color: #ffffff;
  font-size: 0.22rem;
  display: block;
  margin-top: 0.1rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.box-amazing-list .item .txt-bt {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.1rem;
  width: 100%;
  padding: 0 0.2rem;
}

.box-amazing-list .item .txt-bt span {
  color: #ffd166;
  font-size: 0.22rem;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.05rem 0.1rem;
  border-radius: 0.1rem;
}

.box-amazing-list .item .txt-bt img {
  height: 0.46rem;
  filter: brightness(0) invert(1);
}

/* 在线游戏区域 */
.box-online {
  width: 6.94rem;
  margin: 0.3rem auto;
}

.box-online .title {
  margin-bottom: 0.3rem;
}

.box-online-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.box-online-list .item {
  width: 3.36rem;
  height: 1.6rem;
  background: linear-gradient(135deg, #06d6a0, #118ab2);
  margin-bottom: 0.2rem;
  border-radius: 0.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.box-online-list .item:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.box-online-list .item > a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
}

.box-online-list .item img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: cover;
}

.box-online-list .item .info {
  width: calc(100% - 1.6rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.15rem 0.2rem;
  color: #ffffff;
}

.box-online-list .item .info .txt {
  width: 100%;
  font-size: 0.26rem;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.box-online-list .item .info .txt-bt {
  color: #ffffff;
  font-size: 0.3rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.box-online-list .item .info .txt-bt > img {
  width: 0.3rem;
  height: 0.3rem;
  margin-right: 0.05rem;
  filter: brightness(0) invert(1);
}

/* 底部描述 */
.ft-desc {
  width: 6.94rem;
  margin: 0.5rem auto 0.3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.2rem;
  padding: 0.3rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ft-desc h2 {
  font-size: 0.4rem;
  margin-bottom: 0.2rem;
  margin-top: 0.2rem;
  color: #4cc9f0;
  text-align: center;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.ft-desc p {
  font-size: 0.28rem;
  line-height: 0.4rem;
  color: #f8f9fa;
  text-align: center;
}

/* 页脚 */
.footer {
  width: 7rem;
  margin: 0.5rem auto;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 0.3rem;
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .ft-txt {
  width: 100%;
  color: #a9a9a9;
  font-size: 0.26rem;
  text-align: center;
  margin-bottom: 0.15rem;
  margin-top: 0;
  display: block;
}

.ft-nav {
  width: 6.94rem;
  height: auto;
  background-color: transparent;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto 0.2rem;
  flex-wrap: wrap;
  gap: 0.1rem;
}

.ft-nav a {
  color: #4cc9f0;
  font-size: 0.24rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  padding: 0.1rem 0.2rem;
  border-radius: 0.1rem;
  transition: background 0.3s ease;
}

.ft-nav a:hover {
  background: rgba(76, 201, 240, 0.2);
}

.ft-nav span {
  color: #6c757d;
  font-size: 0.24rem;
}

.empty {
  width: 100%;
  height: 0.4rem;
}

/* 标题通用样式 */
.title {
  width: 100%;
  height: auto;
  margin: 0 auto 0.3rem;
  padding: 0 0 0 0.14rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.title::before {
  content: "";
  position: absolute;
  left: 0.14rem;
  bottom: -0.1rem;
  width: 2rem;
  height: 0.2rem;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  border-radius: 0.1rem;
}

.title .lf {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.title span {
  font-size: 0.42rem;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.title a {
  display: flex;
  height: 0.4rem;
  align-items: center;
  color: #4cc9f0;
  font-size: 0.3rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.title a:hover {
  color: #ffd166;
}

.title img {
  width: 0.28rem;
  height: 0.28rem;
  margin-left: 0.1rem;
  filter: brightness(0) invert(1);
}

/* 头部样式 */
.header-top {
  width: 100%;
  margin: 0.5rem auto 0.3rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.3rem;
}

.header-top > img {
  margin: 0 0.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 3px solid #4cc9f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 广告容器 */
#ad-container {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.3rem 0;
}

#ad-container #div-gpt-ad-1772784847902-0 {
  width: 100%;
  max-width: 300px;
  height: 250px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.2rem;
}

/* 响应式调整 */
@media (max-width: 375px) {
  .container {
    width: 100%;
    padding: 0 0.2rem;
  }
  
  .box-funny .box-funny-list .item,
  .box-online-list .item {
    width: calc(50% - 0.1rem);
  }
  
  .box-amazing-list .item {
    width: 2.5rem;
  }
}

.gameviewes {
  font-size: .8rem;
  font-weight: bold;
  margin-left: .3rem;
  color: #4cc9f0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}