@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --blue: #5265ff;
  --navy: #19245f;
  --purple: #8b5cff;
  --green: #6ed400;
  --line: #e9edf5;
  --text: #101828;
  --sub: #667085;
  --card-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  background: transparent;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.myshop-section {
  width: 1160px;
  margin: 0 auto;
  padding: 0 0 18px;
  background: transparent;
}

/* 퀵 카테고리 */
.quick-category {
  width: 1160px;
  height: 86px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.07);
  overflow: hidden;
}

.quick-item {
  position: relative;
  height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition:
    background-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.quick-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  right: 0;
  width: 1px;
  height: 48px;
  background: #e6ebf4;
  opacity: .45;
}

.quick-item:hover {
  background: #f8faff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(88,101,242,.13);
}

.quick-icon,
.quick-item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  transition: transform .25s ease, filter .25s ease;
}

.quick-item:hover .quick-icon,
.quick-item:hover img {
  transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 5px 13px rgba(98,76,255,.18));
}

.quick-title {
  font-size: 15px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #101828;
  word-break: keep-all;
}

/* 게임 기획전 */
.game-promo {
  position: relative;
  width: 1160px;
  min-height: 334px;
  display: block;
  margin-top: 42px;
  padding-bottom: 8px;
  overflow: visible;
}

.game-head {
  width: 1160px;
  min-height: 54px;
  margin-bottom: 16px;
  padding: 0 2px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.game-title-block {
  min-width: 0;
}

.game-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: #06142D;
}

.game-head p {
  margin: 7px 0 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #667085;
}

.all-game-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 124px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(99,102,241,.16);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 800;
  color: #3562f5;
  background: rgba(255,255,255,.78);
  transition: .25s ease;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
}

.all-game-btn:hover {
  background: #F8FAFF;
  border-color: rgba(99,102,241,.30);
  box-shadow: 0 6px 18px rgba(88,101,242,.12);
}

.game-card-wrap {
  width: 1160px;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow: visible;
}

.game-card {
  flex: 0 0 calc((1160px - 60px) / 6);
  width: calc((1160px - 60px) / 6);
  height: 254px;
  background: #fff;
  border: 1px solid #e8edf6;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15,23,42,.06);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.game-card:hover {
  transform: translateY(-3px) scale(1.012);
  border-color: #cdd9ff;
  box-shadow: 0 16px 36px rgba(88,101,242,.12);
}

.game-thumb {
  width: 100%;
  height: 138px;
  background: #f3f5fa;
  overflow: hidden;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .3s ease;
}

.game-card:hover .game-thumb img {
  transform: scale(1.04);
}

.game-info {
  height: 116px;
  padding: 12px 12px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #101828;
  word-break: keep-all;
}

.game-desc {
  margin: 5px 0 12px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  color: #667085;
  word-break: keep-all;
}

.game-btn {
  margin-top: auto;
  height: 34px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid rgba(99,102,241,.16);
  background: rgba(255,255,255,.76);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 800;
  color: #0F1B33;
  transition: .25s ease;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
}

.game-card:hover .game-btn {
  background: #F8FAFF;
  border-color: rgba(99,102,241,.30);
  color: #4F46E5;
  box-shadow: 0 6px 18px rgba(88,101,242,.12);
}

.slide-btn {
  display: none;
}

/* ===== Game Card 6 Column Fix ===== */
.game-card-wrap {
  width: 1160px !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  overflow: visible !important;
}

.game-card {
  flex: 0 0 calc((1160px - 60px) / 6) !important;
  width: calc((1160px - 60px) / 6) !important;
}


/* 모바일에서도 PC 화면 그대로 보이도록 전체 레이아웃 고정 */
html, body{
  min-width:1160px !important;
  overflow-x:visible !important;
}

.myshop-section{
  width:1160px !important;
}

.quick-category{
  width:1160px !important;
  display:grid !important;
  grid-template-columns:repeat(8, 1fr) !important;
}

.game-promo{
  width:1160px !important;
  display:block !important;
}

.game-card-wrap{
  width:1160px !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:12px !important;
  overflow:visible !important;
}

.game-card{
  flex:0 0 calc((1160px - 60px) / 6) !important;
  width:calc((1160px - 60px) / 6) !important;
}

html,body{min-width:1160px!important}.myshop-section,.quick-category,.game-promo{width:1160px!important}

/* 추천 테마별 PC 상단 간격 축소 */
.theme-pc-section{
    margin-top:40px !important;
    padding-top:0 !important;
}



/* 추천 테마별 PC 설명 제거 후 헤더 간격 정리 */
.theme-pc-head{
    margin-bottom:16px !important;
}
.theme-pc-head p{
    display:none !important;
}
