/* ═══════════════════════════════════════════
   命运岛 · Fate Island — Design System
   ═══════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --bg-deep: #0a0818;
  --bg-card: #100e24;
  --bg-card-alt: #120f1e;
  --bg-mini: #0d0b1e;
  --bg-mystery: #0b0918;

  --purple-primary: #7f77dd;
  --purple-light: #c4bef5;
  --purple-muted: #afa9ec;
  --purple-faint: rgba(127, 119, 221, 0.12);

  --gold-primary: #ef9f27;
  --gold-faint: rgba(239, 159, 39, 0.15);

  --green-primary: #5dcaa5;
  --green-faint: rgba(29, 158, 117, 0.15);

  --text-primary: #f0ecff;
  --text-secondary: rgba(255, 255, 255, 0.45);
  --text-tertiary: rgba(255, 255, 255, 0.3);
  --text-muted: rgba(255, 255, 255, 0.2);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 100px;

  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: #0a0818;
}

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* ── Starfield Canvas ── */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Ambient Orbs ── */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  will-change: transform;
}

.ambient-orb--top {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(127, 119, 221, 0.15) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: orbFloat 12s ease-in-out infinite;
}

.ambient-orb--mid {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(100, 80, 200, 0.08) 0%, transparent 70%);
  top: 50%;
  right: -150px;
  animation: orbFloat 15s ease-in-out infinite reverse;
}

.ambient-orb--bottom {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(127, 119, 221, 0.1) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation: orbFloat 18s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(20px, -15px); }
  50% { transform: translate(-10px, 20px); }
  75% { transform: translate(15px, 10px); }
}

/* ── Page Container ── */
.page {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ══════════════════════════════════════
   Navigation
   ══════════════════════════════════════ */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 8, 24, 0.75);
  border-bottom: 0.5px solid var(--border-subtle);
  transition: background 0.3s ease;
}

.nav__brand {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 10px;
}

.fate-home-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(157, 127, 245, 0.45));
}

.nav__logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--purple-light);
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--purple-light), #e0d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 3px;
  font-weight: 300;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 6px 14px;
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.nav__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(127, 119, 221, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav__link:hover {
  border-color: rgba(127, 119, 221, 0.4);
  color: var(--purple-muted);
}

.nav__link:hover::before {
  opacity: 1;
}

.nav__link svg {
  transition: transform 0.3s var(--ease-out-expo);
}

.nav__link:hover svg {
  transform: translate(2px, -2px);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__stones {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 11px;
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  user-select: none;
}

.nav__stones strong {
  color: #ef9f27;
  font-weight: 600;
  text-shadow: 0 0 6px rgba(239, 159, 39, 0.4);
}

.nav__stones-icon {
  font-size: 13px;
  animation: stoneTwinkle 2s infinite ease-in-out;
}

@keyframes stoneTwinkle {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 4px rgba(127, 119, 221, 0.6)); }
}

/* ══════════════════════════════════════
   Hero
   ══════════════════════════════════════ */
.hero {
  padding: 56px 24px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--purple-primary);
  margin-bottom: 24px;
  font-weight: 400;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero__eyebrow-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple-primary);
  opacity: 0.5;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.hero__title-line {
  display: block;
  font-size: clamp(18px, 6.1vw, 30px); /* 响应式字号缩放，根据屏幕宽度自适应，防止折行 */
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: 2px;
  padding-right: 6px; /* 解决 letter-spacing 在某些浏览器下导致最后一个字被 background-clip 截断不可见的问题 */
  opacity: 0;
  white-space: nowrap; /* 强制单行显示，彻底解决最后一个字掉到下一行的问题 */
}

.hero__title-line--1 {
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.4s forwards;
}

.hero__title-line--2 {
  background: linear-gradient(135deg, var(--purple-light), #e8d5ff, var(--purple-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s forwards;
}

.hero__subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.8s forwards;
  margin-bottom: 24px;
}

/* ── [NEW] 今日宇宙能量 ── */
.hero__energy {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(132, 115, 255, 0.1);
  border-radius: 18px;
  padding: 20px;
  max-width: 380px;
  margin: 0 auto 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 1s forwards, energyPulse 4s infinite ease-in-out 1.8s;
}

.energy__label {
  font-size: 9px;
  color: var(--purple-primary);
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.energy__content {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 12px;
  font-weight: 400;
}

.energy__meta {
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.energy__divider {
  opacity: 0.3;
}

@keyframes energyPulse {
  0%, 100% { transform: translateY(0); border-color: rgba(132, 115, 255, 0.1); }
  50% { transform: translateY(-3px); border-color: rgba(132, 115, 255, 0.3); }
}


.hero__stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

.hero__star {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--purple-primary);
  opacity: 0.5;
  animation: starTwinkle 3s ease-in-out infinite;
}

.hero__star--bright {
  opacity: 1;
  background: var(--purple-light);
  width: 4px;
  height: 4px;
  box-shadow: 0 0 8px rgba(196, 190, 245, 0.4);
  animation-delay: 0.5s;
}

.hero__star--dim {
  opacity: 0.3;
  animation-delay: 1s;
}

.hero__scroll-hint {
  margin-top: 32px;
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}

.hero__scroll-arrow {
  width: 16px;
  height: 16px;
  margin: 0 auto;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 0.8; }
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ══════════════════════════════════════
   Section
   ══════════════════════════════════════ */
.section {
  padding: 8px 0;
}

.section__label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 24px 16px;
}

.section__label-line {
  flex: 1;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, var(--border-subtle));
}

.section__label-line:last-child {
  background: linear-gradient(90deg, var(--border-subtle), transparent);
}

.section__label-text {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 400;
}

/* ══════════════════════════════════════
   Cards — Enhanced Redesign (Proposal 2)
   ══════════════════════════════════════ */
.card {
  display: block;
  margin: 0 20px 24px;
  border-radius: 24px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s var(--ease-out-expo);
  border: 1px solid var(--border-light);
  min-height: 220px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card__glow {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card__glow--purple {
  background: radial-gradient(circle at 80% 80%, rgba(127, 119, 221, 0.15) 0%, transparent 70%);
}

.card__glow--gold {
  background: radial-gradient(circle at 80% 80%, rgba(239, 159, 39, 0.12) 0%, transparent 70%);
}

.card:hover .card__glow {
  opacity: 0.8;
}

.card--live {
  background: rgba(16, 14, 36, 0.6);
  border-color: rgba(127, 119, 221, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card--live:hover {
  border-color: rgba(127, 119, 221, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(127, 119, 221, 0.15);
}

.card--new {
  background: rgba(18, 15, 30, 0.6);
  border-color: rgba(239, 159, 39, 0.3);
  border-width: 1px;
}

.card--new:hover {
  border-color: rgba(239, 159, 39, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(239, 159, 39, 0.15);
}

/* 大型背景图腾 */
.card__bg-icon {
  position: absolute;
  right: -10%;
  bottom: -15%;
  font-size: 140px;
  opacity: 0.05;
  filter: grayscale(100%);
  transform: rotate(-10deg);
  transition: all 0.6s var(--ease-out-expo);
  pointer-events: none;
  z-index: 0;
}

.card:hover .card__bg-icon {
  opacity: 0.15;
  filter: grayscale(0%);
  transform: rotate(0deg) scale(1.1);
}

/* 卡片内容区 (确保在图腾之上) */
.card__header, .card__body {
  position: relative;
  z-index: 1;
}

.card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.card__arrow {
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out-expo);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card:hover .card__arrow {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.15);
  transform: translate(2px, -2px);
}

.card__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.card__quote {
  font-size: 14px;
  color: var(--purple-light);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.5;
  opacity: 0.9;
  border-left: 2px solid var(--purple-primary);
  padding-left: 12px;
}

.card--new .card__quote {
  color: var(--gold-primary);
  border-left-color: var(--gold-primary);
}

.card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 300;
  max-width: 90%;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card__tag {
  font-size: 11px;
  color: var(--text-tertiary);
  padding: 6px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
  font-weight: 400;
  background: rgba(0,0,0,0.2);
}

.card:hover .card__tag {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
}

/* ══════════════════════════════════════
   Badges
   ══════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}

.badge--live {
  background: var(--green-faint);
  color: var(--green-primary);
}

.badge__pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-primary);
  animation: pulse 2s ease-in-out infinite;
}

.badge--new {
  background: var(--gold-faint);
  color: var(--gold-primary);
}

.badge__flash {
  animation: flash 2s ease-in-out infinite;
}

.badge--soon {
  background: var(--purple-faint);
  color: var(--purple-muted);
  font-size: 10px;
  padding: 3px 8px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ══════════════════════════════════════
   Brewing Card (Merged Next Station & Subscribe)
   ══════════════════════════════════════ */
.brewing-card {
  margin: 0 20px 24px;
  border-radius: 24px;
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
  background: rgba(16, 14, 36, 0.6);
  border: 1px dashed rgba(127, 119, 221, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.5s var(--ease-out-expo);
}

.brewing-card:hover {
  border-style: solid;
  border-color: rgba(127, 119, 221, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(127, 119, 221, 0.15);
}

.brewing-card__glow {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  transition: opacity 0.5s ease;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(127, 119, 221, 0.1) 0%, transparent 80%);
}

.brewing-card:hover .brewing-card__glow {
  opacity: 0.7;
}

.brewing-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.brewing-card__mystery-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(127, 119, 221, 0.08);
  border: 1px solid rgba(127, 119, 221, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(127, 119, 221, 0.1);
  transition: all 0.5s var(--ease-out-expo);
}

.brewing-card:hover .brewing-card__mystery-box {
  background: rgba(127, 119, 221, 0.15);
  border-color: rgba(127, 119, 221, 0.5);
  box-shadow: 0 0 20px rgba(127, 119, 221, 0.25);
  transform: scale(1.05);
}

.brewing-card__question {
  font-size: 26px;
  color: var(--purple-light);
  font-weight: 300;
  line-height: 1;
  animation: mysteryPulse 4s ease-in-out infinite;
}

.brewing-card__text-group {
  flex: 1;
  min-width: 0;
}

.brewing-card__title {
  font-size: 16px;
  font-weight: 500;
  color: #e0daf5;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.brewing-card__desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

.brewing-card__action {
  flex-shrink: 0;
}

@keyframes mysteryPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

.subscribe__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--purple-muted);
  border: 0.5px solid rgba(127, 119, 221, 0.3);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  white-space: nowrap;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.subscribe__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(127, 119, 221, 0.15), rgba(127, 119, 221, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.subscribe__btn:hover {
  border-color: rgba(127, 119, 221, 0.5);
  color: var(--purple-light);
  transform: translateY(-1px);
}

.subscribe__btn:hover::before {
  opacity: 1;
}

.subscribe__btn:active {
  transform: translateY(0) scale(0.98);
}

.subscribe__btn svg {
  transition: transform 0.3s var(--ease-out-expo);
}

.subscribe__btn:hover svg {
  transform: translateX(3px);
}

/* ══════════════════════════════════════
   Footer
   ══════════════════════════════════════ */
.footer {
  padding: 32px 24px 40px;
  text-align: center;
  border-top: 0.5px solid var(--border-subtle);
}

.footer__brand {
  font-size: 13px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-weight: 400;
}

.footer__tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 16px;
}

.footer__divider {
  width: 24px;
  height: 0.5px;
  background: var(--border-subtle);
  margin: 0 auto 16px;
}

.footer__beian {
  font-size: 11px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__beian a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
  font-weight: 300;
  text-decoration: none;
}

.footer__beian a:hover {
  color: var(--purple-light);
  text-decoration: underline;
}

.footer__note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: 2px;
  font-weight: 300;
}

/* ══════════════════════════════════════
   Animations — Global
   ══════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Scroll Reveal ── */
.section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out-expo);
}

.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Card stagger animation ── */
.card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-out-expo);
}

.card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   Responsive — Larger Screens
   ══════════════════════════════════════ */
@media (min-width: 481px) {
  .page {
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 24px;
    border: 0.5px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  }
}

@media (max-width: 360px) {
  .hero__title-line {
    font-size: 26px;
  }

  .card {
    padding: 18px;
    margin: 0 16px 12px;
  }

  .brewing-card {
    padding: 20px 18px;
    margin: 0 16px 16px;
  }
}

/* ── Interactive Hero & Transitions ── */
.hero__title, .hero__subtitle, .hero__energy {
  cursor: pointer;
  user-select: none;
}
.hero__title:hover .hero__title-line--1 {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.hero__title:hover .hero__title-line--2 {
  text-shadow: 0 0 15px rgba(127, 119, 221, 0.4);
}
.hero__subtitle:hover {
  color: var(--purple-light);
  transition: color 0.3s ease;
}
.hero__energy {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease !important;
}
.hero__energy:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(132, 115, 255, 0.15);
  border-color: rgba(132, 115, 255, 0.4);
}

.text-transition-out {
  opacity: 0 !important;
  transform: translateY(-8px);
  filter: blur(4px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease !important;
}

.text-transition-in {
  opacity: 1 !important;
  transform: translateY(0);
  filter: blur(0px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease !important;
}

/* ── [NEW] checkin-banner ── */
/* ── [NEW] 今日仪式与签到统一挂载模块样式 ── */
.ritual-section {
  margin: 0 20px 24px;
}

/* 折叠横幅 */
.ritual-collapsed-banner {
  position: relative;
  width: 100%;
  background: rgba(127, 119, 221, 0.08);
  border: 1px dashed rgba(127, 119, 221, 0.3);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  cursor: pointer;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease-out-expo);
}

.ritual-collapsed-banner:hover {
  background: rgba(127, 119, 221, 0.12);
  border-color: rgba(127, 119, 221, 0.6);
  box-shadow: 0 8px 24px rgba(127, 119, 221, 0.15);
  transform: translateY(-2px);
}

.ritual-collapsed-banner .banner-content {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.ritual-collapsed-banner .banner-icon {
  font-size: 22px;
  animation: floatOrb 3s infinite ease-in-out;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.1); }
}

.ritual-collapsed-banner .banner-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.ritual-collapsed-banner:hover .banner-text {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.ritual-collapsed-banner .banner-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 50%, rgba(127, 119, 221, 0.15) 0%, transparent 80%);
  pointer-events: none;
}

/* 展开态大卡片 */
/* 日期独立展示 */
.ritual-section-date {
  margin: 20px auto 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  text-align: center;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  user-select: none;
}

.daily-ritual-card {
  position: relative;
  width: 100%;
  background: rgba(16, 14, 36, 0.65);
  border: 1px solid rgba(127, 119, 221, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.daily-ritual-card.all-completed {
  border-color: rgba(239, 159, 39, 0.45);
  box-shadow: 0 12px 50px rgba(239, 159, 39, 0.18), 0 0 35px rgba(127, 119, 221, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: cardGlowBreath 4s infinite ease-in-out;
}

@keyframes cardGlowBreath {
  0%, 100% { box-shadow: 0 12px 40px rgba(239, 159, 39, 0.15), 0 0 25px rgba(127, 119, 221, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
  50% { box-shadow: 0 18px 60px rgba(239, 159, 39, 0.28), 0 0 45px rgba(127, 119, 221, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
}

.daily-ritual-card.all-completed::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(127, 119, 221, 0.08) 0%, rgba(239, 159, 39, 0.08) 35%, rgba(93, 202, 165, 0.08) 70%, rgba(127, 119, 221, 0.08) 100%);
  background-size: 300% 300%;
  z-index: 0;
  pointer-events: none;
  animation: auroraMove 10s ease infinite alternate;
  border-radius: inherit;
}

@keyframes auroraMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Canvas 覆盖层 */
.ritual-canvas-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* 顶部进度条 */
.ritual-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.ritual-progress-bar {
  height: 100%;
  background: #7F77DD;
  box-shadow: 0 0 8px #7F77DD, 0 0 16px rgba(127, 119, 221, 0.6);
  transition: width 0.6s ease;
}

.daily-ritual-card.all-completed .ritual-progress-bar {
  background: linear-gradient(90deg, #EF9F27, #7F77DD, #5dcaa5, #EF9F27);
  background-size: 300% 100%;
  animation: progressMove 3s linear infinite;
  box-shadow: 0 0 10px rgba(239, 159, 39, 0.6), 0 0 20px rgba(127, 119, 221, 0.4);
}

@keyframes progressMove {
  0% { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

/* 命运加持圣徽卡片 */
.ritual-success-badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(239, 159, 39, 0.1) 0%, rgba(127, 119, 221, 0.1) 100%);
  border: 1px solid rgba(239, 159, 39, 0.3);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  overflow: hidden;
  z-index: 2;
  animation: successBadgeFloat 3s infinite ease-in-out;
  box-shadow: 0 4px 15px rgba(239, 159, 39, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

@keyframes successBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.success-badge-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(239, 159, 39, 0.2), transparent 75%);
  pointer-events: none;
}

.success-badge-icon {
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(239, 159, 39, 0.6));
  animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.success-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.success-badge-title {
  font-size: 13px;
  font-weight: 600;
  color: #ef9f27;
  text-shadow: 0 0 8px rgba(239, 159, 39, 0.3);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  text-align: left;
}

.success-badge-desc {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
  text-align: left;
  line-height: 1.4;
}

/* 卡片头部 */
.ritual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

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

.ritual-header .badge-checked-in {
  background: rgba(29, 158, 117, 0.15);
  border: 1px solid rgba(29, 158, 117, 0.5);
  border-radius: var(--radius-pill);
  color: #1d9e75;
  font-size: 11px;
  padding: 3px 10px;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(29, 158, 117, 0.3);
  box-shadow: 0 0 8px rgba(29, 158, 117, 0.1);
  animation: checkedGlow 2s infinite ease-in-out;
}

@keyframes checkedGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(29, 158, 117, 0.1); }
  50% { box-shadow: 0 0 16px rgba(29, 158, 117, 0.4); }
}

.ritual-header .ritual-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  margin: 0;
}

.ritual-header .stones-balance-label {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* 列表行 */
.ritual-steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.ritual-step-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
}

/* 行状态控制：locked (锁死) */
.ritual-step-row.locked {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* 行状态控制：active (当前可操作) */
.ritual-step-row.active {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
}

.ritual-step-row.active:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(127, 119, 221, 0.5);
  box-shadow: 0 4px 20px rgba(127, 119, 221, 0.12);
  transform: translateX(4px);
}

/* 行状态控制：completed (已完成) */
.ritual-step-row.completed {
  background: rgba(29, 158, 117, 0.08);
  border-color: rgba(29, 158, 117, 0.35);
  cursor: pointer;
}

.ritual-step-row.completed:hover {
  background: rgba(29, 158, 117, 0.12);
  border-color: rgba(29, 158, 117, 0.5);
  box-shadow: 0 4px 20px rgba(29, 158, 117, 0.1);
}

/* 图标包裹 */
.step-icon-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-right: 14px;
}

.step-emoji {
  font-size: 20px;
}

.step-check-mark {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1d9e75;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  display: grid;
  place-items: center;
  box-shadow: 0 0 6px rgba(29, 158, 117, 0.5);
}

/* 文字详情 */
.step-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.step-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.step-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #fff;
}

.ritual-step-row.completed .step-name {
  color: #1d9e75;
  text-shadow: 0 0 8px rgba(29, 158, 117, 0.2);
}

.step-solar-term-tag {
  font-size: 10px;
  background: rgba(224, 122, 95, 0.15);
  border: 1px solid rgba(224, 122, 95, 0.4);
  color: #e07a5f;
  border-radius: 4px;
  padding: 1px 6px;
  letter-spacing: 1px;
}

.step-hint {
  font-size: 12px;
  color: var(--text-tertiary);
}

.ritual-step-row.completed .step-hint {
  color: rgba(29, 158, 117, 0.7);
}

/* 右侧行为区域 */
.step-action-info {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.step-reward-text {
  color: var(--color-primary);
}

.ritual-step-row.active .step-reward-text {
  animation: blinkReward 1.5s infinite ease-in-out;
}

@keyframes blinkReward {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; text-shadow: 0 0 6px rgba(201, 168, 76, 0.5); }
}

.step-done-text {
  color: #1d9e75;
}

/* ── [NEW] modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}

.modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 4, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal__card {
  width: 90%;
  max-width: 380px;
  background: rgba(18, 15, 34, 0.95);
  border: 1px solid rgba(132, 115, 255, 0.25);
  border-radius: 28px;
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s var(--ease-out-expo);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
}

.modal.is-active .modal__card {
  transform: translateY(0) scale(1);
}

.modal__glow {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(132, 115, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.modal__header {
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}

.modal__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.modal__close {
  position: absolute;
  right: -6px;
  top: -16px;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s;
  padding: 10px;
}

.modal__close:hover {
  color: var(--text-primary);
}

.modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.modal__zodiac-sign {
  font-size: 48px;
  filter: drop-shadow(0 0 15px rgba(132, 115, 255, 0.4));
  animation: checkinPulse 2s infinite ease-in-out;
}

@keyframes checkinPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(132, 115, 255, 0.4)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 25px rgba(132, 115, 255, 0.7)); }
}

.modal__report {
  width: 100%;
}

.modal__energy-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--green-primary);
  background: rgba(93, 202, 165, 0.1);
  border: 1px solid rgba(93, 202, 165, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  font-weight: 500;
}

.modal__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  font-weight: 300;
  padding: 0 8px;
}

.modal__gold-sentence {
  font-size: 13px;
  color: var(--purple-light);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--purple-primary);
  padding: 10px 14px;
  text-align: left;
  border-radius: 0 8px 8px 0;
}

.modal__reward {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  width: 100%;
}

.modal__reward-value {
  color: #ffd700;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.modal__footer {
  margin-top: 24px;
  width: 100%;
}

.modal__btn {
  width: 100%;
  background: linear-gradient(135deg, var(--purple-primary) 0%, #685fd4 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(127, 119, 221, 0.3);
}

.modal__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(127, 119, 221, 0.45);
}

.modal__btn:active {
  transform: translateY(0);
}

/* ── 每日命运 BUFF 手风琴折叠菜单样式 ── */
.ritual-combat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 0 4px;
}

.combat-power-value {
  color: var(--purple-primary);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(127, 119, 221, 0.4);
}

.ritual-streak-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(239, 159, 39, 0.04);
  border: 1px dashed rgba(239, 159, 39, 0.2);
  border-radius: 12px;
  padding: 10px 16px;
  margin: 12px 0 16px;
  font-size: 12px;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.streak-reward-tag {
  font-size: 10px;
  color: #ef9f27;
  background: rgba(239, 159, 39, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

/* 手风琴列表 */
.ritual-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 24px;
  position: relative;
  z-index: 2;
}

.ritual-accordion-item {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.ritual-accordion-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(127, 119, 221, 0.25);
  transform: translateY(-1px);
}

.ritual-accordion-item.active {
  border-color: rgba(127, 119, 221, 0.4);
  background: rgba(127, 119, 221, 0.04);
  box-shadow: 0 4px 20px rgba(127, 119, 221, 0.1);
}

.ritual-accordion-item.completed {
  border-color: rgba(93, 202, 165, 0.12);
  background: rgba(93, 202, 165, 0.01);
}

.ritual-accordion-item.completed.active {
  border-color: var(--green-primary);
  background: rgba(93, 202, 165, 0.04);
  box-shadow: 0 4px 20px rgba(93, 202, 165, 0.1);
}

/* 手风琴头部条形菜单 */
.accordion-header {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
}

.step-icon {
  font-size: 20px;
  margin-right: 12px;
  line-height: 1;
}

.step-name {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  flex-grow: 1;
  text-align: left;
}

.step-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
}

.step-reward {
  font-size: 10px;
  color: #ef9f27;
  background: rgba(239, 159, 39, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}

/* 绿色呼吸打勾图标 */
.step-status-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(93, 202, 165, 0.15);
  color: var(--green-primary);
  font-weight: bold;
  font-size: 11px;
  box-shadow: 0 0 10px rgba(93, 202, 165, 0.35);
  line-height: 1;
}

.accordion-arrow {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
  line-height: 1;
}

.ritual-accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
  color: #fff;
}

/* 手风琴抽屉高度渐变 */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ritual-accordion-item.active .accordion-content {
  max-height: 160px;
}

.accordion-inner {
  padding: 0 18px 18px 50px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  padding-top: 12px;
}

.step-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  text-align: left;
}

.step-action-row {
  display: flex;
  justify-content: flex-start;
}

.start-buff-btn {
  font-size: 11px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--purple-primary), #8f85f2);
  border: none;
  border-radius: 99px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(127, 119, 221, 0.2);
  transition: all 0.2s ease;
}

.start-buff-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(127, 119, 221, 0.35);
}

/* ── 今日热点景区 - 横滑滑屏轮播样式 ── */
.hot-spots-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 16px;
}

.hot-spots-grid {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 10px 24px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hot-spots-grid::-webkit-scrollbar {
  display: none;
}

/* ── 今日热门景区专属卡片 (黑金星轨磨砂卡牌) ── */
.hot-spot-card {
  position: relative;
  flex: 0 0 85%;
  scroll-snap-align: center;
  margin: 0 !important;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(127, 119, 221, 0.18) 0%, transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, rgba(20, 18, 45, 0.8) 0%, rgba(10, 8, 24, 0.95) 100%);
  background-size: 100% 100%, 16px 16px, 100% 100%;
  border: 1px solid rgba(127, 119, 221, 0.15);
  border-radius: 24px;
  padding: 26px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: left;
}

.hot-spot-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(127, 119, 221, 0.4), transparent 40%, rgba(239, 159, 39, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.hot-spot-card:hover {
  transform: translateY(-5px);
  border-color: rgba(127, 119, 221, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(127, 119, 221, 0.15);
}

.hot-spot-card:hover::after {
  background: linear-gradient(135deg, rgba(127, 119, 221, 0.7), transparent 30%, rgba(239, 159, 39, 0.5));
  opacity: 1;
}

.hot-spot-card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.hot-spot-card--live .hot-spot-card-glow {
  background: radial-gradient(circle at 80% 20%, rgba(127, 119, 221, 0.4) 0%, transparent 60%);
}

.hot-spot-card--new .hot-spot-card-glow {
  background: radial-gradient(circle at 80% 20%, rgba(239, 159, 39, 0.35) 0%, transparent 60%);
}

.hot-spot-card:hover .hot-spot-card-glow {
  opacity: 0.35;
}

.hot-spot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.hot-spot-badge {
  font-size: 9px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.hot-spot-badge.live {
  background: rgba(127, 119, 221, 0.08);
  color: var(--purple-light);
  border-color: rgba(127, 119, 221, 0.25);
}

.hot-spot-badge.new {
  background: rgba(239, 159, 39, 0.08);
  color: #ef9f27;
  border-color: rgba(239, 159, 39, 0.25);
}

.hot-spot-icon-wrap {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  line-height: 1;
}

.hot-spot-body {
  margin-top: 16px;
  margin-bottom: auto;
  z-index: 2;
}

.hot-spot-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1.5px;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.hot-spot-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 300;
}

.hot-spot-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hot-spot-tag {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.03);
  padding: 2px 8px;
  border-radius: 4px;
  border: 0.5px solid rgba(255, 255, 255, 0.05);
}

.hot-spot-footer {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  z-index: 2;
}

.hot-spot-action {
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  background: rgba(127, 119, 221, 0.15);
  border: 1px solid rgba(127, 119, 221, 0.3);
  border-radius: 99px;
  padding: 6px 14px;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(127, 119, 221, 0.1);
}

.hot-spot-card:hover .hot-spot-action {
  background: linear-gradient(135deg, var(--purple-primary), #8f85f2);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(127, 119, 221, 0.35);
  transform: scale(1.03);
}

.hot-spots-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 20px;
}

.hot-spots-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hot-spots-dot.active {
  background: var(--purple-primary);
  width: 16px;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(127, 119, 221, 0.4);
}

/* ── 顶导 VIP 药丸样式 ── */
.nav__vip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  user-select: none;
  font-weight: 500;
}

.nav__vip:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.nav__vip-icon {
  font-size: 12px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

/* 激活状态 */
.nav__vip.active {
  background: linear-gradient(135deg, rgba(239, 159, 39, 0.15), rgba(127, 119, 221, 0.15));
  border-color: rgba(239, 159, 39, 0.4);
  color: #ef9f27;
  text-shadow: 0 0 8px rgba(239, 159, 39, 0.3);
  box-shadow: 0 4px 12px rgba(239, 159, 39, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: vipPulse 3s infinite alternate;
}

.nav__vip.active .nav__vip-icon {
  filter: grayscale(0);
  opacity: 1;
  animation: crownFloat 2s infinite ease-in-out;
}

@keyframes vipPulse {
  0% { border-color: rgba(239, 159, 39, 0.3); box-shadow: 0 4px 12px rgba(239, 159, 39, 0.1); }
  100% { border-color: rgba(239, 159, 39, 0.6); box-shadow: 0 6px 18px rgba(239, 159, 39, 0.25); }
}

@keyframes crownFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px) scale(1.1); }
}

/* ── 会员与充值中心 Modal 样式 ── */
.vip-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vip-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.vip-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 4, 16, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.vip-modal__card {
  width: 92%;
  max-width: 410px;
  background: rgba(14, 11, 28, 0.95);
  border: 1px solid rgba(132, 115, 255, 0.25);
  border-radius: 28px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transform: translateY(40px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.vip-modal.is-active .vip-modal__card {
  transform: translateY(0) scale(1);
}

.vip-modal__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(132, 115, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.vip-modal__header {
  text-align: center;
  position: relative;
  margin-bottom: 20px;
  z-index: 2;
}

.vip-modal__title {
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

.vip-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 26px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10;
  line-height: 1;
}

.vip-modal__close:hover {
  color: #fff;
}

.vip-modal__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── 拟物化 VIP 会员卡 ── */
.vip-card-preview {
  position: relative;
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #1f1b3a 0%, #0d0a1b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.vip-card-preview__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.vip-card-preview__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vip-card-preview__logo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
}

.vip-card-preview__chip {
  width: 32px;
  height: 24px;
  background: linear-gradient(135deg, #ffd700, #c5a000);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: 0.8;
}

.vip-card-preview__middle {
  text-align: left;
}

.vip-card-preview__level {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.5s ease;
}

.vip-card-preview__sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
}

.vip-card-preview__footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  font-family: monospace;
}

/* 拟物卡状态：月卡会员（紫金） */
.vip-card-preview.vip-month {
  background: linear-gradient(135deg, #4A2E80 0%, #150E2A 100%);
  border-color: rgba(143, 117, 245, 0.35);
  box-shadow: 0 12px 35px rgba(74, 46, 128, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.vip-card-preview.vip-month .vip-card-preview__glow {
  background: radial-gradient(circle at 70% 30%, rgba(143, 117, 245, 0.25) 0%, transparent 60%);
}

.vip-card-preview.vip-month .vip-card-preview__level {
  color: #a78eff;
  text-shadow: 0 0 10px rgba(167, 142, 255, 0.4);
}

.vip-card-preview.vip-month .vip-card-preview__logo,
.vip-card-preview.vip-month .vip-card-preview__sub,
.vip-card-preview.vip-month .vip-card-preview__footer {
  color: rgba(167, 142, 255, 0.6);
}

/* 拟物卡状态：终身会员（极光黑金） */
.vip-card-preview.vip-lifetime {
  background: linear-gradient(135deg, #1A1813 0%, #080705 100%);
  border-color: rgba(239, 159, 39, 0.4);
  box-shadow: 0 15px 40px rgba(239, 159, 39, 0.2), 0 0 20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.vip-card-preview.vip-lifetime .vip-card-preview__glow {
  background: linear-gradient(135deg, rgba(239, 159, 39, 0.15) 0%, rgba(93, 202, 165, 0.1) 100%);
}

.vip-card-preview.vip-lifetime .vip-card-preview__level {
  color: #ef9f27;
  text-shadow: 0 0 12px rgba(239, 159, 39, 0.5);
  letter-spacing: 2px;
}

.vip-card-preview.vip-lifetime .vip-card-preview__logo,
.vip-card-preview.vip-lifetime .vip-card-preview__sub,
.vip-card-preview.vip-lifetime .vip-card-preview__footer {
  color: rgba(239, 159, 39, 0.7);
}

/* ── 选项卡切换 ── */
.vip-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 3px;
  gap: 4px;
}

.vip-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 11px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.vip-tab-btn:hover {
  color: #fff;
}

.vip-tab-btn.active {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ── 内容面板 ── */
.vip-panel {
  display: none;
  transition: all 0.3s;
}

.vip-panel.active {
  display: block;
  animation: panelFadeIn 0.3s ease;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── 充值栏目 ── */
.charge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.charge-item {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.charge-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(127, 119, 221, 0.3);
  transform: translateY(-1px);
}

.charge-item.recommend {
  background: rgba(127, 119, 221, 0.04);
  border-color: rgba(127, 119, 221, 0.35);
}

.charge-item.recommend:hover {
  border-color: rgba(127, 119, 221, 0.6);
  box-shadow: 0 6px 16px rgba(127, 119, 221, 0.15);
}

.charge-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #ef9f27;
  color: #000;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 0 0 0 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.charge-stones {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.charge-price {
  font-size: 11px;
  color: var(--text-secondary);
}

.charge-footer-tips {
  font-size: 10px;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: 10px;
}

/* ── 购买会员 ── */
.vip-product-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vip-product-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s;
}

.vip-product-card:hover {
  border-color: rgba(143, 117, 245, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.vip-product-card.golden {
  border-color: rgba(239, 159, 39, 0.2);
}

.vip-product-card.golden:hover {
  border-color: rgba(239, 159, 39, 0.5);
  box-shadow: 0 8px 24px rgba(239, 159, 39, 0.1);
}

.vip-prod-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vip-prod-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.vip-product-card.golden .vip-prod-name {
  color: #ef9f27;
}

.vip-prod-price {
  font-size: 12px;
  font-weight: 600;
  color: #ef9f27;
}

.vip-product-card.golden .vip-prod-price {
  color: #ef9f27;
}

.vip-prod-rights {
  padding-left: 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vip-prod-rights li {
  font-size: 10px;
  color: var(--text-secondary);
  list-style-type: disc;
}

.vip-buy-btn {
  font-size: 11px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--purple-primary), #8f85f2);
  border: none;
  border-radius: 99px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.vip-product-card.golden .vip-buy-btn {
  background: linear-gradient(135deg, #ef9f27, #f7b14c);
  color: #000;
  box-shadow: 0 4px 10px rgba(239, 159, 39, 0.2);
}

/* ── 分享结缘 ── */
.share-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: left;
}

.share-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.share-code-box {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
}

.share-label {
  font-size: 11px;
  color: var(--text-muted);
}

.share-code-val {
  font-size: 14px;
  color: #fff;
  font-family: monospace;
  font-weight: bold;
  flex-grow: 1;
  letter-spacing: 0.5px;
}

.share-copy-btn {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.share-copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.share-status-tips {
  font-size: 10px;
  color: var(--green-primary);
  margin-top: 10px;
  text-align: center;
  min-height: 14px;
}

/* ── 每日低保信封动画 ── */
.vip-envelope-wrap {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 4, 16, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.vip-envelope-wrap.is-active {
  opacity: 1;
  pointer-events: auto;
}

.vip-envelope {
  position: relative;
  width: 280px;
  height: 180px;
  background: #3a2e5d;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(50px) scale(0.9);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.vip-envelope-wrap.is-active .vip-envelope {
  transform: translateY(0) scale(1);
}

/* 信封顶盖 */
.envelope-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 140px solid transparent;
  border-right: 140px solid transparent;
  border-top: 100px solid #4a3c7a;
  transform-origin: top;
  transition: transform 0.4s ease 0.4s;
  z-index: 3;
}

.vip-envelope-wrap.is-active .envelope-top {
  transform: rotateX(180deg);
  border-top-color: #57468f;
  z-index: 1;
}

.envelope-body {
  position: absolute;
  inset: 0;
  background: #312650;
  border-radius: 0 0 12px 12px;
  overflow: visible;
  z-index: 2;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* 信封卡片 */
.envelope-card {
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 160px;
  background: #fff;
  border-radius: 8px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: transform 0.5s ease 0.8s, z-index 0s ease 0.8s;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vip-envelope-wrap.is-active .envelope-card {
  transform: translateY(-80px);
  z-index: 4;
}

.envelope-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #312650;
  letter-spacing: 1px;
}

.envelope-card-content {
  font-size: 11px;
  color: #555;
  line-height: 1.5;
}

.envelope-card-btn {
  font-size: 10px;
  padding: 6px 14px;
  background: #3a2e5d;
  color: #fff;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.envelope-card-btn:hover {
  background: #4a3c7a;
}

/* ── 全屏金币粒子动画 ── */
.gold-coin {
  position: fixed;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle, #ffe259, #ffa751);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 10001;
  pointer-events: none;
  animation: fallCoin 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fallCoin {
  0% {
    transform: translate3d(var(--x-start), var(--y-start), 0) scale(0.5);
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--x-end), var(--y-end), 0) scale(0.8) rotate(360deg);
    opacity: 0;
  }
}

/* ── 景点折角折扣标识 ── */
.card--vip-discount {
  position: relative;
}

.card--vip-discount::after {
  content: 'VIP 8折';
  position: absolute;
  top: 10px;
  right: -25px;
  background: linear-gradient(135deg, #ef9f27, #f7b14c);
  color: #000;
  font-size: 8px;
  font-weight: 700;
  padding: 3px 25px;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  letter-spacing: 0.5px;
  z-index: 3;
  pointer-events: none;
}

.card--vip-discount.lifetime-discount::after {
  content: 'VIP 7折';
  background: linear-gradient(135deg, #ef9f27, #5dcaa5);
}

/* ── 时光逆转补签 Modal 样式 ── */
.revert-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.revert-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.revert-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 4, 16, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.revert-modal__card {
  width: 90%;
  max-width: 380px;
  background: rgba(14, 11, 28, 0.95);
  border: 1px solid rgba(239, 159, 39, 0.35);
  border-radius: 28px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transform: translateY(40px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.revert-modal.is-active .revert-modal__card {
  transform: translateY(0) scale(1);
}

.revert-modal__glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(239, 159, 39, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.revert-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 26px;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: color 0.3s;
}

.revert-modal__close:hover {
  color: #fff;
}

.revert-modal__header {
  text-align: center;
  margin-bottom: 20px;
}

.revert-modal__title {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
}

.revert-modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* 拟物化时钟装置 */
.revert-clock-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 159, 39, 0.08), rgba(0,0,0,0.4));
  border: 2px solid rgba(239, 159, 39, 0.4);
  box-shadow: 0 0 20px rgba(239, 159, 39, 0.15), inset 0 0 15px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.revert-clock {
  position: relative;
  width: 90%;
  height: 90%;
}

.revert-clock::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ef9f27;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  box-shadow: 0 0 6px #ef9f27;
}

.revert-hand {
  position: absolute;
  background: #fff;
  border-radius: 4px;
  transform-origin: bottom center;
  bottom: 50%;
  left: 50%;
  z-index: 3;
}

.revert-hand.hour {
  width: 3px;
  height: 24px;
  margin-left: -1.5px;
  background: #ef9f27;
  transform: rotate(45deg);
}

.revert-hand.minute {
  width: 2px;
  height: 34px;
  margin-left: -1px;
  background: #e0d4ff;
  transform: rotate(180deg);
}

/* 启动倒流时旋转 */
.revert-clock-wrap.rewinding {
  animation: clockShake 0.1s infinite alternate;
  border-color: #ef9f27;
  box-shadow: 0 0 35px rgba(239, 159, 39, 0.45);
}

.revert-clock-wrap.rewinding .revert-hand.hour {
  animation: rewindHour 1.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

.revert-clock-wrap.rewinding .revert-hand.minute {
  animation: rewindMinute 1.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

@keyframes clockShake {
  0% { transform: translate(-1px, 0) rotate(0deg); }
  100% { transform: translate(1px, 0) rotate(1deg); }
}

@keyframes rewindHour {
  from { transform: rotate(45deg); }
  to { transform: rotate(-3600deg); }
}

@keyframes rewindMinute {
  from { transform: rotate(180deg); }
  to { transform: rotate(-36000deg); }
}

.revert-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
}

.revert-assets-info {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

.assets-divider {
  color: rgba(255, 255, 255, 0.1);
}

.revert-hint {
  font-size: 9px;
  color: var(--text-tertiary);
  text-align: center;
}

/* 补签气泡按钮 */
.streak-revert-btn {
  font-size: 9px;
  background: rgba(239, 159, 39, 0.1);
  border: 1px solid rgba(239, 159, 39, 0.35);
  color: #ef9f27;
  border-radius: 6px;
  padding: 2px 8px;
  cursor: pointer;
  margin-left: 10px;
  font-weight: 600;
  transition: all 0.3s;
  animation: pulseRevert 1.5s infinite ease-in-out;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.streak-revert-btn:hover {
  background: rgba(239, 159, 39, 0.2);
  border-color: rgba(239, 159, 39, 0.6);
  transform: translateY(-0.5px);
}

@keyframes pulseRevert {
  0%, 100% { box-shadow: 0 0 4px rgba(239, 159, 39, 0.15); }
  50% { box-shadow: 0 0 10px rgba(239, 159, 39, 0.4); }
}


