
.np-guten-wrap * { box-sizing: border-box; }
.np-panel { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 20px; box-shadow: 0 2px 20px rgba(0,0,0,.03); }
.wpp-popular-custom .wpp-list { counter-reset: rank; margin: 0; padding: 0; list-style: none; }
.wpp-popular-custom .wpp-item { counter-increment: rank; display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; gap: 12px !important; padding: 10px 0 !important; border-bottom: 1px solid #f8fafc !important; text-decoration: none !important; }
.wpp-popular-custom .wpp-item:last-child { border-bottom: none !important; }
.wpp-popular-custom .wpp-item::before { content: counter(rank); font-size: 15px; font-weight: 800; color: #0f172a; min-width: 20px; text-align: center; flex-shrink: 0 !important; }
.wpp-popular-custom .wpp-thumb { flex: 0 0 44px !important; width: 44px !important; height: 44px !important; line-height: 0 !important; }
.wpp-popular-custom .wpp-item img { width: 44px !important; height: 44px !important; border-radius: 10px !important; object-fit: cover !important; display: block !important; }
.wpp-popular-custom .wpp-text { display: flex !important; flex-direction: column !important; flex: 1 !important; min-width: 0 !important; }
.wpp-popular-custom .wpp-post-title { font-size: 13px; font-weight: 700; color: #0f172a; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.wpp-popular-custom .wpp-meta { font-size: 11px; color: #94a3b8; margin-top: 2px; }
.np-game-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 12px !important; }
.np-game-card { border: 1px solid #f1f5f9; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.np-game-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.np-game-poster { height: 180px; position: relative; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 12px; }
.np-game-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%); }
.np-game-poster-title { position: relative; z-index: 1; color: #fff; font-weight: 900; font-size: 16px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.np-game-info { padding: 12px; }
.np-game-name { font-weight: 800; font-size: 13px; color: #0f172a; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-game-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.np-game-tag { background: #f1f5f9; color: #475569; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 6px; text-decoration: none; }
.np-latest-grid { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 14px !important; }
.np-latest-card { border: 1px solid #f1f5f9 !important; border-radius: 16px !important; overflow: hidden !important; background: #ffffff !important; display: flex !important; flex-direction: column !important; text-decoration: none !important; transition: transform 0.25s ease, box-shadow 0.25s ease !important; }
.np-latest-card:hover { transform: translateY(-4px) !important; box-shadow: 0 10px 25px rgba(0,0,0,0.06) !important; }
.np-thumb-wrap { position: relative !important; width: 100% !important; aspect-ratio: 16/9 !important; overflow: hidden !important; background: #f1f5f9 !important; }
.np-thumb-wrap img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform 0.3s ease !important; }
.np-cat-badge { position: absolute !important; bottom: 8px !important; left: 8px !important; background: rgba(15, 23, 42, 0.85) !important; backdrop-filter: blur(4px) !important; color: #ffffff !important; font-size: 10px !important; font-weight: 700 !important; padding: 3px 8px !important; border-radius: 6px !important; z-index: 2 !important; }
.np-card-body { padding: 12px !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important; flex: 1 !important; }
.np-card-title { font-size: 13px !important; font-weight: 700 !important; line-height: 1.4 !important; color: #0f172a !important; margin: 0 0 10px 0 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; word-break: keep-all !important; }
.np-card-meta { display: flex !important; justify-content: space-between !important; align-items: center !important; font-size: 11px !important; color: #94a3b8 !important; }
.np-features-bar { background: linear-gradient(90deg, #0284c7 0%, #1d4ed8 50%, #1e1b4b 100%); border-radius: 16px; padding: 20px 24px; color: #ffffff; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.np-feature-item { display: flex; align-items: center; gap: 12px; }
.np-feature-icon { font-size: 24px; background: rgba(255, 255, 255, 0.15); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.np-feature-title { font-size: 13px; font-weight: 800; color: #ffffff; }
.np-feature-desc { font-size: 11px; color: #cbd5e1; margin-top: 2px; }
@media(max-width: 1024px) { .np-latest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .np-game-grid { grid-template-columns: repeat(2, 1fr) !important; } .np-features-bar { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 640px) { .np-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .np-features-bar { grid-template-columns: 1fr; } }


.np-hero-guten{
  background-color:#0f172a !important;
  background-image: url('/wp-content/themes/generatepress-child/assets/images/overwatch-demon.png') !important;
  background-position: 70% 20% !important; /* 얼굴 위치 - 숫자 낮출수록 내려와 */
  background-size: 100% !important; /* 100% -> 115%로 키우면 얼굴 더 커져 */
  background-repeat: no-repeat !important;
  position: relative;
  isolation: isolate;
}
.np-hero-guten::before{
  content:'';
  position:absolute;
  inset:0;
  /* 왼쪽은 진하게, 오른쪽(얼굴쪽)은 연하게 */
  background: linear-gradient(100deg, rgba(15,23,42,0.97) 0%, rgba(15,23,42,0.88) 40%, rgba(15,23,42,0.45) 68%, rgba(15,23,42,0.15) 100%) !important;
  z-index:0;
}
.np-hero-guten::after{
  content:'';
  position:absolute;
  inset:0;
  background-image: url('/wp-content/themes/generatepress-child/assets/images/overwatch-demon.png');
  background-position: 70% 10%;
  background-size: 100%;
  background-repeat: no-repeat;
  opacity:1.0; /* 선명도 조절 0.6~1.0 */
  filter: brightness(1.15) contrast(1.1) saturate(1.1); /* 얼굴 더 선명하게 */
  z-index:0;
  pointer-events:none;
}
.np-hero-guten > *{ position:relative; z-index:1; }

