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

/* =========================================================
   STYLE A : EMERALD FINTECH CLEAN (COUPON ZONE 🌿)
   (전체 메인 / 서브 상세 / 공지 / 가이드 / 이벤트 완벽 지원)
   ========================================================= */

:root {
  --emerald: #059669;
  --emerald-hover: #047857;
  --emerald-light: #ecfdf5;
  --emerald-border: #a7f3d0;
  
  --ink: #0f172a;
  --ink-secondary: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-light: #f1f5f9;
  --soft: #f8fafc;
  --white: #ffffff;
  
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 12px 30px -4px rgba(5, 150, 105, 0.18);
}

* { 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.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: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.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: 6px;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.85; }
.logo b { color: var(--emerald); }

.menu {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}
.menu a:hover { color: var(--emerald); }
.menu a.active {
  color: var(--emerald);
  position: relative;
}
.menu a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 3px;
  background: var(--emerald);
  border-radius: 4px;
}

.header-search {
  width: 250px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 42px;
  background: var(--soft);
  overflow: hidden;
  transition: all 0.2s ease;
}
.header-search:focus-within {
  border-color: var(--emerald);
  background: #fff;
  box-shadow: 0 0 0 3px var(--emerald-light);
}
.header-search input {
  border: 0;
  background: transparent;
  padding: 0 16px;
  color: var(--ink);
  font-size: 14px;
}
.header-search input::placeholder { color: #94a3b8; }
.header-search button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
}
.header-search button:hover { color: var(--emerald); }

/* ---------------------------------------------------------
   2. 히어로 배너 (Style A Clean)
   --------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
  padding: 44px 0 24px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: block;
}
.page-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--emerald);
  background: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.eyebrow {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.eyebrow .emerald, .eyebrow .blue { color: var(--emerald); }
.hero p {
  color: var(--muted);
  margin: 10px 0 0;
  font-size: 15px;
  max-width: 680px;
}

/* ---------------------------------------------------------
   3. 쿠폰 카드 그리드 (Style A Emerald)
   --------------------------------------------------------- */
.section { padding: 32px 0 16px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.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: 600;
}

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

.card.coupon-card {
  background: #ffffff;
  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(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--emerald-border);
}

.coupon-media {
  width: 100%;
  height: 115px;
  margin-bottom: 14px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  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: 800;
  color: #0f172a;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

/* 혜택/기간 정보 박스 */
.card-facts {
  background: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  border-radius: 8px;
  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: #64748b;
  font-weight: 600;
}
.fact-row strong {
  color: var(--emerald);
  font-weight: 800;
}

/* 쿠폰 번호 칸 */
.codebox {
  display: flex;
  align-items: center;
  border: 1.5px dashed var(--emerald-border);
  background: #ffffff;
  border-radius: 8px;
  padding: 3px 5px;
  margin-bottom: 10px;
  height: 42px;
  gap: 6px;
}
.codebox .code {
  flex: 1;
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  letter-spacing: 0.5px;
  user-select: all;
}
.codebox .copy {
  height: 32px;
  padding: 0 12px;
  background: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--emerald);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.codebox .copy:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #ffffff;
}

/* 메인 버튼: 쿠폰 사용하기 ↗ */
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  background: var(--emerald);
  color: #ffffff !important;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
  transition: all 0.2s ease;
}
.primary:hover {
  background: var(--emerald-hover);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.32);
  transform: translateY(-1px);
}

/* 서브 버튼: 혜택 안내 보기 › */
.secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #475569 !important;
  text-decoration: none;
  transition: all 0.2s ease;
}
.secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a !important;
}

/* ---------------------------------------------------------
   4. 서브 상세 페이지 (.detail-hero, .detail-card, .info-box)
   --------------------------------------------------------- */
.detail-hero {
  padding: 32px 0 20px;
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
}
.detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  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: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.detail-info h1 {
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}
.detail-info .bigbenefit {
  font-size: 22px;
  font-weight: 900;
  color: var(--emerald);
  margin: 0 0 4px;
}
.detail-info .period {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}

.detail-code {
  display: flex;
  align-items: center;
  border: 1.5px dashed var(--emerald-border);
  background: var(--soft);
  border-radius: 10px;
  padding: 6px 10px;
  margin-bottom: 14px;
  height: 50px;
  gap: 10px;
  max-width: 440px;
}
.detail-code .code {
  flex: 1;
  font-size: 17px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 1px;
  text-align: center;
  user-select: all;
}
.detail-code .copy {
  height: 36px;
  padding: 0 16px;
  background: var(--emerald);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease;
}
.detail-code .copy:hover {
  background: var(--emerald-hover);
}

.detail-actions {
  max-width: 440px;
  margin-bottom: 10px;
}
.detail-actions .primary {
  height: 46px;
  font-size: 15px;
}
.detail-info .note {
  font-size: 12px;
  color: #94a3b8;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 24px 0;
}
.info-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
}
.info-box h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--emerald-light);
}
.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: 600; }
.info-lines p strong { color: var(--ink); font-weight: 800; }
.info-lines p.coupon-number-line strong { color: var(--emerald); }

.info-box ol {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-secondary);
  font-size: 14px;
}
.info-box ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.rank-section {
  padding: 24px 0 50px;
}

/* ---------------------------------------------------------
   5. 가이드 / 공지사항 / 이벤트 서브페이지 공통 스타일
   --------------------------------------------------------- */
.guide-section, .event-section, .notice-section {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin: 28px 0 50px;
}
.guide-section h2, .event-section h2, .notice-section h2 {
  font-size: 21px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 14px;
}
.guide-section p, .event-section p, .notice-section p {
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* FAQ 및 체크리스트 */
.seo-faq {
  margin-top: 32px;
  border-top: 2px solid var(--line-light);
  padding-top: 22px;
}
.seo-kicker {
  font-size: 12px;
  font-weight: 800;
  color: var(--emerald);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.faq-item {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 18px;
  margin-bottom: 12px;
}
.faq-item h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
}
.faq-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.seo-related-links {
  margin-top: 22px;
  padding: 14px 18px;
  background: var(--emerald-light);
  border-radius: 8px;
  font-size: 13px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.seo-related-links a {
  color: var(--emerald);
  font-weight: 700;
  margin-right: 8px;
}

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

/* ---------------------------------------------------------
   7. 반응형 레이아웃
   --------------------------------------------------------- */
@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; gap: 20px; }
  .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; }
  .topbar { height: 60px; }
  .eyebrow { font-size: 23px; }
  .detail-card { padding: 18px; }
}



/* =========================================================
   RICH SEO SECTION STYLING (HIGH DENSITY KEYWORD BLOCKS)
   ========================================================= */
.seo-rich-section {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 38px;
  box-shadow: var(--shadow);
  margin: 36px 0 60px;
}
.seo-main-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin: 0 0 14px;
}
.seo-main-desc {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}
.seo-main-desc strong {
  color: var(--emerald, #059669);
  font-weight: 800;
}
.seo-copy-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}
.seo-copy-section {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
}
.seo-copy-section h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--emerald-border, #a7f3d0);
}
.seo-copy-section p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 10px;
}
.seo-copy-section p:last-child { margin-bottom: 0; }
.seo-copy-section strong {
  color: var(--ink);
  font-weight: 800;
}
.seo-checklist-box {
  background: var(--emerald-light, #ecfdf5);
  border: 1px solid var(--emerald-border, #a7f3d0);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 28px 0;
}
.seo-checklist-box h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--emerald, #059669);
  margin: 0 0 14px;
}
.seo-checklist-box ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-secondary);
  font-size: 14px;
}
.seo-checklist-box ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.seo-checklist-box strong {
  color: var(--emerald, #059669);
}

@media (max-width: 860px) {
  .seo-copy-wrap { grid-template-columns: 1fr; }
  .seo-rich-section { padding: 24px 20px; }
}
