/* ═══════════════════════════
   딱모여 — style.css (Munto Clone)
   Brand: #FF9A3C (light orange)
   ═══════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:    #FF9A3C;
  --orange-dk: #F07C10;
  --orange-lt: #FFF4E8;
  --gray-50:   #FAFAFA;
  --gray-100:  #F5F5F5;
  --gray-200:  #EEEEEE;
  --gray-400:  #BDBDBD;
  --gray-600:  #757575;
  --gray-800:  #424242;
  --gray-900:  #212121;
  --white:     #FFFFFF;
  --radius:    12px;
  --shadow:    0 2px 12px rgba(0,0,0,.08);
  --shadow-hv: 0 8px 28px rgba(0,0,0,.14);
  --trans:     .18s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Pretendard', -apple-system, sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; object-fit: cover; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.page-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ══ NAV ══ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-wrap {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 60px; display: flex; align-items: center; gap: 0;
}
.logo {
  font-size: 22px; font-weight: 800;
  color: var(--orange); letter-spacing: -.5px;
  margin-right: 32px; flex-shrink: 0;
}
.nav-center { display: flex; gap: 0; flex: 1; }
.nav-tab {
  padding: 0 18px; height: 60px;
  display: flex; align-items: center;
  font-size: 15px; font-weight: 600;
  color: var(--gray-600);
  border-bottom: 2px solid transparent;
  transition: color var(--trans), border-color var(--trans);
}
.nav-tab:hover { color: var(--gray-900); }
.nav-tab.active { color: var(--gray-900); border-bottom-color: var(--gray-900); }

.nav-right { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-700, #616161);
  transition: background var(--trans);
}
.icon-btn:hover { background: var(--gray-100); }
.btn-open {
  padding: 8px 18px; border: 1.5px solid var(--gray-800);
  border-radius: 8px; font-size: 14px; font-weight: 700;
  color: var(--gray-900);
  transition: background var(--trans);
}
.btn-open:hover { background: var(--gray-100); }
.btn-login {
  padding: 8px 16px; font-size: 14px; font-weight: 600;
  color: var(--gray-600);
}

/* ══ SUB NAV ══ */
.sub-nav {
  position: sticky; top: 60px; z-index: 190;
  background: white;
  border-bottom: 1px solid var(--gray-200);
}
.sub-nav-wrap {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; gap: 0;
}
.sub-tab {
  padding: 14px 20px; font-size: 14px; font-weight: 600;
  color: var(--gray-500, #9E9E9E);
  border-bottom: 2px solid transparent;
  transition: all var(--trans);
  white-space: nowrap;
}
.sub-tab:hover { color: var(--gray-900); }
.sub-tab.active { color: var(--gray-900); border-bottom-color: var(--orange); }

/* ══ HERO BANNER ══ */
.hero-banner {
  background: var(--orange);
  overflow: hidden; position: relative;
}
.banner-slide {
  display: none;
  padding: 0 80px;
  min-height: 300px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1140px; margin: 0 auto;
}
.banner-slide.active { display: flex; }

.banner-text { flex: 1; padding: 48px 0; }
.banner-label {
  display: inline-block;
  background: rgba(0,0,0,.2); color: white;
  font-size: 13px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 16px;
}
.banner-text h2 {
  font-size: 36px; font-weight: 800; color: white;
  line-height: 1.3; margin-bottom: 20px;
}
.banner-cta {
  display: inline-flex; align-items: center; gap: 4px;
  color: white; font-size: 15px; font-weight: 600;
  opacity: .9;
  transition: opacity var(--trans);
}
.banner-cta:hover { opacity: 1; }

.banner-img-wrap {
  width: 360px; flex-shrink: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; align-self: flex-end;
}
.banner-img-wrap img { height: 220px; }

.banner-nav {
  position: absolute; bottom: 16px; right: 80px;
  display: flex; align-items: center; gap: 10px;
}
.banner-arrow {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.3); color: white;
  font-size: 20px; display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.banner-arrow:hover { background: rgba(255,255,255,.5); }
.banner-count {
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.2); padding: 3px 10px; border-radius: 100px;
}

/* ══ QUICK CATEGORIES ══ */
.quick-cats { background: white; padding: 20px 0 0; border-bottom: 1px solid var(--gray-200); }
.quick-cats-row {
  display: flex; gap: 4px;
  overflow-x: auto; scrollbar-width: none; padding-bottom: 0;
}
.quick-cats-row::-webkit-scrollbar { display: none; }

.qcat {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 6px 14px 14px; min-width: 72px;
  font-size: 12px; font-weight: 600; color: var(--gray-600);
  border-bottom: 2px solid transparent;
  transition: all var(--trans); white-space: nowrap;
}
.qcat:hover { color: var(--gray-900); }
.qcat.active { color: var(--orange); border-bottom-color: var(--orange); }
.qcat-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  transition: transform var(--trans);
}
.qcat:hover .qcat-icon-wrap { transform: scale(1.08); }

/* ══ AD SLOT ══ */
.ad-slot { padding: 16px 0; background: var(--gray-50); }
.ad-placeholder {
  border: 1.5px dashed var(--gray-300, #E0E0E0);
  border-radius: var(--radius); padding: 18px 24px;
  text-align: center; color: var(--gray-400);
  font-size: 13px; background: white;
}

/* ══ MEETINGS ══ */
.meetings-wrap { padding: 36px 0 60px; }
.section-hd { margin-bottom: 24px; }
.section-hd h2 { font-size: 20px; font-weight: 800; }

/* ── Card Grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── Meeting Card ── */
.mcard {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
  display: flex; flex-direction: column;
}
.mcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-hv); }

.mcard-inner { display: flex; flex-direction: column; flex: 1; color: inherit; }

/* 썸네일 */
.mcard-thumb {
  position: relative; overflow: hidden;
  height: 180px;
}
.mcard-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.mcard:hover .mcard-thumb img { transform: scale(1.04); }

.badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 800; letter-spacing: .5px;
  padding: 3px 9px; border-radius: 100px;
  text-transform: uppercase;
}
.badge.hot { background: var(--orange); color: white; }
.badge.new { background: #2196F3; color: white; }

.heart-btn {
  position: absolute; top: 8px; right: 8px;
  width: 32px; height: 32px; border-radius: 50%;
  background: white; box-shadow: var(--shadow);
  font-size: 14px; color: var(--gray-400);
  display: flex; align-items: center; justify-content: center;
  transition: color var(--trans), transform var(--trans);
}
.heart-btn:hover { color: #e53935; transform: scale(1.1); }
.heart-btn.liked { color: #e53935; }

.host-chip {
  position: absolute; bottom: 8px; left: 10px;
  display: flex; align-items: center; gap: 5px;
  background: rgba(0,0,0,.55); border-radius: 100px;
  padding: 3px 10px 3px 4px;
}
.host-av { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.host-chip span { font-size: 11px; font-weight: 600; color: white; }

/* 카드 정보 */
.mcard-info { padding: 14px 16px 8px; flex: 1; }

.mcard-tags {
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
}
.tag {
  font-size: 11px; font-weight: 700; color: var(--orange);
  background: var(--orange-lt); padding: 2px 8px; border-radius: 100px;
}
.tag-loc { font-size: 11px; color: var(--gray-500, #9E9E9E); }

.mcard-info h3 {
  font-size: 14px; font-weight: 700; line-height: 1.45;
  margin-bottom: 8px; color: var(--gray-900);
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.mcard-meta { margin-bottom: 10px; }
.mcard-meta span { font-size: 12px; color: var(--gray-600); }

.mcard-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px; border-top: 1px solid var(--gray-100);
  margin-bottom: 2px;
}
.price { font-size: 13px; color: var(--gray-600); }
.price strong { font-size: 15px; font-weight: 800; color: var(--gray-900); }
.seats { font-size: 11px; font-weight: 700; }
.seats.red   { color: #e53935; }
.seats.yellow{ color: #F9A825; }
.seats.green { color: #43A047; }

/* 신청 버튼 */
.apply-btn {
  display: block; text-align: center;
  background: var(--orange); color: white;
  font-size: 14px; font-weight: 700;
  padding: 11px 0; margin: 2px 16px 14px;
  border-radius: 8px;
  transition: background var(--trans);
}
.apply-btn:hover { background: var(--orange-dk); }

/* 더보기 버튼 */
.load-more {
  display: block; margin: 40px auto 0;
  padding: 14px 48px; border: 1.5px solid var(--gray-300, #E0E0E0);
  border-radius: 100px; font-size: 14px; font-weight: 700;
  color: var(--gray-700, #616161); background: white;
  transition: all var(--trans);
}
.load-more:hover { border-color: var(--gray-800); color: var(--gray-900); }

/* ══ HOST BANNER ══ */
.host-banner { padding: 60px 0; }
.host-inner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dk) 100%);
  border-radius: 20px; padding: 52px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.host-inner h3 { font-size: 26px; font-weight: 800; color: white; margin-bottom: 12px; }
.host-inner p { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 28px; line-height: 1.7; }
.host-cta-btn {
  display: inline-block; background: white; color: var(--orange);
  font-size: 15px; font-weight: 700; padding: 13px 28px; border-radius: 10px;
  transition: background var(--trans);
}
.host-cta-btn:hover { background: var(--orange-lt); }

.host-steps { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.host-step {
  text-align: center;
  background: rgba(255,255,255,.15); border-radius: 16px;
  padding: 20px 24px;
}
.host-step span { display: block; font-size: 22px; font-weight: 800; color: white; margin-bottom: 6px; }
.host-step p { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9); }
.step-arrow { font-size: 20px; color: rgba(255,255,255,.6); }

/* ══ FOOTER ══ */
.footer { background: #1a1a1a; padding: 48px 0 0; }
.footer-wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 40px; }
.footer-left { color: var(--gray-400); }
.footer-logo { display: block; font-size: 20px; font-weight: 800; color: var(--orange); margin-bottom: 14px; }
.footer-left p { font-size: 13px; line-height: 1.8; }
.footer-email { margin-top: 8px; font-size: 13px; color: var(--gray-600); }
.footer-right { display: flex; flex-direction: column; gap: 10px; text-align: right; }
.footer-right a { font-size: 13px; color: var(--gray-600); transition: color var(--trans); }
.footer-right a:hover { color: var(--orange); }
.footer-copy { border-top: 1px solid #2a2a2a; padding: 16px 24px; text-align: center; font-size: 12px; color: #555; }

/* ══ KAKAO CHANNEL ══ */
.kakao-bar {
  background: #FEE500;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 10px 24px; font-size: 13px; font-weight: 600; color: #191919;
}
.kakao-bar-btn {
  background: #191919; color: #FEE500;
  padding: 6px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
  white-space: nowrap;
  transition: background var(--trans);
}
.kakao-bar-btn:hover { background: #333; }

.kakao-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 300;
  background: #FEE500; color: #191919;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 16px; border-radius: 16px;
  font-size: 11px; font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  transition: transform var(--trans), box-shadow var(--trans);
}
.kakao-float:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.22); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-slide { padding: 0 24px; }
  .banner-img-wrap { width: 220px; }
  .banner-text h2 { font-size: 24px; }
  .host-inner { flex-direction: column; text-align: center; padding: 40px 32px; }
  .host-steps { justify-content: center; }
  .nav-center { display: none; }
  .footer-wrap { flex-direction: column; }
  .footer-right { text-align: left; }
}
@media (max-width: 520px) {
  .card-grid { grid-template-columns: 1fr; }
  .banner-img-wrap { display: none; }
}
