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

:root {
  --bg: #120b1f;
  --bg2: #1b102d;
  --card: rgba(255,255,255,0.08);
  --card2: rgba(255,255,255,0.12);
  --text: #fff7ef;
  --muted: rgba(255,247,239,0.72);
  --line: rgba(255,255,255,0.15);
  --gold: #f8c46b;
  --gold2: #ffdf9d;
  --purple: #9d72ff;
  --pink: #ff7ab6;
  --shadow: 0 24px 80px rgba(0,0,0,0.36);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans KR', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(157,114,255,0.24), transparent 36%),
    radial-gradient(circle at 80% 12%, rgba(255,122,182,0.18), transparent 28%),
    linear-gradient(180deg, var(--bg), #080511 75%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(18,11,31,0.76);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  color: #24110c;
  font-weight: 900;
}

.brand-name {
  letter-spacing: -0.03em;
}

.header-cta {
  padding: 11px 18px;
  border: 1px solid rgba(248,196,107,0.45);
  border-radius: 999px;
  color: var(--gold2);
  font-weight: 800;
}

.hero {
  padding: 92px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold2);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h1, h2, h3, p {
  word-break: keep-all;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.075em;
}

.hero h1 span {
  color: var(--gold);
}

.hero-desc {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: -0.03em;
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 16px;
  min-height: 54px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #21120a;
  background: linear-gradient(135deg, var(--gold), #ffe0a3);
  box-shadow: 0 14px 36px rgba(248,196,107,0.22);
}

.btn.ghost {
  color: var(--text);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
}

.btn.disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

.btn.full {
  width: 100%;
}

.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05));
  box-shadow: var(--shadow);
}

.card-glow {
  position: absolute;
  width: 210px;
  height: 210px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(248,196,107,0.28);
  filter: blur(16px);
}

.card-label {
  color: var(--gold2);
  font-weight: 900;
  margin: 0 0 12px;
}

.hero-card h2 {
  position: relative;
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.05em;
}

.hero-card ul {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  color: var(--muted);
}

.mini-result {
  position: relative;
  margin-top: 24px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(0,0,0,0.22);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.mini-result span {
  color: var(--muted);
}

.mini-result strong {
  color: var(--gold2);
}

.form-section,
.features,
.sample,
.result-content,
.next-actions {
  padding: 76px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 34px;
}

.section-title p {
  margin: 0 0 8px;
  color: var(--gold2);
  font-weight: 900;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.06em;
}

.section-title span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.saju-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,0.07);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

label span {
  color: var(--text);
}

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.16);
  outline: none;
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--text);
  background: rgba(0,0,0,0.24);
  font-size: 16px;
}

select option {
  color: #111;
}

textarea {
  resize: vertical;
}

.wide {
  margin-top: 18px;
}

.notice-box {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid rgba(248,196,107,0.3);
  border-radius: 18px;
  background: rgba(248,196,107,0.08);
  color: var(--gold2);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,0.06);
}

.feature-grid strong {
  display: inline-block;
  color: var(--gold2);
  margin-bottom: 20px;
}

.feature-grid h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.sample-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255,255,255,0.06);
}

.sample h2 {
  margin: 0 0 18px;
  font-size: 42px;
  letter-spacing: -0.06em;
}

.sample p {
  color: var(--muted);
  line-height: 1.85;
}

.sample-card {
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(248,196,107,0.16), rgba(255,122,182,0.1));
  border: 1px solid rgba(248,196,107,0.25);
}

.sample-card span,
.premium-label {
  color: var(--gold2);
  font-weight: 900;
}

.sample-card h3 {
  margin: 10px 0;
  font-size: 28px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

.result-hero {
  padding: 74px 0 46px;
  text-align: center;
}

.result-hero h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 56px);
  letter-spacing: -0.07em;
}

.result-meta {
  color: var(--muted);
  margin-top: 14px;
}

.result-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.report-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,0.07);
}

.report-card + .report-card {
  margin-top: 18px;
}

.report-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.report-head span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: #21120a;
  background: var(--gold);
  font-weight: 900;
}

.report-head h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.report-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 17px;
}

.highlight-card {
  border-color: rgba(248,196,107,0.34);
  background: rgba(248,196,107,0.08);
}

.premium-box {
  grid-row: span 4;
}

.premium-sticky {
  position: sticky;
  top: 96px;
  padding: 28px;
  border: 1px solid rgba(248,196,107,0.28);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(248,196,107,0.16), rgba(255,255,255,0.06));
  box-shadow: var(--shadow);
}

.premium-sticky h2 {
  margin: 10px 0 12px;
  letter-spacing: -0.05em;
}

.premium-sticky p,
.premium-sticky li,
.premium-sticky small {
  color: var(--muted);
  line-height: 1.75;
}

.premium-sticky ul {
  padding-left: 20px;
}

.premium-sticky small {
  display: block;
  margin-top: 12px;
}

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

.next-actions h2 {
  text-align: center;
  margin: 0 0 24px;
  letter-spacing: -0.05em;
}

.action-grid a {
  padding: 18px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero-grid,
  .sample-grid,
  .result-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .premium-sticky {
    position: static;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .header-inner {
    height: 64px;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 13px;
  }

  .hero {
    padding: 54px 0 48px;
  }

  .form-section,
  .features,
  .sample,
  .result-content,
  .next-actions {
    padding: 48px 0;
  }

  .form-grid,
  .feature-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .saju-form,
  .sample-grid,
  .hero-card,
  .report-card,
  .premium-sticky {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }
}


/* ===== 결제 모달 / 프리미엄 리포트 ===== */
.modal-backdrop,
.payment-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,0.68);
  backdrop-filter: blur(10px);
}

.phone-modal,
.payment-loading-card {
  position: relative;
  width: min(520px, 100%);
  padding: 30px;
  border: 1px solid rgba(248,196,107,0.28);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(42,25,68,0.98), rgba(18,11,31,0.98));
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255,255,255,0.08);
  font-size: 26px;
  cursor: pointer;
}

.phone-modal h2 {
  margin: 10px 0 16px;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.modal-desc,
.phone-help,
.privacy-note-modal {
  color: var(--muted);
  line-height: 1.7;
}

.payment-amount-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  margin: 16px 0;
  border-radius: 18px;
  background: rgba(248,196,107,0.1);
  border: 1px solid rgba(248,196,107,0.22);
}

.payment-amount-box span,
.payment-amount-box small { color: var(--muted); }
.payment-amount-box strong { color: var(--gold2); font-size: 24px; }
.phone-label { margin-top: 18px; }
.phone-input { margin-top: 8px; }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.modal-actions .btn { flex: 1; }

.payment-loading-card { text-align: center; }
.payment-spinner {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  border: 4px solid rgba(255,255,255,0.18);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.premium-report-container { max-width: 920px; }
.loading-card { text-align: center; }
.premium-user-card { margin-bottom: 18px; }
.premium-ai-report { display: grid; gap: 18px; }
.premium-report-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.045);
}
.premium-report-section h2 {
  margin: 0 0 14px;
  letter-spacing: -0.045em;
  color: var(--gold2);
}
.premium-report-section p,
.premium-report-section li {
  color: var(--muted);
  line-height: 1.9;
  font-size: 17px;
}
.premium-report-section p { margin: 0 0 10px; }
.premium-report-section ul { margin: 0; padding-left: 20px; }
.premium-report-section.summary {
  border-color: rgba(248,196,107,0.34);
  background: rgba(248,196,107,0.08);
}
.bottom-actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; }
.caution-card { margin-top: 18px; }

@media (max-width: 640px) {
  .phone-modal, .payment-loading-card { padding: 22px; border-radius: 22px; }
  .modal-actions, .bottom-actions { flex-direction: column; }
  .payment-amount-box { align-items: flex-start; flex-direction: column; }
}


/* ===== v2: 결제 플랜 선택 + 만세력 표 + 운세 그래프 ===== */
.plan-select-box {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.plan-option {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.plan-option:hover {
  transform: translateY(-1px);
}

.plan-option.selected {
  border-color: rgba(248,196,107,0.72);
  background: rgba(248,196,107,0.12);
}

.plan-option input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: #f8c46b;
}

.plan-option span {
  display: grid;
  gap: 4px;
}

.plan-option strong {
  color: var(--text);
  font-size: 16px;
}

.plan-option em {
  color: var(--gold2);
  font-style: normal;
  font-weight: 900;
  font-size: 22px;
}

.plan-option small {
  color: var(--muted);
  line-height: 1.55;
}

.reference-card {
  border-color: rgba(248,196,107,0.32);
  background: rgba(248,196,107,0.075);
}

.reference-desc {
  margin: 0 0 22px !important;
  color: var(--muted);
}

.reference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.manse-table-wrap,
.fortune-chart-wrap {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(0,0,0,0.18);
}

.manse-table-wrap h3,
.fortune-chart-wrap h3 {
  margin: 0 0 14px;
  letter-spacing: -0.04em;
}

.manse-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  font-size: 15px;
}

.manse-table th,
.manse-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-align: left;
  color: var(--muted);
  line-height: 1.55;
}

.manse-table thead th {
  color: var(--gold2);
  background: rgba(255,255,255,0.07);
}

.manse-table tbody th {
  color: var(--text);
  width: 72px;
}

.manse-table tbody td:nth-child(2) {
  color: var(--gold2);
  font-weight: 900;
  width: 64px;
}

.fortune-chart {
  display: grid;
  gap: 12px;
}

.fortune-bar-row {
  display: grid;
  grid-template-columns: 62px 1fr 38px;
  gap: 10px;
  align-items: center;
}

.fortune-bar-label {
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
}

.fortune-bar-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}

.fortune-bar-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  box-shadow: 0 0 20px rgba(248,196,107,0.18);
}

.fortune-bar-row strong {
  color: var(--gold2);
  font-size: 14px;
  text-align: right;
}

.fortune-chart-wrap small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.premium-ai-report .premium-report-section {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.premium-ai-report .premium-report-section:first-child {
  padding-top: 0;
}

.premium-ai-report .premium-report-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.premium-ai-report h2 {
  margin: 0 0 14px;
  color: var(--gold2);
  letter-spacing: -0.045em;
}

.premium-ai-report p,
.premium-ai-report li {
  color: var(--muted);
  line-height: 1.95;
  font-size: 17px;
}

.premium-ai-report ul,
.premium-ai-report ol {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

@media (max-width: 900px) {
  .reference-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fortune-bar-row {
    grid-template-columns: 58px 1fr 34px;
  }

  .manse-table th,
  .manse-table td {
    padding: 10px 8px;
    font-size: 13px;
  }
}


/* v3: 무료 결과 관심 분야 박스 배경 통일 */
.highlight-card {
  border-color: var(--line) !important;
  background: rgba(255,255,255,0.07) !important;
}

/* v3: 메인 하단 다른 운세 메뉴 */
.other-fortunes {
  padding: 76px 0;
}

.fortune-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fortune-menu-grid a {
  min-height: 132px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.065);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.fortune-menu-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(248,196,107,0.45);
  background: rgba(248,196,107,0.09);
}

.fortune-menu-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold2);
  font-size: 22px;
  letter-spacing: -0.04em;
}

.fortune-menu-grid span {
  display: block;
  color: var(--muted);
  line-height: 1.65;
  word-break: keep-all;
}

/* v3: 결제 플랜 선택이 확실히 보이도록 보강 */
.plan-select-box {
  display: grid !important;
  gap: 12px;
  margin: 22px 0;
}

.plan-option {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  cursor: pointer;
}

.plan-option.selected {
  border-color: rgba(248,196,107,0.72);
  background: rgba(248,196,107,0.12);
}

.plan-option input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: #f8c46b;
}

.plan-option span {
  display: grid;
  gap: 4px;
}

.plan-option strong {
  color: var(--text);
  font-size: 16px;
}

.plan-option em {
  color: var(--gold2);
  font-style: normal;
  font-weight: 900;
  font-size: 22px;
}

.plan-option small {
  color: var(--muted);
  line-height: 1.55;
}

/* v3: 프리미엄 결과 만세력/그래프 */
.reference-card {
  border-color: rgba(248,196,107,0.32);
  background: rgba(248,196,107,0.075);
}

.reference-desc {
  margin: 0 0 22px !important;
  color: var(--muted);
}

.reference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.manse-table-wrap,
.fortune-chart-wrap {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(0,0,0,0.18);
}

.manse-table-wrap h3,
.fortune-chart-wrap h3 {
  margin: 0 0 14px;
  letter-spacing: -0.04em;
}

.manse-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  font-size: 15px;
}

.manse-table th,
.manse-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-align: left;
  color: var(--muted);
  line-height: 1.55;
}

.manse-table thead th {
  color: var(--gold2);
  background: rgba(255,255,255,0.07);
}

.manse-table tbody th {
  color: var(--text);
  width: 72px;
}

.manse-table tbody td:nth-child(2) {
  color: var(--gold2);
  font-weight: 900;
  width: 64px;
}

.fortune-chart {
  display: grid;
  gap: 12px;
}

.fortune-bar-row {
  display: grid;
  grid-template-columns: 62px 1fr 38px;
  gap: 10px;
  align-items: center;
}

.fortune-bar-label {
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
}

.fortune-bar-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}

.fortune-bar-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  box-shadow: 0 0 20px rgba(248,196,107,0.18);
}

.fortune-bar-row strong {
  color: var(--gold2);
  font-size: 14px;
  text-align: right;
}

.fortune-chart-wrap small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .fortune-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reference-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .other-fortunes {
    padding: 48px 0;
  }
  .fortune-menu-grid {
    grid-template-columns: 1fr;
  }
  .fortune-bar-row {
    grid-template-columns: 58px 1fr 34px;
  }
}


/* v5: 무료 결과 3번 제목 배경 오류 보정 - 숫자 배지만 노란색 */
.report-card .report-head h2,
.report-card .report-head h2 span,
.report-card .report-head #interestTitle {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--text) !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.report-card .report-head > span {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 13px !important;
  color: #21120a !important;
  background: var(--gold) !important;
  font-weight: 900 !important;
}


/* v6: 무료 결과 3번 제목 줄바꿈 방지 */
.report-card .report-head {
  flex-wrap: nowrap !important;
  align-items: center !important;
}

.report-card .report-head h2 {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  min-width: 0 !important;
  color: var(--text) !important;
}

.report-card .report-head h2 span,
.report-card .report-head #interestTitle {
  display: inline !important;
  white-space: nowrap !important;
  color: var(--text) !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}


/* v7: 무료 결과 3번 제목 겹침 방지 */
.report-card .report-head {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 0 !important;
}

.report-card .report-head > span {
  flex: 0 0 38px !important;
}

.report-card .report-head h2 {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  display: block !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.25 !important;
  color: var(--text) !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.report-card .report-head h2 span,
.report-card .report-head #interestTitle {
  display: inline !important;
  white-space: nowrap !important;
  color: var(--text) !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 420px) {
  .report-card .report-head {
    gap: 10px !important;
  }
  .report-card .report-head > span {
    flex-basis: 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
  }
  .report-card .report-head h2 {
    font-size: 20px !important;
    letter-spacing: -0.06em !important;
  }
}
