@charset "utf-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --primary: #d4af37;
  --primary-hover: #b8972e;
  --primary-dark: #121214;
  --primary-light: #fbf8ee;
  --primary-border: #e8d79b;
  
  --ink: #111113;
  --ink-sec: #3f3f46;
  --muted: #71717a;
  --line: #e4e4e7;
  --line-light: #f4f4f5;
  --soft: #f8f8fa;
  --white: #ffffff;
  
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  
  --shadow-sm: 0 2px 6px rgba(18, 18, 20, 0.03);
  --shadow: 0 6px 20px -2px rgba(18, 18, 20, 0.06);
  --shadow-hover: 0 14px 34px -4px rgba(212, 175, 55, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--soft); }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
button, input, select { font: inherit; outline: none; }

.container {
  width: min(1280px, calc(100% - 40px));
  margin: auto;
}

/* 1. GNB 헤더 (럭셔리 미니멀 블랙 라인) */
.topbar {
  height: 76px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--ink);
  margin-left: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo b {
  color: var(--white);
  background: #111113;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid var(--primary);
}

.menu {
  display: flex;
  gap: 30px;
  font-size: 15px;
  font-weight: 800;
  color: var(--muted);
}
.menu a:hover { color: var(--ink); }
.menu a.active {
  color: #111113;
  position: relative;
}
.menu a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 3px;
  background: #111113;
  border-radius: 2px;
}

.header-search {
  width: 250px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1fr 42px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.2s ease;
}
.header-search:focus-within {
  border-color: #111113;
  box-shadow: 0 0 0 3px rgba(18, 18, 20, 0.08);
}
.header-search input {
  border: 0;
  background: transparent;
  padding: 0 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.header-search button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 15px;
}

/* 2. 히어로 배너 */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: block; }
.page-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: #111113;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.eyebrow {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.6px;
}
.eyebrow .theme-accent {
  color: #111113;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 2px;
}
.hero p {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 15.5px;
  max-width: 680px;
}

/* 3. 쿠폰 카드 그리드 */
.section { padding: 36px 0 16px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-head h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin: 0;
}
.section-head .meta { font-size: 13px; color: var(--muted); font-weight: 700; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card.coupon-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card.coupon-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.coupon-media {
  width: 100%;
  height: 115px;
  margin-bottom: 14px;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f5;
  border: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.coupon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.card.coupon-card:hover .coupon-image { transform: scale(1.03); }

.card.coupon-card h3 {
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.card-facts {
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: 6px;
  padding: 8px 12px;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.fact-row span { color: var(--muted); font-weight: 700; }
.fact-row strong { color: #856404; font-weight: 900; }

.codebox {
  display: flex;
  align-items: center;
  border: 1px dashed #a1a1aa;
  background: #ffffff;
  border-radius: 6px;
  padding: 3px 6px;
  margin-bottom: 10px;
  height: 42px;
  gap: 6px;
}
.codebox .code {
  flex: 1;
  font-size: 13.5px;
  font-weight: 900;
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.5px;
}
.codebox .copy {
  height: 32px;
  padding: 0 14px;
  background: #18181b;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.codebox .copy:hover {
  background: #27272a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  background: #111113;
  color: #ffffff !important;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}
.primary:hover {
  background: #27272a;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted) !important;
  transition: all 0.2s ease;
}
.secondary:hover {
  background: #f4f4f5;
  color: var(--ink) !important;
  border-color: #a1a1aa;
}

/* 4. 서브 상세 페이지 */
.detail-hero {
  padding: 34px 0 22px;
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  padding: 30px;
  align-items: center;
  margin-bottom: 28px;
}
.detail-visual { width: 100%; display: flex; align-items: center; justify-content: center; }
.detail-coupon-image { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.detail-info h1 { font-size: 26px; font-weight: 900; color: var(--ink); margin: 0 0 6px; }
.detail-info .bigbenefit { font-size: 22px; font-weight: 900; color: #856404; margin: 0 0 4px; }
.detail-info .period { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 16px; }
.detail-code {
  display: flex;
  align-items: center;
  border: 1px dashed var(--primary-border);
  background: var(--soft);
  border-radius: 6px;
  padding: 6px 12px;
  margin-bottom: 16px;
  height: 52px;
  gap: 10px;
  max-width: 440px;
}
.detail-code .code { flex: 1; font-size: 18px; font-weight: 900; color: var(--ink); letter-spacing: 1px; text-align: center; }
.detail-code .copy {
  height: 38px;
  padding: 0 18px;
  background: #111113;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.detail-actions { max-width: 440px; margin-bottom: 10px; }
.detail-actions .primary { height: 48px; font-size: 15px; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 24px 0; }
.info-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-box h3 { font-size: 17px; font-weight: 900; color: var(--ink); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-border); }
.info-lines p { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line-light); font-size: 14px; margin: 0; }
.info-lines p span { color: var(--muted); font-weight: 700; }
.info-lines p strong { color: var(--ink); font-weight: 900; }
.info-box ol { margin: 0; padding-left: 20px; color: var(--ink-sec); font-size: 14px; }
.info-box ol li { margin-bottom: 8px; }

/* 5. 풍부한 SEO 장문 가이드 섹션 */
.seo-rich-section, .guide-section, .event-section, .notice-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 40px;
  box-shadow: var(--shadow);
  margin: 36px 0 60px;
}
.seo-main-title { font-size: 23px; font-weight: 900; color: var(--ink); margin: 0 0 16px; }
.seo-main-desc { font-size: 15px; color: var(--ink-sec); line-height: 1.8; margin-bottom: 30px; }
.seo-main-desc strong { color: var(--ink); font-weight: 900; border-bottom: 2px solid var(--primary); }

.seo-checklist-box {
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: 8px;
  padding: 26px 30px;
  margin: 30px 0;
}
.seo-checklist-box h2 { font-size: 18px; font-weight: 900; color: #856404; margin: 0 0 14px; }
.seo-checklist-box ul { margin: 0; padding-left: 20px; color: var(--ink-sec); font-size: 14.5px; }
.seo-checklist-box ul li { margin-bottom: 10px; line-height: 1.65; }
.seo-checklist-box strong { color: var(--ink); }

.seo-faq { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 28px; }
.seo-kicker { font-size: 12px; font-weight: 900; color: #856404; letter-spacing: 0.8px; margin-bottom: 8px; }
.faq-item {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 14px;
}
.faq-item h3 { font-size: 15.5px; font-weight: 900; color: var(--ink); margin: 0 0 8px; }
.faq-item p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.7; }
.faq-item strong { color: var(--ink); }

.seo-related-links {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: 8px;
  font-size: 13.5px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.seo-related-links a { color: #856404; font-weight: 800; margin-right: 8px; }
.seo-related-links a:hover { color: var(--ink); text-decoration: underline; }

/* 6. 푸터 */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 40px 0;
  color: var(--muted);
  font-size: 14px;
  margin-top: 60px;
}
.footer .container { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer a { color: var(--muted); font-weight: 700; }
.footer a:hover { color: var(--ink); }

@media (max-width: 1200px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .detail-card { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .seo-rich-section { padding: 24px 20px; }
  .logo { margin-left: 0; }
}
@media (max-width: 580px) {
  .grid { grid-template-columns: 1fr; }
  .menu { display: none; }
  .header-search { width: 170px; }
  .eyebrow { font-size: 23px; }
}
