* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #121212;
  color: #ffffff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.page-shell { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Header & Navigation */
.site-header {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 0; border-bottom: 1px solid #333; gap: 15px;
}
@media (min-width: 768px) {
  .site-header { flex-direction: row; justify-content: space-between; }
}
.brand-text strong { font-size: 1.5rem; color: #ff3366; display: block; }
.brand-text em { font-size: 0.8rem; font-style: normal; color: #888; }
.nav-menu { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.nav-menu a { font-size: 0.95rem; font-weight: bold; color: #ddd; transition: color 0.2s; }
.nav-menu a:hover { color: #ff3366; }

/* Hero */
.hero-banner { padding: 40px 0 20px; text-align: center; }
.eyebrow { color: #ff3366; font-size: 0.85rem; font-weight: bold; letter-spacing: 2px; }
.hero-banner h1 { font-size: 2rem; margin: 10px 0; }
.hero-banner p { color: #aaa; font-size: 0.95rem; }

/* Section Header */
.section-head { text-align: center; margin: 50px 0 25px; }
.section-head span { color: #ff3366; font-size: 0.85rem; font-weight: bold; letter-spacing: 1px; }
.section-head h2 { font-size: 1.6rem; margin: 5px 0; }
.section-head p { color: #888; font-size: 0.9rem; }

/* Shop Section Styles */
.shop-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.shop-card {
  background: #1e1e1e; border: 1px solid #2a2a2a; border-radius: 12px; padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.shop-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.shop-badge {
  background: #ff3366; color: #fff; font-size: 0.75rem;
  font-weight: bold; padding: 3px 8px; border-radius: 4px; white-space: nowrap;
}
.shop-title { font-size: 1.25rem; font-weight: 700; color: #fff; }
.shop-desc { font-size: 0.9rem; color: #aaa; margin-bottom: 16px; }

.shop-courses {
  background: #161616; border-radius: 8px; padding: 12px; margin-bottom: 16px;
}
.course-item {
  display: flex; justify-content: space-between; font-size: 0.9rem;
  padding: 6px 0; border-bottom: 1px dashed #333;
}
.course-item:last-child { border-bottom: none; }
.course-price { color: #ff3366; font-weight: bold; }

.shop-call-btn {
  display: block; text-align: center; background: #ff3366;
  color: #fff; font-weight: bold; padding: 12px; border-radius: 6px;
}

/* Info Sections */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.info-card {
  background: #1e1e1e; padding: 20px; border-radius: 8px; border: 1px solid #2a2a2a;
}
.info-card h3 { color: #ff3366; font-size: 1.1rem; margin-bottom: 8px; }
.info-card p { color: #ccc; font-size: 0.9rem; }

/* Pricing Guide Table */
.price-table { max-width: 800px; margin: 0 auto; }
.price-row {
  background: #1e1e1e; padding: 16px; margin-bottom: 12px; border-radius: 8px;
  display: flex; justify-content: space-between; align-items: center; position: relative;
}
.price-row--best { border: 1px solid #ff3366; }
.row-badge {
  position: absolute; top: -10px; left: 16px; background: #ff3366;
  color: #fff; padding: 2px 8px; font-size: 0.75rem; border-radius: 4px;
}
.row-name small { display: block; color: #888; }
.row-amount { font-weight: bold; color: #ff3366; }

/* Area Grid */
.area-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
}
.area-tile { background: #1e1e1e; border-radius: 8px; overflow: hidden; transition: transform 0.2s; }
.area-tile:hover { transform: translateY(-5px); }
.tile-img img { width: 100%; height: auto; display: block; }
.tile-body { padding: 12px; }
.tile-body strong { display: block; font-size: 1rem; }
.tile-tag { font-size: 0.85rem; color: #aaa; }

/* Detail Page Custom Styles */
.detail-page-container { padding: 30px 0; max-width: 1000px; margin: 0 auto; }
.back-btn {
  background: #2a2a2a; color: #ff3366; border: 1px solid #ff3366;
  padding: 10px 18px; border-radius: 6px; font-weight: bold; cursor: pointer; margin-bottom: 20px;
}
.back-btn:hover { background: #ff3366; color: #fff; }

/* 구 / 동 페이지 전용 상단 메뉴 */
.detail-nav-menu {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  background: #1e1e1e; padding: 12px; border-radius: 8px; margin-bottom: 20px;
  border: 1px solid #2a2a2a;
}
.detail-nav-menu a {
  background: #121212; color: #ddd; padding: 6px 14px; border-radius: 15px;
  font-size: 0.85rem; font-weight: bold; border: 1px solid #333;
}
.detail-nav-menu a:hover { color: #ff3366; border-color: #ff3366; }

.detail-hero {
  position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 30px; border: 1px solid #333;
}
.detail-hero-img { width: 100%; height: 220px; object-fit: cover; filter: brightness(0.4); }
.detail-hero-text { position: absolute; bottom: 20px; left: 20px; right: 20px; }
.detail-hero-text h1 { font-size: 1.8rem; color: #fff; margin: 5px 0; }
.detail-hero-text p { color: #ddd; font-size: 0.9rem; }
.detail-section { background: #1e1e1e; border: 1px solid #2a2a2a; border-radius: 12px; padding: 25px; margin-bottom: 25px; }
.detail-section h3 { color: #ff3366; font-size: 1.25rem; margin-bottom: 12px; }

.gu-box { background: #161616; border-radius: 8px; padding: 15px; margin-bottom: 12px; }
.gu-title { color: #ff3366; font-size: 1rem; margin-bottom: 10px; }
.dong-link-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.dong-link-btn {
  background: #222; color: #ccc; padding: 6px 12px; border-radius: 15px; font-size: 0.85rem; border: 1px solid #333;
}
.dong-link-btn:hover { background: #ff3366; color: #fff; border-color: #ff3366; }

/* Footer & Floating Button */
.site-footer { border-top: 1px solid #333; padding: 30px 0; font-size: 0.85rem; color: #888; margin-top: 60px; }
.floating-call {
  position: fixed; bottom: 20px; right: 20px; background: #ff3366;
  color: #fff; padding: 12px 24px; border-radius: 30px; font-weight: bold;
  box-shadow: 0 4px 12px rgba(255,51,102,0.4); z-index: 999;
}