.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;
  }
  .detail-header {
    margin-bottom: 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    .left-info {
      display: flex;
      .game-icon {
        width: 128px;
        height: 128px;
        border-radius: 22px;
      }
      .game-info {
        margin-left: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        .info-list {
          display: flex;
          align-items: center;
          .game-name {
            font-weight: 500;
            font-size: 32px;
            color: #ffffff;
            margin-right: 10px;
          }
          .game-tag {
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 14px;
            margin-right: 10px;
            background: #91bbff;
            color: #234f96;
          }
          .tag1 {
            background: #91bbff;
            color: #234f96;
          }
          .tag2 {
            background: #ffca91;
            color: #965123;
          }
          .tag3 {
            background: #ff91eb;
            color: #96235c;
          }
        }
        .all-reward {
          background: url("../img/web/detail/reward-bg.png");
          background-size: cover;
          height: 74px;
          width: 392px;
          padding: 10px 0 15px 34px;
          color: #ffda58;
          font-size: 20px;
          box-sizing: border-box;
          .reward-num {
            font-size: 40px;
          }
        }
      }
    }
  }
  .btn {
    width: 360px;
    height: 50px;
    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;
    .introduce-module {
      display: flex;
      margin-bottom: 20px;
      .img-hover-list {
        width: 750px;
        margin-right: 20px;
      }
      .show-img {
        height: 424px;
        display: flex;
        justify-content: center;
        position: relative;
        img {
          height: 424px;
          width: auto;
          position: absolute;
          z-index: 1;
          border-radius: 16px;
        }
        .bg-img {
          border-radius: 16px;
          width: 100%;
          filter: blur(6px); /* 调整模糊程度 */
        }
      }
      .img-list {
        margin-top: 20px;
        display: flex;
        gap: 10px;
        .img-item {
          position: relative;
          cursor: pointer;
          .cover-model {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            background: rgba(49, 51, 56, 0.4);
            z-index: 1;
          }
          .show-img {
            height: 80px;
            width: 142px;
            display: flex;
            justify-content: center;
            position: relative;
            img {
              border-radius: 8px;
              height: 80px;
              position: absolute;
            }
            .bg-img {
              border-radius: 8px;
              width: 100%;
              filter: blur(2px); /* 调整模糊程度 */
            }
          }
        }
      }
      .introduce {
        width: 390px;
        height: 524px;
        padding: 20px;
        background: #fafafa;
        border-radius: 16px 16px 16px 16px;
        background: url("../img/web/detail/introduce-bg.png");
        background-size: cover;
        line-height: 1;
        .introduce-icon {
          width: 80px;
        }
        .introduce-text {
          font-size: 14px;
          color: #313338;
          line-height: 28px;
          margin: 10px 0 14px;
          height: 252px;
          overflow: hidden;
          overflow-y: scroll;
        }
      }
      .code-item {
        display: flex;
        /* width: 100%; */
        height: 90px;
        padding: 10px;
        background: rgba(0, 0, 0, 0.04);
        border-radius: 12px 12px 12px 12px;
        margin-bottom: 10px;
        .code-icon {
          width: 72px;
          height: 72px;
        }
        .right-info {
          height: 100%;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          margin-left: 20px;
          padding: 6px 0;
          .title {
            font-weight: bold;
            font-size: 20px;
            color: #313338;
          }
          .desc {
            font-size: 14px;
            color: rgba(49, 51, 56, 0.6);
          }
        }
      }
    }

    .game-module {
      margin-top: 20px;
      display: flex;
      .left-module {
        width: 900px;
        margin-right: 20px;
        .info-module {
          margin-bottom: -20px;
          .info-content {
            top: -40px;
            padding: 20px 20px 28px;
            background: url("../img/web/detail/info-bg.png");
            background-size: cover;
            border-radius: 16px;
            .info-item {
              display: flex;
              margin-bottom: 20px;
              font-size: 14px;
              .info-title {
                font-weight: bold;
                color: #ff6500;
                width: 80px;
                flex: none;
              }
              .info-desc {
                color: #313338;
                word-break: break-word;
              }
            }
            .reward-item {
              display: flex;
              .reward-title {
                font-weight: bold;
                font-size: 14px;
                color: #ff4141;
                margin-right: 20px;
              }
              .reward-table {
                width: 640px;
                border-radius: 16px;
                border: 1px solid #e5c259;
                overflow: hidden;
                position: relative;
                .table-header-cell {
                  background-color: #fcf0cc;
                  font-size: 14px;
                  color: #313338;
                  &:not(:last-child) {
                    border-right: 1px solid #e5c259;
                  }
                  border-bottom: 1px solid #e5c259;
                }
                .el-table__row {
                  &:last-child {
                    .table-cell {
                      border-bottom: 0;
                    }
                  }
                }
                .table-cell {
                  background-color: #fcf9ef;
                  color: #313338;
                  &:not(:last-child) {
                    border-right: 1px solid #e5c259;
                  }
                  border-bottom: 1px solid #e5c259;
                }
                .el-table__inner-wrapper:before {
                  height: 0;
                }
                .el-table .el-table__cell {
                  padding: 18px 0;
                }

                .reward-coin {
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  img {
                    width: 22px;
                    height: 20px;
                    margin-right: 5px;
                  }
                  span {
                    font-weight: bold;
                    font-size: 14px;
                    color: #313338;
                  }
                }
                .gain {
                  font-weight: bold;
                  font-size: 14px;
                  color: rgba(49, 51, 56, 0.5);
                }
                .not-gain {
                  font-weight: bold;
                  font-size: 14px;
                  color: #ff6500;
                }

                .check-more {
                  width: 640px;
                  height: 60px;
                  font-size: 14px;
                  color: #313338;
                  position: absolute;
                  bottom: 0;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  background: rgba(255, 218, 88, 1);
                  z-index: 100;
                  cursor: pointer;
                  .check-icon {
                    width: 16px;
                    height: 16px;
                    margin-left: 5px;
                  }
                }
              }
            }
          }
        }

        .packet-module {
          .packet-content {
            padding: 20px;
            top: -40px;
            background: url("../img/web/detail/packet-bg.png");
            background-size: cover;
            border-radius: 16px;
            height: 418px;
            .gain-btn {
              display: flex;
              justify-content: flex-end;
              margin-bottom: 28px;
            }
          }
          .packet-list {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            .packet-item {
              width: 380px;
              height: 140px;
              padding: 20px;
              background: #fdfbf5;
              border-radius: 16px 16px 16px 16px;
              display: flex;
              .packet-icon {
                width: 100px;
                height: 100px;
              }
              .packet-info {
                width: 200px;
                display: flex;
                flex-direction: column;
                justify-content: space-evenly;
                margin-left: 10px;
                .packet-name {
                  font-weight: 500;
                  font-size: 16px;
                  color: #313338;
                }
                .packet-desc {
                  font-size: 14px;
                  color: #ff6500;
                  -webkit-line-clamp: 3;
                  line-clamp: 3;
                }
              }
            }
          }
        }
      }
      .right-aside {
        width: 280px;
        .gain-content {
          background: #fbf6e7;
          margin-bottom: -20px;
          padding: 12px 20px;
          top: -24px;
          height: 988px;
          overflow: auto;
          .strategy-item {
            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;
            }
          }
          /* .gain-item {
            display: flex;
            padding: 10px 0;
            position: relative;
            &:not(:last-child) {
              border-bottom: 1px dashed rgba(49, 51, 56, 0.1);
            }
            img {
              width: 70px;
              height: 70px;
              border-radius: 16px;
            }
            .game-detail {
              display: flex;
              flex-direction: column;
              justify-content: center;
              margin-left: 12px;
              font-size: 14px;
              .game-name {
                font-weight: 500;
                font-size: 14px;
                color: #ffffff;
                margin-bottom: 4px;
              }
              .game-desc {
                font-size: 14px;
                color: rgba(255, 255, 255, 0.6);
              }
            }
            .hover-content {
              visibility: hidden;
              height: calc(100% - 20px);
              margin-top: 10px;
            }
            &:hover {
              .hover-content {
                visibility: visible;
              }
            }
          } */
        }
      }
    }
    .more-module {
      .title-img {
        width: 860px;
        height: 82px;
      }
      .more-content {
        margin-bottom: -20px;
        top: -40px;
        display: flex;
        flex-wrap: wrap;
        gap: 32px;
        .more-item {
          width: 94px;
          display: flex;
          flex-direction: column;
          align-items: center;
          color: #313338;
          .img-box {
            width: 94px;
            height: 94px;
          }
          img {
            width: 94px;
            height: 94px;
            border-radius: 8px;
          }
          .game-detail {
            margin-top: 10px;
            border-radius: 0 0 8px 8px;
            .game-name {
              text-align: center;
              font-weight: 500;
              font-size: 14px;
              width: 94px;
            }
            .game-desc {
              width: 94px;
              font-size: 12px;
              text-align: center;
              .num {
                color: #ff6500;
              }
            }
          }
        }
      }
    }
  }
}

.img-box {
  position: relative;
}

.img-box .hover-content {
  visibility: hidden;
  border-radius: 16px;
}

.img-box:hover .hover-content {
  visibility: visible;
}

.bg {
  position: relative;
  top: -22px;
  background: #fbf6e7;
  border-radius: 16px;
  padding: 20px;
}

.no-data {
  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;
}
