.detail {
  position: relative;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #313338 30%);
  overflow: hidden;
  .bg-img {
    position: absolute;
    z-index: -1;
    width: 100%;
  }
  :deep(.el-loading-spinner) {
    top: 20%;
  }
}
.detail-body {
  width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 35px 0 140px;
  font-size: 16px;
  .back-icon {
    width: 30px;
    height: 30px;
    margin: 0 0 75px 20px;
    cursor: pointer;
  }
  .btn {
    font-size: 14px;
    width: 100%;
    height: 44px;
    background: #ffda58;
    border-radius: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
  }
  .detail-container {
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 30px;

    .game-module {
      margin-top: 20px;
      display: flex;
      .left-module {
        width: 900px;
        margin-right: 20px;
        .info-module {
          /* margin-bottom: -20px; */

          background: #fbf6e7;
          padding: 40px;
          border-radius: 16px;
          margin-bottom: 20px;
          .strategy-title {
            font-weight: bold;
            font-size: 24px;
            color: #313338;
            margin-bottom: 20px;
            text-align: center;
          }
          .strategy-tip {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            margin-bottom: 40px;
            .info {
              display: flex;
            }
            .info-item {
              color: #999999;
              .info-content {
                /* color: #666666; */
                margin-right: 30px;
              }
            }
          }
          .strategy-con {
            margin-bottom: 20px;
          }
          .statement {
            padding: 20px;
            background: #fcf0cc;
            font-size: 14px;
            line-height: 28px;
            color: #ff6500;
            .statement-title {
              font-weight: bold;
            }
          }
        }

        .relate-module {
          .relate-img {
            width: 280px;
          }
          .relate-content {
            padding: 20px;
            top: -40px;
            border-radius: 16px;
            .no-data {
              height: 155px;
            }
          }
          .relate-list {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            .strategy-item {
              display: flex;
              flex-direction: column;
              width: 190px;
              &:hover {
                cursor: pointer;
                .strategy-desc {
                  color: #ff6500;
                }
              }
            }
            .icon {
              width: 190px;
              height: 107px;
            }
            .strategy-info {
              flex: 1;
              display: flex;
              flex-direction: column;
              justify-content: space-evenly;
              /* align-items: flex-end; */
              color: #313338;
              .strategy-desc {
                font-weight: 500;
                font-size: 14px;
                line-height: normal;
                -webkit-line-clamp: 2;
                line-clamp: 2;
                margin-top: 10px;
              }
            }
          }
        }
      }
      .right-aside {
        width: 280px;
        .relate-game {
          .game-info {
            display: flex;
            margin-bottom: 20px;
            img {
              width: 72px;
              height: 72px;
            }
            .game-detail {
              display: flex;
              flex-direction: column;
              justify-content: space-evenly;
              margin-left: 10px;
              font-size: 14px;
              .game-name {
                width: 150px;
                font-weight: 500;
                font-size: 20px;
                color: #313338;
                line-height: normal;
                /* margin-bottom: 4px; */
              }
              .tag-list {
                display: flex;
              }
              .game-tag {
                /* padding: 2px 8px; */
                border-radius: 4px;
                font-size: 14px;
                margin-right: 10px;
                color: #999999;
              }
              .reward {
                color: #313338;
                font-size: 14px;
                line-height: normal;
                .num {
                  color: #ff6500;
                }
              }
            }
          }
          .download-btn {
            /* display: flex;
            justify-content: flex-end; */
            margin-bottom: 10px;
          }
          .check-btn {
            border: 1px solid #666666;
            background-color: transparent;
            color: #666666;
          }
        }
        .more-module {
          .strategy-item {
            position: relative;
            width: 100%;
            &:hover {
              cursor: pointer;
              .strategy-desc {
                color: #ff6500;
              }
            }
          }
          .icon {
            width: 240px;
            height: 135px;
          }
          .strategy-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            /* align-items: flex-end; */
            color: #313338;
            .strategy-desc {
              font-weight: 500;
              font-size: 14px;
              line-height: normal;
              -webkit-line-clamp: 2;
              line-clamp: 2;
              margin: 10px 0;
            }
          }
          .date {
            position: absolute;
            right: 10px;
            top: 102px;
            padding: 2px 4px;
            font-size: 14px;
            color: #ffffff;
            background: rgba(0, 0, 0, 0.6);
            border-radius: 4px 4px 4px 4px;
          }
        }
        .recommend-module {
          .recommend-content {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            .no-data {
              height: 240px;
            }
          }
          .recommend-item {
            width: 110px;
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #313338;
            .img-box {
              width: 110px;
              height: 110px;
            }
            img {
              width: 110px;
              height: 110px;
              border-radius: 22px;
            }
            .game-detail {
              margin-top: 10px;
              border-radius: 0 0 8px 8px;
            }
            .game-name {
              text-align: center;
              font-weight: 500;
              font-size: 14px;
              width: 86px;
            }
          }
        }
      }
    }
  }
}

.img-box {
  position: relative;
}

.img-box .hover-content {
  visibility: hidden;
  border-radius: 16px;
}

.img-box:hover .hover-content {
  visibility: visible;
}

.hover-content {
  position: absolute;
  inset: 0;
  background: #0009;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.hover-content .btn {
  width: 74px;
  height: 28px;
  background: #ffda58;
  border-radius: 100px;
  font-size: 14px;
  color: #313338;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  cursor: pointer;
}

.hover-content .desc {
  margin-top: 10px;
  font-size: 12px;
  width: 101%;
  text-align: center;
}

.bg {
  position: relative;
  top: -22px;
  background: #fbf6e7;
  border-radius: 16px;
  padding: 20px;
}

.no-data {
  width: 100%;
  height: 360px;
  justify-content: center;
  display: flex;
  align-items: center;
}

img {
  width: 100%;
}

.hover-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  .btn {
    width: 74px;
    height: 28px;
    background: #ffda58;
    border-radius: 100px 100px 100px 100px;
    font-size: 14px;
    color: #313338;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
  }
  .desc {
    margin-top: 10px;
    font-size: 12px;
  }
}
.num {
  color: #ffda58;
}
