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

:root {
  --primary: #d9f99d;
  --primary-hover: #bef264;
  --primary-dark: #000000;
  --primary-border: #000000;
  
  --ink: #000000;
  --ink-sec: #262626;
  --muted: #525252;
  --line: #000000;
  --line-light: #e5e5e5;
  --soft: #fbfbfb;
  --white: #ffffff;
  
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  
  --shadow-sm: 3px 3px 0px #000000;
  --shadow: 5px 5px 0px #000000;
  --shadow-hover: 8px 8px 0px #000000;
}

* { 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.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.15s 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: 3px solid #000000;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  font-weight: 900;
  font-size: 23px;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-left: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.logo b {
  background: var(--primary);
  border: 2px solid #000000;
  padding: 2px 8px;
  border-radius: 6px;
  box-shadow: 2px 2px 0px #000;
}

.menu {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 900;
  color: var(--muted);
}
.menu a:hover { color: var(--ink); }
.menu a.active {
  color: var(--ink);
  background: var(--primary);
  padding: 4px 12px;
  border-radius: 6px;
  border: 2px solid #000000;
  box-shadow: 2px 2px 0px #000000;
}

.header-search {
  width: 250px;
  height: 44px;
  border: 2px solid #000000;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 42px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.header-search input {
  border: 0;
  background: transparent;
  padding: 0 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.header-search button {
  border: 0;
  background: var(--primary);
  border-left: 2px solid #000000;
  cursor: pointer;
  color: #000000;
  font-size: 16px;
  font-weight: 900;
}

/* 2. 히어로 배너 (볼드 브루탈) */
.hero {
  background: #ffffff;
  padding: 46px 0 30px;
  border-bottom: 3px solid #000000;
}
.hero-grid { display: block; }
.page-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #000000;
  background: var(--primary);
  border: 2px solid #000000;
  box-shadow: 2px 2px 0px #000000;
  padding: 4px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.eyebrow {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.6px;
}
.eyebrow .theme-accent {
  background: var(--primary);
  border: 2px solid #000000;
  padding: 0 6px;
  border-radius: 6px;
  box-shadow: 3px 3px 0px #000000;
}
.hero p {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 700;
  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: 23px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin: 0;
}
.section-head .meta { font-size: 13px; color: var(--muted); font-weight: 800; }

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

.card.coupon-card {
  background: var(--white);
  border: 3px solid #000000;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card.coupon-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.coupon-media {
  width: 100%;
  height: 115px;
  margin-bottom: 14px;
  border-radius: 6px;
  overflow: hidden;
  background: #f5f5f5;
  border: 2px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coupon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.card-facts {
  background: #f5f5f5;
  border: 2px solid #000000;
  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: #525252; font-weight: 800; }
.fact-row strong { color: #000000; font-weight: 900; }

.codebox {
  display: flex;
  align-items: center;
  border: 2px solid #000000;
  background: #ffffff;
  border-radius: 6px;
  padding: 3px 5px;
  margin-bottom: 10px;
  height: 42px;
  gap: 6px;
}
.codebox .code {
  flex: 1;
  font-size: 14px;
  font-weight: 900;
  color: #000000;
  text-align: center;
  letter-spacing: 0.5px;
}
.codebox .copy {
  height: 32px;
  padding: 0 12px;
  background: var(--primary);
  border: 2px solid #000000;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  color: #000000;
  cursor: pointer;
}
.codebox .copy:hover {
  background: var(--primary-hover);
}

.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  background: var(--primary);
  color: #000000 !important;
  border: 2px solid #000000;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 6px;
  box-shadow: var(--shadow-sm);
}
.primary:hover {
  background: var(--primary-hover);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000;
}

.secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #000000 !important;
}
.secondary:hover {
  background: #f5f5f5;
}

/* 4. 서브 상세 페이지 */
.detail-hero {
  padding: 34px 0 20px;
  background: #ffffff;
  border-bottom: 3px solid #000000;
}
.breadcrumb { font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 18px; }
.detail-card {
  border: 3px solid #000000;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  padding: 28px;
  align-items: center;
  margin-bottom: 26px;
}
.detail-visual { width: 100%; display: flex; align-items: center; justify-content: center; }
.detail-coupon-image { max-width: 100%; height: auto; border-radius: 8px; border: 2px solid #000000; box-shadow: 4px 4px 0px #000; }
.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: #000000; margin: 0 0 4px; }
.detail-info .period { font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 14px; }
.detail-code {
  display: flex;
  align-items: center;
  border: 2px solid #000000;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 14px;
  height: 52px;
  gap: 10px;
  max-width: 440px;
  box-shadow: 3px 3px 0px #000;
}
.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 16px;
  background: var(--primary);
  color: #000000;
  border: 2px solid #000000;
  border-radius: 6px;
  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: 3px solid #000000; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.info-box h3 { font-size: 17px; font-weight: 900; color: var(--ink); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid #000000; }
.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: 800; }
.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; font-weight: 700; }
.info-box ol li { margin-bottom: 8px; }

/* 5. SEO 섹션 */
.seo-rich-section, .guide-section, .event-section, .notice-section {
  background: var(--white);
  border: 3px solid #000000;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  margin: 32px 0 50px;
}
.seo-main-title { font-size: 23px; font-weight: 900; color: var(--ink); margin: 0 0 14px; }
.seo-main-desc { font-size: 15px; color: var(--ink-sec); line-height: 1.75; margin-bottom: 28px; font-weight: 600; }
.seo-main-desc strong { color: #000000; font-weight: 900; background: var(--primary); padding: 0 4px; border: 1px solid #000; border-radius: 4px; }
.seo-checklist-box { background: #f5f5f5; border: 2px solid #000000; border-radius: 8px; padding: 24px 28px; margin: 28px 0; box-shadow: 3px 3px 0px #000; }
.seo-checklist-box h2 { font-size: 18px; font-weight: 900; color: #000000; margin: 0 0 14px; }
.seo-checklist-box ul { margin: 0; padding-left: 20px; color: var(--ink-sec); font-size: 14px; font-weight: 700; }
.seo-checklist-box ul li { margin-bottom: 8px; line-height: 1.6; }
.seo-faq { margin-top: 32px; border-top: 3px solid #000000; padding-top: 24px; }
.seo-kicker { font-size: 12px; font-weight: 900; color: #000000; letter-spacing: 0.5px; margin-bottom: 6px; }
.faq-item { background: #ffffff; border: 2px solid #000000; border-radius: 8px; padding: 16px 20px; margin-bottom: 14px; box-shadow: 2px 2px 0px #000; }
.faq-item h3 { font-size: 15px; font-weight: 900; color: var(--ink); margin: 0 0 6px; }
.faq-item p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; font-weight: 600; }
.seo-related-links { margin-top: 24px; padding: 16px 20px; background: var(--primary); border: 2px solid #000000; border-radius: 8px; font-size: 13px; display: flex; gap: 12px; align-items: center; box-shadow: 3px 3px 0px #000; }
.seo-related-links a { color: #000000; font-weight: 900; margin-right: 8px; }

/* 6. 푸터 */
.footer { background: #ffffff; border-top: 3px solid #000000; padding: 38px 0; color: var(--muted); font-size: 14px; font-weight: 800; margin-top: 50px; }
.footer .container { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer a { color: #000000; font-weight: 900; }

@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; } .logo { margin-left: 0; } }
@media (max-width: 580px) { .grid { grid-template-columns: 1fr; } .menu { display: none; } .header-search { width: 170px; } .eyebrow { font-size: 23px; } }
