@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;700;900&family=Noto+Sans+KR:wght@400;500;700&display=swap');

:root {
  --gold: #deb86c;
  --gold-soft: #f0d9a6;
  --white: #f5f3ee;
  --soft: #b9b2c8;
  --purple-top: #1c0e2e;
  --navy-bottom: #0a0c1c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  background: linear-gradient(180deg, var(--purple-top) 0%, var(--navy-bottom) 60%);
  color: var(--white);
  min-height: 100vh;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.hero {
  text-align: center;
  padding: 20px 0 36px;
}

.hero .brand {
  font-family: 'Noto Serif KR', serif;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: 'Noto Serif KR', serif;
  font-weight: 900;
  font-size: 30px;
  line-height: 1.4;
  margin: 0 0 14px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--soft);
  font-size: 15px;
  margin: 0;
}

.hero-sub {
  color: #39ff14;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
  font-weight: 700;
  font-size: 13px;
  margin-top: 8px;
}

.quick-facts {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.quick-fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(222, 184, 108, 0.3);
  background: rgba(222, 184, 108, 0.06);
  min-width: 90px;
}

.qf-num {
  font-family: 'Noto Serif KR', serif;
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
}

.qf-label {
  color: var(--soft);
  font-size: 11px;
  margin-top: 3px;
}

.divider {
  border: none;
  border-top: 1px solid rgba(222, 184, 108, 0.35);
  margin: 32px 0;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(222, 184, 108, 0.25);
  border-radius: 18px;
  padding: 28px 22px;
  margin-bottom: 20px;
}

.card h2 {
  font-family: 'Noto Serif KR', serif;
  color: var(--gold);
  font-size: 19px;
  margin: 0 0 18px;
  text-align: center;
}

label {
  display: block;
  font-size: 13px;
  color: var(--soft);
  margin: 16px 0 6px;
}

label:first-of-type { margin-top: 0; }

input[type="date"],
input[type="number"],
input[type="text"],
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(222, 184, 108, 0.3);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
}

input:focus, select:focus { outline: 1px solid var(--gold); }

.radio-row {
  display: flex;
  gap: 10px;
}

.radio-row label.pill {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(222, 184, 108, 0.3);
  cursor: pointer;
  margin: 0;
  font-size: 14px;
  color: var(--soft);
}

.radio-row input { display: none; }
.radio-row input:checked + label.pill,
.radio-row label.pill.selected {
  background: rgba(222, 184, 108, 0.18);
  border-color: var(--gold);
  color: var(--gold);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.checkbox-row input { width: 18px; height: 18px; }
.checkbox-row span { font-size: 14px; color: var(--soft); }

button.primary {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1c0e2e;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Noto Serif KR', serif;
  cursor: pointer;
  margin-top: 22px;
}

button.primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

button.secondary {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 15px;
  cursor: pointer;
  margin-top: 12px;
}

.hidden { display: none !important; }

.price-box {
  text-align: center;
  padding: 24px 0;
}

.price-box .amount {
  font-family: 'Noto Serif KR', serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
}

.price-box .label {
  color: var(--soft);
  font-size: 13px;
  margin-top: 4px;
}

.account-info {
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 18px;
  margin: 18px 0;
  text-align: center;
}

.account-info .bank { color: var(--soft); font-size: 13px; }
.account-info .number { font-family: 'Noto Serif KR', serif; font-size: 22px; color: var(--gold); margin: 6px 0; letter-spacing: 1px; }
.account-info .holder { color: var(--soft); font-size: 13px; }

.notice {
  font-size: 12px;
  color: var(--soft);
  text-align: center;
  line-height: 1.6;
  margin-top: 16px;
}

/* 결과 화면 */
.result-header {
  text-align: center;
  margin-bottom: 24px;
}

.result-header .brand-tag {
  color: var(--gold);
  font-size: 13px;
  font-family: 'Noto Serif KR', serif;
}

.result-header h2 {
  font-family: 'Noto Serif KR', serif;
  font-size: 26px;
  margin: 10px 0 0;
  color: var(--white);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.pillar-box {
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 12px 4px;
  text-align: center;
}

.pillar-box .label { font-size: 11px; color: var(--soft); }
.pillar-box .value { font-family: 'Noto Serif KR', serif; font-weight: 700; font-size: 15px; margin: 6px 0 2px; }
.pillar-box .hanja { font-size: 10px; color: var(--soft); }

.ilgan-note {
  text-align: center;
  font-size: 13px;
  color: var(--soft);
  margin-bottom: 24px;
}

.section-title {
  font-family: 'Noto Serif KR', serif;
  color: var(--gold);
  font-size: 17px;
  margin: 24px 0 10px;
}

.section-body {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--white);
}

.topic-block { margin-bottom: 18px; }
.topic-block h3 { font-family: 'Noto Serif KR', serif; color: var(--gold-soft); font-size: 15px; margin: 0 0 8px; }
.topic-block ul { margin: 0; padding-left: 18px; }
.topic-block li { font-size: 14px; line-height: 1.7; margin-bottom: 4px; color: var(--white); }

.closing {
  text-align: center;
  border-top: 1px solid rgba(222,184,108,0.3);
  padding-top: 20px;
  margin-top: 24px;
  color: var(--gold-soft);
  font-size: 14.5px;
  line-height: 1.7;
}

.footer-note {
  text-align: center;
  font-size: 11px;
  color: rgba(185,178,200,0.6);
  margin-top: 20px;
}

.kakao-cta {
  margin-top: 28px;
  text-align: center;
  padding: 18px;
  border-radius: 14px;
  background: rgba(222,184,108,0.08);
  border: 1px solid rgba(222,184,108,0.3);
}

.kakao-cta p { font-size: 13px; color: var(--soft); margin: 0 0 10px; }
