:root {
  color-scheme: light dark;
  --bg: #0f172a;
  --surface: rgba(15, 23, 42, 0.74);
  --surface-strong: rgba(15, 23, 42, 0.88);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --line: rgba(255, 255, 255, 0.18);
  --primary: #9db4ff;
  --primary-strong: #c7d2fe;
  --accent: #5eead4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.76)),
    url("/static/town-bg.png"),
    radial-gradient(circle at 20% 20%, #1e3a8a, transparent 34%),
    linear-gradient(135deg, #0f172a, #134e4a);
  background-size: cover;
  background-position: center;
}

a {
  color: inherit;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 28px;
}

.hero {
  min-height: calc(100vh - 116px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: end;
}

.hero__content,
.hero__panel,
.notice {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.hero__content {
  padding: 34px;
  border-radius: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 84px);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  color: #0f172a;
  background: var(--primary-strong);
}

.button--secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line);
}

.hero__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
}

.town-card {
  min-height: 134px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.town-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
  background: var(--accent);
  margin-bottom: 12px;
}

.town-card strong {
  display: block;
  font-size: 18px;
}

.town-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.notice {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: 20px;
}

.notice h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.notice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

footer {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 16px 28px;
  color: rgba(248, 250, 252, 0.78);
  font-size: 13px;
}

footer a {
  color: rgba(248, 250, 252, 0.88);
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 24px, 520px);
    padding-top: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: stretch;
  }

  .hero__content {
    padding: 24px;
  }

  .hero__panel {
    grid-template-columns: 1fr 1fr;
  }

  .town-card {
    min-height: 116px;
    padding: 14px;
  }
}
