/* ===== YouMat Design System v10 — 통합 랜딩+웹서비스 ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-50: #fff1f0; --primary-100: #ffe1de; --primary-200: #ffc8c2;
  --primary-300: #ffa299; --primary-400: #ff7066; --primary-500: #FF4438;
  --primary-600: #e02e23; --primary-700: #bc2019; --primary-800: #9b1f18; --primary-900: #80201b;
  --secondary-50: #f0f4ff; --secondary-100: #dbe4ff; --secondary-200: #bfcfff;
  --secondary-500: #3b56fc; --secondary-700: #1a24de; --secondary-900: #1c208e;
  --gray-50: #fafafa; --gray-100: #f5f5f5; --gray-200: #e5e5e5; --gray-300: #d4d4d4;
  --gray-400: #a3a3a3; --gray-500: #737373; --gray-600: #525252; --gray-700: #404040;
  --gray-800: #262626; --gray-900: #171717;
  --success-500: #22c55e; --warning-500: #f59e0b; --error-500: #ef4444; --info-500: #3b82f6;
  --yt-red: #dc2626; --yt-red-bg: #fee2e2;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;
  --font-sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --text-xs: 0.75rem; --text-sm: 0.875rem; --text-base: 1rem;
  --text-lg: 1.125rem; --text-xl: 1.25rem; --text-2xl: 1.5rem; --text-3xl: 1.875rem; --text-4xl: 2.25rem; --text-5xl: 3rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;
  --header-height: 64px;
  --footer-height: 64px;
  --transition: all 0.2s ease;
}

/* Reset */
*,*::before,*::after { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { height: 100%; font-family: var(--font-sans); background: #fff; color: var(--gray-900); -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-sans); cursor: pointer; border: none; background: none; }

/* SVG Icons */
.svg { display: inline-block; line-height: 0; vertical-align: text-top; }
.svg svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Layout */
.wrapper { height: 100%; display: flex; flex-direction: column; }

/* App Header */
.app-header { display: flex; align-items: center; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--gray-100); position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 56px; }
.app-header .logo-text { font-size: 18px; font-weight: 900; color: var(--primary-500); letter-spacing: -0.5px; }
.app-header .logo-dot { color: var(--gray-800); }
.app-header .header-title { font-size: 16px; font-weight: 700; color: var(--gray-900); }
.app-header .header-back { font-size: 14px; color: var(--gray-400); margin-right: 8px; cursor: pointer; padding: 8px; }
.app-header .search-icon { margin-left: auto; width: 36px; height: 36px; border-radius: var(--radius-full); background: var(--gray-100); display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* Bottom Tab Navigation */
.bottom-tab { position: fixed; bottom: 0; left: 0; right: 0; height: var(--footer-height); background: #fff; border-top: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-around; padding: 0 8px; z-index: 100; }
.tab-item { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; font-weight: 500; color: var(--gray-400); cursor: pointer; padding: 4px 12px; text-decoration: none; }
.tab-item.active { color: var(--primary-500); }
.tab-item svg, .tab-icon { width: 22px; height: 22px; }

/* Body Container */
.body-container { flex: 1; padding-top: 56px; padding-bottom: var(--footer-height); height: 100%; }
.body-container .contents { height: 100%; position: relative; }

/* Search Bar Float */
.search-bar-float { position: absolute; top: 12px; left: 16px; right: 16px; z-index: 5; background: #fff; border-radius: var(--radius-xl); padding: 10px 16px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); }
.search-bar-float input { border: none; outline: none; flex: 1; font-size: 14px; font-family: var(--font-sans); color: var(--gray-900); }
.search-bar-float input::placeholder { color: var(--gray-400); }
.search-bar-float .search-icon-sm { color: var(--gray-400); font-size: 16px; }

/* Filter Chips */
.filter-chips { display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; background: #fff; }
.filter-chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border-radius: var(--radius-full); font-size: 13px; font-weight: 500; border: 1px solid var(--gray-200); background: #fff; color: var(--gray-700); white-space: nowrap; cursor: pointer; transition: var(--transition); }
.chip:hover { border-color: var(--primary-400); color: var(--primary-500); }
.chip.active { background: var(--primary-500); color: #fff; border-color: var(--primary-500); }

/* YouTuber Card */
.ytb-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--gray-100); cursor: pointer; transition: background 0.15s; }
.ytb-card:hover { background: var(--gray-50); }
.ytb-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-400), var(--primary-600)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; flex-shrink: 0; background-size: cover; background-position: center; }
.ytb-info { flex: 1; min-width: 0; }
.ytb-name { font-size: 14px; font-weight: 700; color: var(--gray-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ytb-sub { font-size: 12px; color: var(--gray-500); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ytb-badge { font-size: 11px; color: var(--yt-red); background: var(--yt-red-bg); padding: 2px 8px; border-radius: var(--radius-full); font-weight: 600; }
.ytb-count { font-size: 12px; color: var(--gray-500); font-weight: 500; white-space: nowrap; }

/* Restaurant Card */
.rest-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); transition: var(--transition); }
.rest-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rest-thumb { height: 140px; background: linear-gradient(135deg, #fde68a, #fdba74); display: flex; align-items: center; justify-content: center; font-size: 48px; position: relative; overflow: hidden; }
.rest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rest-thumb .yt-badge { position: absolute; top: 8px; right: 8px; background: var(--yt-red); color: #fff; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; display: flex; align-items: center; gap: 3px; }
.rest-body { padding: 14px; }
.rest-name { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rest-meta { font-size: 12px; color: var(--gray-500); display: flex; align-items: center; gap: 6px; }
.rest-tags { display: flex; gap: 4px; margin-top: 8px; flex-wrap: wrap; }
.rest-tag { font-size: 11px; color: var(--primary-600); background: var(--primary-50); padding: 2px 8px; border-radius: var(--radius-full); font-weight: 500; }

/* Detail Sheet */
.detail-sheet { background: #fff; border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: 20px 16px; margin-top: -20px; position: relative; z-index: 2; }
.detail-sheet .handle { width: 36px; height: 4px; background: var(--gray-300); border-radius: 2px; margin: 0 auto 16px; }

/* Buttons (v10) */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: var(--primary-500); color: #fff; border: none; border-radius: var(--radius-full); font-size: var(--text-base); font-weight: 700; cursor: pointer; transition: all 0.25s; font-family: var(--font-sans); box-shadow: 0 4px 16px rgba(255,68,56,0.3); }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,68,56,0.35); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: #fff; color: var(--gray-700); border-radius: var(--radius-full); font-size: var(--text-base); font-weight: 700; border: 1.5px solid var(--gray-200); transition: all 0.25s; font-family: var(--font-sans); cursor: pointer; }
.btn-secondary:hover { border-color: var(--gray-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary svg, .btn-primary svg { width: 18px; height: 18px; }
.btn-outline { padding: 14px 32px; background: #fff; color: var(--gray-700); border: 1.5px solid var(--gray-200); border-radius: var(--radius-full); font-size: var(--text-base); font-weight: 700; cursor: pointer; transition: all 0.25s; font-family: var(--font-sans); }
.btn-outline:hover { border-color: var(--gray-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Map Marker (for custom overlay) */
.map-marker-overlay { display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: transform 0.2s; }
.map-marker-overlay:hover { transform: scale(1.15); z-index: 3; }
.marker-pin { width: 36px; height: 36px; border-radius: 50% 50% 50% 0; background: var(--primary-500); transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(255,68,56,0.4); }
.marker-pin .marker-inner { transform: rotate(45deg); font-size: 14px; }
.marker-label { margin-top: 4px; background: rgba(0,0,0,0.75); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 600; white-space: nowrap; }

/* ===== SKIP NAV ===== */
.skip-nav { position: absolute; top: -100px; left: 50%; transform: translateX(-50%); background: var(--primary-500); color: #fff; padding: 12px 24px; border-radius: 0 0 var(--radius-md) var(--radius-md); font-size: var(--text-sm); font-weight: 700; z-index: 9999; transition: top 0.2s; }
.skip-nav:focus { top: 0; }

/* ===== GLOBAL NAV (GNB) — Glassmorphism ===== */
.gnb { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(0,0,0,0.06); transition: all 0.3s; }
.gnb.scrolled { box-shadow: var(--shadow-md); }
.gnb-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: var(--header-height); display: flex; align-items: center; justify-content: space-between; }
.gnb-logo { display: flex; align-items: center; gap: 8px; }
.gnb-logo .logo-icon { width: 32px; height: 32px; background: var(--primary-500); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.gnb-logo .logo-icon svg { width: 20px; height: 20px; fill: #fff; }
.gnb-logo .logo-text { font-size: 20px; font-weight: 900; color: var(--gray-900); letter-spacing: -0.5px; }
.gnb-logo .logo-text span { color: var(--primary-500); }
.gnb-links { display: flex; align-items: center; gap: 4px; }
.gnb-links a { font-size: var(--text-sm); font-weight: 600; color: var(--gray-600); padding: 8px 16px; border-radius: var(--radius-full); transition: all 0.2s; }
.gnb-links a:hover, .gnb-links a.active { color: var(--primary-500); background: var(--primary-50); }
.gnb-cta { display: flex; align-items: center; gap: 12px; }
.btn-app { display: inline-flex; align-items: center; gap: 6px; padding: 8px 20px; background: var(--primary-500); color: #fff; border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 700; transition: all 0.2s; box-shadow: 0 2px 8px rgba(255,68,56,0.3); }
.btn-app:hover { background: var(--primary-600); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,68,56,0.4); }
.btn-app svg { width: 16px; height: 16px; fill: currentColor; }

/* Mobile hamburger */
.gnb-hamburger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--radius-md); }
.gnb-hamburger span { display: block; width: 20px; height: 2px; background: var(--gray-700); position: relative; transition: 0.3s; }
.gnb-hamburger span::before, .gnb-hamburger span::after { content: ''; position: absolute; width: 20px; height: 2px; background: var(--gray-700); transition: 0.3s; }
.gnb-hamburger span::before { top: -6px; }
.gnb-hamburger span::after { top: 6px; }

/* Legacy web-nav alias */
.web-nav { display: flex; align-items: center; padding: 0 24px; height: var(--header-height); border-bottom: 1px solid rgba(0,0,0,0.06); background: rgba(255,255,255,0.95); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all 0.3s; }
.web-nav .logo { font-size: 20px; font-weight: 900; color: var(--gray-900); letter-spacing: -0.5px; }
.web-nav .logo .logo-dark { color: var(--gray-800); }
.web-nav .logo span { color: var(--primary-500); }
.web-nav .nav-links { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.web-nav .nav-links a { font-size: var(--text-sm); font-weight: 600; color: var(--gray-600); padding: 8px 16px; border-radius: var(--radius-full); transition: all 0.2s; }
.web-nav .nav-links a:hover, .web-nav .nav-links a.active { color: var(--primary-500); background: var(--primary-50); }

/* ===== HERO SECTION (v10) ===== */
.hero { padding: 140px 24px 80px; background: linear-gradient(180deg, #fff 0%, var(--primary-50) 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,68,56,0.08) 0%, transparent 70%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -100px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(59,86,252,0.06) 0%, transparent 70%); border-radius: 50%; }
.hero-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content { max-width: 560px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; background: var(--yt-red-bg); border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 700; color: var(--yt-red); margin-bottom: 24px; }
.hero-badge svg { width: 14px; height: 14px; fill: var(--yt-red); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.2; letter-spacing: -1px; color: var(--gray-900); margin-bottom: 20px; }
.hero h1 .accent { color: var(--primary-500); position: relative; }
.hero h1 .accent::after { content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 8px; background: rgba(255,68,56,0.15); border-radius: 4px; z-index: -1; }
.hero-desc { font-size: var(--text-lg); color: var(--gray-600); line-height: 1.7; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Legacy landing-hero alias */
.landing-hero { padding: 140px 24px 80px; display: flex; align-items: center; gap: 48px; background: linear-gradient(180deg, #fff 0%, var(--primary-50) 100%); min-height: calc(100vh - var(--header-height)); position: relative; overflow: hidden; }
.landing-hero .hero-text { flex: 1; }
.landing-hero h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: var(--gray-900); line-height: 1.2; letter-spacing: -1px; margin-bottom: 20px; }
.landing-hero h2 span { color: var(--primary-500); }
.landing-hero p { font-size: var(--text-lg); color: var(--gray-600); line-height: 1.7; margin-bottom: 36px; }
.landing-hero .cta-group { display: flex; gap: 12px; }

/* Hero Visual — Phone Mockup */
.hero-visual { display: flex; justify-content: center; position: relative; flex-shrink: 0; }
.hero-phone { width: 300px; background: #fff; border-radius: 36px; overflow: hidden; box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(0,0,0,0.04); position: relative; }
.hero-phone .status-bar { height: 44px; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font-size: 12px; font-weight: 600; }
.hero-phone .notch { width: 80px; height: 24px; background: var(--gray-900); border-radius: 20px; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 10; }
.hero-phone .app-bar { display: flex; align-items: center; padding: 8px 16px; gap: 8px; }
.hero-phone .app-bar .app-logo { font-size: 17px; font-weight: 900; color: var(--primary-500); }
.hero-phone .app-bar .app-logo span { color: var(--gray-800); }
.hero-phone .mini-search { margin: 0 12px 8px; background: var(--gray-100); border-radius: var(--radius-full); padding: 10px 14px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-400); }
.hero-phone .mini-map { height: 240px; background: linear-gradient(180deg, #e8f4e8 0%, #d4e8d4 30%, #c8dcc8 60%, #f0f0f0 100%); position: relative; overflow: hidden; }
.hero-phone .mini-card { margin: -16px 12px 0; background: #fff; border-radius: var(--radius-md); padding: 12px; box-shadow: var(--shadow-md); position: relative; z-index: 3; display: flex; gap: 10px; }
.mini-card .mc-thumb { width: 64px; height: 64px; border-radius: var(--radius-sm); background: linear-gradient(135deg, #fde68a, #fdba74); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.mini-card .mc-info { flex: 1; min-width: 0; }
.mini-card .mc-name { font-size: 13px; font-weight: 700; }
.mini-card .mc-meta { font-size: 11px; color: var(--gray-500); margin-top: 2px; }
.mini-card .mc-tag { display: inline-block; margin-top: 4px; font-size: 10px; color: var(--yt-red); background: var(--yt-red-bg); padding: 1px 6px; border-radius: var(--radius-full); font-weight: 600; }
.hero-phone .bottom-nav { display: flex; justify-content: space-around; padding: 10px 0 20px; background: #fff; border-top: 1px solid var(--gray-100); }
.hero-phone .bnav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; font-weight: 500; color: var(--gray-400); }
.hero-phone .bnav-item.active { color: var(--primary-500); }
.hero-phone .bnav-item svg { width: 20px; height: 20px; }

/* Floating cards around phone */
.float-card { position: absolute; background: #fff; border-radius: var(--radius-md); padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: var(--text-sm); font-weight: 600; z-index: 5; animation: float 6s ease-in-out infinite; }
.float-card.fc1 { top: 60px; right: -20px; animation-delay: 0s; }
.float-card.fc2 { bottom: 120px; left: -30px; animation-delay: 2s; }
.float-card.fc3 { bottom: 40px; right: -10px; animation-delay: 4s; }
.float-card .fc-icon { font-size: 20px; margin-bottom: 4px; }
.float-card .fc-num { font-size: 18px; font-weight: 900; color: var(--primary-500); }
.float-card .fc-label { font-size: 11px; color: var(--gray-500); font-weight: 500; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== STATS BAR (v10 — dark bg) ===== */
.stats-bar { background: var(--gray-900); padding: 40px 24px; }
.stats-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item .stat-num { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 900; color: #fff; }
.stat-item .stat-num span { color: var(--primary-400); }
.stat-item .stat-label { font-size: var(--text-sm); color: var(--gray-400); margin-top: 4px; }
/* Legacy stat aliases */
.stats-bar .stat { text-align: center; }
.stats-bar .stat-value { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 900; color: #fff; }
.stats-bar .stat-label { font-size: var(--text-sm); color: var(--gray-400); }

/* ===== SECTION COMMON ===== */
.section { padding: 80px 24px; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header .section-tag { display: inline-block; font-size: var(--text-xs); font-weight: 700; color: var(--primary-500); background: var(--primary-50); padding: 4px 14px; border-radius: var(--radius-full); margin-bottom: 12px; letter-spacing: 0.5px; text-transform: uppercase; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.3; letter-spacing: -0.5px; margin-bottom: 12px; }
.section-header p { font-size: var(--text-base); color: var(--gray-500); line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--gray-50); }
.steps-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; position: relative; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); transition: all 0.3s; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; background: var(--primary-500); color: #fff; border-radius: 50%; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step-icon { width: 64px; height: 64px; margin: 12px auto 20px; background: var(--primary-50); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.step-card h3 { font-size: var(--text-lg); font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: var(--text-sm); color: var(--gray-500); line-height: 1.6; }

/* ===== MAP SERVICE SECTION ===== */
.map-service { background: #fff; }
.map-container { max-width: 1200px; margin: 0 auto; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-2xl); border: 1px solid var(--gray-200); }
.map-toolbar { background: #fff; padding: 16px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--gray-100); flex-wrap: wrap; }
.map-search { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px; background: var(--gray-50); border-radius: var(--radius-full); padding: 10px 18px; border: 1.5px solid var(--gray-200); transition: border-color 0.2s; }
.map-search:focus-within { border-color: var(--primary-400); }
.map-search svg { width: 18px; height: 18px; color: var(--gray-400); flex-shrink: 0; }
.map-search input { border: none; outline: none; background: none; flex: 1; font-size: 14px; font-family: var(--font-sans); color: var(--gray-900); }
.map-search input::placeholder { color: var(--gray-400); }
.map-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { display: inline-flex; align-items: center; gap: 4px; padding: 7px 16px; border-radius: var(--radius-full); font-size: 13px; font-weight: 600; border: 1.5px solid var(--gray-200); background: #fff; color: var(--gray-600); transition: all 0.2s; white-space: nowrap; }
.filter-btn:hover { border-color: var(--primary-400); color: var(--primary-500); }
.filter-btn.active { background: var(--primary-500); color: #fff; border-color: var(--primary-500); }
.filter-btn svg { width: 14px; height: 14px; }
.map-body { display: grid; grid-template-columns: 380px 1fr; min-height: 560px; }
.map-sidebar { background: #fff; border-right: 1px solid var(--gray-100); overflow-y: auto; max-height: 560px; }
.sidebar-tabs { display: flex; border-bottom: 2px solid var(--gray-100); }
.sidebar-tab { flex: 1; padding: 12px 0; text-align: center; font-size: var(--text-sm); font-weight: 600; color: var(--gray-400); cursor: pointer; position: relative; transition: color 0.2s; }
.sidebar-tab.active { color: var(--primary-500); }
.sidebar-tab.active::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--primary-500); }

/* Restaurant list items */
.rest-list-item { display: flex; gap: 12px; padding: 16px; border-bottom: 1px solid var(--gray-100); cursor: pointer; transition: background 0.15s; }
.rest-list-item:hover { background: var(--gray-50); }
.rli-thumb { width: 80px; height: 80px; border-radius: var(--radius-md); background: linear-gradient(135deg, #fde68a, #fdba74); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; overflow: hidden; position: relative; }
.rli-thumb .yt-play { position: absolute; bottom: 4px; right: 4px; width: 20px; height: 20px; background: var(--yt-red); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.rli-thumb .yt-play svg { width: 10px; height: 10px; fill: #fff; }
.rli-info { flex: 1; min-width: 0; }
.rli-name { font-size: 14px; font-weight: 700; color: var(--gray-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.rli-addr { font-size: 12px; color: var(--gray-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rli-tags { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.rli-tag { font-size: 11px; padding: 2px 8px; border-radius: var(--radius-full); font-weight: 500; }
.rli-tag.yt { color: var(--yt-red); background: var(--yt-red-bg); }
.rli-tag.cat { color: var(--secondary-700); background: var(--secondary-50); }
.rli-ytber { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 11px; color: var(--gray-500); }
.rli-ytber .avatar { width: 16px; height: 16px; border-radius: 50%; background: var(--primary-400); }

/* Map display area */
.map-display { background: linear-gradient(180deg, #e8f4e8 0%, #d4e8d4 30%, #c8dcc8 60%, #eee 100%); position: relative; overflow: hidden; }
.map-marker { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: transform 0.2s; }
.map-marker:hover { transform: scale(1.15); z-index: 5; }

/* Map popup card */
.map-popup { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: #fff; border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-xl); z-index: 10; display: flex; gap: 14px; min-width: 320px; }
.mp-thumb { width: 90px; height: 90px; border-radius: var(--radius-md); background: linear-gradient(135deg, #fde68a, #fdba74); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.mp-info { flex: 1; }
.mp-name { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.mp-addr { font-size: 12px; color: var(--gray-500); margin-bottom: 6px; }
.mp-actions { display: flex; gap: 6px; margin-top: 8px; }
.mp-btn { padding: 5px 12px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; }
.mp-btn.primary { background: var(--primary-500); color: #fff; }
.mp-btn.outline { border: 1px solid var(--gray-200); color: var(--gray-600); }

/* Zoom controls */
.map-zoom { position: absolute; top: 16px; right: 16px; z-index: 5; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-md); overflow: hidden; }
.map-zoom button { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--gray-600); border-bottom: 1px solid var(--gray-100); }
.map-zoom button:last-child { border-bottom: none; }
.map-zoom button:hover { background: var(--gray-50); }

/* ===== YOUTUBER SECTION ===== */
.youtuber-section { background: var(--gray-50); }
.ytb-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.ytb-yt-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--yt-red); background: var(--yt-red-bg); padding: 3px 10px; border-radius: var(--radius-full); margin-bottom: 8px; }
.ytb-yt-badge svg { width: 12px; height: 12px; fill: var(--yt-red); }

/* ===== POPULAR RESTAURANTS ===== */
.popular-section { background: #fff; }
.popular-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pop-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); transition: all 0.25s; cursor: pointer; }
.pop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pop-thumb { height: 160px; background: linear-gradient(135deg, #fde68a 0%, #fdba74 100%); position: relative; display: flex; align-items: center; justify-content: center; font-size: 56px; overflow: hidden; }
.pop-thumb .rank { position: absolute; top: 12px; left: 12px; width: 28px; height: 28px; background: rgba(0,0,0,0.7); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.pop-thumb .yt-badge { position: absolute; top: 12px; right: 12px; background: var(--yt-red); color: #fff; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; display: flex; align-items: center; gap: 3px; }
.pop-thumb .yt-badge svg { width: 10px; height: 10px; fill: #fff; }
.pop-body { padding: 16px; }
.pop-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pop-addr { font-size: 12px; color: var(--gray-500); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Web Map Section (sidebar + map layout) ===== */
.web-map-section { display: flex; height: calc(100vh - var(--header-height)); }
.web-sidebar { width: 360px; border-right: 1px solid var(--gray-100); overflow-y: auto; flex-shrink: 0; background: #fff; }
.web-sidebar .sidebar-search { padding: 16px; border-bottom: 1px solid var(--gray-100); }
.web-sidebar .sidebar-search-input { display: flex; align-items: center; background: var(--gray-100); border-radius: var(--radius-full); padding: 8px 16px; gap: 8px; }
.web-sidebar .sidebar-search-input input { border: none; outline: none; background: transparent; flex: 1; font-size: 13px; font-family: var(--font-sans); color: var(--gray-900); }
.web-sidebar .sidebar-search-input input::placeholder { color: var(--gray-400); }
.web-map { flex: 1; position: relative; }
.web-map #map { width: 100%; height: 100%; }

/* Web Layout (desktop) */
@media (min-width: 769px) {
  .web-layout { display: flex; height: calc(100vh - var(--header-height)); margin-top: var(--header-height); }
  .web-map-container { flex: 1; position: relative; }

  .app-header { display: none; }
  .bottom-tab { display: none; }
  .body-container { padding-top: 0; padding-bottom: 0; }
}

/* Loading & Error States */
.loading-msg { text-align: center; padding: 40px; color: var(--gray-400); font-size: var(--text-sm); }
.error-msg { display: none; text-align: center; padding: 40px; }
.error-msg .error-icon { font-size: 40px; margin-bottom: 12px; }
.error-msg .error-title { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.error-msg .error-desc { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; }
.error-msg .btn-retry { background: var(--primary-500); color: #fff; border: none; padding: 10px 24px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--font-sans); }
.error-msg .btn-retry:hover { background: var(--primary-600); }

.empty-msg { display: none; text-align: center; padding: 40px; }
.empty-msg .empty-icon { font-size: 40px; margin-bottom: 12px; }
.empty-msg .empty-title { font-size: 16px; font-weight: 700; color: var(--gray-900); }

/* Notice Card */
.notice-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--gray-100); cursor: pointer; transition: background 0.15s; }
.notice-card:hover { background: var(--gray-50); }
.notice-thumb { width: 72px; height: 72px; border-radius: var(--radius-md); background: var(--gray-100); background-size: cover; background-position: center; flex-shrink: 0; overflow: hidden; }
.notice-info { flex: 1; min-width: 0; }
.notice-title { font-size: 14px; font-weight: 700; color: var(--gray-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice-sub { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.notice-date { font-size: 11px; color: var(--gray-400); margin-top: 4px; }

/* Custom Map Overlay (for marker info popup) */
.map-overlay-card { position: absolute; left: 0; top: 0; width: 200px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 10; }
.map-overlay-card img { width: 100%; height: 120px; object-fit: cover; }
.map-overlay-card .overlay-info { padding: 10px; }
.map-overlay-card .overlay-info .overlay-name { font-size: 13px; font-weight: 700; color: var(--gray-900); }
.map-overlay-card .overlay-info .overlay-channel { font-size: 11px; color: var(--gray-500); margin-top: 2px; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* Utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== Responsive Breakpoints (v10) ===== */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .landing-hero { flex-direction: column; padding: 100px 20px 60px; text-align: center; }
  .landing-hero .cta-group { justify-content: center; }
  .hero-visual { justify-content: center; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .map-body { grid-template-columns: 1fr; }
  .map-sidebar { max-height: 300px; border-right: none; border-bottom: 1px solid var(--gray-100); }
  .web-map-section { flex-direction: column; height: auto; }
  .web-sidebar { width: 100%; max-height: 300px; border-right: none; border-bottom: 1px solid var(--gray-100); }
  .web-map { height: 60vh; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet small — 768px */
@media (max-width: 768px) {
  .gnb-links { display: none; }
  .gnb-hamburger { display: flex; }
  .gnb-cta .btn-app { display: none; }
  .web-nav { padding: 0 16px; height: 56px; }
  .web-nav .nav-links { display: none; }
  .hero { padding: 100px 20px 60px; }
  .landing-hero h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
  .landing-hero p { font-size: var(--text-sm); }
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; }
  .stats-bar { padding: 32px 20px; }
  .stats-inner { gap: 20px; }
  .ytb-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .popular-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .web-sidebar { max-height: 250px; }
  .web-map { height: 50vh; }
  .map-popup { min-width: 280px; }
}

/* Mobile — 480px */
@media (max-width: 480px) {
  .hero { padding: 80px 16px 48px; }
  .hero-phone { width: 260px; }
  .landing-hero { padding: 80px 16px 48px; }
  .hero-visual { max-width: 280px; }
  .stats-bar { padding: 24px 16px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section { padding: 48px 16px; }
  .section-header { margin-bottom: 32px; }
  .btn-primary, .btn-secondary, .btn-outline { padding: 12px 24px; font-size: var(--text-sm); }
  .map-toolbar { flex-direction: column; }
  .map-search { min-width: 100%; }
  .map-popup { min-width: auto; left: 16px; right: 16px; transform: none; }
  .ytb-grid { grid-template-columns: 1fr; }
  .popular-grid { grid-template-columns: 1fr; }
  .web-sidebar { max-height: 200px; }
}

/* Wide Desktop */
@media (min-width: 1280px) {
  .landing-hero { max-width: 1280px; margin: 0 auto; }
  .web-sidebar { width: 400px; }
}
