/* ============================================
   아데나마켓 — 폴리시 레이어
   호버·애니메이션·글로우·리플·그라디언트 보더
   ============================================ */

/* ========== 공통 키프레임 ========== */
@keyframes shimmerSweep {
  0%   { background-position: -200% 0 }
  100% { background-position: 200% 0 }
}
@keyframes shineBar {
  0%   { transform: translateX(-120%) skewX(-20deg) }
  60%  { transform: translateX(220%) skewX(-20deg) }
  100% { transform: translateX(220%) skewX(-20deg) }
}
@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50% }
  50%      { background-position: 100% 50% }
}
@keyframes floatYSoft {
  0%, 100% { transform: translateY(0) }
  50%      { transform: translateY(-5px) }
}
@keyframes pulseGlowBrand {
  0%, 100% { box-shadow: 0 0 0 rgba(91,44,214,.0), 0 6px 18px rgba(91,44,214,.15) }
  50%      { box-shadow: 0 0 24px rgba(91,44,214,.45), 0 10px 28px rgba(91,44,214,.3) }
}
@keyframes pulseGlowSell {
  0%, 100% { box-shadow: 0 4px 12px rgba(244,63,94,.25) }
  50%      { box-shadow: 0 0 24px rgba(244,63,94,.55), 0 8px 24px rgba(244,63,94,.4) }
}
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(28px) }
  to   { opacity: 1; transform: translateY(0) }
}
@keyframes fadeIn {
  from { opacity: 0 } to { opacity: 1 }
}
@keyframes sparkleTwinkle {
  0%, 100% { opacity: .3; transform: scale(1) }
  50%      { opacity: 1;  transform: scale(1.3) }
}
@keyframes rippleOut {
  from { transform: scale(0); opacity: .5 }
  to   { transform: scale(2.6); opacity: 0 }
}
@keyframes swingIcon {
  0%, 100% { transform: rotate(0) }
  25%      { transform: rotate(-15deg) }
  75%      { transform: rotate(15deg) }
}
@keyframes bellRing {
  0%, 100% { transform: rotate(0) }
  15%      { transform: rotate(14deg) }
  30%      { transform: rotate(-10deg) }
  45%      { transform: rotate(8deg) }
  60%      { transform: rotate(-6deg) }
  75%      { transform: rotate(3deg) }
}
@keyframes rotateSlow {
  from { transform: rotate(0) } to { transform: rotate(360deg) }
}
@keyframes borderDance {
  0%, 100% { background-position: 0% 50% }
  50%      { background-position: 100% 50% }
}
@keyframes countUpBounce {
  0%   { transform: scale(.7); opacity: 0 }
  60%  { transform: scale(1.08) }
  100% { transform: scale(1); opacity: 1 }
}
@keyframes trophyShine {
  0%, 85%, 100% { background-position: -150% 0 }
  40%           { background-position: 250% 0 }
}

/* ========== 스크롤 리빌 ========== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.9,.3,1), transform .7s cubic-bezier(.2,.9,.3,1); will-change: opacity, transform }
.reveal.in { opacity: 1; transform: none }
.reveal.delay-1.in { transition-delay: .08s }
.reveal.delay-2.in { transition-delay: .16s }
.reveal.delay-3.in { transition-delay: .24s }

/* ========== 프로모 띠 (업그레이드) ========== */
.promo-band {
  background: linear-gradient(90deg,#4FC3F7 0%,#29B6F6 20%,#FFEB3B 40%,#FFC107 60%,#FFEB3B 80%,#29B6F6 100%);
  background-size: 300% 100%;
  animation: gradientFlow 10s ease-in-out infinite;
  position: relative; overflow: hidden;
  padding: 14px 0 !important;
  border-bottom: 3px solid #1E3A8A;
}
.promo-band::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.3) 0%, transparent 15%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.3) 0%, transparent 15%);
  pointer-events: none;
}
.promo-band::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,.65) 50%, transparent 75%);
  animation: shineBar 3.5s ease-in-out infinite;
  pointer-events: none;
}
.promo-band .inner {
  justify-content: center !important;
  gap: 18px !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  color: #0F2748 !important;
  letter-spacing: -.02em;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.promo-band .rocket-wrap { position: relative; display: inline-block; width: 36px; height: 28px }
.promo-band .rocket {
  font-size: 28px;
  display: inline-block;
  animation: rocketFly 2.4s ease-in-out infinite;
  position: absolute; left: 2px; top: -2px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
}
.promo-band .trail {
  position: absolute; left: -16px; top: 10px;
  width: 24px; height: 8px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,.9), rgba(255,215,0,.9));
  border-radius: 50% 20% 20% 50%;
  filter: blur(2px);
  animation: trailPulse 2.4s ease-in-out infinite;
}
@keyframes rocketFly {
  0%, 100% { transform: translateX(0) rotate(-10deg) }
  50%      { transform: translateX(4px) rotate(-18deg) translateY(-2px) }
}
@keyframes trailPulse {
  0%, 100% { opacity: .5; transform: scaleX(.8) }
  50%      { opacity: 1;  transform: scaleX(1.2) }
}
.promo-band .em1 {
  color: #D32F2F;
  font-size: 20px;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255,255,255,.6), 0 0 8px rgba(255,255,255,.4);
}
.promo-band .em2 {
  background: linear-gradient(135deg,#DC2626,#F43F5E,#DC2626);
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 2.5s ease-in-out infinite;
  font-size: 20px; font-weight: 900;
}
.promo-band .patent {
  color: #0F2748;
  font-size: 17px;
  font-weight: 900;
  border-bottom: 3px dotted #D32F2F;
  padding-bottom: 1px;
}
.promo-band .pill-sm {
  background: #0F2748 !important;
  color: #FFEB3B !important;
  font-size: 12.5px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  border: 2px solid #FFEB3B;
  box-shadow: 0 3px 0 rgba(0,0,0,.15);
  text-shadow: none;
  white-space: nowrap;
}
.promo-band .burst {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #D32F2F;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 6px 10px;
  position: relative;
  text-shadow: none;
  letter-spacing: .02em;
  animation: burstWobble 1.5s ease-in-out infinite;
  clip-path: polygon(
    0% 25%, 10% 0%, 25% 15%, 40% 0%, 55% 15%, 70% 0%, 85% 15%, 100% 0%,
    95% 25%, 100% 50%, 95% 75%, 100% 100%, 85% 85%, 70% 100%, 55% 85%, 40% 100%, 25% 85%, 10% 100%, 0% 75%, 5% 50%
  );
  min-width: 70px;
  min-height: 38px;
}
@keyframes burstWobble {
  0%, 100% { transform: rotate(-6deg) scale(1) }
  50%      { transform: rotate(6deg) scale(1.08) }
}
.promo-band .close {
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(15,39,72,.1) !important;
  color: #0F2748 !important;
  font-size: 12.5px !important;
  padding: 5px 10px !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
  text-shadow: none !important;
  transition: all .15s;
}
.promo-band .close:hover {
  background: #0F2748 !important;
  color: #FFEB3B !important;
}

/* 모바일 프로모 띠 */
@media (max-width: 720px) {
  .promo-band { padding: 10px 0 !important }
  .promo-band .inner {
    font-size: 13px !important;
    gap: 8px !important;
    padding: 0 50px !important;
    flex-wrap: nowrap !important;
  }
  .promo-band .em1, .promo-band .em2 { font-size: 14px }
  .promo-band .patent { font-size: 13px }
  .promo-band .pill-sm,
  .promo-band .burst { display: none }
  .promo-band .rocket { font-size: 22px }
  .promo-band .rocket-wrap { width: 26px; height: 20px }
  .promo-band .trail { display: none }
}
@media (max-width: 480px) {
  .promo-band .inner { font-size: 12px !important; gap: 6px !important }
  .promo-band .em1, .promo-band .em2 { font-size: 13px }
  .promo-band .patent { font-size: 11.5px; border-bottom-width: 2px }
}

/* ========== 안전결제 파트너 섹션 ========== */
/* ============ 안전결제 파트너 (심플 리뉴얼) ============ */
.pay-partners {
  background: #FAFAFC;
  border: 1px solid #ECECEF;
  border-radius: 16px;
  padding: 22px 24px 20px;
  margin: 24px 0;
}
.pay-partners .head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 6px;
}
.pay-partners .head .tt {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 800; color: #27272A; letter-spacing: -.01em;
}
.pay-partners .head .tt .ic { font-size: 16px; filter: grayscale(0) }
.pay-partners .head .sub {
  font-size: 12px; color: #9CA3AF; font-weight: 500;
}
.pay-partners .pay-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.pay-slot {
  position: relative;
  background: #fff;
  border: 1px solid #ECECEF;
  border-radius: 12px;
  padding: 18px 10px 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 72px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pay-slot:hover {
  border-color: #D4D4D8;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  transform: translateY(-1px);
}
.pay-slot .logo-txt {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -.02em;
  color: #52525B;
}
.pay-slot .sub-txt {
  font-size: 11px;
  color: #A1A1AA;
  margin-top: 3px;
  font-weight: 500;
}
.pay-slot img {
  max-width: 85%;
  max-height: 28px;
  object-fit: contain;
  filter: grayscale(.15);
  opacity: .9;
  transition: filter .2s ease, opacity .2s ease;
}
.pay-slot:hover img { filter: none; opacity: 1 }
.pay-slot .status {
  position: absolute; top: 7px; right: 7px;
  background: transparent;
  color: #B5B6BF;
  font-size: 10px;
  padding: 0;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 0;
}
.pay-slot.active {
  border-color: #D1EDE0;
  background: linear-gradient(180deg,#F2FAF6 0%,#fff 100%);
}
.pay-slot.active .logo-txt { color: #047857 }
.pay-slot.active .status {
  color: #059669;
  font-weight: 800;
  display: inline-flex; align-items: center; gap: 4px;
}
.pay-slot.active .status::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16,185,129,.2);
}

@media (max-width: 900px) {
  .pay-partners .pay-grid { grid-template-columns: repeat(3, 1fr) }
}
@media (max-width: 480px) {
  .pay-partners { padding: 20px 18px }
  .pay-partners .pay-grid { grid-template-columns: repeat(2, 1fr); gap: 8px }
  .pay-slot { min-height: 60px; padding: 12px 8px }
  .pay-slot .logo-txt { font-size: 13px }
}

/* ========== 로고 ========== */
.brand-logo { transition: transform .25s }
.brand-logo:hover { transform: translateY(-1px) }
.brand-logo .mark { transition: transform .5s cubic-bezier(.5,-.3,.5,1.3) }
.brand-logo:hover .mark {
  transform: rotate(360deg) scale(1.08);
  box-shadow: 0 8px 22px rgba(91,44,214,.5);
}

/* ========== 네비 링크 호버 밑줄 ========== */
.topbar a { position: relative; padding-bottom: 2px }
.topbar a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg,var(--brand),var(--sell));
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.topbar a:hover::after { transform: scaleX(1) }

/* ========== 검색바 ========== */
.search-main {
  background: #fff;
  background-clip: padding-box;
  position: relative;
  transition: box-shadow .3s, transform .2s;
}
.search-main::before {
  content: ''; position: absolute; inset: -3px; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--sell) 25%, var(--brand-2) 50%, var(--sell) 75%, var(--brand) 100%);
  background-size: 400% 100%;
  z-index: -1;
  animation: gradientFlow 6s ease-in-out infinite;
}
.search-main:hover, .search-main:focus-within {
  box-shadow: 0 14px 36px rgba(91,44,214,.18), 0 0 0 4px rgba(91,44,214,.08);
}
.search-main:focus-within::before { animation-duration: 2.5s }
.search-main .search-btn {
  background: linear-gradient(135deg,var(--brand),var(--brand-2));
  position: relative; overflow: hidden;
}
.search-main .search-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-120%);
}
.search-main .search-btn:hover::before { animation: shineBar 1s ease-out }
.search-main .search-btn:hover { transform: scale(1.08) rotate(5deg); box-shadow: 0 8px 20px rgba(91,44,214,.4) }

/* 토글 인디케이터 */
.toggle-group label { position: relative; transition: all .2s cubic-bezier(.4,0,.2,1) }
.toggle-group label:hover:not(.on) { color: var(--ink-2); background: var(--surface-3) }

/* 단일 모드 뱃지 (삽니다 제거) */
.toggle-group.single { padding: 0 14px 0 0; margin-right: 10px; border-right: 1px solid var(--border) }
.toggle-group.single .single-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px; border-radius: 999px;
  background: linear-gradient(135deg,var(--sell),var(--sell-2));
  color: #fff; font-weight: 800; font-size: 13.5px;
  box-shadow: 0 4px 10px rgba(244,63,94,.3);
  white-space: nowrap; flex-shrink: 0;
  letter-spacing: -.02em;
}

/* ========== 서버 칩 ========== */
.chip {
  position: relative; overflow: hidden;
  isolation: isolate;
  transition: all .25s cubic-bezier(.3,0,.3,1.3);
}
.chip::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  opacity: 0; transition: opacity .2s;
  z-index: -1;
}
.chip > * { position: relative; z-index: 1 }
.chip:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 8px 18px rgba(91,44,214,.2); color: #fff; border-color: transparent }
.chip:hover::before { opacity: 1 }
.chip.active {
  background: linear-gradient(135deg,var(--brand) 0%,var(--brand-2) 60%,var(--sell) 130%);
  background-size: 200% 200%;
  animation: gradientFlow 4s ease-in-out infinite;
}
.chip.active::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 20px rgba(91,44,214,.45);
  animation: pulseGlowBrand 2s ease-in-out infinite;
  pointer-events: none;
}
.chip .tag { animation: floatYSoft 1.5s ease-in-out infinite }

/* ========== 액션 타일 ========== */
.action-tile { position: relative; padding: 6px 4px; border-radius: 10px; transition: all .25s }
.action-tile .ic { transition: all .4s cubic-bezier(.3,-.2,.3,1.3); position: relative; overflow: hidden }
.action-tile .ic::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,.6) 0%, transparent 60%);
  opacity: 0; transition: opacity .25s;
}
.action-tile:hover .ic { transform: translateY(-6px) scale(1.1) rotate(-6deg); box-shadow: 0 12px 24px rgba(91,44,214,.3) }
.action-tile:hover .ic::after { opacity: 1 }
.action-tile.sell:hover .ic { box-shadow: 0 12px 24px rgba(244,63,94,.35) }
.action-tile.buy:hover .ic { box-shadow: 0 12px 24px rgba(37,99,235,.35) }
.action-tile .nm { transition: color .2s; position: relative }
.action-tile .nm::after {
  content: ''; position: absolute; left: 50%; right: 50%; bottom: -3px; height: 2px;
  background: linear-gradient(90deg,var(--brand),var(--sell));
  transition: all .25s; opacity: 0;
}
.action-tile:hover .nm { color: var(--brand) }
.action-tile:hover .nm::after { left: 10%; right: 10%; opacity: 1 }
.action-tile.hot::after { animation: floatYSoft 1.8s ease-in-out infinite }
.action-bar .mini { transition: all .25s }
.action-bar .mini:hover { transform: translateY(-3px) rotate(-10deg); box-shadow: 0 8px 18px rgba(91,44,214,.3) }

/* ========== Hero 프로모 ========== */
.hero-promo {
  background:
    radial-gradient(600px 300px at 85% -20%, rgba(255,255,255,.3), transparent),
    linear-gradient(135deg,#5B2CD6 0%,#7C3AED 30%,#A855F7 55%,#F43F5E 100%);
  background-size: 200% 200%;
  animation: gradientFlow 10s ease-in-out infinite;
  transition: transform .3s;
}
.hero-promo:hover { transform: translateY(-4px) }
.hero-promo::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 50%;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  animation: shineBar 5s ease-in-out infinite;
  pointer-events: none;
}
.hero-promo .cta {
  transition: all .25s;
  position: relative; overflow: hidden;
}
.hero-promo .cta::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,100,100,.3) 50%, transparent 70%);
  transform: translateX(-120%);
}
.hero-promo .cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 24px rgba(255,255,255,.3) }
.hero-promo .cta:hover::after { animation: shineBar .8s ease-out }
.hero-promo .chars span { transition: transform .3s }
.hero-promo:hover .chars span { animation-duration: 1s }

/* 떠다니는 반짝임 */
.hero-promo .sparkle { position: absolute; width: 4px; height: 4px; background: #fff; border-radius: 50%; opacity: .5; animation: sparkleTwinkle 2.5s ease-in-out infinite }
.hero-promo .sparkle:nth-child(1) { top: 20%; left: 15% }
.hero-promo .sparkle:nth-child(2) { top: 60%; left: 25%; animation-delay: .5s }
.hero-promo .sparkle:nth-child(3) { top: 30%; left: 40%; animation-delay: 1s; width: 3px; height: 3px }
.hero-promo .sparkle:nth-child(4) { top: 75%; left: 55%; animation-delay: 1.5s }

/* ========== Util 그리드 ========== */
.util-tile { position: relative; overflow: hidden }
.util-tile::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(250,204,21,.15), rgba(244,63,94,.1));
  opacity: 0; transition: opacity .25s; border-radius: inherit;
}
.util-tile:hover::before { opacity: 1 }
.util-tile .ic { transition: all .35s cubic-bezier(.3,-.2,.3,1.3) }
.util-tile:hover .ic {
  transform: scale(1.15) rotate(-10deg);
  background: rgba(250,204,21,.25);
  box-shadow: 0 6px 18px rgba(250,204,21,.3);
}

/* ========== 사이드 리워드 ========== */
.side-reward .card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(240,244,255,.9) 0%, rgba(255,255,255,.95) 100%);
}
.side-reward .card::before {
  content: ''; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, var(--brand) 0%, var(--sell) 50%, var(--brand) 100%);
  background-size: 200% 200%;
  animation: gradientFlow 5s ease-in-out infinite;
  opacity: .35;
}
.side-reward .pct-box { transition: all .3s; cursor: pointer }
.side-reward .pct-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(91,44,214,.15);
  border-color: var(--brand);
}
.side-reward .pct-box.v2:hover { box-shadow: 0 10px 24px rgba(244,63,94,.2); border-color: var(--sell) }
.side-reward .pct {
  background: linear-gradient(90deg,var(--brand),var(--brand-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.side-reward .pct-box.v2 .pct {
  background: linear-gradient(90deg,var(--sell),var(--sell-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.side-reward .brand-mini { transition: transform .2s }
.side-reward .card:hover .brand-mini { transform: scale(1.05) }

/* ========== 섹션 헤드 ========== */
.sec-head h2 { position: relative; display: inline-block }
.sec-head h2 .em {
  background: linear-gradient(90deg,var(--brand),var(--brand-2),var(--sell),var(--brand));
  background-size: 300% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 5s ease-in-out infinite;
}
.sec-head .more { transition: all .2s }
.sec-head .more:hover { transform: translateX(4px) }

/* ========== 랭크 카드 ========== */
.rank-card {
  position: relative; overflow: hidden;
  transition: all .3s cubic-bezier(.2,.9,.3,1);
}
.rank-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, var(--brand) 0%, var(--sell) 100%);
  opacity: 0; transition: opacity .3s;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.rank-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(91,44,214,.18) }
.rank-card:hover::before { opacity: 1 }
.rank-card .r-top {
  position: relative; overflow: hidden;
}
.rank-card:hover .r-top::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 50%;
  background: linear-gradient(100deg, transparent 30%, rgba(91,44,214,.12) 50%, transparent 70%);
  animation: shineBar 1.5s ease-out;
}
.rank-card .r-top .coin { transition: transform .4s }
.rank-card:hover .r-top .coin { transform: rotate(360deg) scale(1.15) }
.rank-card .r-top .icn { transition: all .3s }
.rank-card:hover .r-top .icn { transform: rotate(-8deg) scale(1.08); box-shadow: 0 6px 14px rgba(91,44,214,.3) }

.rank-card .r-row {
  position: relative; overflow: hidden;
  transition: all .2s;
}
.rank-card .r-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg,var(--brand),var(--sell));
  transform: scaleY(0); transform-origin: top; transition: transform .25s;
}
.rank-card .r-row:hover::before { transform: scaleY(1) }
.rank-card .r-row:hover { padding-left: 20px }
.rank-card .r-row .trophy { transition: all .3s; position: relative; overflow: hidden }
.rank-card .r-row.r-1 .trophy::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: trophyShine 4s ease-in-out infinite;
}
.rank-card .r-row:hover .trophy { transform: scale(1.15) rotate(-8deg) }
.rank-card .r-row .label { transition: all .2s }
.rank-card .r-row:hover .label { transform: scale(1.05); box-shadow: 0 4px 10px rgba(91,44,214,.25) }
.rank-card .r-row .price-cell b {
  background: linear-gradient(90deg,var(--sell),var(--sell-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rank-card .more-btn { transition: all .2s; position: relative }
.rank-card .more-btn:hover { background: linear-gradient(90deg, rgba(91,44,214,.05), rgba(244,63,94,.05)); color: var(--brand) }

/* ========== 혜택 카드 ========== */
.benefit-card {
  position: relative;
  transition: all .35s cubic-bezier(.2,.9,.3,1);
  transform-style: preserve-3d;
}
.benefit-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, var(--brand), var(--sell));
  opacity: 0; transition: opacity .3s;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(91,44,214,.15) }
.benefit-card:hover::before { opacity: 1 }
.benefit-card .ic { transition: transform .4s cubic-bezier(.3,-.3,.3,1.4); display: inline-block }
.benefit-card:hover .ic { transform: scale(1.15) rotate(-10deg); animation: floatYSoft 1.5s ease-in-out infinite }
.benefit-card .num-bg {
  background: linear-gradient(135deg, var(--brand), var(--sell));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .1;
  transition: all .5s;
}
.benefit-card:hover .num-bg { opacity: .18; transform: translate(-10px,10px) scale(1.05) }
.benefit-card .cta { transition: all .25s; position: relative; overflow: hidden }
.benefit-card .cta::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%);
  transform: translateX(-120%);
}
.benefit-card:hover .cta { padding-right: 24px; box-shadow: 0 6px 16px rgba(91,44,214,.3) }
.benefit-card:hover .cta::after { animation: shineBar .8s ease-out }
.benefit-card .pay-logos .pay-chip { transition: all .25s }
.benefit-card .pay-logos .pay-chip:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 8px 16px rgba(0,0,0,.1); border-color: var(--brand) }

/* ========== 유튜브 카드 ========== */
.yt-card { transition: all .3s cubic-bezier(.2,.9,.3,1) }
.yt-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(91,44,214,.18) }
.yt-card .thumb {
  position: relative; overflow: hidden;
  transition: transform .4s;
}
.yt-card .thumb::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.1), rgba(0,0,0,.4));
  opacity: 0; transition: opacity .3s;
  z-index: 1;
}
.yt-card:hover .thumb::before { opacity: 1 }
.yt-card .thumb::after { transition: all .3s; z-index: 2 }
.yt-card:hover .thumb::after { transform: translate(-50%,-50%) scale(1.15); background: var(--sell); box-shadow: 0 0 30px rgba(244,63,94,.6) }
.yt-card .title { transition: color .2s }
.yt-card:hover .title { color: var(--brand) }

/* ========== 서비스 타일 (하단) ========== */
.svc-tile { transition: all .3s cubic-bezier(.2,.9,.3,1); position: relative; overflow: hidden }
.svc-tile::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  opacity: 0; transition: opacity .3s;
}
.svc-tile > * { position: relative; z-index: 1 }
.svc-tile:hover { transform: translateY(-5px) scale(1.04); box-shadow: 0 12px 24px rgba(91,44,214,.25) }
.svc-tile:hover::before { opacity: 1 }
.svc-tile .ic { transition: all .4s cubic-bezier(.3,-.3,.3,1.3) }
.svc-tile:hover .ic { transform: rotate(360deg) scale(1.1) }

/* ========== CS 센터 ========== */
.cs-center { position: relative; overflow: hidden }
.cs-center::before {
  content: ''; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, var(--brand), var(--brand-2), var(--sell));
  background-size: 200% 200%;
  animation: gradientFlow 6s ease-in-out infinite;
  opacity: .25;
}
.cs-center .tel {
  background: linear-gradient(135deg,var(--brand),var(--sell));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform .3s;
}
.cs-center:hover .tel { transform: scale(1.05) }

/* ========== 공지 리스트 ========== */
.bot-notices .nt { transition: all .2s; padding-left: 0 }
.bot-notices .nt:hover { padding-left: 8px; background: linear-gradient(90deg, rgba(91,44,214,.04), transparent) }

/* ========== 알림 벨 ========== */
.bell { transition: all .25s }
.bell:hover {
  background: linear-gradient(135deg, rgba(91,44,214,.1), rgba(244,63,94,.1));
  transform: scale(1.08);
  animation: bellRing .6s ease-in-out;
}
.bell .cnt { animation: pulseGlowSell 1.5s ease-in-out infinite }

/* ========== 버튼 전체 (shine sweep) ========== */
.btn { position: relative; overflow: hidden; isolation: isolate }
.btn::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 50%;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0s;
  pointer-events: none;
}
.btn:hover::before { animation: shineBar .8s ease-out }
.btn.accent { animation: pulseGlowSell 3s ease-in-out infinite }
.btn.accent:hover { animation: none; transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 24px rgba(244,63,94,.4) }
.btn.primary:hover { box-shadow: 0 12px 24px rgba(91,44,214,.35) }
.btn.lg { font-weight: 800 }

/* ========== 리플 ========== */
.ripple-ink {
  position: absolute; border-radius: 50%; width: 10px; height: 10px;
  background: rgba(255,255,255,.5); pointer-events: none;
  transform: scale(0); animation: rippleOut .6s ease-out forwards;
}

/* ========== 폼 ========== */
.form input:focus, .form textarea:focus, .form select:focus {
  box-shadow: 0 0 0 4px rgba(91,44,214,.15), 0 4px 12px rgba(91,44,214,.08);
  transform: translateY(-1px);
}
.form .field { transition: transform .2s }

/* ========== 매물 리스트 — 가로 행 형식 (신규) ========== */
.listings-head { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 14px; flex-wrap: wrap; gap: 10px }
.listings-head .count { font-size: 14.5px; color: var(--muted); font-weight: 600 }
.listings-head .count b { color: var(--sell); font-weight: 900; font-variant-numeric: tabular-nums; font-size: 16px; margin: 0 2px }
.listings-head .sort { display: flex; gap: 18px; align-items: center }
.listings-head .sort a { font-size: 13px; font-weight: 700; color: var(--muted); padding: 4px 0; position: relative; transition: color .15s }
.listings-head .sort a:hover { color: var(--ink-2) }
.listings-head .sort a.cur { color: var(--sell) }
.listings-head .sort a.cur::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--sell); border-radius: 2px }
.listing-list { display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); padding: 14px; border-radius: var(--radius-lg); margin-top: 10px }
.listing-row {
  display: grid;
  grid-template-columns: 72px 1fr 150px 120px 140px 86px;
  gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 18px 14px 16px;
  position: relative; overflow: hidden;
  transition: all .2s cubic-bezier(.3,0,.3,1);
  color: var(--ink);
}
.listing-row:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(91,44,214,.1) }

/* 좌: 아바타 + 상태 */
.listing-row .l-avatar { display: flex; flex-direction: column; align-items: center; gap: 5px }
.listing-row .av {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg,var(--brand),var(--brand-2));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px; letter-spacing: -.02em;
  box-shadow: 0 4px 10px rgba(91,44,214,.2);
  position: relative;
}
.listing-row .av.tier-s { background: linear-gradient(135deg,#F43F5E,#F59E0B) }
.listing-row .av.tier-a { background: linear-gradient(135deg,#5B2CD6,#3B82F6) }
.listing-row .av.tier-b { background: linear-gradient(135deg,#64748B,#334155) }
.listing-row .status-dot {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 800; color: var(--ok);
}
.listing-row .status-dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 2px rgba(22,163,74,.2);
}
.listing-row .status-dot.off { color: var(--muted) }
.listing-row .status-dot.off::before { background: var(--muted-2); box-shadow: none }

/* 중앙: 제목 + 설명 + 태그 */
.listing-row .l-main { min-width: 0 }
.listing-row .l-title { font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 4px; letter-spacing: -.02em; display: flex; align-items: center; gap: 6px; flex-wrap: wrap }
.listing-row .l-desc { font-size: 13px; color: var(--muted-2); font-weight: 500; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical }
.listing-row .l-tags { display: flex; gap: 5px; margin-top: 6px; flex-wrap: wrap }
.listing-row .l-tag {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 8px; border-radius: 5px;
  font-size: 10.5px; font-weight: 800;
  background: rgba(244,63,94,.08); color: var(--sell);
  border: 1px solid rgba(244,63,94,.15);
}
.listing-row .l-tag.fast { background: rgba(244,63,94,.1); color: var(--sell) }
.listing-row .l-tag.safe { background: rgba(22,163,74,.1); color: var(--ok); border-color: rgba(22,163,74,.15) }
.listing-row .l-tag.bulk { background: rgba(37,99,235,.1); color: var(--buy); border-color: rgba(37,99,235,.15) }

/* 우: 수량 2줄 */
.listing-row .l-qty { font-size: 12.5px; line-height: 1.55 }
.listing-row .l-qty .ln { display: flex; justify-content: space-between; gap: 8px }
.listing-row .l-qty .ln .k { color: var(--muted); font-weight: 700; min-width: 24px }
.listing-row .l-qty .ln .v { color: var(--ink-2); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums }

/* 단가 */
.listing-row .l-unit { text-align: right }
.listing-row .l-unit .k { font-size: 11px; color: var(--muted); font-weight: 700; margin-bottom: 2px }
.listing-row .l-unit .v { font-size: 17px; font-weight: 900; color: var(--brand-ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em }
.listing-row .l-unit .v .w { font-size: 12px; color: var(--muted); font-weight: 700; margin-left: 2px }

/* 총액 */
.listing-row .l-total { text-align: right }
.listing-row .l-total .k { font-size: 11px; color: var(--muted); font-weight: 700; margin-bottom: 2px }
.listing-row .l-total .v { font-size: 20px; font-weight: 900; color: var(--sell); font-variant-numeric: tabular-nums; letter-spacing: -.02em }

/* 날짜 */
.listing-row .l-date { text-align: right; font-size: 11.5px; color: var(--muted); font-weight: 600; line-height: 1.45 }
.listing-row .l-date .d { font-weight: 700; color: var(--ink-2) }
.listing-row .l-date .t { font-variant-numeric: tabular-nums }

/* 코너 뱃지 (프리미엄/핫) */
.listing-row.premium::before {
  content: ''; position: absolute; top: 0; left: 0;
  border-top: 44px solid var(--sell);
  border-right: 44px solid transparent;
  z-index: 1;
}
.listing-row.premium::after {
  content: '🚀'; position: absolute; top: 3px; left: 4px;
  font-size: 15px; z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
}
.listing-row.hot::before {
  content: 'HOT'; position: absolute; top: 8px; left: -24px;
  background: var(--sell); color: #fff;
  padding: 2px 24px; font-size: 10px; font-weight: 900;
  transform: rotate(-45deg); letter-spacing: .05em;
  z-index: 1;
}

/* 프리미엄 리스트 (상단 블록) */
.premium-block { margin: 20px 0 }
.premium-block .pb-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-left: 2px }
.premium-block .pb-head h3 {
  margin: 0; font-size: 18px; font-weight: 900; letter-spacing: -.02em;
  background: linear-gradient(135deg,var(--sell),var(--sell-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.premium-block .pb-head .pb-badge { background: var(--sell); color: #fff; font-size: 10px; font-weight: 900; padding: 2px 8px; border-radius: 999px; letter-spacing: .03em }
.premium-block .listing-list {
  background: linear-gradient(180deg, rgba(254,226,226,.4) 0%, rgba(254,226,226,.1) 100%);
  border: 2px solid rgba(244,63,94,.2);
}

/* 반응형 */
@media (max-width: 980px) {
  .listing-row { grid-template-columns: 60px 1fr 110px 110px 80px; gap: 12px; padding: 12px 14px }
  .listing-row .l-qty { display: none }
  .listing-row .l-date .d { display: block }
}
@media (max-width: 720px) {
  .listing-row {
    grid-template-columns: 52px 1fr auto;
    grid-template-areas:
      "av main total"
      "av tags date";
    gap: 4px 10px; padding: 12px;
  }
  .listing-row .l-avatar { grid-area: av }
  .listing-row .l-main { grid-area: main }
  .listing-row .l-unit { display: none }
  .listing-row .l-total { grid-area: total; align-self: flex-start }
  .listing-row .l-date { grid-area: date; align-self: flex-end }
  .listing-row .l-tags { grid-column: 2 }
  .listing-row .av { width: 40px; height: 40px; font-size: 15px }
  .listing-row .l-title { font-size: 14px }
  .listing-row .l-desc { font-size: 12px }
  .listing-row .l-total .v { font-size: 16px }
}

/* ========== (구) 매물 카드 그리드 — 홈용 유지 ========== */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 16px }
.listing-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all .25s cubic-bezier(.2,.9,.3,1); color: var(--ink) }
.listing-card:hover { text-decoration: none }
.listing-card .top { padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: linear-gradient(180deg,var(--surface-2),#fff) }
.listing-card .server-badge { display: inline-flex; align-items: center; gap: 4px; background: #fff; color: var(--brand); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border) }
.listing-card .time { font-size: 11.5px; color: var(--muted); font-weight: 600 }
.listing-card .body { padding: 16px 18px 14px; flex: 1 }
.listing-card .unit-price { font-size: 11.5px; color: var(--muted); font-weight: 700; margin-bottom: 3px; letter-spacing: -.01em }
.listing-card .price { font-size: 30px; font-weight: 900; color: var(--brand-ink); letter-spacing: -.03em; line-height: 1 }
.listing-card .price .won { font-size: 15px; font-weight: 800; color: var(--ink-2); margin-left: 3px }
.listing-card .qty { margin-top: 14px; padding: 10px 14px; background: var(--surface-2); border-radius: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 13px }
.listing-card .qty .k { color: var(--muted); font-weight: 700 }
.listing-card .qty .v { color: var(--ink); font-weight: 800 }
.listing-card .seller { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-top: 1px solid var(--border); background: var(--surface-2) }
.listing-card .seller .avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,var(--brand),var(--brand-2)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; flex-shrink: 0 }
.listing-card .seller .name { font-weight: 800; font-size: 13px; color: var(--ink-2) }
.listing-card .seller .stat { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-left: 2px }
.listing-card .buy-btn { display: block; background: linear-gradient(135deg,var(--sell),var(--sell-2)); color: #fff; text-align: center; padding: 14px; font-weight: 900; font-size: 14.5px; letter-spacing: .02em; transition: all .25s }
.listing-card.hot { position: relative }
.listing-card.hot::after { content: '🔥 HOT'; position: absolute; top: 12px; right: 12px; background: var(--sell); color: #fff; font-size: 10.5px; font-weight: 900; padding: 3px 8px; border-radius: 999px; z-index: 2; box-shadow: 0 4px 10px rgba(244,63,94,.35) }
.listing-card.new { position: relative }
.listing-card.new::after { content: 'NEW'; position: absolute; top: 12px; right: 12px; background: var(--mint); color: #fff; font-size: 10.5px; font-weight: 900; padding: 3px 8px; border-radius: 999px; z-index: 2 }

/* ========== 매물 카드 (목록) — 호버/강화 ========== */
.listing-card { position: relative; overflow: hidden }
.listing-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, var(--brand), var(--sell));
  opacity: 0; transition: opacity .3s;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.listing-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 40px rgba(91,44,214,.2) }
.listing-card:hover::before { opacity: 1 }
.listing-card .price { transition: all .3s }
.listing-card:hover .price {
  background: linear-gradient(90deg,var(--sell),var(--sell-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.listing-card .buy-btn {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg,var(--sell),var(--sell-2));
  background-size: 200% 100%;
  transition: background-position .4s, letter-spacing .25s;
}
.listing-card:hover .buy-btn { background-position: 100% 0; letter-spacing: .06em }
.listing-card .seller .avatar { transition: transform .4s; background: linear-gradient(135deg,var(--brand),var(--brand-2)) }
.listing-card:hover .seller .avatar { transform: rotate(-15deg) scale(1.1) }

/* ========== 가격 카드 (시세 KPI) ========== */
.price-card { transition: all .3s }
.price-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 16px 32px rgba(91,44,214,.15) }
.price-card .value {
  background: linear-gradient(135deg,var(--brand),var(--brand-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== 테이블 ========== */
table.list tr { transition: background .15s }
table.list tr:hover td { background: linear-gradient(90deg, rgba(91,44,214,.03), transparent) }

/* ========== 상태 배지 애니메이션 ========== */
.badge.hot { animation: pulseGlowSell 2s ease-in-out infinite }
.badge.accent { position: relative; overflow: hidden }

/* ========== 플로팅 챗봇 ========== */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg,var(--brand),var(--sell));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 26px; cursor: pointer;
  box-shadow: 0 10px 24px rgba(91,44,214,.4);
  animation: pulseGlowBrand 3s ease-in-out infinite;
  transition: transform .2s;
}
.fab:hover { transform: scale(1.1) rotate(10deg); animation: none; box-shadow: 0 14px 32px rgba(91,44,214,.6) }
.fab::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(91,44,214,.3); pointer-events: none;
  animation: pulseGlowBrand 2s ease-in-out infinite;
}

/* ========== 로딩 스켈레톤 ========== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
  background-size: 400% 100%;
  animation: shimmerSweep 1.6s ease-in-out infinite;
  border-radius: 6px;
}

/* ========== 큰 가격 숫자 pulse ========== */
.price-big { background: linear-gradient(90deg,var(--brand),var(--brand-2),var(--sell),var(--brand-2),var(--brand)); background-size: 300% 100%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradientFlow 6s ease-in-out infinite }

/* ========== 바디 배경 데코 ========== */
body { position: relative }
body::before {
  content: ''; position: fixed; top: 0; left: 0; right: 0; height: 350px;
  background:
    radial-gradient(600px 300px at 15% 10%, rgba(91,44,214,.08), transparent),
    radial-gradient(500px 250px at 85% 5%, rgba(244,63,94,.07), transparent);
  pointer-events: none; z-index: -1;
}

/* ========== 모션 민감자 ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ============================================
   문서 페이지 (약관·정책·가이드)
   ============================================ */
.doc { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: flex-start }
.doc-head { grid-column: 1 / -1; background: linear-gradient(135deg,#F8FAFC 0%,#EEF2FF 100%); border-radius: var(--radius-lg); padding: 36px 36px 28px; margin-bottom: 4px; border: 1px solid var(--border); position: relative; overflow: hidden }
.doc-head::before { content:''; position:absolute; right:-60px; bottom:-60px; width:220px; height:220px; border-radius:50%; background: radial-gradient(circle, rgba(91,44,214,.12), transparent 60%); pointer-events:none }
.doc-eyebrow { font-size: 12.5px; font-weight: 800; color: var(--brand); letter-spacing: .04em; margin-bottom: 10px }
.doc-head h1 { margin: 0; font-size: 32px; font-weight: 900; letter-spacing: -.03em; color: var(--brand-ink); position: relative }
.doc-meta { color: var(--muted); font-size: 12.5px; margin-top: 10px; font-weight: 600 }
.doc-toc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; position: sticky; top: 90px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto }
.doc-toc .toc-title { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border) }
.doc-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc }
.doc-toc li { counter-increment: toc; padding: 4px 0 }
.doc-toc li::before { content: counter(toc, decimal-leading-zero); color: var(--brand); font-weight: 800; font-size: 11px; margin-right: 8px; font-variant-numeric: tabular-nums }
.doc-toc a { color: var(--ink-2); font-size: 12.5px; font-weight: 600; transition: color .15s }
.doc-toc a:hover { color: var(--brand) }
.doc-body { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 40px; min-width: 0 }
.doc-body section { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--border); scroll-margin-top: 90px }
.doc-body section:first-child { padding-top: 0; margin-top: 0; border-top: none }
.doc-body h2 { font-size: 20px; font-weight: 900; letter-spacing: -.02em; color: var(--brand-ink); margin: 0 0 14px 0; display: flex; align-items: center; gap: 10px }
.doc-body h2::before { content: ''; width: 4px; height: 20px; background: linear-gradient(180deg,var(--brand),var(--sell)); border-radius: 2px }
.doc-body h3 { font-size: 15.5px; font-weight: 800; color: var(--ink); margin: 20px 0 10px 0; letter-spacing: -.01em }
.doc-body h4 { font-size: 14px; font-weight: 800; color: var(--ink-2); margin: 16px 0 8px 0 }
.doc-body p { margin: 10px 0; color: var(--ink-2); font-size: 14px; line-height: 1.75 }
.doc-body ul, .doc-body ol { padding-left: 22px; margin: 10px 0; color: var(--ink-2); font-size: 14px; line-height: 1.75 }
.doc-body li { margin-bottom: 6px }
.doc-body strong, .doc-body b { color: var(--ink); font-weight: 800 }
.doc-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13.5px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden }
.doc-body table th { background: var(--surface-2); font-weight: 800; color: var(--ink-2); padding: 10px 14px; text-align: left; font-size: 12.5px; letter-spacing: .02em; border-bottom: 1px solid var(--border) }
.doc-body table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--ink-2) }
.doc-body table tr:last-child td { border-bottom: none }
.doc-body .callout { background: linear-gradient(135deg,#F0F4FF,#FDF4FF); border-left: 4px solid var(--brand); border-radius: 10px; padding: 16px 18px; margin: 16px 0; font-size: 13.5px; line-height: 1.65 }
.doc-body .callout strong { color: var(--brand); display: block; margin-bottom: 4px; font-size: 13px }
.doc-body .warn-box { background: linear-gradient(135deg,#FFF7E6,#FEF2F2); border-left: 4px solid var(--sell); border-radius: 10px; padding: 16px 18px; margin: 16px 0; color: #92400E; font-size: 13.5px; line-height: 1.65 }
.doc-body .warn-box strong { color: var(--sell); display: block; margin-bottom: 4px }
.doc-body .ok-box { background: #ECFDF5; border-left: 4px solid var(--ok); border-radius: 10px; padding: 14px 16px; margin: 14px 0; color: #065F46; font-size: 13.5px }
.doc-body .step-list { counter-reset: stp; list-style: none; padding: 0; margin: 16px 0 }
.doc-body .step-list li { counter-increment: stp; padding-left: 44px; position: relative; min-height: 36px; margin-bottom: 14px }
.doc-body .step-list li::before { content: counter(stp); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg,var(--brand),var(--brand-2)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; box-shadow: 0 4px 10px rgba(91,44,214,.25) }
.doc-body .fraud-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 }
.doc-body .fraud-list .fraud { background: #FFF7F6; border: 1px solid #FECACA; border-radius: 10px; padding: 14px 16px }
.doc-body .fraud-list .fraud .ic { font-size: 22px; margin-bottom: 4px }
.doc-body .fraud-list .fraud .tt { font-size: 13.5px; font-weight: 800; color: #991B1B; margin-bottom: 4px }
.doc-body .fraud-list .fraud .ds { font-size: 12.5px; color: #7F1D1D; line-height: 1.5 }
.doc-body .faq-item { border-bottom: 1px solid var(--border); padding: 14px 0 }
.doc-body .faq-item:first-child { padding-top: 0 }
.doc-body .faq-item:last-child { border-bottom: none; padding-bottom: 0 }
.doc-body .faq-item summary { cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--ink); display: flex; align-items: flex-start; gap: 10px; list-style: none; padding: 4px 0 }
.doc-body .faq-item summary::-webkit-details-marker { display: none }
.doc-body .faq-item summary::before { content: 'Q'; color: var(--brand); font-weight: 900; margin-right: 2px; flex-shrink: 0 }
.doc-body .faq-item summary::after { content: '＋'; margin-left: auto; color: var(--muted); font-weight: 700; transition: transform .2s }
.doc-body .faq-item[open] summary::after { transform: rotate(45deg); color: var(--sell) }
.doc-body .faq-item .answer { padding: 10px 0 4px 20px; color: var(--ink-2); font-size: 13.5px; line-height: 1.75; border-left: 2px solid var(--border); margin-left: 6px; margin-top: 8px }
.doc-body .faq-item .answer::before { content: 'A. '; color: var(--sell); font-weight: 900 }

@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; gap: 16px }
  .doc-toc { position: static; max-height: none; order: -1 }
  .doc-body { padding: 24px 20px }
  .doc-head { padding: 24px 22px }
  .doc-head h1 { font-size: 24px }
  .doc-body .fraud-list { grid-template-columns: 1fr }
}

/* ============================================
   회원가입 — 동의 상세 패널
   ============================================ */
.agree-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; background: #fff; transition: border-color .2s }
.agree-item[open] { border-color: var(--brand); box-shadow: 0 4px 12px rgba(91,44,214,.08) }
.agree-item summary { cursor: pointer; padding: 12px 14px; display: flex; align-items: center; gap: 10px; list-style: none; font-size: 13.5px; font-weight: 600; color: var(--ink-2) }
.agree-item summary::-webkit-details-marker { display: none }
.agree-item summary .req { color: var(--sell); font-weight: 800; font-size: 11.5px; background: rgba(244,63,94,.1); padding: 2px 7px; border-radius: 4px }
.agree-item summary .opt { color: var(--muted); font-weight: 800; font-size: 11.5px; background: var(--surface-3); padding: 2px 7px; border-radius: 4px }
.agree-item summary .ex { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 600 }
.agree-item summary input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--brand); margin: 0 }
.agree-item[open] summary .ex::after { content: ' 접기 ▲' }
.agree-item summary .ex::after { content: ' 자세히 ▼' }
.agree-item .detail { padding: 0 16px 14px; border-top: 1px solid var(--border); margin-top: 2px; padding-top: 14px; font-size: 12.5px; line-height: 1.7; color: var(--muted); max-height: 220px; overflow-y: auto }
.agree-item .detail h5 { margin: 10px 0 4px; font-size: 12.5px; color: var(--ink-2); font-weight: 800 }
.agree-item .detail ul { padding-left: 18px; margin: 4px 0 }
.agree-all { background: linear-gradient(135deg,#F0F4FF,#FDF4FF); border: 1.5px solid var(--brand); border-radius: 10px; padding: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; color: var(--brand-ink); cursor: pointer }
.agree-all input { width: 20px; height: 20px; accent-color: var(--brand) }

/* ============================================
   반응형 보정 — 태블릿·모바일
   ============================================ */

/* ---------- 태블릿 (≤ 1120px) ---------- */
@media (max-width: 1120px) {
  /* 메인 2단 → 1단, 사이드 리워드 상단 가로 카드로 */
  .main-split { grid-template-columns: 1fr; gap: 20px }
  .side-reward { position: static; margin-bottom: 4px }
  .side-reward .card {
    display: block !important;
    text-align: center;
    padding: 22px 24px;
    gap: 0;
  }
  .side-reward .card .brand-mini { display: inline-flex; margin-bottom: 10px }
  .side-reward .card h3 { font-size: 24px; margin: 0 0 6px 0; letter-spacing: -.03em }
  .side-reward .card p {
    font-size: 12.5px; max-width: 480px; margin: 0 auto 16px;
    line-height: 1.5;
  }
  /* 퍼센트 박스 가로 2열 */
  .side-reward .card .pct-box {
    display: inline-block !important;
    width: calc(50% - 8px);
    vertical-align: top;
    margin: 0 3px !important;
    flex: 0 1 auto !important;
  }
  .side-reward .pct-box .pct { font-size: 24px }
  .side-reward .pct-box .pct-nm { font-size: 12px }
  .side-reward .pct-box .pct-dc { font-size: 11px }

  /* 액션 바 간격 */
  .action-bar .wrap { gap: 20px }
}

/* ---------- 작은 태블릿·큰 폰 (≤ 900px) ---------- */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr }
  .util-grid { grid-template-columns: repeat(4, 1fr); min-height: 0; padding: 14px }
  .util-tile { padding: 10px 4px }
  .util-tile .ic { width: 40px; height: 40px; font-size: 18px }
  .util-tile .nm { font-size: 11px }

  .rank-grid { grid-template-columns: 1fr 1fr; gap: 12px }
  .yt-grid { grid-template-columns: 1fr 1fr }
  .benefits-grid { grid-template-columns: 1fr }
  .bottom-grid { grid-template-columns: 1fr }
}

/* ---------- 폰 (≤ 720px) ---------- */
@media (max-width: 720px) {
  .container { padding: 0 14px }

  /* 프로모 띠: 알약 버튼 숨김, 폰트 축소, 좌우 패딩 확보 */
  .promo-band { padding: 10px 0 }
  .promo-band .inner {
    font-size: 12.5px; padding: 0 44px;
    flex-wrap: nowrap; gap: 6px; justify-content: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.3;
  }
  .promo-band .pill-sm { display: none }
  .promo-band .rocket { font-size: 18px }
  .promo-band .em { font-size: 13px }
  .promo-band .close {
    right: 10px; font-size: 11px; padding: 2px 6px;
    background: rgba(0,0,0,.06); border-radius: 6px;
  }

  /* 유틸리티 바 */
  .topbar .inner { height: auto; padding: 8px 0; flex-wrap: wrap; gap: 10px }
  .topbar .right { gap: 12px; margin-left: 0; width: 100%; justify-content: flex-end }

  /* 메인 헤더 */
  .header-main { padding: 14px 0 }
  .header-main .wrap { grid-template-columns: 1fr; gap: 12px }
  .brand-logo { justify-content: center }
  .brand-logo .mark { width: 42px; height: 42px; font-size: 18px }
  .brand-logo .name { font-size: 20px }
  .brand-logo .award { font-size: 10px }
  .payment-badge { display: none }

  /* 검색바: 토글 깨짐 방지 */
  .search-main {
    border-width: 2.5px; padding: 3px 5px 3px 10px;
    flex-wrap: nowrap;
  }
  .toggle-group {
    padding-right: 8px; margin-right: 4px; gap: 2px;
    flex-shrink: 0;
  }
  .toggle-group label {
    padding: 7px 10px; font-size: 12.5px;
    white-space: nowrap !important;
    flex-shrink: 0;
    min-width: 44px;
    justify-content: center;
  }
  .search-main input.q {
    font-size: 13px; padding: 10px 6px;
    min-width: 0;
  }
  .search-main input.q::placeholder { font-size: 12px }
  .search-main .search-btn {
    width: 40px; height: 40px; font-size: 15px;
    flex-shrink: 0;
  }

  /* 서버 칩: 가로 스크롤 */
  .chip-row { padding: 10px 0 }
  .chip-row .wrap {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .chip-row .wrap::-webkit-scrollbar { display: none }
  .chip {
    font-size: 12.5px; padding: 7px 13px;
    white-space: nowrap; flex-shrink: 0;
  }

  /* 액션 바: 3x2 그리드 + 미니 아이콘 하단 분리 */
  .action-bar { padding: 14px 0 }
  .action-bar .wrap {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 8px;
    justify-items: center;
  }
  .action-bar .sep { display: none }
  .action-bar .mini-group {
    grid-column: 1 / -1;
    justify-content: center;
    gap: 14px;
    margin: 0;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    width: 100%;
  }
  .action-tile { min-width: 0; width: 100% }
  .action-tile .ic { width: 44px; height: 44px; font-size: 20px }
  .action-tile .nm { font-size: 12px }
  .action-bar .mini { width: 40px; height: 40px; font-size: 16px }

  /* Hero 프로모 */
  .hero-promo { padding: 24px 22px; min-height: 180px }
  .hero-promo h2 { font-size: 22px; line-height: 1.3 }
  .hero-promo .label { font-size: 11px; margin-bottom: 8px }
  .hero-promo p { font-size: 12.5px; margin-bottom: 14px }
  .hero-promo .cta { padding: 8px 14px; font-size: 12.5px }
  .hero-promo .chars { font-size: 26px; right: 10px; bottom: 10px; gap: 2px }

  /* Util 그리드: 4열 유지, 더 조밀하게 */
  .util-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 12px }
  .util-tile { padding: 10px 3px; gap: 4px }
  .util-tile .ic { width: 34px; height: 34px; font-size: 15px }
  .util-tile .nm { font-size: 10.5px; line-height: 1.25 }

  /* 사이드 리워드: 1열 세로 */
  .side-reward .card { padding: 20px 18px }
  .side-reward .card h3 { font-size: 22px }
  .side-reward .card .pct-box {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px 0 !important;
  }
  .side-reward .card .pct-box:last-child { margin-bottom: 0 !important }

  /* 섹션 헤드 */
  .sec-head h2 { font-size: 20px }
  .sec-head .more { position: static; display: block; text-align: right; font-size: 12px }
  .benefits h2 { font-size: 22px }
  .yt-sec h2 { font-size: 20px }

  /* 랭크 카드 1열 */
  .rank-grid { grid-template-columns: 1fr }

  /* 혜택 카드 */
  .benefit-card { padding: 22px 20px }
  .benefit-card h3 { font-size: 17px }
  .benefit-card p { font-size: 12.5px }
  .benefit-card .num-bg { font-size: 90px }

  /* 유튜브 */
  .yt-grid { grid-template-columns: 1fr; gap: 12px }
  .yt-card .thumb { height: 180px; font-size: 32px }

  /* CS 센터 */
  .cs-center .tel { font-size: 22px }

  /* 플로팅 챗봇 */
  .fab { width: 52px; height: 52px; font-size: 22px; right: 16px; bottom: 16px }

  /* 푸터: 2열, 브랜드 줄바꿈 방지 */
  footer { padding: 32px 0 20px 0 }
  footer .cols { grid-template-columns: 1fr 1fr; gap: 24px 20px }
  footer .brand-wrap { white-space: nowrap }
  footer .cols .col:first-child { grid-column: 1 / -1 }
  footer .cols .col h4 { font-size: 12.5px }
  footer .cols .col a { font-size: 12px }

  /* 매물 상세: 그리드 1열 */
  .listing-hero { padding: 22px 20px }
  .listing-hero .stats { grid-template-columns: 1fr 1fr; gap: 14px }
  .listing-hero .stats .st .v { font-size: 22px }

  /* 거래 진행 그리드 */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr }

  main { padding-bottom: 30px }
  main .container { padding-top: 14px !important }
}

/* ---------- 작은 폰 (≤ 480px) ---------- */
@media (max-width: 480px) {
  .promo-band .inner { font-size: 11.5px; padding: 0 42px }
  .promo-band .em { font-size: 12px }

  .brand-logo .mark { width: 38px; height: 38px; font-size: 16px }
  .brand-logo .name { font-size: 18px }

  /* 검색바: 더 타이트 */
  .search-main { padding: 3px 4px 3px 8px; border-width: 2px }
  .toggle-group { padding-right: 6px; margin-right: 3px }
  .toggle-group label {
    padding: 6px 9px; font-size: 11.5px;
    min-width: 40px;
  }
  .search-main input.q { font-size: 12.5px }
  .search-main input.q::placeholder { font-size: 11.5px }
  .search-main .search-btn { width: 36px; height: 36px; font-size: 14px }

  /* 서버 칩: 글자 축소 */
  .chip { font-size: 11.5px; padding: 6px 11px }
  .chip .tag { font-size: 8px; padding: 1px 4px }

  /* 액션 타일: 더 작게 */
  .action-tile .ic { width: 40px; height: 40px; font-size: 18px }
  .action-tile .nm { font-size: 11px }

  /* Util 그리드 */
  .util-tile .nm { font-size: 10px }

  /* Hero 프로모 */
  .hero-promo { padding: 20px 18px }
  .hero-promo h2 { font-size: 19px }
  .hero-promo .chars { font-size: 20px }

  /* 섹션 */
  .sec-head h2 { font-size: 18px }
  .benefits h2 { font-size: 20px }
  .yt-sec h2 { font-size: 18px }

  /* 혜택 */
  .benefit-card { padding: 20px 18px }
  .benefit-card h3 { font-size: 16px }
  .benefit-card .num-bg { font-size: 70px }

  /* CS */
  .cs-center .tel { font-size: 20px }

  /* 푸터: 1열 */
  footer .cols { grid-template-columns: 1fr }
  footer .cols .col { text-align: left }

  /* 서버 칩 1~2줄 */
  .chip-row { padding: 8px 0 }

  /* 가격 큰 숫자 */
  .price-big { font-size: 24px }

  /* 폼 입력 */
  .form input[type=text], .form input[type=email], .form input[type=password],
  .form input[type=number], .form textarea, .form select {
    padding: 11px 12px; font-size: 14px;
  }

  /* 플래시 배너 */
  .banner-progress .inner { font-size: 12px; flex-wrap: wrap; gap: 8px }
}

/* ============ 상단 특허 배너 (프로모띠 대체) ============ */
.hero-banner {
  background: #11A9F1;
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 0;
  position: relative;
}
.hero-banner .inner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-banner a {
  display: block;
  max-width: 1100px;
  width: 100%;
  line-height: 0;
}
.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-banner .close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.1);
  color: #333;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,.08);
  transition: all .15s ease;
}
.hero-banner .close:hover {
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,.15);
}

/* ============ 검색 옆 결제사 로고 ============ */
.payment-badge { gap: 10px }
.payment-badge .pay-logo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
  height: 54px;
  min-width: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s ease, transform .15s ease;
}
.payment-badge .pay-logo:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  transform: translateY(-1px);
}
.payment-badge .pay-logo img {
  max-height: 32px;
  max-width: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 980px) {
  .payment-badge .pay-logo { height: 46px; min-width: 72px; padding: 7px 10px }
  .payment-badge .pay-logo img { max-height: 26px; max-width: 72px }
}

@media (max-width: 720px) {
  .hero-banner { padding: 8px 0 }
  .hero-banner a { border-radius: 8px }
}

/* ============ 메인 비주얼 슬라이더 ============ */
.main-visual {
  position: relative;
  margin: 20px 0 24px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  background: #111;
  aspect-ratio: 24/7;
}
.main-visual .mv-track { position: absolute; inset: 0 }
.main-visual .mv-slide {
  position: absolute;
  inset: 0;
  display: block;
  line-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}
.main-visual .mv-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.main-visual .mv-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-visual .mv-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity .2s ease, background .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-visual:hover .mv-nav { opacity: 1 }
.main-visual .mv-nav:hover { background: rgba(0,0,0,.6) }
.main-visual .mv-prev { left: 14px }
.main-visual .mv-next { right: 14px }
.main-visual .mv-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.main-visual .mv-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.main-visual .mv-dot:hover { background: rgba(255,255,255,.8) }
.main-visual .mv-dot.active { background: #fff; transform: scale(1.2) }

@media (max-width: 900px) {
  .main-visual { aspect-ratio: 16/7; margin: 14px 0 18px; border-radius: 12px }
  .main-visual .mv-nav { width: 32px; height: 32px; font-size: 20px }
  .main-visual .mv-prev { left: 8px }
  .main-visual .mv-next { right: 8px }
}

/* ============ 카테고리 카드 (아데나/아이템/계정) ============ */
.cat-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.cat-bar .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}
.cat-card {
  position: relative;
  background: #F5F5F7;
  border: 1px solid #ECECEF;
  border-radius: 16px;
  padding: 22px 10px 18px;
  text-align: center;
  text-decoration: none;
  color: #B5B6BF;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.cat-card .ic {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 10px;
  filter: grayscale(.5);
  opacity: .55;
}
.cat-card .nm {
  font-size: 16px;
  font-weight: 800;
  color: #8B8C97;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.cat-card .sub {
  font-size: 12px;
  color: #B5B6BF;
  font-weight: 600;
}
/* 활성 카드 (아데나) */
.cat-card.active {
  background: #1A1A24;
  border-color: #1A1A24;
  color: #fff;
  box-shadow: 0 6px 18px rgba(26,26,36,.25);
}
.cat-card.active:hover {
  box-shadow: 0 12px 24px rgba(26,26,36,.35);
}
.cat-card.active .ic {
  filter: none;
  opacity: 1;
  text-shadow: 0 0 12px rgba(180,120,255,.5);
}
.cat-card.active .nm {
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}
.cat-card.active .sub {
  color: #B4B5C8;
  font-weight: 700;
}

@media (max-width: 720px) {
  .cat-bar { padding: 12px 0 }
  .cat-bar .wrap { gap: 8px; padding: 0 12px }
  .cat-card { padding: 16px 6px 12px; border-radius: 12px }
  .cat-card .ic { font-size: 32px; margin-bottom: 6px }
  .cat-card .nm { font-size: 14px }
  .cat-card.active .nm { font-size: 15px }
  .cat-card .sub { font-size: 11px }
}

/* ============ 액션바 아이콘 박스 (파스텔 토널 디자인) ============ */
.action-bar { padding: 20px 0 }
.action-bar .wrap { gap: 42px }
.action-tile { min-width: 76px; gap: 8px }
.action-tile .ic {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.6);
}
.action-tile .nm { font-size: 13.5px; font-weight: 800; letter-spacing: -.01em; color: #3F3F46 }

/* 색상 톤 */
.action-tile.tone-sell  .ic { background: linear-gradient(135deg,#FFE1E4 0%,#FFC9CF 100%); color: #E11D48 }
.action-tile.tone-buy   .ic { background: linear-gradient(135deg,#E0ECFF 0%,#C7DBFF 100%); color: #2563EB }
.action-tile.tone-my    .ic { background: linear-gradient(135deg,#EDE4FF 0%,#D9C8FF 100%); color: #7C3AED }
.action-tile.tone-event .ic { background: linear-gradient(135deg,#F3E0FF 0%,#E0BFFF 100%); color: #9333EA }
.action-tile.tone-guide .ic { background: linear-gradient(135deg,#DFF5EC 0%,#B9E7D5 100%); color: #059669 }
.action-tile.tone-coupon .ic { background: linear-gradient(135deg,#FFE4EC 0%,#FFC5D6 100%); color: #DB2777 }

/* 호버 */
.action-tile:hover .ic {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 10px 22px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.7);
}
.action-tile:hover .nm { color: #111827 }

/* HOT 뱃지 재조정 (큰 아이콘 기준) */
.action-tile.hot::after {
  top: -8px;
  right: 8px;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(225,29,72,.35);
}

/* 미니 버튼 */
.action-bar .mini {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #F4F2FA;
  color: #7C3AED;
  box-shadow: 0 2px 6px rgba(0,0,0,.04), inset 0 1px 0 rgba(255,255,255,.6);
}
.action-bar .mini:hover { background: #7C3AED; color: #fff }
.action-bar .sep { height: 44px }

@media (max-width: 720px) {
  .action-bar { padding: 14px 0 }
  .action-bar .wrap { gap: 14px }
  .action-tile { min-width: 60px; gap: 5px }
  .action-tile .ic { width: 50px; height: 50px; font-size: 24px; border-radius: 14px }
  .action-tile .nm { font-size: 12px }
  .action-bar .mini { width: 38px; height: 38px; font-size: 16px; border-radius: 12px }
  .action-bar .sep { height: 36px }
}

/* ============ 액션 카드 (큰 흰 카드, 호버 시 색상) ============ */
.action-bar { padding: 20px 0 }
.action-bar .wrap {
  display: flex;
  gap: 14px;
  justify-content: stretch;
  align-items: stretch;
  flex-wrap: nowrap;
}
.action-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  flex: 1 1 0;
  min-width: 0;
  padding: 26px 12px 16px;
  background: #FFFFFF;
  border: 1px solid #ECECEF;
  border-radius: 16px;
  text-decoration: none;
  color: #52525B;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
  transition: background .2s ease, border-color .2s ease, color .2s ease,
              transform .2s ease, box-shadow .2s ease;
}
.action-tile .ic {
  width: auto;
  height: auto;
  background: none !important;
  box-shadow: none !important;
  font-size: 46px;
  line-height: 1;
  margin-bottom: 14px;
  filter: grayscale(.15);
  transition: filter .2s ease, transform .25s ease;
}
.action-tile .nm {
  font-size: 15px;
  font-weight: 800;
  color: #1F2937;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.action-tile .sub {
  font-size: 11.5px;
  font-weight: 700;
  color: #A1A1AA;
  background: #F5F5F7;
  padding: 6px 10px;
  border-radius: 999px;
  width: 100%;
  text-align: center;
  transition: background .2s ease, color .2s ease;
}

/* 공통 호버: 떠오름 */
.action-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
}
.action-tile:hover .ic { filter: none; transform: scale(1.08) }

/* 톤별 호버 배경/테두리/서브 */
.action-tile.tone-sell:hover  { background: linear-gradient(180deg,#FFF1F3 0%,#FFE1E5 100%); border-color: #FFC9CF }
.action-tile.tone-sell:hover  .sub { background: #fff; color: #E11D48 }
.action-tile.tone-sell:hover  .nm  { color: #BE123C }

.action-tile.tone-buy:hover   { background: linear-gradient(180deg,#EEF4FF 0%,#DCE8FF 100%); border-color: #C7DBFF }
.action-tile.tone-buy:hover   .sub { background: #fff; color: #2563EB }
.action-tile.tone-buy:hover   .nm  { color: #1D4ED8 }

.action-tile.tone-my:hover    { background: linear-gradient(180deg,#F4EEFF 0%,#E6D8FF 100%); border-color: #D9C8FF }
.action-tile.tone-my:hover    .sub { background: #fff; color: #7C3AED }
.action-tile.tone-my:hover    .nm  { color: #6D28D9 }

.action-tile.tone-event:hover { background: linear-gradient(180deg,#FAEBFF 0%,#EFCFFF 100%); border-color: #E0BFFF }
.action-tile.tone-event:hover .sub { background: #fff; color: #9333EA }
.action-tile.tone-event:hover .nm  { color: #7E22CE }

.action-tile.tone-guide:hover { background: linear-gradient(180deg,#EBF8F2 0%,#D1EEE1 100%); border-color: #B9E7D5 }
.action-tile.tone-guide:hover .sub { background: #fff; color: #059669 }
.action-tile.tone-guide:hover .nm  { color: #047857 }

.action-tile.tone-note:hover  { background: linear-gradient(180deg,#FFF4E0 0%,#FFE6BF 100%); border-color: #FFD98A }
.action-tile.tone-note:hover  .sub { background: #fff; color: #D97706 }
.action-tile.tone-note:hover  .nm  { color: #B45309 }

/* HOT 뱃지 */
.action-tile.hot::after {
  top: -8px; right: 8px;
  font-size: 10px; padding: 2px 7px; border-radius: 6px;
  box-shadow: 0 2px 6px rgba(225,29,72,.35);
}

/* 미니 버튼 */
.action-bar .sep { width: 1px; height: 110px; background: var(--border); align-self: center }
.action-bar .mini-group { display: flex; gap: 10px; margin-left: 4px; align-self: center }
.action-bar .mini {
  width: 46px; height: 46px; border-radius: 14px;
  background: #F4F2FA; color: #7C3AED;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.action-bar .mini:hover { background: #7C3AED; color: #fff; transform: translateY(-2px) }

@media (max-width: 820px) {
  .action-tile { padding: 20px 8px 12px }
  .action-tile .ic { font-size: 40px; margin-bottom: 10px }
  .action-tile .nm { font-size: 14px; margin-bottom: 8px }
  .action-tile .sub { font-size: 11px; padding: 5px 8px }
  .action-bar .sep { height: 100px }
}
@media (max-width: 560px) {
  .action-bar .wrap { gap: 8px; flex-wrap: wrap }
  .action-tile { flex: 1 1 calc(50% - 4px) }
  .action-bar .sep { display: none }
  .action-bar .mini-group { width: 100%; justify-content: center; margin: 6px 0 0 }
}

/* ============ 서버 칩 가로 슬라이드 ============ */
.chip-row .chip-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chip-row .chip-track {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 8px;
  padding: 2px 4px;
  justify-content: flex-start;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-width: 0;
}
.chip-row .chip-track::-webkit-scrollbar { display: none }
.chip-row .chip { white-space: nowrap; flex-shrink: 0 }

.chip-row .chip-nav {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: #52525B;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  transition: all .15s ease;
  z-index: 2;
}
.chip-row .chip-nav:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: scale(1.08);
}
.chip-row .chip-nav:disabled {
  opacity: .35;
  cursor: default;
  transform: none;
  background: #fff;
  color: #A1A1AA;
  border-color: var(--border);
}

@media (max-width: 720px) {
  .chip-row .chip-nav { width: 30px; height: 30px; font-size: 17px; flex-basis: 30px }
}

/* ============ hero-promo 이미지 배너 ============ */
.hero-promo-img {
  display: block;
  padding: 0 !important;
  background: none !important;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  position: relative;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: transform .22s ease, box-shadow .22s ease;
  aspect-ratio: 1942 / 809;
}
.hero-promo-img::before,
.hero-promo-img::after,
.hero-promo-img .chars { display: none !important }
.hero-promo-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-promo-img:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
}

@media (max-width: 720px) {
  .hero-promo-img { border-radius: 12px }
}

/* ============ Util 그리드 밝은 톤 리뉴얼 ============ */
.util-grid {
  background: #FAFAFC !important;
  border: 1px solid #ECECEF;
  border-radius: 16px !important;
  padding: 16px !important;
  gap: 10px !important;
  min-height: 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.util-tile {
  background: #FFFFFF;
  border: 1px solid #ECECEF;
  border-radius: 14px !important;
  padding: 14px 8px !important;
  color: #52525B !important;
  gap: 8px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.03);
  transition: all .2s ease !important;
}
.util-tile:hover {
  background: #fff !important;
  border-color: #D9C8FF;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(124,58,237,.12);
}
.util-tile .ic {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg,#F4EEFF 0%,#E6D8FF 100%) !important;
  color: #7C3AED !important;
  font-size: 20px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.util-tile:hover .ic {
  background: linear-gradient(135deg,#EDE4FF 0%,#D9C8FF 100%) !important;
  transform: scale(1.08) rotate(-4deg) !important;
  box-shadow: 0 6px 16px rgba(124,58,237,.25) !important;
}
.util-tile .nm {
  color: #27272A !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: -.01em;
}
.util-tile:hover .nm { color: #6D28D9 !important }

/* 호버 ::before 오버레이는 밝은 톤에서 불필요 */
.util-tile::before { display: none !important }

/* 각 타일별 톤 (nth-child) */
.util-tile:nth-child(1) .ic { background: linear-gradient(135deg,#FFF4D6 0%,#FFE49C 100%) !important; color: #B45309 !important }
.util-tile:nth-child(2) .ic { background: linear-gradient(135deg,#FFE1E4 0%,#FFC9CF 100%) !important; color: #E11D48 !important }
.util-tile:nth-child(3) .ic { background: linear-gradient(135deg,#E0ECFF 0%,#C7DBFF 100%) !important; color: #2563EB !important }
.util-tile:nth-child(4) .ic { background: linear-gradient(135deg,#EDE4FF 0%,#D9C8FF 100%) !important; color: #7C3AED !important }
.util-tile:nth-child(5) .ic { background: linear-gradient(135deg,#FFE4EC 0%,#FFC5D6 100%) !important; color: #DB2777 !important }
.util-tile:nth-child(6) .ic { background: linear-gradient(135deg,#DBF2FF 0%,#B6E3FF 100%) !important; color: #0284C7 !important }
.util-tile:nth-child(7) .ic { background: linear-gradient(135deg,#DFF5EC 0%,#B9E7D5 100%) !important; color: #059669 !important }
.util-tile:nth-child(8) .ic { background: linear-gradient(135deg,#F3E0FF 0%,#E0BFFF 100%) !important; color: #9333EA !important }

/* ============ side-reward 이미지 교체 ============ */
.side-reward-img {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.side-reward-img a {
  display: block;
  line-height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(124,58,237,.12);
  transition: transform .22s ease, box-shadow .22s ease;
}
.side-reward-img a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(124,58,237,.2);
}
.side-reward-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 793 / 1983;
  object-fit: cover;
}

@media (max-width: 720px) {
  /* 세로형이라 모바일에선 숨김 */
  .side-reward-img { display: none !important }
}

/* ============ 시세 섹션 플레이스홀더 ============ */
.price-ticker-placeholder .pt-empty {
  background: linear-gradient(180deg,#F5F3FF 0%,#fff 100%);
  border: 1px dashed #D9C8FF;
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
}
.price-ticker-placeholder .pt-emoji { font-size: 38px; margin-bottom: 10px }
.price-ticker-placeholder .pt-msg {
  font-size: 15px;
  font-weight: 800;
  color: #6D28D9;
  margin-bottom: 6px;
}
.price-ticker-placeholder .pt-dc {
  font-size: 12.5px;
  color: #71717A;
  line-height: 1.5;
}

/* ============ 서버별 실시간 아덴 시세 그리드 ============ */
.price-ticker .sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.price-ticker .pt-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-size: 12px;
  color: #71717A;
}
.price-ticker .pt-meta .pt-date,
.price-ticker .pt-meta .pt-fetched { font-weight: 600 }
.price-ticker .pt-meta .pt-fetched::before {
  content: '•';
  margin-right: 10px;
  color: #D4D4D8;
}

.price-ticker .pt-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.pt-card {
  background: #fff;
  border: 1px solid #ECECEF;
  border-radius: 14px;
  padding: 14px 12px 12px;
  text-decoration: none;
  color: #27272A;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pt-card:hover {
  border-color: #D9C8FF;
  box-shadow: 0 8px 18px rgba(124,58,237,.1);
  transform: translateY(-2px);
}
.pt-card .pt-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.pt-card .pt-name {
  font-size: 13px;
  font-weight: 800;
  color: #1F2937;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pt-card .pt-chg {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.pt-card .pt-chg.up   { color: #DC2626 }
.pt-card .pt-chg.down { color: #2563EB }
.pt-card .pt-chg.flat { color: #A1A1AA }

.pt-card .pt-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1.1;
}
.pt-card .pt-price b {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.03em;
}
.pt-card .pt-price .pt-won {
  font-size: 12px;
  font-weight: 700;
  color: #52525B;
  margin-left: 2px;
}
.pt-card .pt-price .pt-none {
  font-size: 12px;
  color: #A1A1AA;
  font-weight: 600;
}
.pt-card .pt-unit {
  font-size: 10.5px;
  color: #9CA3AF;
  font-weight: 600;
  margin-top: -2px;
}
.pt-card.empty { opacity: .55 }

.pt-card.pt-up    { background: linear-gradient(180deg,#FFF5F5 0%,#fff 60%) }
.pt-card.pt-down  { background: linear-gradient(180deg,#F2F7FF 0%,#fff 60%) }

.price-ticker .pt-foot {
  font-size: 11px;
  color: #A1A1AA;
  margin-top: 10px;
  text-align: right;
}

@media (max-width: 980px) {
  .price-ticker .pt-grid { grid-template-columns: repeat(4, 1fr) }
}
@media (max-width: 720px) {
  .price-ticker .pt-grid { grid-template-columns: repeat(3, 1fr); gap: 8px }
  .pt-card { padding: 12px 10px 10px }
  .pt-card .pt-name { font-size: 12px }
  .pt-card .pt-price b { font-size: 17px }
}
@media (max-width: 480px) {
  .price-ticker .pt-grid { grid-template-columns: repeat(2, 1fr) }
}

/* ============ 통합 로고 이미지 ============ */
.brand-logo-img {
  display: inline-flex;
  align-items: center;
  padding: 0 !important;
  line-height: 0;
}
.brand-logo-img img {
  display: block;
  height: 90px;
  width: auto;
  max-width: 100%;
  transition: transform .25s;
}
.brand-logo-img:hover img { transform: translateY(-1px) }

@media (max-width: 980px) {
  .brand-logo-img img { height: 72px }
}
@media (max-width: 720px) {
  .brand-logo-img img { height: 60px }
}
@media (max-width: 480px) {
  .brand-logo-img img { height: 50px }
}

/* ============ 모바일 가로 overflow 방지 ============ */
html, body { overflow-x: hidden; max-width: 100vw }
.container { box-sizing: border-box }

@media (max-width: 560px) {
  /* 안전결제 파트너 모바일 정돈 */
  .pay-partners { padding: 16px 14px; margin: 16px 0 }
  .pay-partners .pay-grid { grid-template-columns: repeat(2, 1fr); gap: 8px }
  .pay-slot { padding: 24px 8px 14px; min-height: 68px }
  .pay-slot .status {
    top: 6px; right: 8px;
    font-size: 9.5px;
    white-space: nowrap;
  }
  .pay-slot .logo-txt { font-size: 13px }
  .pay-slot img { max-width: 75%; max-height: 24px }

  /* 메인 비주얼: 더 낮은 비율 유지 */
  .main-visual { aspect-ratio: 16/8 }

  /* 가격 티커 폰트 축소 */
  .pt-card .pt-price b { font-size: 15px }
}
