.sub-gnb {
  position: relative;
}

.sub-gnb .container {
  position: relative;
}

.sub-gnb .search-area {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  width: 600px;
  margin: 0;
  z-index: 1;
}

.sub-gnb .search-wrap {
  width: 600px;
  height: 40px;
  border-radius: 32px;
  border: 1px solid #dddddd;
  background: #fafafa;
  padding: 0 5px 0 20px;
  margin: 0;
}

.sub-gnb .search-wrap input {
  font-size: 15px;
}

.sub-gnb .search-icon {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.sub-gnb .search-icon img {
  width: 30px;
  height: 30px;
}

.sub-gnb .search-panel {
  top: 52px;
  width: 600px;
  border: 1px solid #DDD;
  border-radius: 20px;
  padding: 20px 24px;
  background: #FFF;
}

.sub-gnb .top-links {
  gap: 12px;
}

.sub-gnb .top-links a {
  color: #000000;
  text-decoration: none;
  font-weight: 400;
}

.sub-gnb .top-links .divider {
  background: rgba(118, 123, 141, 0.7);
}

.sub-tabs {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 20px;
  color: #1a1b1f;
  font-weight: 500;
  position: relative;
  padding-bottom: 30px;
}

.sub-tabs span {
  cursor: pointer;
}

.sub-tabs span:hover {
  color: #2b3d8c;
}

.sub-tabs::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(211, 211, 211, 0.4);
}

.sub-tabs .is-active {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.sub-title {
  margin: 40px auto 20px;
  font-size: 24px;
  font-weight: 700;
  color: #1a1b1f;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px;
  margin-bottom: 50px;
}

.game-card {
  border: 1px solid #ededed;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
}

.game-card-media {
  position: relative;
  height: 330px;
  background-size: cover;
  background-position: center;
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.game-card-logo {
  position: absolute;
  top: 24px;
  right: 24px;
  height: 56px;
  width: auto;
  object-fit: contain;
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 14px;
  width: 33px;
  height: 27px;
  border-radius: 5px;
  background: #1a1b1f;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 0.5px rgba(255,255,255,0.4) inset;
}

.game-card-body {
  padding: 18px 24px 22px;
  height: 190px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-card-title {
  font-size: 26px;
  font-weight: 600;
  color: #1a1b1f;
}

.game-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #191919;
}

.game-card-meta img {
  width: 16px;
  height: 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
}

.chip-row.character {
  display: none;
}

.chip {
  border: 1px solid #d3d3d3;
  border-radius: 20px;
  padding: 0 12px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #6d6d6d;
  white-space: nowrap;
  letter-spacing: -0.04em;
}

.filter-panel {
  margin: 50px auto 80px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 22px;
}

.filter-item {
  display: flex;
  align-items: center;
  line-height: normal;
  appearance: none;
  border: none;
  background: #f4f4f4;
  color: #1a1b1f;
  font-size: 16px;
  font-weight: 400;
  padding: 14px 44px 14px 20px;
  border-radius: 12px;
  text-align: left;
  position: relative;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
/*
.filter-item::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #b6b6b6;
  border-bottom: 2px solid #b6b6b6;
  transform: translateY(-50%) rotate(-45deg);
}
*/
.filter-item::after{
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 12px;
  height: 16px;
  background: url(/resources/image/design/main/trade-sub-menu-arrow.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  transform: translateY(-50%);
}

.filter-item:hover {
  background: #ededed;
}

.filter-grid{
  gap: 20px 12px;
}
.filter-item{
  padding: 16px 44px 15px 24px;
  color:#000;
  background: #f6f6f6;
  border-radius: 10px;
}