:root {
  --bg-main: #0b0d13;
  --bg-card: rgba(20, 25, 37, 0.72);
  --bg-elev: #141925;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(0, 240, 255, 0.28);
  --text: #e8edf5;
  --text-dim: #94a3b8;
  --cyan: #00f0ff;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --grad: linear-gradient(135deg, #00f0ff 0%, #8b5cf6 100%);
  --radius: 18px;
  --shadow-glow: 0 0 24px rgba(0, 240, 255, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--bg-main);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(139, 92, 246, 0.14), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.10), transparent 40%),
    linear-gradient(rgba(0, 240, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  background-attachment: fixed;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.neon-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.neon-accent { color: var(--cyan); text-shadow: 0 0 12px rgba(0, 240, 255, 0.6); }

/* ---------------- Header ---------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 13, 19, 0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-glitch {
  font-family: 'Chakra Petch', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: 2px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.4));
}
.badge-tech {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700;
  padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--cyan);
}
.nav-links { display: flex; gap: 6px; }
.nav-link {
  padding: 8px 14px; border-radius: 10px; font-size: 14px; color: var(--text-dim);
  transition: all .25s ease;
}
.nav-link i { margin-right: 4px; }
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.btn-neon-action {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: 14px;
  background: var(--grad); color: #071018;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-neon-action:hover { transform: translateY(-2px); box-shadow: 0 0 32px rgba(0, 240, 255, 0.45); }
.btn-neon-action:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-call-direct {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 14px;
  border: 1px solid var(--line-strong); color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  transition: background .2s ease;
}
.btn-call-direct:hover { background: rgba(0, 240, 255, 0.08); }

/* ---------------- Hero ---------------- */
.hero-section { padding: 80px 0 50px; position: relative; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(0, 240, 255, 0.06); border: 1px solid var(--line-strong);
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--cyan); margin-bottom: 24px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.4); } }
.hero-title { font-size: clamp(32px, 5vw, 58px); font-weight: 900; line-height: 1.22; letter-spacing: -1.5px; margin-bottom: 20px; }
.hero-sub { font-size: 17px; color: var(--text-dim); max-width: 680px; margin-bottom: 40px; }
.hero-stats-bar {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding: 22px 30px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  max-width: fit-content;
}
.stat-item { display: flex; flex-direction: column; }
.stat-label { font-size: 12px; color: var(--text-dim); }
.stat-val { font-family: 'Chakra Petch', sans-serif; font-size: 22px; font-weight: 700; }
.stat-div { width: 1px; height: 36px; background: var(--line); }

/* ---------------- Toolbar ---------------- */
.main-content { padding: 30px 0 80px; }
.control-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill {
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--line); color: var(--text-dim); background: rgba(255, 255, 255, 0.02);
  transition: all .2s ease;
}
.filter-pill:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.2); }
.filter-pill.active { color: #071018; background: var(--grad); border-color: transparent; font-weight: 700; box-shadow: var(--shadow-glow); }
.toolbar-right { display: flex; gap: 10px; align-items: center; }
.search-box {
  position: relative; display: flex; align-items: center;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px;
  transition: border-color .2s ease;
}
.search-box:focus-within { border-color: var(--cyan); box-shadow: var(--shadow-glow); }
.search-box i { color: var(--text-dim); font-size: 14px; }
.search-box input { background: none; border: none; outline: none; color: var(--text); padding: 11px 10px; width: 220px; font-size: 14px; }
.btn-clear { color: var(--text-dim); }
.view-mode-toggle { display: flex; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.mode-btn { padding: 7px 12px; border-radius: 9px; font-size: 13px; color: var(--text-dim); display: flex; gap: 6px; align-items: center; transition: all .2s; }
.mode-btn.active { background: rgba(0, 240, 255, 0.12); color: var(--cyan); }

.spec-notice-banner {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 20px; margin-bottom: 28px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.08), rgba(139, 92, 246, 0.05));
  border: 1px solid var(--line-strong);
}
.notice-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 240, 255, 0.12); color: var(--cyan); font-size: 18px; flex-shrink: 0; }
.notice-info { display: flex; flex-direction: column; font-size: 14px; color: var(--text-dim); }
.notice-info strong { color: var(--text); }

/* ---------------- Card Grid ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; }
.pc-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid var(--line); backdrop-filter: blur(12px);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s, box-shadow .35s;
  animation: fadeUp .5s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.pc-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), var(--shadow-glow); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; background: #080a0f; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pc-card:hover .card-media img { transform: scale(1.06); }
.media-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 10, 15, 0.85), transparent 50%); pointer-events: none; }
.photo-count-badge {
  position: absolute; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(8, 10, 15, 0.75); border: 1px solid var(--line-strong); color: var(--cyan);
  font-family: 'JetBrains Mono', monospace; backdrop-filter: blur(6px);
}
.grade-badge {
  position: absolute; left: 14px; top: 14px;
  padding: 5px 11px; border-radius: 8px; font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 13px;
  background: var(--grad); color: #071018;
}
.zoom-hint {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.zoom-hint span { padding: 10px 18px; border-radius: 999px; background: rgba(8, 10, 15, 0.8); border: 1px solid var(--line-strong); font-size: 13px; color: var(--cyan); }
.card-media:hover .zoom-hint { opacity: 1; }
.card-body { padding: 20px 22px 22px; }
.card-title { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 14px; min-height: 48px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.spec-chip {
  display: flex; flex-direction: column; padding: 9px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
}
.spec-chip .k { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-dim); letter-spacing: 1px; }
.spec-chip .v { font-size: 14px; font-weight: 700; }
.spec-chip .v i { color: var(--cyan); margin-right: 5px; font-size: 12px; }
.card-notes { font-size: 13px; color: var(--text-dim); margin-bottom: 18px; min-height: 40px; }
.card-notes i { color: var(--purple); margin-right: 5px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px dashed var(--line); }
.price { font-family: 'Chakra Petch', sans-serif; font-size: 26px; font-weight: 800; }
.price small { font-size: 14px; color: var(--text-dim); margin-left: 3px; font-family: 'Noto Sans KR'; }
.card-btns { display: flex; gap: 8px; }
.btn-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); transition: all .2s;
}
.btn-icon:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-icon.danger:hover { border-color: #ef4444; color: #ef4444; }
.btn-detail {
  padding: 0 16px; height: 42px; border-radius: 12px; font-weight: 700; font-size: 13px;
  background: rgba(0, 240, 255, 0.1); color: var(--cyan); border: 1px solid var(--line-strong);
  transition: all .2s;
}
.btn-detail:hover { background: var(--cyan); color: #071018; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 80px 20px; color: var(--text-dim); }
.empty-state i { font-size: 42px; margin-bottom: 14px; color: var(--line-strong); }

/* ---------------- Table View ---------------- */
.table-view-wrapper { border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-card); overflow: hidden; }
.table-responsive { overflow-x: auto; }
.comview-spec-table { width: 100%; border-collapse: collapse; min-width: 960px; }
.comview-spec-table thead th {
  padding: 16px 14px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--cyan); background: rgba(0, 240, 255, 0.05); border-bottom: 1px solid var(--line-strong);
}
.comview-spec-table tbody tr { border-bottom: 1px solid var(--line); transition: background .2s; cursor: pointer; }
.comview-spec-table tbody tr:hover { background: rgba(0, 240, 255, 0.04); }
.comview-spec-table td { padding: 12px 14px; font-size: 14px; vertical-align: middle; }
.tbl-thumb { position: relative; width: 64px; height: 48px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.tbl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tbl-thumb span { position: absolute; right: 2px; bottom: 2px; font-size: 9px; padding: 1px 4px; border-radius: 4px; background: rgba(0, 0, 0, 0.75); color: var(--cyan); font-family: 'JetBrains Mono'; }
.tbl-cpu { font-weight: 700; }
.tbl-mono { font-family: 'JetBrains Mono', monospace; }
.tbl-price { text-align: right; font-family: 'Chakra Petch', sans-serif; font-weight: 800; font-size: 17px; }
.tbl-notes { color: var(--text-dim); font-size: 13px; }
.tbl-action { text-align: center; }

/* ---------------- Lightbox ---------------- */
.lightbox-modal { position: fixed; inset: 0; z-index: 1000; display: none; height: 100vh; height: 100dvh; }
.lightbox-modal.open { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 10, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.lightbox-container { position: relative; height: 100%; display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.lightbox-header {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid var(--line); background: rgba(11, 13, 19, 0.75); z-index: 2;
  padding-top: max(12px, env(safe-area-inset-top));
}
.lightbox-title-area { display: flex; align-items: center; gap: 10px; min-width: 0; }
.badge-status-tag { padding: 4px 10px; border-radius: 7px; background: var(--grad); color: #071018; font-weight: 800; font-size: 12px; font-family: 'Chakra Petch'; flex-shrink: 0; }
.lb-title { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-counter { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--cyan); padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 999px; flex-shrink: 0; background: rgba(0, 240, 255, 0.08); }
.lightbox-tools { display: flex; gap: 6px; flex-shrink: 0; }
.tool-btn {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 15px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); transition: all .2s;
  touch-action: manipulation;
}
.tool-btn:active { transform: scale(0.92); }
.tool-btn:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: var(--shadow-glow); }
.btn-close-modal { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.3); color: #f87171; }
.btn-close-modal:hover { border-color: #ef4444; color: #fff; background: #ef4444; box-shadow: 0 0 20px rgba(239, 68, 68, 0.4); }
.lightbox-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.photo-viewport { width: 100%; height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; touch-action: none; user-select: none; -webkit-user-select: none; }
.photo-scaler { transition: transform .22s cubic-bezier(0.2, 0.8, 0.2, 1); will-change: transform; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.photo-scaler.dragging { transition: none; }
.photo-scaler img { max-width: 94%; max-height: 90%; object-fit: contain; user-select: none; -webkit-user-drag: none; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7); }
.photo-viewport.zoomed { cursor: grab; }
.photo-viewport.zoomed:active { cursor: grabbing; }
.nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 18px;
  background: rgba(11, 13, 19, 0.75); border: 1px solid var(--line-strong); color: var(--cyan);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: all .2s;
  touch-action: manipulation;
}
.nav-arrow:hover { background: var(--cyan); color: #071018; box-shadow: 0 0 30px rgba(0, 240, 255, 0.5); }
.nav-arrow:active { transform: translateY(-50%) scale(0.92); }
.prev-arrow { left: 20px; }
.next-arrow { right: 20px; }
.nav-arrow[hidden] { display: none; }
.lightbox-footer {
  padding: 12px 20px; border-top: 1px solid var(--line); background: rgba(11, 13, 19, 0.75); z-index: 2;
  padding-bottom: max(14px, env(safe-area-inset-bottom));
}
.thumb-strip-wrapper {
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-bottom: 10px;
}
.thumb-strip-wrapper::-webkit-scrollbar { display: none; }
.thumb-strip { display: flex; gap: 8px; justify-content: center; min-width: min-content; padding: 2px; }
.thumb-item {
  width: 72px; height: 52px; flex-shrink: 0; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; opacity: .5; transition: all .2s; cursor: pointer; position: relative;
  touch-action: manipulation;
}
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.thumb-item:hover { opacity: .85; }
.thumb-item.active { opacity: 1; border-color: var(--cyan); box-shadow: 0 0 16px rgba(0, 240, 255, 0.5); transform: translateY(-2px); }
.thumb-item .n { position: absolute; left: 4px; top: 3px; font-size: 10px; font-family: 'JetBrains Mono'; background: rgba(0,0,0,.75); padding: 1px 4px; border-radius: 4px; color: #fff; }
.lightbox-specs-summary { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.lb-spec { padding: 5px 11px; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.lb-spec b { color: var(--cyan); margin-right: 5px; font-family: 'JetBrains Mono'; }
.lb-spec.price-tag { background: var(--grad); color: #071018; font-weight: 800; border: none; }
.zoom-level-toast {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.85); color: var(--cyan);
  border: 1px solid var(--line-strong);
  font-family: 'JetBrains Mono'; font-size: 13px; opacity: 0; transition: opacity .25s; pointer-events: none; z-index: 4;
}
.zoom-level-toast.show { opacity: 1; }

/* ---------------- Inquiry ---------------- */
.inquiry-section { padding: 40px 0 100px; }
.inquiry-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding: 48px; border-radius: 24px; background: var(--bg-card); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-glow); backdrop-filter: blur(12px);
}
.cyber-badge { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(0, 240, 255, 0.1); color: var(--cyan); font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.inquiry-title { font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.3; margin-bottom: 16px; }
.inquiry-desc { color: var(--text-dim); margin-bottom: 28px; }
.direct-contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); transition: all .2s;
}
.contact-card:hover { border-color: var(--cyan); transform: translateX(4px); }
.contact-card i { font-size: 22px; color: var(--cyan); width: 28px; }
.c-title { display: block; font-size: 12px; color: var(--text-dim); }
.c-phone { font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.inquiry-form, .admin-form { display: flex; flex-direction: column; gap: 16px; }
.form-group label, .form-col label { display: block; font-size: 13px; font-weight: 500; color: var(--text-dim); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea,
.form-col input, .form-col select {
  width: 100%; padding: 13px 15px; border-radius: 12px; font-size: 15px;
  background: var(--bg-elev); border: 1px solid var(--line); color: var(--text); outline: none; transition: all .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.form-col input:focus, .form-col select:focus { border-color: var(--cyan); box-shadow: var(--shadow-glow); }
.btn-submit-glow {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  padding: 16px; border-radius: 14px; font-weight: 800; font-size: 16px;
  background: var(--grad); color: #071018; box-shadow: 0 0 24px rgba(0, 240, 255, 0.3); transition: all .2s;
}
.btn-submit-glow:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(0, 240, 255, 0.5); }
.btn-submit-glow:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.form-feedback { font-size: 14px; min-height: 20px; text-align: center; }
.form-feedback.ok { color: #34d399; }
.form-feedback.err { color: #f87171; }

/* ---------------- Admin Modal ---------------- */
.modal-admin.open { display: flex; align-items: center; justify-content: center; padding: 20px; }
.admin-modal-card {
  position: relative; width: 100%; max-width: 760px; max-height: 92vh; overflow-y: auto;
  background: #10141e; border: 1px solid var(--line-strong); border-radius: 22px; padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}
.admin-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.admin-modal-header h3 { font-size: 19px; }
.admin-modal-header h3 i { color: var(--cyan); margin-right: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.drop-zone {
  padding: 30px 20px; text-align: center; border-radius: 14px; cursor: pointer;
  border: 2px dashed var(--line-strong); background: rgba(0, 240, 255, 0.03); transition: all .2s;
}
.drop-zone:hover, .drop-zone.drag-over { background: rgba(0, 240, 255, 0.08); border-color: var(--cyan); }
.drop-icon { font-size: 34px; color: var(--cyan); margin-bottom: 8px; }
.drop-zone p { font-weight: 500; }
.drop-hint { font-size: 12px; color: var(--text-dim); }
.file-preview-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.preview-item { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-item .rm {
  position: absolute; right: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.75); color: #fff; font-size: 12px; display: grid; place-items: center;
}
.preview-item .idx { position: absolute; left: 4px; bottom: 4px; font-size: 10px; padding: 1px 5px; border-radius: 4px; background: var(--cyan); color: #071018; font-weight: 800; }
.preview-count { grid-column: 1 / -1; font-size: 13px; color: var(--cyan); font-family: 'JetBrains Mono'; }
.admin-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.btn-cancel { padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); color: var(--text-dim); }

/* ---------------- Footer ---------------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: rgba(8, 10, 15, 0.8); }
.footer-content { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.logo-name { font-family: 'Chakra Petch'; font-weight: 800; font-size: 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-brand p, .footer-info p { font-size: 13px; color: var(--text-dim); }
.copyright { margin-top: 6px; }

/* ---------------- Mobile bottom bar ---------------- */
.mobile-bottom-bar { display: none; }

/* ---------------- Responsive & Mobile Optimization ---------------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .inquiry-box { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
}

@media (max-width: 768px) {
  html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
  }
  body {
    background-size: auto, auto, 28px 28px, 28px 28px;
    padding-bottom: 0;
  }
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }
  
  /* Header slim mobile */
  .header-inner { height: 52px; gap: 8px; }
  .logo-glitch { font-size: 19px; letter-spacing: 1.2px; }
  .badge-tech { display: none; }
  .btn-call-direct { display: none; }
  .header-actions { gap: 6px; }
  .header .btn-neon-action {
    height: 35px; padding: 0 10px; font-size: 12px; gap: 5px; border-radius: 9px;
  }

  /* Hero slim mobile (No wasted space) */
  .hero-section { padding: 16px 0 12px; }
  .hero-tag {
    font-size: 10px; padding: 4px 10px; margin-bottom: 10px; gap: 6px;
  }
  .hero-title {
    font-size: 22px; line-height: 1.28; letter-spacing: -0.6px; margin-bottom: 8px;
  }
  .hero-sub {
    font-size: 13px; line-height: 1.45; margin-bottom: 12px; color: #94a3b8;
  }
  .hero-stats-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px;
    max-width: 100%; width: 100%; border-radius: 12px; box-sizing: border-box;
  }
  .stat-item { padding: 0; }
  .stat-label { font-size: 10px; }
  .stat-val { font-size: 15px; }
  .stat-div { display: none; }

  /* 🎯 1. 중간 전체 매물 & 컨트롤 툴바 모바일 100% 핏 (가로 삐져나옴 박멸) */
  .main-content {
    padding: 12px 0 30px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .control-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* 필터 버튼: 모바일 화면에 딱 맞게 정렬 (화면 밖 가로 덜렁거림 제거) */
  .filter-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    padding-bottom: 0;
  }
  .filter-pill {
    width: 100%;
    padding: 9px 8px;
    font-size: 12px;
    text-align: center;
    border-radius: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
  }
  /* '전체 매물' 버튼은 상단 전폭(2열 차지)으로 시원하게 */
  .filter-pill[data-filter="all"] {
    grid-column: 1 / -1;
    font-size: 13px;
    padding: 10px 8px;
  }

  /* 검색창 & 보기 전환 모바일 풀위드 배치 */
  .toolbar-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }
  .search-box {
    width: 100%;
    box-sizing: border-box;
    padding: 0 12px;
  }
  .search-box input {
    width: 100%;
    font-size: 13px;
    padding: 10px 6px;
  }
  .view-mode-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    box-sizing: border-box;
    padding: 3px;
  }
  .mode-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 0;
    font-size: 12px;
  }

  .spec-notice-banner {
    padding: 12px 14px; margin-bottom: 18px; border-radius: 12px; gap: 10px;
  }
  .notice-icon { width: 34px; height: 34px; font-size: 15px; border-radius: 10px; }
  .notice-info { font-size: 12px; line-height: 1.45; }

  /* Card Grid mobile */
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .pc-card { border-radius: 16px; }
  .card-media { aspect-ratio: 16 / 10; }
  .card-body { padding: 16px; }
  .card-title { font-size: 16px; min-height: auto; margin-bottom: 10px; }
  .spec-grid { gap: 6px; margin-bottom: 10px; }
  .spec-chip { padding: 7px 10px; }
  .spec-chip .k { font-size: 9px; }
  .spec-chip .v { font-size: 13px; }
  .card-notes { font-size: 12px; min-height: auto; margin-bottom: 12px; line-height: 1.4; }
  .card-footer { padding-top: 12px; }
  .price { font-size: 22px; }
  .btn-detail { height: 38px; padding: 0 14px; font-size: 12px; }
  .btn-icon { width: 38px; height: 38px; }

  /* 📱 Table View Mobile Transformation (No horizontal cutoff!) */
  .table-view-wrapper {
    background: transparent; border: none; border-radius: 0;
  }
  .comview-spec-table, 
  .comview-spec-table thead, 
  .comview-spec-table tbody, 
  .comview-spec-table th, 
  .comview-spec-table td, 
  .comview-spec-table tr {
    display: block;
  }
  .comview-spec-table { min-width: 100%; }
  .comview-spec-table thead { display: none; } /* Hide classic desktop table head */
  .comview-spec-table tbody tr {
    margin-bottom: 14px; border-radius: 14px; background: var(--bg-card);
    border: 1px solid var(--line); padding: 14px;
    display: flex; flex-direction: column; gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }
  .comview-spec-table td {
    padding: 0; border: none; font-size: 13px;
  }
  .comview-spec-table .tbl-mobile-header {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding-bottom: 8px; border-bottom: 1px solid var(--line);
  }
  .comview-spec-table .tbl-mobile-specs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px 0;
  }
  .comview-spec-table .tbl-spec-item {
    background: rgba(255, 255, 255, 0.03); padding: 6px 8px; border-radius: 8px;
    font-size: 12px; display: flex; justify-content: space-between;
  }
  .comview-spec-table .tbl-spec-item span.k { color: var(--text-dim); font-size: 10px; font-family: 'JetBrains Mono'; }
  .comview-spec-table .tbl-mobile-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding-top: 8px; border-top: 1px dashed var(--line);
  }

  /* Lightbox Mobile (Full Screen 100dvh Experience) */
  .lightbox-header {
    padding: 10px 14px; gap: 8px;
  }
  .lightbox-title-area { max-width: calc(100% - 150px); }
  .lb-title { font-size: 13px; }
  .badge-status-tag { font-size: 10px; padding: 3px 6px; }
  .lb-counter { font-size: 11px; padding: 2px 7px; }
  .lightbox-tools { gap: 4px; }
  .tool-btn { width: 34px; height: 34px; font-size: 13px; border-radius: 8px; }
  
  .nav-arrow {
    width: 44px; height: 44px; font-size: 16px;
    background: rgba(11, 13, 19, 0.82); border-color: var(--line-strong);
  }
  .prev-arrow { left: 8px; }
  .next-arrow { right: 8px; }

  .photo-scaler img {
    max-width: 96%; max-height: 82%; border-radius: 8px;
  }
  
  .lightbox-footer {
    padding: 10px 12px max(14px, env(safe-area-inset-bottom));
  }
  .thumb-strip-wrapper { margin-bottom: 8px; }
  .thumb-strip { justify-content: flex-start; gap: 6px; }
  .thumb-item { width: 56px; height: 40px; border-radius: 6px; }
  .thumb-item .n { font-size: 9px; padding: 0 3px; }
  .lightbox-specs-summary {
    justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 6px;
  }
  .lightbox-specs-summary::-webkit-scrollbar { display: none; }
  .lb-spec { font-size: 11px; padding: 4px 9px; flex-shrink: 0; }

  /* Inquiry & Modal mobile */
  .inquiry-section { padding: 20px 0 80px; }
  .inquiry-box { padding: 20px 16px; border-radius: 18px; gap: 24px; }
  .inquiry-title { font-size: 22px; }
  .inquiry-desc { font-size: 13px; margin-bottom: 18px; }
  .contact-card { padding: 12px 14px; gap: 12px; }
  .contact-card i { font-size: 18px; }
  .c-phone { font-size: 13px; }
  .form-group input, .form-group select, .form-group textarea,
  .form-col input, .form-col select {
    padding: 11px 12px; font-size: 14px; border-radius: 10px;
  }
  .btn-submit-glow { padding: 14px; font-size: 15px; border-radius: 12px; }

  /* Admin Modal mobile */
  .modal-admin.open { padding: 12px; }
  .admin-modal-card { padding: 18px 16px; border-radius: 16px; max-height: 94vh; }
  .admin-modal-header h3 { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 10px; }
  .drop-zone { padding: 20px 14px; }
  .drop-icon { font-size: 28px; }
  .drop-zone p { font-size: 13px; }
  .file-preview-strip { grid-template-columns: repeat(4, 1fr); gap: 6px; }

  /* 🎯 2. 하단 전화상담 바 화면 가림 해결 & 슬림 2버튼 UX */
  .mobile-bottom-bar {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    height: 52px;
    background: rgba(11, 13, 19, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line-strong);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.7);
    transform: translateZ(0);
    box-sizing: border-box;
  }
  .m-bar-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 52px;
    min-height: 52px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    touch-action: manipulation;
  }
  .m-bar-btn i { font-size: 15px; }
  .m-bar-btn.call {
    background: var(--grad);
    color: #071018;
    letter-spacing: -0.2px;
  }
  .m-bar-btn.sms {
    background: rgba(255, 255, 255, 0.05);
    color: #00f0ff;
    border-left: 1px solid var(--line);
  }

  /* 💡 하단 바가 본문 콘텐츠를 덮지 않도록 최하단 여백 넉넉히 확보 */
  .footer {
    padding-top: 24px;
    padding-bottom: calc(85px + env(safe-area-inset-bottom)) !important;
  }
}


