@font-face {
  font-family: "NeoDunggeunmo";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.3/NeoDunggeunmo.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fff7fb;
  --card: rgba(255, 255, 255, 0.86);
  --text: #2b2b2b;
  --muted: #6b6b6b;

  --pink1: #ffd6ea;
  --pink2: #ffb8d6;
  --pink3: #ff8fbe;
  --lav1: #e9dcff;

  --border: rgba(255, 143, 190, 0.3);
  --shadow: 0 18px 50px rgba(255, 143, 190, 0.18);

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
}

* {
  box-sizing: border-box;
}

body {
  line-height: 1.7;
  margin: 0;
  padding: 34px 18px;
  color: var(--text);
  font-family:
    "NeoDunggeunmo",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    sans-serif;
  background:
    radial-gradient(
      1100px 520px at 20% 10%,
      rgba(255, 184, 214, 0.46),
      transparent 60%
    ),
    radial-gradient(
      900px 460px at 90% 25%,
      rgba(233, 220, 255, 0.56),
      transparent 62%
    ),
    radial-gradient(
      760px 420px at 55% 90%,
      rgba(255, 214, 234, 0.56),
      transparent 60%
    ),
    var(--bg);
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

/* 공통 유리카드 */
.notice,
.card {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

/* 몽글 도트/반짝 */
.notice::before,
.card::before {
  content: "";
  position: absolute;
  inset: -70px -90px auto auto;
  width: 300px;
  height: 300px;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.95) 0 10px,
      transparent 11px
    ),
    radial-gradient(
      circle at 70% 35%,
      rgba(255, 255, 255, 0.85) 0 8px,
      transparent 9px
    ),
    radial-gradient(
      circle at 60% 65%,
      rgba(255, 255, 255, 0.75) 0 7px,
      transparent 8px
    ),
    radial-gradient(
      circle at 30% 75%,
      rgba(255, 255, 255, 0.8) 0 6px,
      transparent 7px
    );
  opacity: 0.55;
  transform: rotate(12deg);
  pointer-events: none;
}

/* 솜사탕 띠 */
.notice::after,
.card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--pink2), var(--lav1), var(--pink1));
  opacity: 0.95;
  pointer-events: none;
}

/* =========================
   Notice
========================= */
.notice {
  padding: 20px;
}

/* ✅ 메인 타이틀(용사의 리퀘스트 사이트) */
.site-title {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -0.4px;
  font-weight: 900;

  background: linear-gradient(90deg, #ff6fab, #ff8fbe, #c9b6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 2px 6px rgba(255, 143, 190, 0.25);
}

.site-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.title-icon {
  width: 28px;
  height: auto;
}

/* ✅ 설명 문장(타이틀 아래) */
.site-desc {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ✅ ⚠️ 주의사항 제목만 따로 스타일 */
#noticeTitle {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.3px;
}

.notice__lead {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.notice__lead strong {
  color: #c43474;
}

.notice__list {
  margin: 0 0 12px;
  padding-left: 18px;
  line-height: 1.7;
}

.notice__list li {
  margin-bottom: 10px;
}

.notice__list strong {
  color: #c43474;
}

.notice__foot {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* =========================
   Card / Form
========================= */
.card {
  padding: 22px;
}

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

.card__hint {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.field {
  margin-bottom: 14px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
  color: #3a3a3a;
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(255, 143, 190, 0.3);
  border-radius: var(--r-lg);
  font-size: 16px;
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  font-family: inherit;
  color: inherit;
}

textarea {
  min-height: 180px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(255, 143, 190, 0.78);
  box-shadow: 0 0 0 5px rgba(255, 143, 190, 0.16);
}

::placeholder {
  color: rgba(90, 90, 90, 0.4);
}

/* 체크박스 */
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  margin: 10px 0 14px;
  color: #3a3a3a;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--pink3);
}

/* 버튼 */
.btn {
  width: 100%;
  padding: 14px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.2px;
  color: #fff;
  background: linear-gradient(180deg, var(--pink3), #ff6fab);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(255, 111, 171, 0.22);
  transition:
    transform 0.08s ease,
    filter 0.15s ease;
  font-family: inherit;
}

.btn:hover {
  filter: brightness(1.03);
}
.btn:active {
  transform: translateY(1px);
}

.tiny {
  margin: 12px 0 0;
  color: rgba(110, 110, 110, 0.92);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 760px) {
  body {
    padding: 24px 14px;
  }
  .card,
  .notice {
    padding: 18px;
  }
}

/* =========================
   Modal
========================= */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(6px);
  z-index: 9999;
}

.modal.is-open {
  display: grid;
}

.modal__card {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 143, 190, 0.35);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  padding: 22px 20px;
  text-align: center;
}

.modal__title {
  margin: 0 0 10px;
  font-size: 22px;
}

.modal__desc {
  margin: 0 0 16px;
  color: rgba(70, 70, 70, 0.9);
  line-height: 1.6;
}

.modal__btn {
  margin-top: 6px;
}
