* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Microsoft YaHei, Microsoft YaHei;
}

html,
body {
  width: 100%;
  height: 100%;
  background: #181F32;
}

header {
  width: 100%;
  height: 61px;
  background: #111111;
  display: flex;
  position: relative;
  align-items: center;
  border-bottom: 1px solid #1A1A1A;
  position: fixed;
  z-index: 9;
}

.header-left {
  padding-left: 2.5%;
  width: 12.5%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.logo2 {
  width: 90px;
  height: 26px;
}

.logo-content {
  width: 90px;
  margin: 0 20px;
  text-align: center;
  cursor: pointer;
}

.logo {
  width: 38px;
  height: 34px;
}

.header-item-content {
  /* min-width: 1128px; */
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  display: flex;
}

.header-item {
  width: 90px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  position: relative;
  font-size: 12px;
  color: #FFFFFF;
  border-radius: 5px 5px 5px 5px;
  cursor: pointer;
}

.header-item:hover {
  color: #C3AB71;
}

.header-item-active {
  background: #333333;
  color: #C3AB71;
}

.header-item-active::before {
  position: absolute;
  left: 0;
  bottom: -10px;
  content: '';
  width: 100%;
  height: 3px;
  background: #3D9FB9;
  border-radius: 5px 5px 5px 5px;
}

.main {
  margin: 0 auto;
  width: 75%;
  /* overflow: hidden; */
  background: #0D1428;
  min-height: calc(100% - 61px - 157px);
  display: flex;
  flex-direction: column;
}

.main-top {
  /* position: sticky;
  top: 0;
  z-index: 8; */
  padding: 8.6% 0 2% 10.14%;
  background-image: url(../images/top-bg.webp);
  background-size: 100% 100%;
}

.main-title {
  width: 100%;
  font-weight: bold;
  font-size: 36px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
}

/* 搜索框 */
.search-box {
  margin-left: 10%;
  width: 60%;
  display: flex;
  align-items: center;
}
/* 输入框 */
.input-box {
  width: 80%;
  height: 32px;
  background: #CACBCF;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.input-box input {
  width: 90%;
  border: none;
  background: transparent;
  outline: none;
}

.input-box input::placeholder {
  color: #111111;
  opacity: 0.3;
}

.search-icon {
  width: 13px;
  height: 13px;
  margin-right: 10px;
}
/* 搜索按钮 */
.btn-box {
  width: 90px;
  height: 32px;
  background: #C3AB71;
  margin-left: 10px;
  border: none;
}

.search-text {
  font-weight: 400;
  color: #FFFFFF;
  font-size: 11px;
}

.toggle-icon {
  width: 12px;
  height: 12px;
  margin-left: 10px;
  transition: transform 0.3s;
}

.flex-center {
  display: flex;
  align-items: center;
}

/* 筛选 */
.main-fold {
  font-size: 12px;
  color: #FFFFFF;
  display: flex;
  align-items: flex-start;
}

.main-fold-left {
  margin-top: 20px;
  width: 20%;
  cursor: pointer;
}

.main-fold-right {
  width: 80%;
}

.card-type {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.card-type-title {
  margin-top: 20px;
  width: 10%;
  font-weight: bold;
}

.card-type-list {
  flex-wrap: wrap;
}

.card-type-item {
  margin-right: 24px;
  margin-top: 20px;
  color: #777D8E;
  cursor: pointer;
}

.card-type-item-selected {
  color: #C3AB71;
}

.card-rarity-item {
  width: 18px;
  height: 18px;
  margin-right: 24px;
  margin-top: 20px;
  cursor: pointer;
  opacity: 0.5;
}

.card-rarity-item-img {
  width: 100%;
  height: 100%;
}

.card-rarity-item-selected {
  opacity: 1;
}

.product-select {
  width: 400px;
  height: 30px;
  background: #777D8E;
  border-radius: 2px;
  margin-right: 24px;
  margin-top: 20px;
}

.card-type select {
  font-weight: 400;
  font-size: 12px;
  outline: none;
}

.main-content {
  background: #0A1428;
}

/* 卡牌列表 */
.info-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infomation {
  width: 90%;
}

.card-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card-item {
  margin-top: 24px;
  width: 210px;
  height: 293px;
  transition: all .3s;
  cursor: pointer;
  padding: 0 10px;
}

.card-img {
  width: 100%;
  height: 100%;
  transition: all .3s;
}

.card-img:hover {
  transform: translateY(-12px);
}

footer {
  width: 100%;
  height: 157px;
  background: #111111;
  border-top: 2px solid #343434;
}

.media-content {
  padding-top: 30px;
  display: flex;
  justify-content: center;
}

.media-item {
  width: 30px;
  height: 30px;
  margin-right: 15px;
}

.media-item:nth-last-of-type(1) {
  margin-right: 0;
}

.media-item img {
  width: 100%;
  height: 100%;
}

.copyright {
  font-size: 11px;
  color: #737373;
  margin-top: 24px;
  margin-bottom: 6px;
  text-align: center;
}

.extra {
  font-size: 11px;
  color: #737373;
  text-align: center;
}

.extra a {
  color: #737373;
}

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 58px 0;
  color: #fff;
}

.pagination-container select {
  border-radius: 2px;
  outline: none;
}

.page-arrow,
.page-number {
  margin: 0 5px;
  /* padding: 5px 10px; */
  text-decoration: none;
  color: #333;
  border: 1px solid #ddd;
  background-color: #f8f8f8;
  cursor: pointer;
}

.page-arrow {
  width: 32px;
  height: 32px;
  border-radius: 2px;
  font-family: Source Han Sans SC;
  font-weight: 400;
  font-size: 14px;
  color: #3D3D3D;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-arrow:hover,
.page-number:hover {
  background-color: #e9e9e9;
}

.page-size-selector,
.page-jump {
  display: flex;
  align-items: center;
}

.page-jump {
  font-family: Source Han Sans SC;
  font-weight: 400;
  font-size: 14px;
  color: #FFFFFF;
}

#page-size {
  width: 80px;
  height: 32px;
  margin: 0 10px;
  cursor: pointer;
  border: none;
  font-family: Source Han Sans SC;
  font-weight: 400;
  font-size: 14px;
  color: #3D3D3D;
}

.page-jump input[type="number"] {
  padding: 5px;
  margin-right: 5px;
  width: 50px;
  height: 32px;
  border: none;
  background: #f8f8f8;
  border-radius: 2px;
  font-family: Source Han Sans SC;
  font-weight: 400;
  font-size: 14px;
  color: #3D3D3D;
}

.tzz {
  margin-right: 8px;
}

.ye {
  margin-right: 16px;
}

.page-jump button {
  height: 32px;
  cursor: pointer;
  background-color: #307ACA;
  border-radius: 2px;
  color: white;
  border: none;
  font-family: Source Han Sans SC;
  font-weight: 400;
  font-size: 14px;
  padding: 0 8px;
}

.page-jump button:hover {
  background-color: #45a049;
}

.pagination-btn {
  width: 32px;
  height: 32px;
  background: #FFF;
  border-radius: 2px;
  font-family: 'Source Han Sans SC', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #3D3D3D;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  margin: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.page-active {
  background-color: #307ACA;
  color: #fff;
  text-decoration: none;
  pointer-events: none;
}

.disabled {
  color: #CCCCCC;
  /* 浅灰色表示按钮不可用 */
  cursor: not-allowed;
  pointer-events: none;
  /* 禁止点击事件 */
}

/* 弹窗 */
.modal-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.67);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
  display: none;
}

.card-popup {
  width: 592px;
  /* height: 100%; */
  height: 714px;
  position: relative;
}

.close-icon {
  position: absolute;
  right: 0;
  top: 0;
  width: 26px;
  height: 26px;
}

.card-popup-img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 586px;
  transform: translate(-50%, -50%);
}

@media (min-width: 1280px) and (max-width: 1663px) {
  .logo {
    margin: 0 1.5%;
    width: 38px;
    height: 34px;
  }

  .search-box {
    width: 60%;
  }

  .infomation {
    width: 100%;
  }
}

@media (min-width: 1664px) and (max-width: 1919px) {
  .search-box {
    width: 60%;
  }

  .infomation {
    width: 90%;
  }
}

@media (min-width: 1920px) and (max-width: 2559px) {
  .search-box {
    width: 40%;
  }

  .infomation {
    width: 80%;
  }
}

@media (min-width: 2560px) {
  .search-box {
    width: 20%;
  }

  .infomation {
    width: 50%;
  }
}