/* Single-file prototype styles */
:root{--bg:#f7f7fb;--text:#111827;--muted:#6b7280;--primary:#2563eb;--primary-600:#1d4ed8;--accent:#f59e0b;--white:#ffffff;--card:#ffffff;--border:#e5e7eb}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:"Pretendard","Apple SD Gothic Neo","Noto Sans KR",system-ui,-apple-system,Segoe UI,Roboto,Inter,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text)}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1120px;margin:0 auto;padding:0 16px}
.header{position:sticky;top:0;background:var(--white);border-bottom:1px solid var(--border);z-index:10}
.nav{display:flex;align-items:center;justify-content:space-between;height:56px}
.brand{font-weight:700;color:var(--primary)}
.links{display:flex;gap:10px;align-items:center}
.button{display:inline-block;background:var(--primary);color:#fff;padding:10px 14px;border-radius:10px;font-weight:700;border:0;cursor:pointer;box-shadow:0 6px 16px rgba(37,99,235,.25);transition:transform .08s ease,box-shadow .12s ease,background .12s ease}
.button:hover{background:var(--primary-600);transform:translateY(-1px);box-shadow:0 10px 22px rgba(29,78,216,.28)}
.badge{display:inline-block;background:#eef2ff;color:#3730a3;padding:2px 8px;border-radius:999px;font-size:12px}
.hero{background:linear-gradient(90deg,#2563eb,#7c3aed);color:#fff;padding:56px 0}
.hero h1{margin:0 0 8px;font-size:40px}
.hero p{margin:0 0 20px;color:#e5e7eb}
.search{display:flex;gap:8px}
.search input{flex:1;padding:12px 14px;border-radius:8px;border:1px solid var(--border)}
.grid{display:grid;gap:16px}
.grid.cols-2{grid-template-columns:repeat(2,1fr)}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
.grid.cols-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.grid.cols-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.grid.cols-3{grid-template-columns:repeat(2,1fr)}.grid.cols-2{grid-template-columns:1fr}.hero h1{font-size:28px}}
.card{background:var(--card);border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(0,0,0,.06);transition:transform .1s ease, box-shadow .15s ease}
.card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(0,0,0,.10)}
.card .content{padding:12px}
.card .title{font-weight:700;margin:0 0 6px}
.card .muted{color:var(--muted);font-size:14px}
.section{padding:40px 0}
.section h2{margin:0 0 16px;font-size:26px;font-weight:800}
.footer{background:#111827;color:#e5e7eb;padding:24px 0;margin-top:40px;text-align:center}
.list{display:flex;flex-direction:column;gap:12px}
.kv{display:flex;justify-content:space-between;gap:12px}
.rating{color:#f59e0b}
.pill-group{display:flex;background:#f3f4f6;border-radius:10px;padding:4px;gap:4px}
.pill{padding:6px 10px;border-radius:8px;color:#374151}
.pill.active{background:#fff;color:var(--primary);box-shadow:0 1px 2px rgba(0,0,0,.06)}
.image{background:#e5e7eb;height:180px;display:flex;align-items:center;justify-content:center;font-size:40px}
.breadcrumbs{font-size:14px;color:var(--muted);margin-bottom:12px}
.table{width:100%;border-collapse:collapse}
.table th,.table td{border-bottom:1px solid var(--border);text-align:left;padding:8px}
.hidden{display:none!important}
.view{min-height:40vh}
/* Premium Gold Theme Overrides */
:root{
  --gold: #d4af37;
  --gold-2: #b8902f;
  --gold-3: #f1d67a;
  --ink: #1c1b1a;
  --bg: #0f0f0f;
  --card: #171717;
  --muted: #9aa0a6;
}

html, body{ background: linear-gradient(180deg, #0c0c0c 0%, #141414 100%); color:#eee; }
body{ font-feature-settings: "liga" on; }

/* Headings with subtle gold accent */
h1, h2, h3{
  color:#fff;
  letter-spacing: 0.2px;
}
h2{
  position: relative;
  display: inline-block;
}
h2:after{
  content:""; display:block; height:3px; width:42px; background:linear-gradient(90deg, var(--gold), var(--gold-3)); border-radius:3px; margin-top:8px;
}

/* Cards */
.card{
  background: radial-gradient(120% 120% at 0% 0%, #1b1b1b 0%, #121212 100%);
  border: 1px solid rgba(212,175,55,0.18);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.03);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.45);
  border-color: rgba(212,175,55,0.35);
}
.card .title{ color:#fff; }
.card .muted{ color: var(--muted); }

/* Pills and buttons */
.pill, .btn{
  border:1px solid rgba(212,175,55,0.35);
  color:#f3f3f3;
  background: linear-gradient(180deg, rgba(212,175,55,0.25) 0%, rgba(212,175,55,0.15) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.pill.active, .btn.primary{
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%);
  color:#111;
  border-color: #c29a2b;
}
.btn:hover{ filter: brightness(1.05); }

/* Sections and containers */
.section{ background: transparent; }
.section[style*="background:#f3f4f6"]{ background: #121212 !important; }
.container{ max-width:1120px; }

/* Header */
.header{
  position: sticky; top:0; z-index:1000;
  background: linear-gradient(180deg, #121212 0%, #0f0f0f 100%);
  border-bottom: 1px solid rgba(212,175,55,0.25);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.header .brand{ color:#fff; font-weight:700; }
.header .logo-mark{ filter: saturate(0.8) brightness(1.1); }
.header .links a{ color:#ddd; }
.header .links a:hover{ color: var(--gold-3); }

/* Hero */
.hero{
  background: radial-gradient(120% 120% at 10% 0%, rgba(212,175,55,0.18) 0%, rgba(212,175,55,0.06) 35%, rgba(0,0,0,0) 60%),
              linear-gradient(180deg, #141414 0%, #0f0f0f 100%);
  padding: 56px 0 36px;
  border-bottom: 1px solid rgba(212,175,55,0.18);
}
.hero h1{ font-size:40px; margin:0 0 8px; }
.hero p{ color:#d6d6d6; margin:0 0 14px; }
.search input[type="search"]{
  background:#121212; color:#eee; border:1px solid rgba(212,175,55,0.25); border-radius:10px; padding:10px 12px;
}
.button, .search .button{
  border:1px solid #c29a2b; color:#111; font-weight:600; border-radius:10px; padding:10px 14px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%);
}
.button:hover{ filter: brightness(1.05); }

/* Leaflet map container border */
#map, #map-home{
  border: 1px solid rgba(212,175,55,0.25);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

/* Always-visible map labels */
.leaflet-tooltip.map-label{
  background: rgba(32,32,32,0.92);
  color:#f7f7f7;
  border:1px solid rgba(212,175,55,0.55);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  padding:6px 10px;
  font-weight:600;
  letter-spacing: .2px;
}
.leaflet-tooltip.map-label.leaflet-tooltip-top:before{ border-top-color: rgba(212,175,55,0.55); }

/* Ratings tint */
.rating{ color: var(--gold-3); }

/* Grid fine-tuning for dense lists */
.grid.cols-4{ grid-gap: 18px; }

/* Map container */
.map{height:240px;border:1px solid var(--border);border-radius:12px;overflow:hidden}
@media(min-width:768px){.map{height:320px}}
/* Larger map for home */
.map-large{height:320px}
@media(min-width:768px){.map-large{height:420px}}
