@keyframes modal-overlay-spinner {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes modal-button-spinner {
  to {
    transform: rotate(360deg);
  }
}
body {
  background-color: #f5f5f5;
}

.gift-page-index {
  width: 100%;
  min-height: calc(100% - 189px);
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 1920px;
  margin: auto;
}
.gift-page-index .gift-background {
  position: absolute;
  top: 0;
  height: 400px;
  left: 0;
  right: 0;
  object-fit: cover;
  z-index: 0;
  width: 100%;
}
.gift-page-index .page-index-content {
  flex: 1;
  margin: auto;
  display: flex;
  width: 1200px;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 52px;
  padding-top: 32px;
  z-index: 1;
}
.gift-page-index .page-index-content .gift-header {
  display: flex;
  gap: 20px;
  height: 416px;
}
.gift-page-index .page-index-content .gift-header .gift-left {
  flex: 1;
  position: relative;
  border-radius: 12px;
  border: 2px solid #744f9b;
}
.gift-page-index .page-index-content .gift-header .gift-left img {
  height: 100%;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}
.gift-page-index .page-index-content .gift-header .gift-left .gift-tag {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  color: #e7d7ff;
  font-size: 13px;
  font-weight: 500;
  height: 26px;
  z-index: 2;
  background-image: url("/assets/images/gift/tag-12.svg");
  background-position: 0 0;
  background-attachment: scroll;
  background-size: cover;
}
.gift-page-index .page-index-content .gift-header .gift-left .gift-tag .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #e7d7ff;
}
.gift-page-index .page-index-content .gift-header .gift-left .gift-tag {
  top: -2px;
  left: -2px;
}
.gift-page-index .page-index-content .gift-header .gift-more {
  border-color: #887149;
}
.gift-page-index .page-index-content .gift-header .gift-more .gift-tag {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  color: #f6efd4;
  font-size: 13px;
  font-weight: 500;
  height: 26px;
  z-index: 2;
  background-image: url("/assets/images/gift/tag-gold-12.svg");
  background-position: 0 0;
  background-attachment: scroll;
  background-size: cover;
}
.gift-page-index .page-index-content .gift-header .gift-more .gift-tag .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #f6efd4;
}
.gift-page-index .page-index-content .gift-header .gift-more .gift-tag {
  top: -2px;
  left: -2px;
}
.gift-page-index .page-index-content .gift-header .gift-right {
  width: 440px;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  padding: 20px;
}
.gift-page-index .page-index-content .gift-header .gift-right .instructions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
  font-size: 12px;
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content {
  height: 114px;
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content
  .gift-panel-title_warp {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1019607843);
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content
  .gift-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content
  .gift-panel-title
  img {
  height: 28px;
  width: 21px;
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content
  .gift-panel-desc {
  color: #ffffff;
  font-size: 14px;
  opacity: 0.7;
  line-height: 20px;
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content
  .gift-panel-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-top: 32px;
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content
  .gift-panel-final {
  display: flex;
  align-items: baseline;
  font-size: 28px;
  font-weight: 600;
  line-height: 26px;
  gap: 2px;
  color: #fff;
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content
  .gift-panel-final
  .symbol {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content
  .gift-panel-origin {
  color: #fff;
  font-size: 14px;
  text-decoration-line: line-through;
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content
  .gift-panel-save {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 18px;
  padding: 0 8px;
  border-radius: 100px;
  background: #67c23a;
  color: #fff;
  font-weight: 500;
  font-size: 12px;
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content
  .gift-btn-warp {
  display: flex;
  justify-content: center;
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content
  .gift-buy-btn {
  margin-top: 20px;
  height: 44px;
  border: none;
  border-radius: 100px;
  background: #ea8101;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  width: 280px;
  cursor: pointer;
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content
  .gift-buy-btn.loading {
  cursor: not-allowed !important;
  pointer-events: none;
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content
  .gift-buy-btn.loading::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 1.5px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: modal-button-spinner 0.8s linear infinite;
  box-sizing: border-box;
}
.gift-page-index
  .page-index-content
  .gift-header
  .gift-right
  .gift-panel-content
  .game-offline-notice {
  margin-top: 20px;
  height: 44px;
  gap: 4px;
  border: none;
  border-radius: 100px;
  background: #ffd8e4;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  width: 280px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gift-page-index .gift-games {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gift-page-index .gift-games .games-title {
  font-size: 22px;
  font-weight: 600;
  color: #000;
}
.gift-page-index .gift-games .game-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gift-page-index .game-card .game-card-header {
  border-radius: 8px;
}
.gift-page-index .game-card-header .game-card-tag {
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
}
