/* ============================================================
   이선생 TKTX — Neon Noir Design System
   누아르 + 빨간 네온 글로우 + 약한 빤짝 애니메이션
   ============================================================ */

:root {
  /* Color Tokens */
  --bg-base: #07070b;
  --bg-elev1: #0e0e14;
  --bg-elev2: #16161e;
  --bg-card: rgba(20, 20, 28, 0.65);
  --border-subtle: rgba(255, 51, 51, 0.18);
  --border-strong: rgba(255, 51, 51, 0.5);

  --neon-red: #ff2a2a;
  --neon-red-soft: #ff5a5a;
  /* 2026-04-28: 네온 강도 약화 — 헤더 로고 + hero stamp 시인성 개선 (사용자 요청) */
  --neon-red-glow: 0 0 3px #ff2a2a, 0 0 8px #ff2a2a33;
  --neon-red-glow-soft: 0 0 2px #ff2a2a;
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: 0 0 6px #00f0ff, 0 0 14px #00f0ff44;
  --neon-amber: #ffb83d;

  --text-primary: #f5f5f7;
  --text-secondary: #a8a8b3;
  --text-muted: #6a6a78;
  --text-dim: #4a4a55;

  /* Type */
  --font-display: 'Orbitron', 'Pretendard', system-ui, sans-serif;
  --font-body: 'Pretendard', 'Rajdhani', system-ui, sans-serif;
  --font-kr: 'Black Han Sans', 'Pretendard', sans-serif;

  /* Sizing */
  --container: 1180px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 72px;
  --space-9: 100px;

  --shadow-card: 0 6px 30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,42,42,0.08) inset;
}

/* ============================================================
   Reset + Capture Block
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  /* 캡쳐/스크랩 방지 */
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* 입력 필드는 선택 허용 */
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

img {
  max-width: 100%;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* ============================================================
   Background — 글리치 그리드 + 약한 노이즈
   ============================================================ */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,42,42,0.18), transparent 60%),
    radial-gradient(ellipse at 90% 90%, rgba(0,240,255,0.06), transparent 65%),
    linear-gradient(180deg, #07070b 0%, #0a0a10 100%);
  z-index: -2;
}

body::after {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,42,42,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,42,42,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: -1;
  animation: grid-drift 60s linear infinite;
}

@keyframes grid-drift {
  to { background-position: 48px 48px, 48px 48px; }
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

section {
  padding: var(--space-9) 0;
  position: relative;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,7,11,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--space-5);
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  font-family: var(--font-kr);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--neon-red);
  text-shadow: var(--neon-red-glow);
}

.nav-menu {
  display: flex;
  gap: var(--space-5);
  list-style: none;
}

.nav-menu a {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: -0.2px;
  color: var(--text-secondary);
  transition: color 0.2s, text-shadow 0.2s;
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.is-highlight {
  color: var(--neon-red);
  text-shadow: 0 0 8px var(--neon-red);
}

/* 햄버거 메뉴 — 모바일 전용 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neon-red);
  box-shadow: 0 0 6px var(--neon-red);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #0b0b10;
  /* 2026-04-28: 완전 불투명 배경으로 변경 + z-index 강화 — 뒷배경 비치는 이슈 해결 */
  z-index: 9000;
  display: none;
  padding: 80px 32px 32px;
  overflow-y: auto;
}
.mobile-drawer.is-open { display: block; animation: fade-in 0.25s ease-out; }
.drawer-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  color: var(--neon-red);
}
.drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-menu li {
  border-bottom: 1px solid var(--border-subtle);
}
.drawer-menu a {
  display: block;
  padding: 18px 8px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}
.drawer-menu a.is-highlight {
  color: var(--neon-amber);
  text-shadow: 0 0 6px var(--neon-amber);
}
.drawer-menu a.is-highlight::before {
  content: '●';
  margin-right: 8px;
  color: var(--neon-red);
}

/* 공지사항 강조 (다른 메뉴 대비) */
.nav-menu a.is-highlight {
  position: relative;
  color: var(--neon-amber);
  text-shadow: 0 0 6px var(--neon-amber);
  animation: pulse-glow 2s ease-in-out infinite;
}

.nav-menu a.is-highlight::before {
  content: '●';
  margin-right: 6px;
  color: var(--neon-red);
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 6px var(--neon-amber); }
  50% { text-shadow: 0 0 14px var(--neon-amber), 0 0 24px var(--neon-amber); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15,5,5,0.5) 0%, rgba(40,8,8,0.7) 40%, rgba(7,7,11,0.95) 100%),
    radial-gradient(ellipse at center 40%, rgba(180,30,30,0.55) 0%, transparent 60%);
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(255,42,42,0.22), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(180,30,30,0.16), transparent 60%);
  filter: blur(20px);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute; inset: 24px;
  /* 2026-04-29 — 사방 빨간 얇은 테두리 또렷하게 (고객 요청).
     기존 0.18 알파 → 0.7 + neon-red 톤으로 코너 마크와 연결돼 보임 */
  border: 1px solid rgba(255,42,42,0.7);
  box-shadow: 0 0 6px rgba(255,42,42,0.25);
  pointer-events: none;
  z-index: 1;
}

.hero-corner {
  position: absolute;
  width: 36px; height: 36px;
  border-color: var(--neon-red);
  border-style: solid;
  z-index: 2;
}
.hero-corner.tl { top: 24px; left: 24px; border-width: 1px 0 0 1px; }
.hero-corner.tr { top: 24px; right: 24px; border-width: 1px 1px 0 0; }
.hero-corner.bl { bottom: 24px; left: 24px; border-width: 0 0 1px 1px; }
.hero-corner.br { bottom: 24px; right: 24px; border-width: 0 1px 1px 0; }

.hero-stamp {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--text-muted);
  text-transform: uppercase;
  z-index: 2;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: max-content;
  max-width: calc(100vw - 24px);
}
.hero-stamp .item { white-space: nowrap; }
.hero-stamp .dot { color: var(--neon-red); text-shadow: 0 0 2px var(--neon-red); flex-shrink: 0; }
.hero-stamp .item::before { content: '['; margin-right: 4px; color: var(--text-dim); }
.hero-stamp .item::after { content: ']'; margin-left: 4px; color: var(--text-dim); }

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 var(--space-5);
}

.hero h1 {
  font-family: var(--font-kr);
  font-weight: 700;
  font-size: clamp(48px, 12vw, 140px);
  letter-spacing: -2px;
  color: #fff;
  /* 2026-04-28: 네온 강도 절반 이하로 축소 (사용자 요청) — 4겹 → 3겹 + 폭/투명도 모두 50%↓ */
  text-shadow:
    0 0 2px rgba(255,42,42,0.55),
    0 0 6px rgba(255,42,42,0.3),
    0 0 14px rgba(255,42,42,0.18),
    0 2px 0 rgba(0,0,0,0.5);
  animation: neon-flicker 3.5s ease-in-out infinite;
  margin-bottom: var(--space-3);
  line-height: 1;
}

@keyframes neon-flicker {
  0%, 100%, 18%, 22%, 25%, 53%, 57%, 60% {
    text-shadow:
      0 0 2px rgba(255,42,42,0.55),
      0 0 6px rgba(255,42,42,0.3),
      0 0 14px rgba(255,42,42,0.18),
      0 2px 0 rgba(0,0,0,0.5);
    opacity: 1;
  }
  20%, 24%, 55%, 58% {
    text-shadow:
      0 0 1px rgba(255,42,42,0.35),
      0 0 4px rgba(255,42,42,0.18),
      0 2px 0 rgba(0,0,0,0.5);
    opacity: 0.92;
  }
}

.hero .tagline {
  font-family: var(--font-body);
  font-size: clamp(13px, 2vw, 18px);
  letter-spacing: 4px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: var(--space-4);
}

.hero .subtitle {
  font-size: clamp(15px, 2.4vw, 22px);
  color: var(--text-primary);
  margin-top: var(--space-5);
  letter-spacing: 1px;
}

/* ============================================================
   Section Heading
   ============================================================ */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: var(--space-3);
}

.section-head h2 {
  font-family: var(--font-body);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  position: relative;
}

.section-head h2::before {
  content: '/';
  color: var(--neon-red);
  margin-right: 12px;
  text-shadow: var(--neon-red-glow);
}

.section-head .meta {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================================
   Mente (브랜드 인트로)
   ============================================================ */
.mente {
  text-align: center;
  padding: var(--space-8) var(--space-5);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, transparent, rgba(255,42,42,0.03), transparent);
}

.mente .body {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 720px;
  margin: 0 auto;
  white-space: pre-wrap;
}

/* ============================================================
   Notices
   ============================================================ */
.notice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.notice-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(6px);
  flex-wrap: nowrap;
  min-height: 56px;
}

.notice-item:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
  box-shadow: 0 0 16px rgba(255,42,42,0.15);
}

.notice-item.is-pinned {
  border-color: var(--neon-amber);
  box-shadow: 0 0 16px rgba(255,184,61,0.2);
}

.notice-item.is-pinned::before {
  content: 'PIN';
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  background: var(--neon-amber);
  color: #000;
  padding: 3px 7px;
  letter-spacing: 1px;
  flex-shrink: 0;
  border-radius: 2px;
}

.notice-item .title {
  flex: 1;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.3px;
  min-width: 0;
  word-break: keep-all;
}

.notice-item .date {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   Products (40% / 60% / 9개 박스 / 만통롤라)
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-5);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s;
  position: relative;
  backdrop-filter: blur(6px);
}

.product-card:hover {
  border-color: var(--neon-red);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6), 0 0 24px rgba(255,42,42,0.25);
}

.product-card .image {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,42,42,0.15), transparent 60%),
    linear-gradient(135deg, #1a0e0e 0%, #0a0a14 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .image::before {
  content: attr(data-label);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: 4px;
  color: var(--placeholder-color, rgba(255,42,42,0.45));
  text-shadow: 0 0 20px var(--placeholder-glow, rgba(255,42,42,0.4));
}

.product-card .image[data-has-image="1"]::before { display: none; }

/* 제품별 차별화 컬러 — admin이 image_url 주기 전 임시 placeholder */
.product-card:nth-child(4n+1) .image { --placeholder-color: rgba(255,42,42,0.5); --placeholder-glow: rgba(255,42,42,0.4); }
.product-card:nth-child(4n+2) .image { --placeholder-color: rgba(0,240,255,0.55); --placeholder-glow: rgba(0,240,255,0.35); }
.product-card:nth-child(4n+3) .image { --placeholder-color: rgba(255,184,61,0.55); --placeholder-glow: rgba(255,184,61,0.35); }
.product-card:nth-child(4n+4) .image { --placeholder-color: rgba(220,90,255,0.55); --placeholder-glow: rgba(220,90,255,0.35); }

.product-card:nth-child(4n+1) .image { background: radial-gradient(ellipse at 30% 30%, rgba(255,42,42,0.18), transparent 60%), linear-gradient(135deg, #2a0a0e, #0a0a14); }
.product-card:nth-child(4n+2) .image { background: radial-gradient(ellipse at 30% 30%, rgba(0,240,255,0.16), transparent 60%), linear-gradient(135deg, #0a1a24, #0a0a14); }
.product-card:nth-child(4n+3) .image { background: radial-gradient(ellipse at 30% 30%, rgba(255,184,61,0.16), transparent 60%), linear-gradient(135deg, #241c0a, #0a0a14); }
.product-card:nth-child(4n+4) .image { background: radial-gradient(ellipse at 30% 30%, rgba(220,90,255,0.16), transparent 60%), linear-gradient(135deg, #1d0a24, #0a0a14); }

.product-card .image::after {
  /* 워터마크 */
  content: 'TKTX · 정품';
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.product-card .body {
  padding: var(--space-4);
}

.product-card .name {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.product-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2.4cqi, 22px);
  color: var(--neon-red);
  text-shadow: 0 0 6px rgba(255,42,42,0.5);
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: var(--space-3);
  letter-spacing: -0.5px;
  word-break: keep-all;
}

.product-card .price::before {
  content: '₩';
  font-size: 0.7em;
  color: var(--neon-red-soft);
  margin-right: 2px;
}

.product-card .desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: var(--space-2);
}

/* ============================================================
   QnA (아코디언)
   ============================================================ */
.qna-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.qna-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.qna-item summary {
  list-style: none;
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.3px;
  position: relative;
}

.qna-item summary::-webkit-details-marker { display: none; }

.qna-item summary::before {
  content: 'Q';
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--neon-red);
  text-shadow: 0 0 6px var(--neon-red);
  font-size: 18px;
  flex-shrink: 0;
}

.qna-item summary::after {
  content: '+';
  margin-left: auto;
  color: var(--text-muted);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.2s;
}

.qna-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--neon-red);
}

.qna-item[open] {
  border-color: var(--border-strong);
}

.qna-item .answer {
  padding: 0 var(--space-5) var(--space-5) var(--space-5);
  border-top: 1px solid var(--border-subtle);
  margin-top: var(--space-3);
  padding-top: var(--space-4);
  color: var(--text-secondary);
  white-space: pre-wrap;
  line-height: 1.7;
}

.qna-item .external-cta {
  display: inline-block;
  margin-top: var(--space-4);
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
  text-shadow: var(--neon-cyan-glow);
}

.qna-item .external-cta:hover {
  background: var(--neon-cyan);
  color: #000;
  text-shadow: none;
  box-shadow: 0 0 16px var(--neon-cyan);
}

.qna-item .external-cta::after {
  content: ' ↗';
  margin-left: 4px;
}

/* ============================================================
   Reviews (그리드 + 비공개)
   ============================================================ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-4);
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(6px);
  position: relative;
  min-height: 140px;
}

.review-card:hover {
  border-color: var(--neon-red);
  transform: translateY(-3px);
}

.review-card.is-private {
  background: var(--bg-card);
  border-style: dashed;
  border-color: rgba(255,42,42,0.3);
}

.review-card .stars {
  font-size: 13px;
  color: var(--neon-amber);
  letter-spacing: 2px;
  margin-bottom: var(--space-2);
}

.review-card .body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card .author {
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.review-card .private-tag {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--neon-red);
  border: 1px solid var(--neon-red);
  padding: 2px 6px;
}

.review-card.is-private .body {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}

.review-card.is-private::after {
  content: '🔒 비공개 후기';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--neon-red);
  text-shadow: 0 0 8px rgba(255,42,42,0.6);
  background: rgba(7,7,11,0.55);
  border-radius: var(--radius-md);
  pointer-events: none;
}

/* ============================================================
   Contact Channels (4채널 버튼)
   ============================================================ */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.contact-channel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.25s;
  text-decoration: none;
  color: var(--text-primary);
  min-height: 180px;
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.contact-channel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--channel-glow, rgba(255,42,42,0.08));
  opacity: 0;
  transition: opacity 0.25s;
}

.contact-channel:hover {
  transform: translateY(-6px);
  border-color: var(--channel-color, var(--neon-red));
  box-shadow: 0 12px 30px rgba(0,0,0,0.6), 0 0 32px var(--channel-glow, rgba(255,42,42,0.35));
}

.contact-channel:hover::before { opacity: 1; }

.contact-channel .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--channel-color, var(--neon-red));
  color: var(--channel-icon-color, #fff);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px var(--channel-glow, rgba(255,42,42,0.45));
}

.contact-channel .icon svg { width: 28px; height: 28px; }

.contact-channel .label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.contact-channel .sub {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.contact-channel.is-disabled {
  filter: grayscale(0.95) brightness(0.55);
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.contact-channel.is-disabled .sub::after {
  content: ' · 교체중';
  color: var(--neon-red);
}

/* 채널별 컬러 (인스타/라인/텔레그램/카톡) */
.contact-channel.instagram {
  --channel-color: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  --channel-glow: rgba(220,39,67,0.4);
}
.contact-channel.instagram .icon {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}
.contact-channel.instagram:hover { border-color: #dc2743; }

.contact-channel.line { --channel-glow: rgba(6,199,85,0.4); }
.contact-channel.line .icon { background: #06c755; }
.contact-channel.line:hover { border-color: #06c755; }

.contact-channel.telegram { --channel-glow: rgba(34,158,217,0.4); }
.contact-channel.telegram .icon { background: #229ED9; }
.contact-channel.telegram:hover { border-color: #229ED9; }

.contact-channel.kakao { --channel-glow: rgba(253,229,0,0.45); }
.contact-channel.kakao .icon {
  background: #fde500;
  color: #3c1e1e;
}
.contact-channel.kakao:hover { border-color: #fde500; }

@media (max-width: 768px) {
  .contact-channels {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
  .contact-channel {
    min-height: 150px;
    padding: var(--space-5) var(--space-3);
  }
  .contact-channel .icon { width: 48px; height: 48px; }
  .contact-channel .icon svg { width: 24px; height: 24px; }
}

@media (max-width: 360px) {
  .contact-channels { grid-template-columns: 1fr; }
}

/* ============================================================
   Inquiry Form (사용 안 함 — admin 문의 응답용으로만 유지)
   ============================================================ */
.inquiry-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: grid;
  gap: var(--space-4);
  backdrop-filter: blur(6px);
}

.inquiry-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.inquiry-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  background: var(--bg-elev1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: var(--text-primary);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
  min-height: 48px;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: #8a8a95;
  opacity: 1;
}

.inquiry-form label {
  color: #c4c4cf;
  font-size: 12px;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--neon-red);
  box-shadow: 0 0 0 2px rgba(255,42,42,0.15);
}

.inquiry-form textarea {
  min-height: 140px;
  resize: vertical;
}

.inquiry-form .checkbox-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 14px;
}

.inquiry-form button[type="submit"] {
  padding: 14px 28px;
  background: var(--neon-red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  box-shadow: 0 0 16px rgba(255,42,42,0.4);
}

.inquiry-form button[type="submit"]:hover {
  background: #ff4040;
  box-shadow: 0 0 24px rgba(255,42,42,0.7);
  transform: translateY(-1px);
}

.kakao-channel-block {
  background: linear-gradient(135deg, #fde500, #ffd400);
  color: #3c1e1e;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s;
}

.kakao-channel-block:hover { transform: translateY(-2px); }

/* ============================================================
   Floating Buttons (우측 하단)
   ============================================================ */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 40;
}

.floating-buttons .btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20,20,28,0.85);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
  transition: all 0.25s;
  position: relative;
  color: var(--text-primary);
}

.floating-buttons .btn:hover {
  transform: scale(1.1);
  border-color: var(--neon-red);
  box-shadow: 0 0 16px rgba(255,42,42,0.4);
}

.floating-buttons .btn svg { width: 24px; height: 24px; }

.floating-buttons .btn.is-disabled {
  filter: grayscale(1) brightness(0.5);
  opacity: 0.6;
}
.floating-buttons .btn.is-disabled::after {
  content: '교체중';
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 1px;
  background: rgba(0,0,0,0.85);
  color: var(--text-muted);
  padding: 4px 8px;
  white-space: nowrap;
  border: 1px solid var(--border-subtle);
}

.floating-buttons .btn.kakao { background: #fde500; color: #3c1e1e; }
.floating-buttons .btn.kakao:hover { background: #ffe821; }

.floating-buttons .btn.line { background: #06c755; color: #fff; }
.floating-buttons .btn.telegram { background: #229ED9; color: #fff; }
.floating-buttons .btn.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

.back-to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20,20,28,0.85);
  border: 1px solid var(--neon-red);
  color: var(--neon-red);
  font-size: 22px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  backdrop-filter: blur(8px);
  text-shadow: 0 0 6px var(--neon-red);
  transition: all 0.2s;
}
.back-to-top.is-visible { display: flex; }
.back-to-top:hover { box-shadow: 0 0 16px var(--neon-red); transform: translateY(-3px); }

@media (max-width: 480px) {
  .back-to-top { left: 12px; bottom: 12px; }
}

/* ============================================================
   External Link Buttons (페이지 사이사이)
   ============================================================ */
.external-link-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  padding: var(--space-7) 0;
  border-top: 1px dashed var(--border-subtle);
  border-bottom: 1px dashed var(--border-subtle);
}

.external-link-strip .link-btn {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
}

.external-link-strip .link-btn:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 18px var(--neon-cyan);
}

.external-link-strip .link-btn::after {
  content: ' ↗';
  margin-left: 6px;
}

/* ============================================================
   Modal (긴급공지 / 후기 상세 / 문의 상세)
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: var(--space-4);
}

.modal-backdrop.is-open {
  display: flex;
  animation: fade-in 0.25s ease-out;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: var(--bg-elev1);
  border: 1px solid var(--neon-red);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  max-width: 560px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 60px rgba(255,42,42,0.4);
  animation: modal-in 0.3s ease-out;
}

@keyframes modal-in {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal .close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,42,42,0.15);
  color: var(--neon-red);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal .close:hover {
  background: var(--neon-red);
  color: #fff;
}

.modal h3 {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--neon-red);
  text-shadow: var(--neon-red-glow);
  margin-bottom: var(--space-4);
  padding-right: 40px;
}

.modal .body {
  color: var(--text-primary);
  line-height: 1.7;
  white-space: pre-wrap;
}

.modal .meta {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.modal .actions {
  margin-top: var(--space-5);
  display: flex;
  gap: var(--space-3);
}

.modal .actions button {
  flex: 1;
  padding: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.modal .actions .primary {
  background: var(--neon-red);
  color: #fff;
  border-color: var(--neon-red);
}

.modal .actions .danger {
  border-color: var(--neon-red);
  color: var(--neon-red);
}

.modal .actions button:hover {
  box-shadow: 0 0 12px rgba(255,42,42,0.4);
}

/* Urgent notice modal — 더 화려하게 */
.modal-backdrop.is-urgent .modal {
  border-color: var(--neon-amber);
  box-shadow: 0 0 80px rgba(255,184,61,0.5);
  animation: urgent-pulse 1.8s ease-in-out infinite, modal-in 0.3s ease-out;
}

@keyframes urgent-pulse {
  0%, 100% { box-shadow: 0 0 60px rgba(255,184,61,0.4); }
  50% { box-shadow: 0 0 100px rgba(255,184,61,0.7), 0 0 160px rgba(255,42,42,0.3); }
}

.modal-backdrop.is-urgent h3 {
  color: var(--neon-amber);
  text-shadow: 0 0 8px var(--neon-amber), 0 0 18px var(--neon-amber);
}

.modal-backdrop.is-urgent h3::before {
  content: '⚠ ';
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  margin-top: var(--space-9);
  padding: var(--space-7) var(--space-5);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.site-footer .brand-line {
  font-family: var(--font-kr);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--neon-red);
  text-shadow: 0 0 6px var(--neon-red);
  margin-bottom: var(--space-3);
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 768px) {
  section { padding: var(--space-7) 0; }

  /* 모바일: PC 메뉴 숨기고 햄버거 표시 */
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }

  /* 2026-04-28: 모바일 한 줄 강제 + 가독성 향상 (사용자 요청) */
  .hero-stamp { font-size: 10px; letter-spacing: 1.5px; gap: 12px; bottom: 36px; }
  .hero-stamp .item { font-size: 10px; }

  .hero { min-height: 70vh; }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .inquiry-form .row {
    grid-template-columns: 1fr;
  }

  .floating-buttons {
    right: 12px;
    bottom: 12px;
  }

  .floating-buttons .btn { width: 46px; height: 46px; }

  .container { padding: 0 var(--space-4); }

  .modal { padding: var(--space-5); }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }

  .hero h1 { letter-spacing: -1px; }

  .site-header .inner {
    padding: 0 var(--space-3);
    height: 56px;
  }

  .brand { font-size: 16px; letter-spacing: 1px; }

  /* 2026-04-28: SE/360px 폭에서도 한 줄 유지 + 가독성 (사용자 요청) */
  .hero-stamp { gap: 8px; bottom: 24px; font-size: 9px; letter-spacing: 0.8px; }
  .hero-stamp .dot { font-size: 5px; }
  /* 대괄호 [ ] 는 폭 절약 위해 그대로 숨김 */
  .hero-stamp .item::before, .hero-stamp .item::after { display: none; }

  /* hero corners 더 작게 */
  .hero-corner { width: 20px; height: 20px; }
  .hero-corner.tl, .hero-corner.tr { top: 12px; }
  .hero-corner.bl, .hero-corner.br { bottom: 12px; }
  .hero-corner.tl, .hero-corner.bl { left: 12px; }
  .hero-corner.tr, .hero-corner.br { right: 12px; }
  .hero::after { inset: 12px; }

  /* 가격 — 큰 숫자도 한 줄 */
  .product-card .price { font-size: 18px; word-break: break-all; }
  .product-card .name { font-size: 15px; }
}
