/* ========================================================
   AETHER TAROT / 灵境塔罗
   配色: #0B0816 主底 | #C5A880 香槟金 | #5D5470 暮光紫 | #1D2A4A 极光蓝
   字体: CN 纤细无衬线 | EN Playfair Display + Georgia
   ======================================================== */

:root {
  --bg: #0B0816;
  --bg-2: #0F0B1E;
  --gold: #C5A880;
  --gold-2: #E8D5A8;
  --gold-dim: rgba(197, 168, 128, 0.4);
  --purple: #5D5470;
  --aurora: #1D2A4A;
  --text: #E8E4D8;
  --text-dim: #8B8478;
  --glass: rgba(255, 255, 255, 0.025);
  --glass-border: rgba(197, 168, 76, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: 0.5px;
}

body.en { font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif; }
body.en * { font-family: 'Playfair Display', 'Georgia', serif; }
body.cn { font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; }

/* === 星空背景层 === */
body::before {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(93, 84, 112, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(29, 42, 74, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(197, 168, 128, 0.08) 0%, transparent 40%);
  z-index: -2;
  pointer-events: none;
}
/* === 神圣几何：命运星盘（视觉激活与动态流光） === */
.cosmic-wheel {
  cursor: default;
  user-select: none;
  position: relative;
  width: 320px; height: 320px;
  margin: 0 auto 36px;
  perspective: 1000px;
}

/* SVG 金光呼吸 + 发光滤镜 */
.cosmic-wheel svg {
  transform-box: view-box;
  transform-origin: center;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.45));
  animation: goldBreath 4s ease-in-out infinite;
}
@keyframes goldBreath {
  0%, 100% { opacity: 0.6; filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.3)); }
  50%      { opacity: 1.0; filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.7)); }
}

/* 外/内圈：金色微光呼吸（不旋转，纯发光） */
.cosmic-wheel .wheel-outer {
  position: absolute;
  inset: -30px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  opacity: 0.4;
  z-index: 1;
  animation: ringBreath 5s ease-in-out infinite;
}
.cosmic-wheel .wheel-inner {
  position: absolute;
  inset: 30px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1;
  animation: ringBreath 4s ease-in-out infinite reverse;
}
@keyframes ringBreath {
  0%, 100% { opacity: 0.25; box-shadow: 0 0 6px rgba(212, 175, 55, 0.15); }
  50%      { opacity: 0.55; box-shadow: 0 0 18px rgba(212, 175, 55, 0.35); }
}

/* === 外围星轨漩涡：12 颗粒子绕中心旋转 === */
.star-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  z-index: 4;
  pointer-events: none;
  animation: orbitSpin 25s linear infinite;
}
.orbit-particle {
  position: absolute;
  top: 0; left: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.7), 0 0 16px rgba(212, 175, 55, 0.4);
  /* 12 颗均匀分布在 360° 圆周上，半径 175px */
  transform-origin: 0 0;
}
.orbit-particle.p1  { transform: rotate(0deg)   translate(175px); background: #C5A880; }
.orbit-particle.p2  { transform: rotate(30deg)  translate(175px); background: #B8A4D9; width: 4px; height: 4px; box-shadow: 0 0 8px rgba(120, 100, 220, 0.8), 0 0 16px rgba(120, 100, 220, 0.4); }
.orbit-particle.p3  { transform: rotate(60deg)  translate(175px); background: #C5A880; width: 3px; height: 3px; }
.orbit-particle.p4  { transform: rotate(90deg)  translate(175px); background: #A8B8E8; width: 4px; height: 4px; box-shadow: 0 0 8px rgba(100, 130, 220, 0.8), 0 0 14px rgba(100, 130, 220, 0.4); }
.orbit-particle.p5  { transform: rotate(120deg) translate(175px); background: #C5A880; }
.orbit-particle.p6  { transform: rotate(150deg) translate(175px); background: #C5A880; width: 3px; height: 3px; }
.orbit-particle.p7  { transform: rotate(180deg) translate(175px); background: #B8A4D9; width: 5px; height: 5px; box-shadow: 0 0 8px rgba(120, 100, 220, 0.8), 0 0 16px rgba(120, 100, 220, 0.4); }
.orbit-particle.p8  { transform: rotate(210deg) translate(175px); background: #C5A880; width: 3px; height: 3px; }
.orbit-particle.p9  { transform: rotate(240deg) translate(175px); background: #A8B8E8; width: 4px; height: 4px; box-shadow: 0 0 8px rgba(100, 130, 220, 0.8), 0 0 14px rgba(100, 130, 220, 0.4); }
.orbit-particle.p10 { transform: rotate(270deg) translate(175px); background: #C5A880; }
.orbit-particle.p11 { transform: rotate(300deg) translate(175px); background: #C5A880; width: 3px; height: 3px; }
.orbit-particle.p12 { transform: rotate(330deg) translate(175px); background: #B8A4D9; width: 4px; height: 4px; box-shadow: 0 0 8px rgba(120, 100, 220, 0.8), 0 0 14px rgba(120, 100, 220, 0.4); }
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* === 中心能量核：蓝紫微光 === */
.btn-touch .energy-core {
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle at center,
    rgba(150, 120, 240, 0.7) 0%,
    rgba(110,  90, 220, 0.5) 25%,
    rgba( 80, 100, 220, 0.3) 50%,
    transparent 75%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
  animation: coreBreath 6s ease-in-out infinite;
}
@keyframes coreBreath {
  0%, 100% { transform: scale(0.88); opacity: 0.55; }
  30%      { transform: scale(1.05); opacity: 0.85; }
  60%      { transform: scale(0.95); opacity: 0.7;  }
}

/* === Hover 反馈：能量爆发 === */
.cosmic-wheel:hover .star-orbit {
  animation-duration: 10s;     /* 加速：25s → 10s */
}
.cosmic-wheel:hover svg {
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.9));
  animation-duration: 2.5s;   /* 呼吸加快 */
}

body::after {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(232, 213, 168, 0.6), transparent),
    radial-gradient(1px 1px at 40% 70%, rgba(232, 213, 168, 0.4), transparent),
    radial-gradient(1px 1px at 60% 20%, rgba(232, 213, 168, 0.5), transparent),
    radial-gradient(1px 1px at 80% 50%, rgba(232, 213, 168, 0.3), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(232, 213, 168, 0.4), transparent),
    radial-gradient(1px 1px at 90% 10%, rgba(232, 213, 168, 0.5), transparent);
  background-size: 200% 200%;
  z-index: -1;
  pointer-events: none;
}

/* === 顶部导航 === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(180deg, rgba(11, 8, 22, 0.85) 0%, rgba(11, 8, 22, 0) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.logo {
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(197, 168, 128, 0.3);
  cursor: pointer;
}
body.en .logo { letter-spacing: 6px; font-size: 15px; font-style: italic; }
.logo .glyph {
  display: inline-block; width: 24px; height: 24px; vertical-align: middle;
  margin-right: 8px; opacity: 0.85;
}
.lang-switch {
  display: flex; gap: 4px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 4px;
  backdrop-filter: blur(10px);
}
.lang-switch button {
  background: transparent; border: none; color: var(--text-dim);
  font-size: 12px; letter-spacing: 1px;
  padding: 6px 14px; cursor: pointer; border-radius: 30px;
  transition: all 0.5s ease;
  font-family: inherit;
}
.lang-switch button.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--bg);
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.4);
}

/* === Yearly premium card (highlight 4th) === */
.spread-card.yearly-card {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.10), rgba(11, 8, 22, 0.6));
  box-shadow: 0 0 24px rgba(197, 168, 128, 0.12);
}
.spread-card.yearly-card .premium-badge {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 9px;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  padding: 3px 8px;
  border-radius: 10px;
  letter-spacing: 2px;
  font-style: italic;
  box-shadow: 0 0 12px rgba(197, 168, 128, 0.4);
}

/* === 四色霓虹光晕（::before 透出到底层）===
   注意：.spread-card 基础样式在原位置（约 line 600），
   此处只覆盖 hover 效果，用 .spread-card.s-X:hover 优先级盖过通用 hover
   === */
.s-spread {
  position: relative;
}
.s-spread::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}
.s-spread:hover::before { opacity: 1; }

/* 感情：暗紫 + 极光粉 */
.s-love::before {
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(168, 85, 247, 0.22) 0%, rgba(236, 72, 153, 0.10) 50%, transparent 80%);
  box-shadow: inset 0 0 30px rgba(168, 85, 247, 0.08);
}
.s-love { border-color: rgba(168, 85, 247, 0.15); }
.spread-card.s-love:hover {
  border-color: rgba(168, 85, 247, 0.5) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(168, 85, 247, 0.15) !important;
  transform: translateY(-5px) scale(1.01) !important;
}

/* 事业：电光蓝 + 深海青 */
.s-career::before {
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(6, 182, 212, 0.20) 0%, rgba(56, 189, 248, 0.10) 50%, transparent 80%);
  box-shadow: inset 0 0 30px rgba(6, 182, 212, 0.07);
}
.s-career { border-color: rgba(6, 182, 212, 0.15); }
.spread-card.s-career:hover {
  border-color: rgba(6, 182, 212, 0.5) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(6, 182, 212, 0.15) !important;
  transform: translateY(-5px) scale(1.01) !important;
}

/* 财富：琥珀 + 翡翠绿 */
.s-wealth::before {
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(251, 191, 36, 0.18) 0%, rgba(52, 211, 153, 0.10) 50%, transparent 80%);
  box-shadow: inset 0 0 30px rgba(251, 191, 36, 0.06);
}
.s-wealth { border-color: rgba(251, 191, 36, 0.15); }
.spread-card.s-wealth:hover {
  border-color: rgba(251, 191, 36, 0.5) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(251, 191, 36, 0.15) !important;
  transform: translateY(-5px) scale(1.01) !important;
}

/* === 全息流光（PRO 年卡）=== */
.s-yearly {
  border-color: rgba(197, 168, 76, 0.35);
  background: linear-gradient(135deg, rgba(197, 168, 76, 0.08), rgba(255, 255, 255, 0.03), rgba(168, 85, 247, 0.06));
  overflow: hidden;
}
.s-yearly::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255, 255, 255, 0.06) 60deg,
    rgba(168, 85, 247, 0.08) 120deg,
    rgba(6, 182, 212, 0.06) 180deg,
    rgba(251, 191, 36, 0.06) 240deg,
    transparent 300deg
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: holo-spin 8s linear infinite;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.s-yearly:hover::before { opacity: 1; }
.spread-card.s-yearly:hover {
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px rgba(197, 168, 76, 0.2) !important;
  transform: translateY(-6px) scale(1.02) !important;
}
@keyframes holo-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* === Connect Wallet (EN only) === */
.nav-actions {
  display: flex; align-items: center; gap: 10px;
}
.wallet-btn {
  display: none;
  align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 11px; letter-spacing: 2px;
  padding: 7px 14px; border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
  font-style: italic;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}
body.en .wallet-btn { display: inline-flex; }
.wallet-btn:hover {
  background: rgba(197, 168, 128, 0.1);
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.25);
  border-color: var(--gold);
}
.wallet-btn svg { width: 14px; height: 14px; }

/* === Crypto row under price (EN only) === */
.crypto-row {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--glass-border);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 2px;
  font-style: italic;
  justify-content: center;
  align-items: center;
  gap: 12px;
  opacity: 0.7;
}
body.en .crypto-row { display: flex; }
.crypto-row .crypto-label {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 9px;
  opacity: 0.9;
}
.crypto-row .crypto-item { white-space: nowrap; }

/* === 主体 === */
.hero {
  min-height: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 96px 24px 32px;
  text-align: center;
  position: relative;
}
.hero-slogan {
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 6px;
  margin-bottom: 8px;
  text-shadow: 0 0 16px rgba(197, 168, 128, 0.3);
}
body.en .hero-slogan { letter-spacing: 4px; font-style: italic; font-size: 17px; }
.hero-sub {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 6px;
  margin-bottom: 56px;
  text-transform: uppercase;
}
body.en .hero-sub { letter-spacing: 6px; }

/* === 触摸按钮 === */
.btn-touch {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 116px; height: 116px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(197, 168, 128, 0.18), rgba(11, 8, 22, 1));
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  font-family: inherit;
  padding: 6px;
  z-index: 5;
  box-shadow:
    0 0 50px rgba(197, 168, 128, 0.45),
    inset 0 0 30px rgba(197, 168, 128, 0.18),
    0 0 0 6px rgba(11, 8, 22, 1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0;
}
body.en .btn-touch { letter-spacing: 4px; font-style: italic; }
.btn-touch:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow:
    0 0 60px rgba(197, 168, 128, 0.4),
    inset 0 0 30px rgba(197, 168, 128, 0.2);
}
.btn-touch:active { transform: translate(-50%, -50%) scale(0.98); }
.btn-touch .ring {
  position: absolute;
  inset: -10px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
}
.btn-touch .ring-2 {
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(197, 168, 128, 0.15);
  border-radius: 50%;
}
.btn-touch .core {
  font-size: 9px; color: var(--gold-2); letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
}
@keyframes breathDeep {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes breathGlow {
  0%, 100% { opacity: 0.25; transform: scale(0.92); }
  50% { opacity: 0.7; transform: scale(1.1); }
}
@keyframes hexRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes hexStarBlink {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}
@keyframes hexOrbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}
/* 塔罗牌：左右摇摆 + 由远到近 + 淡入淡出 */
@keyframes tarotDance {
  0%   { transform: scale(0.3) rotate(-18deg); opacity: 0; }
  10%  { opacity: 1; }
  22%  { transform: scale(1.05) rotate(-12deg); opacity: 1; }
  38%  { transform: scale(1) rotate(12deg); opacity: 1; }
  54%  { transform: scale(1) rotate(-12deg); opacity: 1; }
  70%  { transform: scale(1) rotate(12deg); opacity: 1; }
  85%  { transform: scale(1) rotate(0deg); opacity: 1; }
  100% { transform: scale(0.3) rotate(0deg); opacity: 0; }
}

/* === 副信息 === */
.hero-meta {
  display: flex; gap: 20px; justify-content: center;
  margin-top: 14px;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 2px;
}
.hero-meta .dot { color: var(--gold); opacity: 0.6; }

/* === 分割线 === */
.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 36px auto;
  max-width: 280px;
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 4px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

/* === 行动按钮组 === */
.action-grid {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 320px; margin: 0 auto;
}
.btn-line {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 3px;
  padding: 16px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(10px);
  transition: all 0.5s ease;
  overflow: hidden;
}
body.en .btn-line { letter-spacing: 2px; font-style: italic; }
.btn-line::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(197, 168, 128, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}
.btn-line:hover::before { transform: translateX(100%); }
.btn-line:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.2);
}
.btn-line .arrow {
  opacity: 0.5; font-size: 18px;
  transition: all 0.5s ease;
}
.btn-line:hover .arrow { opacity: 1; transform: translateX(4px); }
.btn-line.primary {
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.15), rgba(197, 168, 128, 0.05));
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(197, 168, 128, 0.15);
}

/* === 价格/分类网格 === */
.spreads {
  padding: 32px 24px 40px;
  max-width: 1200px; margin: 0 auto;
  position: relative;
  z-index: 2;
}
.section-title {
  text-align: center;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 6px;
  margin: 0 0 6px 0;
}
.section-sub {
  text-align: center;
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 3px;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.spread-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.spread-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 20px 18px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: all 0.6s ease;
  display: flex;
  flex-direction: column;
}
.spread-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(197, 168, 128, 0.15);
}
.spread-card .glyph {
  width: 36px; height: 36px;
  color: var(--gold);
  margin-bottom: 12px;
  opacity: 0.85;
}
.spread-card h3 {
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 6px;
  font-weight: normal;
}
body.en .spread-card h3 { font-style: italic; letter-spacing: 0.3px; font-size: 13.5px; line-height: 1.35; word-break: break-word; overflow-wrap: anywhere; hyphens: auto; }
.spread-card p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 14px;
}
.spread-card .price {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1.5px;
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}
.spread-card .price-tag {
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--gold-dim);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 10px;
  white-space: nowrap;
}

/* === 页脚 === */
.footer {
  padding: 40px 24px 30px;
  text-align: center;
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 3px;
  border-top: 1px solid var(--glass-border);
  margin-top: 60px;
}
.footer .links { margin-bottom: 12px; }
.footer a { color: var(--text-dim); text-decoration: none; margin: 0 12px; transition: color 0.3s; }
.footer a:hover { color: var(--gold); }


/* === 每日结果弹窗升级 === */
.result-modal {
  padding: 28px 24px 32px;
  text-align: center;
  position: relative;
}
.result-modal .modal-close { top: 14px; right: 14px; }

/* 卡牌视觉中心 */
.card-visual {
  position: relative;
  width: 108px; height: 162px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
}
.card-visual .mystic-card-svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 18px rgba(197, 168, 128, 0.55));
  position: relative;
  z-index: 2;
}
.card-visual .card-img {
  width: 100%; height: 100%;
  border-radius: 4px;
  object-fit: cover;
  filter: drop-shadow(0 0 18px rgba(197, 168, 128, 0.55));
  position: relative;
  z-index: 3;
  display: none;
  animation: dailyCardFlipIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes dailyCardFlipIn {
  from { opacity: 0; transform: translateY(16px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.card-glow {
  position: absolute;
  inset: -25px;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.2), transparent 65%);
  filter: blur(12px);
  z-index: 1;
}

/* 能量条 */
.energy-meter {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  padding: 10px 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
}
.energy-label {
  flex: 0 0 auto;
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 2px;
  display: flex; flex-direction: column;
  gap: 2px;
  text-align: left;
}
body.en .energy-label { letter-spacing: 1px; }
.energy-status { color: var(--gold); font-style: italic; font-size: 11px; letter-spacing: 1px; }
.energy-bar {
  flex: 1;
  height: 5px;
  background: rgba(197, 168, 128, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.energy-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 8px rgba(197, 168, 128, 0.6);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.energy-pct {
  flex: 0 0 auto;
  font-size: 14px;
  color: var(--gold-2);
  letter-spacing: 1px;
  font-weight: 500;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  min-width: 40px;
  text-align: right;
}

/* 标题/牌名 */
.result-divider {
  display: block;
  color: var(--text-dim);
  font-size: 9px;
  letter-spacing: 5px;
  margin: 18px 0 10px;
  text-align: center;
  position: relative;
}
.result-divider::before, .result-divider::after {
  content: '✦';
  margin: 0 10px;
  color: var(--gold-dim);
  opacity: 0.7;
}
.result-modal .card-name {
  font-size: 26px;
  color: var(--gold-2);
  letter-spacing: 5px;
  font-style: italic;
  margin: 6px 0 4px;
  font-weight: normal;
  text-shadow: 0 0 16px rgba(197, 168, 128, 0.4);
}
body.en .result-modal .card-name { font-size: 22px; letter-spacing: 2px; }
.result-modal .card-keyword {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 6px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
body.en .result-modal .card-keyword { letter-spacing: 3px; }

/* Reading 可视/雾化 */
.card-reading-block {
  text-align: left;
  font-size: 13px;
  color: var(--text);
  line-height: 2;
  margin: 4px 0;
  white-space: pre-wrap;
  font-family: inherit;
  padding: 0 4px;
  max-height: 240px;
  overflow-y: auto;
}
.card-reading-block::-webkit-scrollbar { width: 3px; }
.card-reading-block::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }

.card-reading-fog {
  position: relative;
  max-height: 320px;
  overflow: hidden;
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
  opacity: 0.85;
}
.card-reading-fog::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--bg-2));
  pointer-events: none;
}
.fog-locked {
  display: block; /* 保持模糊状态 */
}
.fog-unlocked {
  max-height: none !important;
  overflow: visible !important;
  filter: none !important;
  opacity: 1 !important;
}
.fog-unlocked::after {
  display: none; /* 移除渐变遮罩 */
}

/* 解锁提示 */
.unlock-hint {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
  text-align: center;
  margin: 12px 0 0;
  font-style: italic;
  opacity: 0.8;
}
.unlock-hint::before { content: '✦ '; }
.unlock-hint::after { content: ' ✦'; }

/* 第二按钮强调 */
.btn-line.yearly-cta {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.18), rgba(11, 8, 22, 0.6));
  margin-top: 10px;
}
.btn-line.yearly-cta .cta-price {
  display: block;
  font-size: 9px;
  color: var(--gold-2);
  letter-spacing: 3px;
  margin-top: 2px;
  opacity: 0.9;
}
.btn-line.yearly-cta:hover { box-shadow: 0 0 28px rgba(197, 168, 128, 0.3); }


/* === 分享画卷 Modal（长按保存 · 关闭即解锁） === */
.share-modal-overlay {
  background: rgba(11, 8, 22, 0.94) !important;
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  flex-direction: column;
  padding: 16px;
  animation: fadeIn 0.4s ease;
}
.share-close-btn {
  position: absolute;
  top: 18px; right: 18px;
  background: rgba(11, 8, 22, 0.7);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 1001;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}
.share-close-btn:hover {
  background: rgba(197, 168, 128, 0.18);
  border-color: var(--gold);
  transform: rotate(90deg);
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.35);
}
.share-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 380px;
  width: 100%;
  max-height: 94vh;
}
.share-poster-wrap {
  position: relative;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
}
.share-canvas-img {
  max-width: 100%;
  max-height: 68vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--gold-dim);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(197, 168, 128, 0.25);
  animation: posterFadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-user-drag: element;
  -webkit-touch-callout: default;
  user-select: none;
}
@keyframes posterFadeIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
.share-loading {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 11px;
  gap: 14px;
}
.share-loading .loader {
  width: 42px; height: 42px;
  margin: 0;
}
.share-loading-text {
  font-size: 10px;
  letter-spacing: 4px;
}
.share-tip {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1.85;
  text-align: center;
  padding: 14px 18px;
  background: rgba(197, 168, 128, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  max-width: 360px;
  width: 100%;
}
body.en .share-tip { font-style: italic; letter-spacing: 0.5px; }
.share-tip-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
/* === 弹窗 === */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 8, 22, 0.85);
  backdrop-filter: blur(20px);
  display: none; align-items: center; justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.modal-overlay.active { display: flex; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: linear-gradient(135deg, var(--bg-2), var(--bg));
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 40px 32px;
  max-width: 480px; width: 100%;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(197, 168, 128, 0.1);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: transparent; border: 1px solid var(--glass-border);
  color: var(--text-dim);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.modal-close:hover { color: var(--gold); border-color: var(--gold); }

/* === Loading 圆环 === */
.loader {
  width: 60px; height: 60px;
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  margin: 30px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === 贤者窥视天机：塔罗牌摇摆 + 双层光环 === */
.loader-hexagram {
  width: 140px; height: 160px;
  margin: 0 auto;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.loader-hexagram svg { width: 100%; height: 100%; overflow: visible; }
.loader-hexagram .hex-ring-outer {
  fill: none;
  stroke: url(#goldGrad);
  stroke-width: 1.5;
  stroke-dasharray: 220 75;
  stroke-linecap: round;
  transform-origin: 50% 50%;
  animation: hexRingSpin 4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(197, 168, 128, 0.5));
}
.loader-hexagram .hex-ring-inner {
  fill: none;
  stroke: rgba(197, 168, 128, 0.35);
  stroke-width: 0.8;
  stroke-dasharray: 4 6;
  transform-origin: 50% 50%;
  animation: hexOrbit 20s linear infinite;
}
.loader-hexagram .hex-tarot-card {
  transform-origin: 50% 50%;
  animation: tarotDance 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(197, 168, 128, 0.55));
}
.loader-hexagram .hex-particles circle {
  fill: #C5A880;
  animation: hexStarBlink 2.4s ease-in-out infinite;
}
.loader-hexagram .hex-particles circle:nth-child(2) { animation-delay: 0.4s; }
.loader-hexagram .hex-particles circle:nth-child(3) { animation-delay: 0.8s; }
.loader-hexagram .hex-particles circle:nth-child(4) { animation-delay: 1.2s; }

/* === 响应式 === */
@media (max-width: 600px) {
  .cosmic-wheel { width: 220px; height: 220px; }
  .cosmic-wheel .btn-touch { width: 96px; height: 96px; font-size: 11px; padding: 4px; }
  .hero-slogan { font-size: 15px; letter-spacing: 4px; }
  .hero-sub { font-size: 10px; letter-spacing: 5px; margin-bottom: 40px; }
  .hero { min-height: auto; padding: 78px 18px 24px; }
  .hero-meta { margin-top: 10px; }
  .nav { padding: 14px 18px; }
  .spreads { padding: 24px 18px 32px; }
  .section-sub { margin-bottom: 18px; }
  .logo { font-size: 14px; }
  .spread-card { padding: 18px 16px; }
  body.en .spread-card h3 { font-size: 13px; }
}

/* ====== 信息弹窗 (About / Privacy / Contact) ====== */
.info-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.info-modal.active {
  display: flex;
  animation: infoModalIn 0.3s ease;
}
.info-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 8, 22, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.info-modal-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(160deg, rgba(28, 22, 50, 0.96), rgba(11, 8, 22, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(197, 168, 128, 0.05) inset;
  padding: 36px 32px 32px;
  color: var(--text, #E8D5B7);
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  animation: infoCardIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.info-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--gold, #C5A880);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.info-modal-close:hover {
  background: rgba(197, 168, 128, 0.12);
  transform: rotate(90deg);
  color: #fff;
}
.info-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gold, #C5A880);
  letter-spacing: 1.5px;
  margin: 0 0 24px;
  padding-right: 32px;
  line-height: 1.4;
  font-family: 'Playfair Display', 'PingFang SC', serif;
}
.info-modal-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text, #E8D5B7);
}
.info-modal-body p {
  margin: 0 0 16px;
  opacity: 0.92;
}
.info-modal-body p:last-child { margin-bottom: 0; }
.info-modal-body strong {
  color: var(--gold, #C5A880);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.info-modal-body .em-label {
  display: block;
  color: var(--gold, #C5A880);
  font-size: 13px;
  letter-spacing: 1.5px;
  margin-top: 22px;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 600;
}
.info-modal-body .em-label:first-child { margin-top: 0; }
.info-modal-body .contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0;
}
.info-modal-body .contact-line .icon {
  color: var(--gold, #C5A880);
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  font-style: normal;
}
.info-modal-body a {
  color: var(--gold, #C5A880);
  text-decoration: none;
  border-bottom: 1px dotted rgba(197, 168, 128, 0.4);
  transition: border-color 0.2s;
}
.info-modal-body a:hover { border-bottom-color: var(--gold, #C5A880); }

@keyframes infoModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes infoCardIn {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@media (max-width: 540px) {
  .info-modal-card { padding: 28px 20px 24px; border-radius: 16px; }
  .info-modal-title { font-size: 16px; }
  .info-modal-body { font-size: 13.5px; line-height: 1.8; }
}
