/* 짬툴 웹게임 아케이드 · 글래스모피즘 그래픽 업그레이드 */
.section-games main {
  background:
    radial-gradient(circle at 18% 12%, rgba(198, 175, 255, 0.14), transparent 42%),
    radial-gradient(circle at 84% 20%, rgba(131, 217, 255, 0.12), transparent 40%);
}

/* 게임 허브 카드 세련된 네온 글로우 */
.section-games .grid .card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(24, 38, 70, 0.92), rgba(14, 23, 44, 0.96)) !important;
  border: 1px solid rgba(198, 175, 255, 0.36) !important;
  border-radius: 16px !important;
  padding: 20px !important;
  box-shadow: 0 12px 28px rgba(4, 8, 20, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s !important;
}
.section-games .grid .card:hover {
  transform: translateY(-4px) !important;
  border-color: #c6afff !important;
  box-shadow: 0 18px 36px rgba(198, 175, 255, 0.22) !important;
}
.section-games .grid .card h3 {
  font-size: 1.1rem !important;
  margin: 10px 0 8px !important;
  color: #f8faff !important;
}

/* 기존 4종 게임 스테이지 세련되게 업그레이드 */
.stage-joseon,
.stage-hallway,
.stage-story,
.stage-candle,
.arcade-wrap {
  background: linear-gradient(165deg, rgba(22, 34, 62, 0.94), rgba(11, 18, 36, 0.98)) !important;
  border: 1.5px solid rgba(198, 175, 255, 0.38) !important;
  border-radius: 18px !important;
  padding: 22px !important;
  box-shadow: 0 20px 44px rgba(3, 7, 18, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.stage-joseon .case,
.stage-hallway .scene,
.stage-story .story-box,
.verdict-box {
  background: rgba(15, 25, 48, 0.85) !important;
  border: 1px solid rgba(131, 217, 255, 0.25) !important;
  border-left: 4px solid #c6afff !important;
  border-radius: 12px !important;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.25);
}

.stage-joseon .clues li {
  background: rgba(18, 29, 54, 0.9) !important;
  border: 1px solid rgba(131, 217, 255, 0.22) !important;
  border-radius: 11px !important;
  transition: transform 0.14s, border-color 0.14s;
}
.stage-joseon .clues li:hover {
  border-color: rgba(198, 175, 255, 0.55) !important;
}
.stage-joseon .clues li span.n {
  background: linear-gradient(135deg, #ffd28b, #f2b544) !important;
  box-shadow: 0 2px 8px rgba(242, 181, 68, 0.35);
}

.stage-joseon .sus,
.stage-story .scard,
.stage-candle .cbtn {
  background: linear-gradient(160deg, #182747, #101b33) !important;
  border: 1.5px solid #354c78 !important;
  border-radius: 13px !important;
  box-shadow: 0 6px 16px rgba(3, 8, 20, 0.35);
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s !important;
}
.stage-joseon .sus:hover:not(:disabled),
.stage-story .scard:hover {
  border-color: #83d9ff !important;
  box-shadow: 0 10px 22px rgba(131, 217, 255, 0.2);
}

.hud-j, .arcade-hud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 12px 16px;
  background: rgba(9, 16, 34, 0.72);
  border: 1px solid rgba(131, 217, 255, 0.24);
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  font-weight: 750;
}
.arcade-hud b { color: #83d9ff; font-variant-numeric: tabular-nums; }
.arcade-panel {
  background: rgba(14, 24, 46, 0.85);
  border: 1px solid #344a71;
  border-radius: 12px;
}
.arcade-btn {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 9px;
  border: 0;
  background: #83d9ff;
  color: #071629;
  font-weight: 800;
  cursor: pointer;
}
.touch-pad {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.touch-pad button {
  min-width: 56px;
  min-height: 46px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #344a71;
  background: #142240;
  color: #f1f5ff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}
.touch-pad button:active { background: #223866; }
@media (min-width: 961px) {
  .mobile-only-pad { display: none; }
}
.adslot { display: none !important; }
.story-wide-wrap { max-width: 1180px !important; }
.story-split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}
.story-guide-col {
  background: rgba(16, 28, 50, 0.85);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.story-guide-col h2 { margin-top: 0; font-size: 1.05rem; color: #83d9ff; }
.story-guide-col ol, .story-guide-col p { font-size: 0.9rem; line-height: 1.65; color: var(--text-dim); }
@media (max-width: 900px) {
  .story-split-layout { grid-template-columns: 1fr; }
}
