.main-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Header ── */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.main-logo-link {
  display: flex;
  align-items: center;
}

.header-kakao-link {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.header-kakao-link:hover {
  color: var(--accent);
}

/* ── Hero ── */
.hero-section {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
  padding: 80px 32px;
  text-align: center;
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hero-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.hero-slogan {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 20px;
  line-height: 1.6;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── Districts section ── */
.districts-section {
  flex: 1;
}

.section-inner-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px;
}

.section-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.districts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── District card ── */
.district-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.district-card--active {
  cursor: pointer;
}

.district-card--active:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.district-card--coming {
  opacity: 0.55;
  cursor: default;
}

.card-name-en {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card-name {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
}

.card-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.55;
  flex: 1;
}

.card-meta {
  display: block;
  margin-top: 28px;
  font-size: 13px;
}

.card-meta--active {
  color: var(--accent);
  font-weight: 500;
}

.card-meta--empty {
  color: var(--text-muted);
}

/* ── More notice ── */
.more-notice {
  text-align: center;
  padding: 0 32px 56px;
}

.more-notice p {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ── Kakao section ── */
.kakao-section {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  padding: 64px 32px;
  text-align: center;
}

.kakao-inner {
  max-width: 640px;
  margin: 0 auto;
}

.kakao-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
}

.kakao-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 12px 0 24px;
  line-height: 1.6;
}

.kakao-btn-wrap {
  max-width: 320px;
  margin: 0 auto;
}

/* ── Mobile ── */
@media (max-width: 1024px) {
  .districts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-header {
    padding: 12px 16px;
  }

  .hero-section {
    padding: 48px 16px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-slogan {
    font-size: 15px;
  }

  .section-inner-wide {
    padding: 40px 16px;
  }

  .districts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .kakao-section {
    padding: 48px 16px;
  }

  .site-footer {
    padding: 24px 16px;
  }
}
