/* test-common.css - 12zn.com test pages common styles */
/* 进度条 */
        .progress-wrap {
  margin-bottom: 32px;
}

.progress-info {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
}

.progress-text {
  font-size: 0.82rem; color: var(--text-secondary);
}

.progress-num {
  font-family: 'Noto Serif SC', serif; font-size: 0.9rem; font-weight: 600; color: var(--gold);
}

.progress-bar {
  width: 100%; height: 6px; background: var(--border-soft); border-radius: 3px; overflow: hidden;
}

.progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius: 3px; transition: width 0.4s ease;
}

/* 问题卡片 */
        .question-card {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: 14px; padding: 32px 28px; box-shadow: var(--shadow-md); animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px);
}

to {
  opacity: 1; transform: translateY(0);
}

.question-title {
  font-family: 'Noto Serif SC', serif; font-size: 1.15rem; color: var(--ink); font-weight: 600; margin-bottom: 24px; text-align: center; line-height: 1.6;
}

.options-list {
  display: flex; flex-direction: column; gap: 10px;
}

.option-btn {
  display: block; width: 100%; padding: 14px 18px; background: var(--parchment); border: 1px solid var(--border-soft); border-radius: 10px; font-size: 0.9rem; color: var(--text); cursor: pointer; text-align: left; transition: all 0.2s; font-family: inherit; line-height: 1.6;
}

.option-btn:hover {
  border-color: var(--gold); background: var(--gold-bg); color: var(--ink); transform: translateX(4px);
}

.option-btn:active {
  transform: translateX(4px) scale(0.98);
}

/* 分析中动画 */
        .analyzing-screen {
  text-align: center; padding: 80px 24px; display: none;
}

.analyzing-screen.active {
  display: block;
}

.analyzing-icon {
  width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 50%; border: 3px solid var(--border-soft); border-top-color: var(--gold); animation: spin 1s linear infinite;
}

.analyzing-text {
  font-family: 'Noto Serif SC', serif; font-size: 1.2rem; color: var(--ink); letter-spacing: 0.15em;
}

.analyzing-sub {
  font-size: 0.85rem; color: var(--text-secondary); margin-top: 8px;
}

/* 结果页面 */
        .result-screen {
  display: none; animation: fadeUp 0.6s ease;
}

.result-screen.active {
  display: block;
}

.result-hero {
  text-align: center; padding: 40px 24px; background: var(--white); border-radius: 14px; border: 1px solid var(--border-soft); box-shadow: var(--shadow-md); margin-bottom: 20px; position: relative; overflow: hidden;
}

@keyframes resultPop {
  0% { transform: scale(0); opacity: 0;
}

60% {
  transform: scale(1.15);
}

100% {
  transform: scale(1); opacity: 1;
}

.result-element-name {
  font-family: 'Noto Serif SC', serif; font-size: 1.6rem; font-weight: 600; color: var(--ink); letter-spacing: 0.1em; margin-bottom: 6px;
}

.result-element-sub {
  font-size: 0.88rem; color: var(--text-secondary);
}

/* 结果详情卡片 */
        .result-detail-card {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: 12px; padding: 24px; margin-bottom: 14px;
}

.result-detail-card h3 {
  font-family: 'Noto Serif SC', serif; font-size: 1rem; color: var(--ink); font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}

.result-detail-card h3 .detail-icon {
  font-size: 1.1rem;
}

.result-detail-card p {
  font-size: 0.88rem; color: var(--text); line-height: 1.9;
}

.lucky-item {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: 12px; padding: 18px; text-align: center;
}

.lucky-label {
  font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 6px;
}

.lucky-value {
  font-family: 'Noto Serif SC', serif; font-size: 1.05rem; font-weight: 600; color: var(--gold);
}

/* CTA */
        .result-cta {
  background: var(--ink); border-radius: 14px; padding: 32px 24px; text-align: center; margin-top: 14px;
}

.result-cta h3 {
  font-family: 'Noto Serif SC', serif; color: var(--parchment); font-size: 1.1rem; font-weight: 400; letter-spacing: 0.05em; margin-bottom: 16px;
}

.result-cta-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

.btn-cta-pay {
  padding: 12px 28px; background: var(--gold); color: var(--white); border: none; border-radius: 8px; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: opacity 0.2s; font-family: inherit;
}

.btn-cta-pay:hover {
  opacity: 0.85;
}

.btn-cta-wechat {
  padding: 12px 28px; background: transparent; color: var(--parchment); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; font-family: inherit;
}

.btn-cta-wechat:hover {
  border-color: var(--gold); color: var(--gold);
}

/* 重新测试 */
        .restart-wrap {
  text-align: center; margin-top: 20px; margin-bottom: 20px;
}

.btn-restart {
  display: inline-block; padding: 10px 24px; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); border-radius: 20px; font-size: 0.85rem; cursor: pointer; transition: all 0.2s; font-family: inherit;
}

.btn-restart:hover {
  border-color: var(--gold); color: var(--gold);
}

/* 开始页面 */
        .start-screen {
  text-align: center; padding: 40px 0;
}

.start-icons {
  display: flex; justify-content: center; gap: 12px; margin-bottom: 28px;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0);
}

50% {
  transform: translateY(-6px);
}

.start-title {
  font-family: 'Noto Serif SC', serif; font-size: 1.3rem; color: var(--ink); font-weight: 600; margin-bottom: 12px;
}

.start-desc {
  font-size: 0.88rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 28px; max-width: 400px; margin-left: auto; margin-right: auto;
}

.btn-start {
  display: inline-block; padding: 14px 40px; background: var(--ink); color: var(--parchment); border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: opacity 0.2s; font-family: inherit; letter-spacing: 0.1em;
}

.btn-start:hover {
  opacity: 0.85;
}

/* 移动端适配 */
        @media (max-width: 768px) {
  .question-card { padding: 24px 20px;
}

.question-title {
  font-size: 1.05rem;
}

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

.result-cta-btns {
  flex-direction: column;
}

.btn-cta-pay, .btn-cta-wechat {
  width: 100%;
}

