/* ============================================================
   赛博万神殿 — 影视开机仪式 Scene (filmset.css)
   Cinematic red × gold × neon  —  4-step ceremony
   ============================================================ */

/* ---------- Stage ---------- */
.filmset-stage {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: var(--sp-10) var(--sp-4) calc(var(--sp-20) + 60px);
  gap: var(--sp-6);
  overflow-x: hidden;

  /* Dark background with subtle red ambient at bottom */
  background:
    radial-gradient(ellipse 120% 40% at 50% 100%, rgba(180, 0, 0, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 80% 30% at 50% 95%, rgba(255, 60, 0, 0.06) 0%, transparent 60%),
    var(--bg-void);
}

/* Warm atmospheric haze overlay */
.filmset-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Scene Title ---------- */
.filmset-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  color: var(--gold);
  text-shadow:
    0 0 12px var(--gold-glow),
    0 0 40px rgba(255, 215, 0, 0.15);
  letter-spacing: 0.1em;
  text-align: center;
  z-index: 1;
  animation: fadeIn 0.8s ease-out;
}

.filmset-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  z-index: 1;
  margin-top: calc(-1 * var(--sp-4));
}

/* ---------- Altar Area Wrapper ---------- */
.filmset-altar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  z-index: 1;
  width: 100%;
  max-width: 700px;
}

/* ---------- Red Cloth Table (香案) ---------- */
.filmset-table {
  position: relative;
  width: 100%;
  max-width: 600px;
  min-height: 260px;
  border-radius: var(--r-lg);
  overflow: hidden;

  /* Silk gradient */
  background:
    linear-gradient(
      170deg,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 35%
    ),
    linear-gradient(to bottom, #cc1a1a, #8b0000);

  /* Silk sheen highlight */
  box-shadow:
    inset 0 2px 30px rgba(255, 255, 255, 0.07),
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(200, 0, 0, 0.1);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6) var(--sp-4);
  gap: var(--sp-4);
}

/* Decorative fringe at bottom of table */
.filmset-table::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 14px;
  background:
    repeating-linear-gradient(
      90deg,
      #ffd700 0px,
      #ffd700 8px,
      transparent 8px,
      transparent 16px
    );
  opacity: 0.5;
}

/* ---------- Guan Yu (关二爷) Silhouette ---------- */
.filmset-guan-yu {
  position: relative;
  width: 140px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.filmset-guan-yu svg {
  width: 100%;
  height: 100%;
  filter:
    drop-shadow(0 0 12px rgba(255, 215, 0, 0.5))
    drop-shadow(0 0 30px rgba(255, 215, 0, 0.2));
}

/* Breathing neon halo behind deity */
.filmset-guan-yu::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.2) 0%,
    rgba(255, 215, 0, 0.08) 40%,
    transparent 70%
  );
  animation: breathe 3s ease-in-out infinite;
  z-index: -1;
}

/* Additional outer neon ring */
.filmset-guan-yu::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.15);
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.08),
    inset 0 0 20px rgba(255, 215, 0, 0.05);
  animation: breathe 3s ease-in-out infinite 0.5s;
  z-index: -1;
}

/* ---------- Incense Area ---------- */
.filmset-incense-area {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--sp-5);
  height: 120px;
  z-index: 2;
}

/* Individual incense stick */
.filmset-incense {
  position: relative;
  width: 6px;
  height: 90px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(to top, #666, #888);
  transition: background 0.6s ease;
}

/* Incense holder base */
.filmset-incense::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 16px;
  background: linear-gradient(to bottom, #b8960b, #8a7008);
  border-radius: 2px 2px 4px 4px;
}

/* Lit state */
.filmset-incense.lit {
  background: linear-gradient(to top, #a85600, #f5a623, #ffcc00);
  box-shadow: 0 0 8px rgba(255, 165, 0, 0.4);
}

/* Glowing tip */
.filmset-incense.lit::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff6600, #ff3300);
  box-shadow:
    0 0 8px #ff6600,
    0 0 20px rgba(255, 102, 0, 0.6),
    0 0 40px rgba(255, 102, 0, 0.3);
  animation: neonFlicker 1.5s ease-in-out infinite;
}

/* Smoke wisps from lit incense */
.filmset-incense.lit .incense-smoke {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 30px;
  background: linear-gradient(
    to top,
    rgba(200, 200, 200, 0.3),
    rgba(200, 200, 200, 0)
  );
  border-radius: 50%;
  animation: smokeSway 3s ease-in-out infinite, floatUp 4s ease-out infinite;
  opacity: 0.6;
}

/* ---------- Roast Pig (烤猪) ---------- */
.filmset-pig {
  position: relative;
  width: 180px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.6s var(--ease-out-expo);
}

.filmset-pig svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: all 0.6s var(--ease-out-expo);
}

/* Knife slash overlay */
.filmset-pig .knife-slash {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  width: 4px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.9) 20%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.9) 80%,
    transparent 100%
  );
  z-index: 10;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
}

.filmset-pig.cutting .knife-slash {
  animation: knifeSlash 0.5s ease-out forwards;
}

@keyframes knifeSlash {
  0%   { transform: translateX(-50%) scaleY(0); opacity: 1; }
  40%  { transform: translateX(-50%) scaleY(1); opacity: 1; }
  100% { transform: translateX(-50%) scaleY(1); opacity: 0; }
}

/* Cut state — two halves separate */
.filmset-pig.cut .pig-left {
  transform: translateX(-12px);
  transition: transform 0.8s var(--ease-spring);
}

.filmset-pig.cut .pig-right {
  transform: translateX(12px);
  transition: transform 0.8s var(--ease-spring);
}

.pig-left, .pig-right {
  transition: transform 0.5s ease;
}

/* ---------- Red Cloth (覆盖红布) ---------- */
.filmset-cloth-area {
  position: relative;
  width: 100%;
  max-width: 500px;
  min-height: 140px;
  z-index: 2;
}

.filmset-cloth {
  position: absolute;
  inset: 0;
  border-radius: var(--r-md);
  z-index: 3;

  /* Draped silk look */
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 30%
    ),
    linear-gradient(
      to bottom,
      #cc1a1a 0%,
      #a01010 50%,
      #8b0000 100%
    );

  box-shadow:
    inset 0 2px 20px rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.4);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
}

/* Decorative gold border on cloth */
.filmset-cloth::before {
  content: '设备区·机密';
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  text-shadow: 0 0 8px var(--gold-glow);
  letter-spacing: 0.15em;
  opacity: 0.7;
}

.filmset-cloth::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(255, 215, 0, 0.25);
  border-radius: calc(var(--r-md) - 4px);
  pointer-events: none;
}

/* Unveil animation */
.filmset-cloth.unveiled {
  animation: unveilCloth 1s var(--ease-out-expo) forwards;
  pointer-events: none;
}

/* ---------- Equipment (revealed gear) ---------- */
.filmset-equipment {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding: var(--sp-8) var(--sp-6);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.8s var(--ease-out-expo);
}

.filmset-equipment.revealed {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: slideUp 0.8s var(--ease-out-expo);
}

.filmset-equipment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}

.filmset-equipment-item svg {
  width: 64px;
  height: 64px;
  filter:
    drop-shadow(0 0 8px var(--neon-cyan-glow))
    drop-shadow(0 0 20px rgba(0, 245, 212, 0.15));
  animation: breathe 2.5s ease-in-out infinite;
}

.filmset-equipment-item span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 6px var(--neon-cyan-glow);
}

/* ---------- Danmaku (弹幕) ---------- */
.danmaku-text {
  position: fixed;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  pointer-events: none;
  z-index: var(--z-toast);
  animation: danmakuFly var(--fly-duration, 5s) linear forwards;
  will-change: transform;
}

.danmaku-text.gold-text {
  color: var(--gold);
  text-shadow:
    0 0 6px var(--gold-glow),
    0 0 20px rgba(255, 215, 0, 0.3);
}

.danmaku-text.red-text {
  color: var(--red);
  text-shadow:
    0 0 6px var(--red-glow),
    0 0 20px rgba(255, 59, 59, 0.3);
}

@keyframes danmakuFly {
  from { transform: translateX(0); opacity: 1; }
  90%  { opacity: 1; }
  to   { transform: translateX(calc(-100vw - 100%)); opacity: 0; }
}

/* ---------- Step Indicator ---------- */
.filmset-step-indicator {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  z-index: 2;
}

.filmset-step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 215, 0, 0.3);
  background: transparent;
  transition: all 0.4s var(--ease-spring);
  position: relative;
}

.filmset-step-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.filmset-step-dot.completed {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.filmset-step-dot.completed::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #1a1400;
  font-weight: 900;
}

/* Connector line between dots */
.filmset-step-line {
  width: 32px;
  height: 2px;
  background: rgba(255, 215, 0, 0.15);
  transition: background 0.4s ease;
}

.filmset-step-line.active {
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold-glow);
}

/* ---------- Action Button ---------- */
.filmset-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-10);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: all var(--dur-normal) var(--ease-out-expo);
  z-index: 3;
}

.filmset-action-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--dur-fast);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.25), transparent 70%);
}

.filmset-action-btn:active::after { opacity: 1; }

/* Step-specific button styles */
.filmset-action-btn[data-step="0"] {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: #fff;
  box-shadow:
    0 4px 20px var(--red-glow),
    0 0 40px rgba(255, 59, 59, 0.1);
}

.filmset-action-btn[data-step="1"] {
  background: linear-gradient(135deg, #8b4513, #d2691e);
  color: #fff;
  box-shadow:
    0 4px 20px rgba(210, 105, 30, 0.3),
    0 0 40px rgba(210, 105, 30, 0.1);
}

.filmset-action-btn[data-step="2"] {
  background: linear-gradient(135deg, var(--red-silk), var(--red));
  color: var(--gold);
  box-shadow:
    0 4px 20px var(--red-glow),
    0 0 40px rgba(255, 59, 59, 0.1);
}

.filmset-action-btn[data-step="3"] {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: #1a1400;
  box-shadow:
    0 4px 20px var(--gold-glow),
    0 0 40px rgba(255, 215, 0, 0.15);
}

.filmset-action-btn:hover {
  transform: translateY(-3px) scale(1.04);
}

.filmset-action-btn:hover[data-step="0"] {
  box-shadow:
    0 8px 30px var(--red-glow),
    0 0 60px rgba(255, 59, 59, 0.15);
}

.filmset-action-btn:hover[data-step="3"] {
  box-shadow:
    0 8px 30px var(--gold-glow),
    0 0 60px rgba(255, 215, 0, 0.2);
}

.filmset-action-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
}

/* Pulse animation on ready button */
.filmset-action-btn.pulse-ready {
  animation: pulse 2s ease-in-out infinite;
}

/* ---------- Red Envelope (红包) ---------- */
.red-envelope-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 10, 0.85);
  backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur-normal);
}

.red-envelope-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.red-envelope {
  position: relative;
  width: 260px;
  height: 380px;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #e62020 0%, #cc1a1a 40%, #a01010 100%);
  box-shadow:
    inset 0 2px 30px rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(200, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
  overflow: hidden;
}

.red-envelope:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow:
    inset 0 2px 30px rgba(255, 255, 255, 0.1),
    0 24px 70px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(200, 0, 0, 0.2);
}

/* Gold seal circle */
.red-envelope .envelope-seal {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  box-shadow: 0 0 20px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #8b0000;
  margin-bottom: var(--sp-4);
  transition: all 0.4s ease;
}

.red-envelope .envelope-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  text-shadow: 0 0 8px var(--gold-glow);
  letter-spacing: 0.15em;
}

/* Decorative gold border inside */
.red-envelope::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: calc(var(--r-xl) - 6px);
  pointer-events: none;
}

/* Gold pattern at top */
.red-envelope::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    to bottom,
    rgba(255, 215, 0, 0.06) 0%,
    transparent 100%
  );
  pointer-events: none;
}

/* Opened state */
.red-envelope.opened {
  animation: envelopeOpen 0.6s var(--ease-spring) forwards;
}

@keyframes envelopeOpen {
  0%   { transform: scale(1) rotateX(0deg); }
  30%  { transform: scale(1.15) rotateX(-5deg); }
  60%  { transform: scale(1.2) rotateX(0deg); }
  100% { transform: scale(0.9) rotateX(0deg); opacity: 0.5; }
}

/* Coins result display */
.envelope-result {
  text-align: center;
  font-family: var(--font-display);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-out-expo) 0.4s;
}

.envelope-result.visible {
  opacity: 1;
  transform: translateY(0);
}

.envelope-result .coin-count {
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: var(--gold);
  text-shadow:
    0 0 20px var(--gold-glow),
    0 0 60px rgba(255, 215, 0, 0.2);
  animation: coinSpin 1.5s ease-out;
}

.envelope-result .coin-label {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: var(--sp-2);
}

/* ---------- Shareable Poster ---------- */
.poster-card {
  width: 340px;
  max-width: 90vw;
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--r-xl);
  background:
    linear-gradient(
      145deg,
      rgba(255, 215, 0, 0.08) 0%,
      rgba(255, 0, 0, 0.04) 100%
    ),
    var(--bg-secondary);
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 215, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  animation: slideUp 0.6s var(--ease-out-expo);
}

/* Decorative corner borders */
.poster-card::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: calc(var(--r-xl) - 8px);
  pointer-events: none;
}

.poster-card .poster-date {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.poster-card .poster-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  text-shadow: 0 0 12px var(--gold-glow);
  letter-spacing: 0.1em;
}

.poster-card .poster-message {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.poster-card .poster-stamp {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--red);
  transform: rotate(-15deg);
  opacity: 0.8;
}

/* ---------- Replay Button ---------- */
.filmset-replay-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out-expo);
  z-index: 3;
}

.filmset-replay-btn:hover {
  background: var(--glass-bg-hover);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
}

/* ---------- Large Floating Celebration Text ---------- */
.filmset-big-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  color: var(--gold);
  text-shadow:
    0 0 20px var(--gold-glow),
    0 0 60px rgba(255, 215, 0, 0.25),
    0 2px 10px rgba(0, 0, 0, 0.5);
  z-index: var(--z-toast);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.12em;
  animation: bigTextReveal 3s var(--ease-out-expo) forwards;
}

@keyframes bigTextReveal {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  20%  { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
  40%  { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  80%  { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

/* ---------- Achievement Toast (filmset-specific) ---------- */
.filmset-achievement {
  position: fixed;
  top: var(--sp-6);
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  padding: var(--sp-3) var(--sp-8);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 0, 110, 0.08));
  backdrop-filter: blur(20px);
  border: 1px solid var(--gold);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  z-index: var(--z-toast);
  white-space: nowrap;
  box-shadow: 0 0 20px var(--gold-glow);
  transition: transform var(--dur-slow) var(--ease-spring);
}

.filmset-achievement.show {
  transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .filmset-stage {
    padding: var(--sp-6) var(--sp-3) calc(var(--sp-16) + 60px);
  }

  .filmset-guan-yu {
    width: 100px;
    height: 130px;
  }

  .filmset-guan-yu::before {
    width: 130px;
    height: 130px;
  }

  .filmset-guan-yu::after {
    width: 150px;
    height: 150px;
  }

  .filmset-pig {
    width: 140px;
    height: 85px;
  }

  .filmset-incense {
    height: 70px;
  }

  .filmset-table {
    min-height: 200px;
    padding: var(--sp-4) var(--sp-3);
  }

  .filmset-equipment-item svg {
    width: 48px;
    height: 48px;
  }

  .red-envelope {
    width: 220px;
    height: 320px;
  }

  .poster-card {
    width: 300px;
    padding: var(--sp-6) var(--sp-4);
  }

  .filmset-action-btn {
    padding: var(--sp-3) var(--sp-8);
  }
}

@media (max-width: 480px) {
  .filmset-equipment {
    gap: var(--sp-4);
    flex-wrap: wrap;
  }

  .filmset-step-line {
    width: 20px;
  }
}

/* ---------- Project Input Area ---------- */
.filmset-project-wrap {
  width: 100%;
  max-width: 400px;
  display: flex;
  justify-content: center;
  z-index: 10;
  animation: fadeIn 0.5s ease-out;
  margin-top: calc(-1 * var(--sp-2));
}

.filmset-project-input {
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  font-size: 1.1rem !important;
  border: 1px dashed rgba(255, 215, 0, 0.3) !important;
}

.filmset-project-input:focus {
  border: 1px solid var(--gold) !important;
  box-shadow: 0 0 12px var(--gold-glow) !important;
}

.filmset-project-name-display {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.1em;
  z-index: 10;
  margin-top: calc(-1 * var(--sp-2));
  animation: slideUp 0.5s var(--ease-out-expo);
}

.poster-card .poster-project {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  text-shadow: 0 0 8px var(--gold-glow);
  margin-bottom: calc(-1 * var(--sp-2));
}

/* ---------- WeChat Share Button & Overlay ---------- */
.filmset-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #07c160, #06ae56);
  color: #fff;
  box-shadow:
    0 4px 20px rgba(7, 193, 96, 0.3),
    0 0 40px rgba(7, 193, 96, 0.1);
  transition: all var(--dur-normal) var(--ease-out-expo);
  z-index: 3;
}

.filmset-share-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 6px 30px rgba(7, 193, 96, 0.45),
    0 0 60px rgba(7, 193, 96, 0.2);
}

.wechat-share-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: calc(var(--z-modal) + 10);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur-normal) var(--ease-out-expo);
}

.wechat-share-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.wechat-guide-arrow {
  position: fixed;
  top: var(--sp-4);
  right: var(--sp-8);
  font-size: 3.5rem;
  color: var(--gold);
  text-shadow: 0 0 15px var(--gold-glow);
  animation: bounceArrow 1.5s ease-in-out infinite;
  z-index: 100;
}

.wechat-guide-box {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-8);
  max-width: 90%;
  width: 340px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  animation: slideUp 0.5s var(--ease-out-expo);
}

.wechat-guide-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
}

.wechat-guide-desc {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.wechat-guide-btn {
  margin-top: var(--sp-2);
  padding: var(--sp-2) var(--sp-6);
  border-radius: var(--r-full);
  background: var(--gold);
  color: #1a1400;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s;
}

.wechat-guide-btn:active {
  transform: scale(0.95);
}

.wechat-share-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  max-width: 90%;
  width: 360px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.5s var(--ease-out-expo);
}

.wechat-share-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.wechat-share-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.wechat-qr-container {
  padding: var(--sp-3);
  background: #fff;
  border-radius: var(--r-md);
  margin: var(--sp-2) 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wechat-qr-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.wechat-link-box {
  width: 100%;
  display: flex;
  gap: var(--sp-2);
  align-items: center;
}

.wechat-link-box input {
  flex: 1;
  font-size: 0.85rem !important;
  color: var(--text-secondary) !important;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0) rotate(15deg); }
  50%      { transform: translateY(-10px) rotate(15deg); }
}

