.gc-shell {
  background: #f4f6fb;
  min-height: 100vh;
}

.gc-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 8;
  min-height: 180px;
  max-height: 320px;
  overflow: hidden;
  background: #0f1426;
}

.gc-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.gc-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 34, 0.12), rgba(10, 16, 34, 0.72));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 16px;
}

.gc-banner-overlay h2 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
}

.gc-banner-overlay p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.gc-toolbar {
  background: #fff;
  border-bottom: 1px solid #e8ebf5;
  padding: 10px 12px 12px;
}

.gc-filter-form {
  display: grid;
  gap: 10px;
}

.gc-brand-slider {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.gc-brand-slider::-webkit-scrollbar {
  height: 4px;
}

.gc-brand-slider::-webkit-scrollbar-thumb {
  background: rgba(57, 78, 194, 0.35);
  border-radius: 6px;
}

.gc-brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 999px;
  background: #edf1ff;
  color: #2d3f9a;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.gc-brand-pill.active {
  border-color: #2d3f9a;
  background: #fff;
}

.gc-search-row {
  display: flex;
  gap: 8px;
}

.gc-search-row input[type="text"] {
  flex: 1;
  min-width: 0;
  border: 1px solid #d8def1;
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}

.gc-search-row input[type="text"]:focus {
  border-color: #5d78e6;
  box-shadow: 0 0 0 3px rgba(93, 120, 230, 0.15);
}

.gc-search-row button {
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--mcw-primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.gc-result-meta {
  margin: 8px 0 0;
  font-size: 13px;
  color: #5f6784;
}

.gc-result-meta strong {
  color: #1e2748;
}

.game-page-my {
  padding: 10px;
  background: #fff;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.game-item-link {
  text-decoration: none;
  color: inherit;
}

.game-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}

.game-item img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  display: block;
}

.badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #f2463a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 8px;
}

.game-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 6px 6px;
  text-align: center;
}

.gc-empty {
  margin-top: 10px;
  text-align: center;
  padding: 18px 10px;
  color: #666f8f;
  border: 1px dashed #d5daea;
  border-radius: 10px;
  background: #f8faff;
}

.gc-empty.hidden {
  display: none;
}

.gc-pagination {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.gc-page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: #324286;
  background: #edf1ff;
  border: 1px solid #d8dff9;
  border-radius: 8px;
}

.gc-page-btn.active {
  background: var(--mcw-primary);
  color: #fff;
  border-color: transparent;
}

.gc-page-btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.gc-page-dots {
  font-size: 12px;
  color: #7680a6;
  padding: 0 2px;
}

#gcPaginationWrap.loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

@media (max-width: 991px) {
  .gc-banner {
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 767px) {
  .gc-banner {
    aspect-ratio: 16 / 8;
    min-height: 150px;
  }

  .gc-banner-overlay h2 {
    font-size: 17px;
  }

  .gc-search-row button {
    min-width: 76px;
  }
}

@media (max-width: 540px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-item img {
    height: 120px;
  }

  .game-name {
    font-size: 11px;
  }
}
