/* ==============================================
   후쿠오카 굿즈샵 완전 공략 — 모바일 특화 모던 다크 UI
   (아키하바라 가이드 디자인 시스템 기반, 올리브 그린 테마)
   ============================================== */

:root {
  /* 배경 */
  --bg:          #0d0f0e;
  --bg-card:     #121510;
  --bg-card2:    #171d12;
  --bg-dark:     #0a0d08;
  --bg-overlay:  rgba(13,15,14,.82);

  /* 메인 컬러 — 후쿠오카 올리브 그린 */
  --olive:       #7a9e3a;
  --olive-dim:   #3a5010;
  --olive-pale:  rgba(122,158,58,.12);
  --olive-glow:  rgba(122,158,58,.18);

  /* 포인트 — 앰버 */
  --amber:       #c8963a;
  --amber-dim:   rgba(200,150,58,.15);

  /* 텍스트 */
  --t1:          #f0ece4;
  --t2:          #a0a090;
  --t3:          #6a6a58;

  /* 선/구분 */
  --line:        rgba(255,255,255,.07);
  --line2:       rgba(255,255,255,.04);

  /* 반지름 */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;

  /* 그림자 */
  --sh-card: 0 2px 16px rgba(0,0,0,.4);
  --sh-pop:  0 8px 32px rgba(0,0,0,.6);
}

/* ─── 리셋 ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--t1);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 80px; /* bottom-nav 자리 확보 */
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ───────────────────────────────────────────────
   NAV
   ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,15,14,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.nav.scrolled {
  background: rgba(13,15,14,.92);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.01em;
  color: var(--t1);
}
.nav-menu-btn {
  width: 36px; height: 36px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 5px;
}
.nav-menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--t1);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu-btn.open span:nth-child(2) { opacity: 0; }
.nav-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 78%; max-width: 320px;
  height: 100vh;
  background: var(--bg-dark);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  padding: 80px 28px 40px;
  z-index: 99;
}
.nav-drawer.open { transform: translateX(0); box-shadow: var(--sh-pop); }
.nav-drawer-inner { display: flex; flex-direction: column; gap: 6px; }
.nav-drawer a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 12px;
  font-weight: 500; font-size: 15px;
  color: var(--t1);
  border-radius: var(--r-md);
  transition: background .2s ease, color .2s ease;
}
.nav-drawer a i { color: var(--olive); width: 18px; text-align: center; }
.nav-drawer a:hover { background: var(--olive-pale); color: var(--olive); }

/* ───────────────────────────────────────────────
   HERO
   ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background-color: #0d0f0e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 24px 80px;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(140,210,60,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(140,210,60,.10) 0%, transparent 55%),
    linear-gradient(135deg,
      rgba(140,210,60,.12) 0%,
      rgba(13,15,14,0) 45%,
      rgba(140,210,60,.08) 100%),
    #0d0f0e;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 560px; width: 100%;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--olive);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
  margin-bottom: 26px;
  background: var(--olive-pale);
}
.hero-title {
  font-size: clamp(40px, 11vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 22px;
  color: var(--t1);
}
.hero-title em {
  font-style: normal;
  color: var(--olive);
  text-shadow: 0 0 26px var(--olive-glow);
}
.hero-sub {
  font-size: 15px;
  color: var(--t2);
  max-width: 360px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: var(--olive);
  color: #0d0f0e;
  box-shadow: 0 8px 24px var(--olive-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(122,158,58,.32);
}
.btn-ghost {
  background: transparent;
  color: var(--t1);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--olive);
  color: var(--olive);
  background: var(--olive-pale);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--olive);
  font-size: 22px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translate(-50%, 0); opacity: .8; }
  50%     { transform: translate(-50%, 8px); opacity: .4; }
}

/* ───────────────────────────────────────────────
   SECTION 공통
   ─────────────────────────────────────────────── */
.section {
  padding: 80px 0;
  background: var(--bg);
}
.section-dark { background: var(--bg-dark); }
.section-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 700;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: var(--olive-pale);
  border-radius: 999px;
  border: 1px solid var(--olive);
}
.section-title {
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  color: var(--t1);
}
.section-desc {
  font-size: 14.5px;
  color: var(--t2);
  margin-bottom: 36px;
  line-height: 1.75;
}

/* ───────────────────────────────────────────────
   OVERVIEW - info-card
   ─────────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.info-card:hover {
  border-color: var(--olive);
  transform: translateY(-2px);
}
.info-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--olive-pale);
  color: var(--olive);
  border-radius: 12px;
  font-size: 18px;
}
.info-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--t2);
  letter-spacing: -.01em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.info-text {
  font-size: 14.5px;
  color: var(--t1);
  line-height: 1.6;
}

.tag-warn {
  margin-top: 24px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--amber-dim);
  border: 1px solid rgba(200,150,58,.35);
  border-radius: var(--r-md);
  font-size: 13.5px;
  color: var(--t1);
  line-height: 1.55;
}
.tag-warn i { color: var(--amber); font-size: 16px; flex-shrink: 0; }
.tag-warn b { color: var(--amber); }

/* ───────────────────────────────────────────────
   ROUTE
   ─────────────────────────────────────────────── */
.route-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.route-step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}
.route-step-mark {
  flex-shrink: 0;
  min-width: 64px;
  padding: 6px 8px;
  background: var(--olive-pale);
  color: var(--olive);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
  border: 1px solid rgba(122,158,58,.3);
}
.route-step-arrival .route-step-mark {
  background: var(--olive);
  color: #0d0f0e;
  border-color: var(--olive);
}
.route-step-body h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--t1);
}
.route-step-body p {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.65;
}
.route-step-body b { color: var(--olive); font-weight: 600; }

.alert-card {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  line-height: 1.6;
  border: 1px solid var(--line);
}
.alert-card i { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.alert-card b { color: var(--t1); }
.alert-info {
  background: rgba(58,140,200,.10);
  border-color: rgba(58,140,200,.30);
  color: #cfe1f0;
}
.alert-info i { color: #5ea8d8; }
.alert-info b { color: #9fd0ee; }
.alert-warn {
  background: var(--amber-dim);
  border-color: rgba(200,150,58,.35);
  color: #ecdcb4;
}
.alert-warn i { color: var(--amber); }
.alert-warn b { color: var(--amber); }

/* ───────────────────────────────────────────────
   MAP
   ─────────────────────────────────────────────── */
#map {
  height: 420px;
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-pop);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
}
@media (min-width: 600px) { #map { height: 500px; } }

.dist-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.dist-list li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color .2s ease;
}
.dist-list li:hover {
  border-color: var(--olive);
}
.dist-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--t1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dist-name i { color: var(--olive); }
.dist-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--olive);
  background: var(--olive-pale);
  border: 1px solid var(--olive-dim);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}
.dist-station .dist-time {
  background: var(--olive);
  border: none;
  color: #fff;
  font-weight: 700;
}
.dist-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--olive-pale);
  color: var(--olive);
  border: 1px solid var(--olive-dim);
  font-size: 13px;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.dist-map-btn:hover {
  background: var(--olive);
  color: #fff;
}

/* Google Maps InfoWindow 다크 스타일 */
.gm-style .gm-style-iw-c {
  background: var(--bg-card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-md) !important;
  box-shadow: var(--sh-pop) !important;
  padding: 14px !important;
  max-width: 280px !important;
}
.gm-style .gm-style-iw-tc::after { background: var(--bg-card) !important; }
.gm-style .gm-style-iw-d { overflow: hidden !important; padding: 0 !important; }
.gm-style .gm-ui-hover-effect > span {
  background-color: #a0a090 !important;
}
.iw-card {
  padding: 0px 16px 14px;
  margin-top: -8px;
}
.iw-card .iw-emoji { font-size: 22px; margin-bottom: 6px; display: block; }
.iw-card .iw-title { font-size: 15px; font-weight: 700; color: var(--t1); margin-bottom: 2px; }
.iw-card .iw-en { font-size: 11px; color: var(--t3); letter-spacing: .04em; margin-bottom: 8px; text-transform: uppercase; }
.iw-card .iw-desc { font-size: 13px; color: var(--t2); line-height: 1.6; }

/* ───────────────────────────────────────────────
   SHOPS - area-card
   ─────────────────────────────────────────────── */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.area-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.area-card:hover {
  border-color: var(--olive);
  transform: translateY(-2px);
  background: var(--bg-card2);
}
.area-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
  flex-wrap: wrap;
}
.area-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid;
}
.area-label-new {
  color: var(--olive);
  border-color: rgba(122,158,58,.45);
  background: var(--olive-pale);
}
.area-label-used {
  color: var(--amber);
  border-color: rgba(200,150,58,.45);
  background: var(--amber-dim);
}
.area-label-mix {
  color: #cfd9b8;
  border-color: rgba(207,217,184,.30);
  background: rgba(207,217,184,.08);
}
.area-time {
  font-size: 12.5px;
  color: var(--t2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.area-time i { color: var(--olive); }
.area-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.area-desc {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.area-desc b { color: var(--olive); font-weight: 600; }
.area-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.area-chip {
  font-size: 12px;
  padding: 5px 10px;
  background: var(--bg-dark);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--t2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.area-chip i { color: var(--olive); font-size: 11px; }

/* ───────────────────────────────────────────────
   CHECKLIST
   ─────────────────────────────────────────────── */
.cl-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cl-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .2s ease, background .2s ease;
}
.cl-item:hover { border-color: var(--olive); }
.cl-item label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  cursor: pointer;
  user-select: none;
}
.cl-item input { display: none; }
.cl-box {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: var(--bg-dark);
  position: relative;
  transition: border-color .2s, background .2s;
}
.cl-box::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 6px; height: 11px;
  border: solid #0d0f0e;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .2s ease;
}
.cl-item input:checked + .cl-box {
  background: var(--olive);
  border-color: var(--olive);
}
.cl-item input:checked + .cl-box::after { transform: rotate(45deg) scale(1); }
.cl-text { font-size: 14.5px; color: var(--t1); line-height: 1.5; }
.cl-text b { color: var(--olive); font-weight: 600; }
.cl-item.checked { background: var(--olive-pale); border-color: rgba(122,158,58,.35); }
.cl-item.checked .cl-text { color: var(--t2); text-decoration: line-through; text-decoration-color: var(--olive); }
.cl-item.checked .cl-text b { color: var(--t3); }

/* ───────────────────────────────────────────────
   FAQ
   ─────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--olive); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--t1);
  line-height: 1.5;
}
.faq-arrow {
  color: var(--olive);
  font-size: 13px;
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-arrow { transform: rotate(180deg); }
.faq-a {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--t2);
  line-height: 1.75;
  border-top: 1px solid var(--line2);
  padding-top: 14px;
}
.faq-a b { color: var(--olive); font-weight: 600; }

/* ───────────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--line);
  padding: 50px 0 40px;
}
.footer-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.footer-logo {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--t1);
}
.footer-note {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.75;
  margin-bottom: 24px;
}
.footer-copy {
  font-size: 12px;
  color: var(--t3);
  letter-spacing: .03em;
}

/* ───────────────────────────────────────────────
   BOTTOM NAV
   ─────────────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(13,15,14,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}
.bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  font-size: 11px;
  color: var(--t3);
  font-weight: 500;
  transition: color .2s ease;
}
.bn-item i { font-size: 18px; }
.bn-item.active,
.bn-item:hover { color: var(--olive); }
.bn-item.active i { text-shadow: 0 0 12px var(--olive-glow); }

/* ───────────────────────────────────────────────
   FADE-IN 애니메이션
   ─────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───────────────────────────────────────────────
   RESPONSIVE
   ─────────────────────────────────────────────── */
@media (min-width: 600px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: row; justify-content: center; }
}
@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .section-inner,
  .nav-inner,
  .footer-inner { max-width: 720px; }
  .section { padding: 100px 0; }
}
