:root {
  --bg: #0b1021;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f4f5fb;
  --muted: #9ca3af;
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --danger: #f87171;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(125, 211, 252, 0.12), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(236, 72, 153, 0.1), transparent 35%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 20px 48px;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(125, 211, 252, 0.18), transparent 35%),
    radial-gradient(circle at 30% 80%, rgba(216, 180, 254, 0.15), transparent 45%);
  filter: blur(20px);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

h1 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 5vw, 44px);
}

.sub {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.layout {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 0 20px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 14px;
  resize: vertical;
}

textarea {
  min-height: 120px;
}

button {
  cursor: pointer;
  border: none;
  font-weight: 600;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.cta {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0b1021;
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.3);
}

.cta:active {
  transform: translateY(1px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25);
}

.ghost {
  background: transparent;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
}

.wall__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notes {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.note {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
}

.note__meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.note__content {
  margin: 8px 0 0;
  white-space: pre-wrap;
  line-height: 1.5;
}

.status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid var(--card-border);
  color: var(--text);
  line-height: 1.5;
}

.status--error {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecdd3;
}

.footer {
  padding: 24px 20px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .wall__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ghost {
    width: 100%;
    text-align: center;
  }
}
