/* 数字锦鲤页面样式 */
body {
  background: #E8EDE5;
  padding: 0;
  font-family: PingFang SC, Microsoft YaHei;
}

/* 封面页 */
.cover-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  position: relative;
}

/* 顶部标签 */
.top-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.6;
  margin-bottom: 16px;
}

.label-text {
  font-size: 9px;
  font-weight: 300;
  color: #7A9E7E;
  text-transform: uppercase;
  letter-spacing: 0.5em;
}

.label-line {
  width: 24px;
  height: 1px;
  background: rgba(122, 158, 126, 0.2);
}

/* 图标区域 */
.icon-section {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* 主图标 */
.main-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 16px rgba(45, 55, 45, 0.15));
}

/* 标题区域 */
.title-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.main-title {
  font-size: 40px;
  font-weight: bold;
  color: #3D5A4C;
  letter-spacing: -0.05em;
  line-height: 1;
}

.sub-title {
  font-size: 15px;
  color: #8A9A8A;
  font-weight: 400;
  line-height: 1.6;
}

.divider {
  display: none;
}

.tip-text {
  font-size: 12px;
  color: #7A9E7E;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.5;
  font-style: italic;
}

/* 按钮区域 */
.btn-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 24px;
  padding: 0 20px;
}

.start-btn {
  width: 100%;
  height: 56px;
  background: #7A9E7E;
  border-radius: 35px;
  box-shadow: 0 12.5px 25px -6px rgba(122, 158, 126, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  border: none;
}

.start-btn:active {
  transform: scale(0.98);
  box-shadow: 0 4px 12px rgba(122, 158, 126, 0.3);
}

.btn-text {
  font-size: 18px;
  color: white;
  font-weight: 300;
  letter-spacing: 0.2em;
  font-style: italic;
}

.btn-icon {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.play-icon {
  font-size: 22px;
  color: #5F8A6A;
}

/* 底部提示 */
.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  opacity: 0.3;
}

.footer-line {
  display: none;
}

.footer-text {
  font-size: 11px;
  color: #3D5A4C;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* 题目页 */
.question-page {
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin-top: 94px;
}

.question-num {
  font-size: 14px;
  color: #8A9A8A;
  font-weight: bold;
  text-align: center;
  margin-bottom: 16px;
}

.question-content {
  font-size: 18px;
  color: #3D5A4C;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

.option-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.option-btn {
  width: 100%;
  height: 80px;
  background: #F1F4EE;
  border: 1px solid #7A9E7E;
  border-radius: 16px;
  font-size: 24px;
  color: #5F8A6A;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-weight: bold;
}

.option-btn.active {
  background: #7A9E7E;
  color: white;
  transform: scale(0.98);
}

.option-tip {
  font-size: 12px;
  color: #9CA3AF;
  text-align: center;
  margin-top: 12px;
}

/* 结果页 - 紫色金色系 */
.result-page {
  position: relative;
  min-height: 100vh;
  background: #E8EDE5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 顶部氛围层：极简色块 */
.top-atmosphere {
  position: absolute;
  top: -5%;
  left: -10%;
  width: 128px;
  height: 128px;
  background: rgba(122, 158, 126, 0.06);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
}

/* 1. 顶部状态栏 */
.result-header {
  position: relative;
  z-index: 10;
  padding: 32px 20px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot-gold {
  width: 3px;
  height: 3px;
  background: #5F8A6A;
  border-radius: 50%;
}

.header-label {
  font-size: 10px;
  font-weight: 900;
  color: #8A9A8A;
  text-transform: uppercase;
  letter-spacing: 0.4em;
}

.share-btn {
  background: transparent;
  border: none;
  padding: 0;
  opacity: 0.4;
}

.share-icon {
  font-size: 18px;
  color: #7A9E7E;
}

/* 2. 核心结果区 */
.result-main {
  flex: 1;
  z-index: 10;
  padding: 8px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 文案导语 */
.result-intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.intro-title {
  font-size: 16px;
  font-weight: 700;
  color: #3D5A4C;
  line-height: 1.4;
}

.intro-status {
  font-size: 16px;
  font-weight: 300;
  color: #7A9E7E;
  line-height: 1.4;
}

/* 幸运数展示 */
.lucky-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: white;
  border-radius: 25px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
  border: 1px solid #7A9E7E;
  align-self: center;
}

.badge-icon {
  font-size: 12px;
  color: #5F8A6A;
}

.badge-text {
  font-size: 10px;
  font-weight: 900;
  color: #8A9A8A;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.lucky-number {
  font-size: 90px;
  font-weight: 900;
  color: #5F8A6A;
  font-family: serif;
  line-height: 1;
  font-style: italic;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-bottom: 4px;
  text-shadow: 2px 2px 4px rgba(122, 158, 126, 0.3);
}

.lucky-description {
  font-size: 14px;
  color: #3A4A3A;
  font-weight: 900;
  line-height: 1.6;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid #5F8A6A;
  border-radius: 8px;
  background: #F8FAF7;
}

/* 二级引导文案 */
.guide-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  opacity: 0.6;
}

.guide-content {
  font-size: 12px;
  font-weight: 400;
  color: #3D5A4C;
  line-height: 1.6;
  text-align: center;
}

.guide-dots {
  display: flex;
  gap: 4px;
}

.dot {
  width: 4px;
  height: 4px;
  background: #7A9E7E;
  border-radius: 50%;
}

.dot-40 {
  opacity: 0.4;
}

.dot-10 {
  opacity: 0.1;
}

/* 3D解读容器 */
.interpretation-container {
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  box-shadow: 0 8px 24px rgba(122, 158, 126, 0.3);
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
  transition: transform 0.3s ease;
}

.interpretation-container:hover {
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(-4px);
  box-shadow: 0 12px 32px rgba(122, 158, 126, 0.35);
}

.interpretation-container .intro-title {
  font-size: 16px;
  font-weight: 700;
  color: #5F8A6A;
  line-height: 1.4;
  margin-bottom: 8px;
}

.interpretation-container .intro-status {
  font-size: 14px;
  font-weight: 400;
  color: #7A9E7E;
  line-height: 1.6;
  margin-bottom: 12px;
}

.interpretation-container .lucky-description {
  font-size: 14px;
  color: #7A9E7E;
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
  padding: 0;
  border: none;
  background: transparent;
}

/* 书籍推荐 */
.book-recommendation {
  text-align: center;
  margin: 0 0 8px;
}

.recommendation-text {
  font-size: 11px;
  font-weight: 400;
  color: #9CA3AF;
  line-height: 1.6;
}

/* 3. 底部交互区 */
.result-footer {
  position: relative;
  z-index: 20;
  padding: 16px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 分享召唤区 - 无边框，与上方内容融为一体 */
.share-callout-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
}

/* 二维码+召唤文案 横向排列 */
.qrcode-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qrcode-callout {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.callout-line {
  font-size: 14px;
  font-weight: 700;
  color: #3D5A4C;
  line-height: 1.4;
}

.callout-highlight {
  font-size: 22px;
  color: #5F8A6A;
  font-weight: 900;
}

.qrcode-img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  border: 1px solid #C8D5C2;
  background: white;
  flex-shrink: 0;
}

/* 未生成 */
.qrcode-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.generate-qrcode-btn {
  width: 80%;
  height: 40px;
  background: linear-gradient(135deg, #7A9E7E, #5F8A6A);
  color: white;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 12px rgba(122, 158, 126, 0.3);
}

.generate-qrcode-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.qrcode-empty-hint {
  font-size: 11px;
  color: #8A9A8A;
  text-align: center;
}

.invite-share-btn {
  width: 60%;
  height: 34px;
  background: transparent;
  color: #7A9E7E;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(122, 158, 126, 0.3);
  margin-top: 0;
  align-self: center;
}

.invite-share-btn:active {
  background: rgba(122, 158, 126, 0.08);
}

.share-arrow {
  font-size: 11px;
  color: #7A9E7E;
}

/* 次级操作组 */
.secondary-btns {
  display: flex;
  gap: 8px;
}

.book-secondary-btn,
.mini-secondary-btn {
  flex: 1;
  height: 50px;
  background: white;
  border: 1px solid #7A9E7E;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 900;
  color: #3D5A4C;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.3s;
}

.mini-secondary-btn {
  background: #7A9E7E;
  color: #5F8A6A;
  border: 0.5px solid white;
}

.book-secondary-btn:active,
.mini-secondary-btn:active {
  background: #F1F4EE;
}

.book-icon {
  font-size: 14px;
  margin-right: 2px;
  color: #7A9E7E;
}

.detail-text {
  font-size: 12px;
  font-weight: 900;
  color: white;
}

.btn-arrow {
  font-size: 14px;
  color: #5F8A6A;
}

/* 版权标识 */
.copyright {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.1;
}

.copyright-icon {
  font-size: 16px;
}

.copyright-text {
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6em;
}

