/* ============================================================
   SPIN AND WIN · template3 · 赛博朋克 HUD 科技转盘主题
   全套科幻反应堆光效 + 双向差速公转 + 等离子冲击波 + 赛博粒子
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Rajdhani:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-deep: #02040b;
  --bg-space: #050b1a;
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.75);
  --neon-blue: #2563eb;
  --neon-purple: #9333ea;
  --neon-magenta: #d946ef;
  --neon-pink: #ff5edb;
  
  --frame-border: rgba(0, 220, 255, 0.4);
  --frame-bg: rgba(6, 11, 28, 0.78);
  --card-bg: rgba(8, 16, 42, 0.85);
  
  --text-primary: #f0f6ff;
  --text-secondary: rgba(210, 230, 255, 0.75);
  --text-dim: rgba(180, 210, 255, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* ====== 全局赛博深空背景系统 (Cyber Space System) ====== */
.cyber-ambient-auras {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, #0d1e50 0%, #061033 40%, #02040b 100%);
}

.ambient-cyber-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* 弥散等离子能量光晕 */
.aura-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}
.aura-cyan {
  width: 800px;
  height: 800px;
  left: -150px;
  top: -120px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.32) 0%, rgba(37, 99, 235, 0.15) 45%, transparent 70%);
  animation: aura-pulse-1 9s ease-in-out infinite alternate;
}
.aura-blue {
  width: 950px;
  height: 950px;
  left: 18%;
  top: 22%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.32) 0%, rgba(37, 99, 235, 0.25) 45%, transparent 70%);
  animation: aura-pulse-2 12s ease-in-out infinite alternate;
}
.aura-purple {
  width: 750px;
  height: 750px;
  right: -120px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.28) 0%, rgba(124, 58, 237, 0.16) 50%, transparent 70%);
  animation: aura-pulse-1 10s ease-in-out infinite alternate-reverse;
}

@keyframes aura-pulse-1 {
  0% { transform: scale(1) translate(0, 0); opacity: 0.75; }
  50% { transform: scale(1.12) translate(30px, -20px); opacity: 1; }
  100% { transform: scale(0.92) translate(-20px, 30px); opacity: 0.8; }
}
@keyframes aura-pulse-2 {
  0% { transform: scale(0.95) translate(0, 0); opacity: 0.8; }
  50% { transform: scale(1.15) translate(-25px, 20px); opacity: 1; }
  100% { transform: scale(1.02) translate(20px, -25px); opacity: 0.85; }
}

/* 3D 赛博透视地平线网格 */
.cyber-perspective-grid {
  position: absolute;
  bottom: -20px;
  left: -50%;
  width: 200%;
  height: 55%;
  background-image:
    linear-gradient(90deg, rgba(0, 240, 255, 0.22) 1.2px, transparent 1.2px),
    linear-gradient(0deg, rgba(0, 240, 255, 0.22) 1.2px, transparent 1.2px);
  background-size: 50px 50px;
  transform: perspective(300px) rotateX(65deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 1) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 1) 100%);
  animation: grid-flow 18s linear infinite;
}
@keyframes grid-flow {
  0% { background-position: 0 0; }
  100% { background-position: 0 50px; }
}

/* 全屏微光矩阵点阵 */
.cyber-grid-matrix {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.18) 1.5px, transparent 1.8px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px, 72px 72px, 72px 72px;
  opacity: 0.85;
}

/* 全屏赛博粒子爆炸画布 */
.cyber-particles-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99998;
}

/* ====== 顶部 HUD 导航栏 (品牌徽章 + 会员积分胶囊) ====== */
.hud-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 10;
}

.member-bar {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.member-bar a, #pts-capsule {
  background: rgba(6, 12, 32, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.5);
  color: var(--text-primary);
  font-family: 'Rajdhani', -apple-system, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), 0 0 14px rgba(0, 240, 255, 0.3);
  transition: all 0.25s ease;
  text-decoration: none;
}
.member-bar a:hover, #pts-capsule:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
  transform: translateY(-1px);
}
#pts-capsule b {
  color: var(--neon-cyan);
  margin: 0 3px;
  text-shadow: 0 0 8px var(--neon-cyan-glow);
}

/* ====== 主容器 HUD 外框 ====== */
.hud-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 28px auto 40px;
  padding: 0 20px;
}

.hud-frame {
  position: relative;
  background: linear-gradient(135deg, rgba(8, 16, 44, 0.88) 0%, rgba(4, 9, 28, 0.92) 50%, rgba(10, 20, 52, 0.86) 100%);
  border: 1.5px solid rgba(0, 240, 255, 0.45);
  border-radius: 20px;
  padding: 34px 38px 42px;
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, 0.25) inset,
    0 0 50px rgba(0, 240, 255, 0.18) inset,
    0 28px 85px rgba(0, 0, 0, 0.95),
    0 0 100px rgba(37, 99, 235, 0.28),
    0 0 40px rgba(0, 240, 255, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.hud-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 19px;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.05) 1.2px, transparent 1.6px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.015) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px;
  pointer-events: none;
  z-index: 1;
}

/* ====== HUD 内部全息复合背景特效系统 ====== */
.hud-internal-fx {
  position: absolute;
  inset: 0;
  border-radius: 19px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* 1. 反应堆与卡片专属深邃呼吸光晕 */
.hud-fx-aura {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(55px);
  opacity: 0.7;
}

.hud-fx-aura-wheel {
  width: 620px;
  height: 620px;
  left: 2%;
  top: 10%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.28) 0%, rgba(37, 99, 235, 0.18) 45%, rgba(147, 51, 234, 0.08) 70%, transparent 80%);
  animation: hud-aura-wheel-pulse 5.5s ease-in-out infinite alternate;
}

.hud-fx-aura-card {
  width: 520px;
  height: 520px;
  right: -2%;
  top: 18%;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.22) 0%, rgba(124, 58, 237, 0.16) 45%, rgba(37, 99, 235, 0.06) 70%, transparent 80%);
  animation: hud-aura-card-pulse 6.5s ease-in-out infinite alternate-reverse;
}

.hud-fx-aura-header {
  width: 75%;
  height: 120px;
  left: 12.5%;
  top: -25px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.16) 0%, rgba(37, 99, 235, 0.08) 60%, transparent 80%);
  filter: blur(40px);
  animation: hud-aura-header-pulse 7s ease-in-out infinite alternate;
}

@keyframes hud-aura-wheel-pulse {
  0% { transform: scale(0.92) translate(0, 0); opacity: 0.55; }
  50% { transform: scale(1.08) translate(15px, -10px); opacity: 0.9; }
  100% { transform: scale(0.96) translate(-10px, 12px); opacity: 0.65; }
}

@keyframes hud-aura-card-pulse {
  0% { transform: scale(0.9) translate(0, 0); opacity: 0.5; }
  50% { transform: scale(1.06) translate(-15px, 15px); opacity: 0.8; }
  100% { transform: scale(0.95) translate(10px, -8px); opacity: 0.55; }
}

@keyframes hud-aura-header-pulse {
  0% { opacity: 0.4; transform: scaleX(0.9); }
  100% { opacity: 0.8; transform: scaleX(1.06); }
}

/* 2. 六边形蜂窝科技能量矩阵 */
.hud-hex-grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.15) 1.2px, transparent 1.6px),
    linear-gradient(60deg, rgba(0, 240, 255, 0.035) 1px, transparent 1px),
    linear-gradient(120deg, rgba(0, 240, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 240, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px, 48px 83.14px, 48px 83.14px, 48px 48px;
  mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, rgba(0,0,0,0.9) 40%, rgba(0,0,0,0.15) 85%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, rgba(0,0,0,0.9) 40%, rgba(0,0,0,0.15) 85%, transparent 100%);
  opacity: 0.8;
  animation: hud-hex-breathe 8s ease-in-out infinite alternate;
}

@keyframes hud-hex-breathe {
  0% { opacity: 0.6; }
  50% { opacity: 0.95; }
  100% { opacity: 0.65; }
}

/* 3. 全息激光扫描光幕 (Scanline Laser Beam) */
.hud-scanline-beam {
  position: absolute;
  top: -120px;
  left: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(0, 240, 255, 0.01) 30%,
    rgba(0, 240, 255, 0.12) 80%,
    rgba(0, 240, 255, 0.35) 98%,
    #00f0ff 100%
  );
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.45);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, transparent 100%);
  animation: hud-scanline-move 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  opacity: 0.65;
}

@keyframes hud-scanline-move {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 0.7; }
  88% { opacity: 0.7; }
  100% { transform: translateY(calc(100vh + 180px)); opacity: 0; }
}

/* 4. 科技电路走线与脉冲导轨 (Circuit Paths & Pulses) */
.hud-circuit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.85;
}

.circuit-base-path {
  fill: none;
  stroke: rgba(0, 240, 255, 0.12);
  stroke-width: 1.5;
  stroke-dasharray: 4, 3;
}

.circuit-pulse-cyan {
  fill: none;
  stroke: #00f0ff;
  stroke-width: 2.2;
  stroke-linecap: round;
  filter: url(#circuitGlow);
  stroke-dasharray: 45 280;
  stroke-dashoffset: 0;
}

.circuit-pulse-pink {
  fill: none;
  stroke: #ff4fe1;
  stroke-width: 2.2;
  stroke-linecap: round;
  filter: url(#circuitGlow);
  stroke-dasharray: 35 240;
  stroke-dashoffset: 0;
}

.p-fast {
  animation: circuit-flow 3.5s linear infinite;
}
.p-medium {
  animation: circuit-flow 5s linear infinite;
}
.p-slow {
  animation: circuit-flow 7s linear infinite;
}

@keyframes circuit-flow {
  0% { stroke-dashoffset: 650; }
  100% { stroke-dashoffset: 0; }
}

.circuit-node-dot {
  filter: url(#circuitGlow);
  animation: node-blink 2.5s ease-in-out infinite alternate;
}
.node-cyan {
  fill: #00f0ff;
}
.node-pink {
  fill: #ff4fe1;
}
.circuit-node-group circle:nth-child(2n) {
  animation-delay: 0.6s;
}
.circuit-node-group circle:nth-child(3n) {
  animation-delay: 1.2s;
}

@keyframes node-blink {
  0% { opacity: 0.35; transform: scale(0.85); transform-origin: center; }
  100% { opacity: 1; transform: scale(1.25); transform-origin: center; }
}

/* 5. HUD 内部专属光子星尘 Canvas */
.hud-ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* 四角科技切口与发光边框 */
.hud-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
}
.hud-corner.tl {
  top: -2px;
  left: -2px;
  border-top: 3px solid var(--neon-cyan);
  border-left: 3px solid var(--neon-cyan);
  border-top-left-radius: 8px;
  filter: drop-shadow(0 0 8px var(--neon-cyan));
}
.hud-corner.tr {
  top: -2px;
  right: -2px;
  border-top: 3px solid var(--neon-cyan);
  border-right: 3px solid var(--neon-cyan);
  border-top-right-radius: 8px;
  filter: drop-shadow(0 0 8px var(--neon-cyan));
}
.hud-corner.bl {
  bottom: -2px;
  left: -2px;
  border-bottom: 3px solid var(--neon-cyan);
  border-left: 3px solid var(--neon-cyan);
  border-bottom-left-radius: 8px;
  filter: drop-shadow(0 0 8px var(--neon-cyan));
}
.hud-corner.br {
  bottom: -2px;
  right: -2px;
  border-bottom: 3px solid var(--neon-cyan);
  border-right: 3px solid var(--neon-cyan);
  border-bottom-right-radius: 8px;
  filter: drop-shadow(0 0 8px var(--neon-cyan));
}

/* HUD 顶部右上角斜切排气栅格 (//////) */
.hud-top-vents {
  position: absolute;
  top: 18px;
  right: 38px;
  display: flex;
  gap: 5px;
}
.hud-top-vents span {
  display: block;
  width: 3.5px;
  height: 13px;
  background: rgba(0, 240, 255, 0.6);
  transform: skewX(-30deg);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
  animation: vent-glow 3s ease-in-out infinite alternate;
}
.hud-top-vents span:nth-child(2) { animation-delay: 0.2s; }
.hud-top-vents span:nth-child(3) { animation-delay: 0.4s; }
.hud-top-vents span:nth-child(4) { animation-delay: 0.6s; }
.hud-top-vents span:nth-child(5) { animation-delay: 0.8s; opacity: 0.4; }
.hud-top-vents span:nth-child(6) { animation-delay: 1.0s; opacity: 0.3; }

@keyframes vent-glow {
  0% { opacity: 0.4; box-shadow: 0 0 4px rgba(0, 240, 255, 0.3); }
  100% { opacity: 1; box-shadow: 0 0 10px rgba(0, 240, 255, 0.8); }
}

/* HUD 侧边装饰条与点阵 */
.hud-left-ticks {
  position: absolute;
  left: -8px;
  top: 40%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hud-left-ticks span {
  width: 6px;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 6px var(--neon-cyan);
}
.hud-left-ticks span:nth-child(3) { width: 12px; }

/* ====== 顶部 Header / Hero ====== */
.hero-header {
  margin-bottom: 24px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  background: rgba(0, 240, 255, 0.09);
  border: 1px solid rgba(0, 240, 255, 0.55);
  border-radius: 20px;
  color: var(--neon-cyan);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.3), inset 0 0 10px rgba(0, 240, 255, 0.2);
  margin: 0;
}
.brand-badge-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--neon-cyan);
  stroke-width: 2;
  filter: drop-shadow(0 0 5px var(--neon-cyan));
}

.hero-title {
  font-family: 'Rajdhani', 'Orbitron', sans-serif;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-title .title-spin {
  background: linear-gradient(90deg, #00f0ff 0%, #ffffff 25%, #38bdf8 50%, #00f0ff 75%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-laser-flow 4s linear infinite;
  filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.9)) drop-shadow(0 0 32px rgba(0, 240, 255, 0.6));
}

.hero-title .title-win {
  background: linear-gradient(90deg, #ff4fe1 0%, #ffffff 25%, #c026d3 50%, #ff4fe1 75%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-laser-flow 4s linear infinite reverse;
  filter: drop-shadow(0 0 16px rgba(255, 79, 225, 0.9)) drop-shadow(0 0 32px rgba(217, 70, 239, 0.6));
}

@keyframes title-laser-flow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-sub {
  color: var(--text-secondary);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 400;
  letter-spacing: 0.3px;
  max-width: 600px;
}

/* ====== 主舞台：双栏布局 ====== */
.hud-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  margin-top: 10px;
}

/* ====== 左侧转盘容器与反应堆 ====== */
.wheel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 22px 0;
}

.wheel-frame-box {
  position: relative;
  width: 100%;
  max-width: 530px;
  aspect-ratio: 1 / 1;
}

/* 转盘背部等离子光核与弥散光晕 */
.wheel-glow-aura {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, rgba(37, 99, 235, 0.14) 40%, rgba(147, 51, 234, 0.1) 68%, transparent 80%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
  animation: aura-breathe 4s ease-in-out infinite alternate;
}
@keyframes aura-breathe {
  0% { transform: scale(0.96); opacity: 0.75; }
  100% { transform: scale(1.04); opacity: 1; }
}

.wheel-plasma-core {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(147, 51, 234, 0.08) 60%, transparent 80%);
  filter: blur(16px);
  pointer-events: none;
  z-index: 1;
}

/* 转盘外围环状呼吸光晕 */
.wheel-outer-ring-glow {
  position: absolute;
  inset: -1.5%;
  border-radius: 50%;
  border: 1.8px solid rgba(0, 240, 255, 0.45);
  box-shadow:
    0 0 24px rgba(0, 240, 255, 0.6),
    0 0 48px rgba(37, 99, 235, 0.4),
    inset 0 0 24px rgba(0, 240, 255, 0.25);
  pointer-events: none;
  z-index: 1;
}

/* 外层 HUD 反应堆系统 (左右弧形护盾 + 双向公转刻度) */
.wheel-reactor-hud-svg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  pointer-events: none;
  z-index: 3;
}

/* 左右科技防护圆弧 */
.reactor-bracket-arc {
  filter: drop-shadow(0 0 10px var(--neon-cyan)) drop-shadow(0 0 20px var(--neon-cyan));
  animation: bracket-pulse 3s ease-in-out infinite alternate;
}
.reactor-bracket-sub {
  filter: drop-shadow(0 0 4px var(--neon-cyan));
}
@keyframes bracket-pulse {
  0% { stroke-width: 3.5; opacity: 0.75; }
  100% { stroke-width: 5; opacity: 1; filter: drop-shadow(0 0 14px var(--neon-cyan)) drop-shadow(0 0 28px #2563eb); }
}

/* 顺时针旋转刻度环 */
.reactor-track-cw {
  animation: reactor-spin-cw 38s linear infinite;
  transform-origin: 0 0;
}
@keyframes reactor-spin-cw {
  to { transform: rotate(360deg); }
}

/* 逆时针差速旋转点阵环 */
.reactor-track-ccw {
  animation: reactor-spin-ccw 24s linear infinite;
  transform-origin: 0 0;
}
@keyframes reactor-spin-ccw {
  to { transform: rotate(-360deg); }
}

/* 抽奖旋转时的过载加速模式 */
.wheel-frame-box.spinning .reactor-track-cw {
  animation-duration: 3.2s !important;
}
.wheel-frame-box.spinning .reactor-track-ccw {
  animation-duration: 2.1s !important;
}
.wheel-frame-box.spinning .reactor-bracket-arc {
  animation-duration: 0.5s !important;
}

/* ====== 顶部指针系统 (聚光灯 + 发光倒三角) ====== */
.wheel-pointer-assembly {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 60px;
  z-index: 12;
  pointer-events: none;
}

/* 指针向下探照聚光灯光束 */
.pointer-spotlight-beam {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 120px;
  background: radial-gradient(ellipse at top center, rgba(0, 240, 255, 0.42) 0%, rgba(0, 240, 255, 0.12) 45%, transparent 75%);
  clip-path: polygon(35% 0%, 65% 0%, 100% 100%, 0% 100%);
  filter: blur(4px);
  pointer-events: none;
  animation: spotlight-beam-pulse 2.2s ease-in-out infinite alternate;
}
@keyframes spotlight-beam-pulse {
  0% { opacity: 0.55; transform: translateX(-50%) scale(0.95); }
  100% { opacity: 0.95; transform: translateX(-50%) scale(1.06); }
}

/* 倒三角发光指针本体 */
.wheel-top-pointer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 48px;
  filter:
    drop-shadow(0 0 10px #00f0ff)
    drop-shadow(0 0 20px rgba(0, 240, 255, 0.9))
    drop-shadow(0 0 35px rgba(0, 240, 255, 0.5));
  transition: transform 0.1s ease;
}
.wheel-top-pointer .pointer-polygon {
  stroke: #00f0ff;
  stroke-width: 3.4;
  stroke-linejoin: round;
}
.wheel-top-pointer .pointer-beacon {
  filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 12px var(--neon-cyan));
  animation: beacon-blink 1.4s ease-in-out infinite alternate;
}
@keyframes beacon-blink {
  0% { r: 2; opacity: 0.8; }
  100% { r: 3.2; opacity: 1; }
}

/* 旋转过程中的指针高频能量微震 */
.wheel-frame-box.spinning .wheel-top-pointer {
  animation: pointer-rattle 0.08s ease-in-out infinite alternate;
}
@keyframes pointer-rattle {
  0% { transform: translateX(-50%) translateY(0) rotate(-1deg); }
  100% { transform: translateX(-50%) translateY(-2px) rotate(1deg); }
}

/* 全息表面扫光层 (Prismatic Hologram Sheen) */
.wheel-hologram-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(135deg, transparent 40%, rgba(0, 240, 255, 0.18) 50%, rgba(217, 70, 239, 0.12) 55%, transparent 65%);
  background-size: 300% 300%;
  animation: holo-sheen-sweep 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes holo-sheen-sweep {
  0% { background-position: -150% -150%; opacity: 0; }
  30% { opacity: 0.8; }
  60% { background-position: 150% 150%; opacity: 0; }
  100% { background-position: 150% 150%; opacity: 0; }
}

/* 动态能量冲击波 (点击 SPIN 扩散) */
.spin-shockwave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  border: 4px solid var(--neon-cyan);
  box-shadow: 0 0 35px var(--neon-cyan), inset 0 0 20px #d946ef;
  pointer-events: none;
  z-index: 9;
  opacity: 0;
}
.spin-shockwave.active {
  animation: shockwave-burst 0.8s cubic-bezier(0.1, 0.8, 0.25, 1) forwards;
}
@keyframes shockwave-burst {
  0% { width: 0; height: 0; opacity: 1; border-width: 5px; }
  70% { opacity: 0.85; }
  100% { width: 110%; height: 110%; opacity: 0; border-width: 1px; }
}

/* SVG 转盘主体 */
.wheel-svg-disc {
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
  transition: transform 5.4s cubic-bezier(0.15, 0.9, 0.2, 1.0);
  will-change: transform;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 26px rgba(0, 0, 0, 0.9));
}

/* 扇区高亮动画与定格 */
.wheel-sector-path {
  transition: stroke 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease;
}
.wheel-sector-path.winning-sector-highlight {
  stroke: #ffffff !important;
  stroke-width: 3.5px !important;
  filter: drop-shadow(0 0 16px #00f0ff) drop-shadow(0 0 32px #ffffff);
  animation: win-sector-flash 0.5s ease-in-out infinite alternate;
}
@keyframes win-sector-flash {
  0% { stroke-color: #00f0ff; filter: drop-shadow(0 0 10px #00f0ff); }
  100% { stroke-color: #ffffff; filter: drop-shadow(0 0 24px #00f0ff) drop-shadow(0 0 40px #ffffff); }
}

/* 扇区文本与图标基础样式 */
.sector-text-bold {
  font-family: 'Rajdhani', 'Orbitron', sans-serif;
  font-weight: 800;
  text-anchor: middle;
  text-transform: uppercase;
}
.sector-text-sub {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-anchor: middle;
  text-transform: uppercase;
}

/* ====== 中心 SPIN 离子能量核心 ====== */
.wheel-center-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 27%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #0e2460 0%, #061238 60%, #020512 100%);
  border: 3.2px solid #00f0ff;
  box-shadow:
    0 0 0 2px rgba(0, 240, 255, 0.3),
    0 0 28px rgba(0, 240, 255, 0.95),
    0 0 60px rgba(37, 99, 235, 0.65),
    inset 0 0 22px rgba(0, 240, 255, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.25s ease;
  user-select: none;
  overflow: hidden;
}

/* 离子发光环 */
.center-plasma-ring {
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 240, 255, 0.6), transparent, rgba(217, 70, 239, 0.5), transparent);
  animation: center-plasma-spin 6s linear infinite;
  pointer-events: none;
  opacity: 0.6;
}
@keyframes center-plasma-spin {
  to { transform: rotate(360deg); }
}

.wheel-center-trigger:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow:
    0 0 0 4px rgba(0, 240, 255, 0.5),
    0 0 40px rgba(0, 240, 255, 1),
    0 0 80px rgba(37, 99, 235, 0.85),
    inset 0 0 30px rgba(0, 240, 255, 0.95);
}
.wheel-center-trigger:hover .center-plasma-ring {
  opacity: 1;
  animation-duration: 2.5s;
}
.wheel-center-trigger:active {
  transform: translate(-50%, -50%) scale(0.94);
}
.wheel-center-trigger.disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

.center-spin-title {
  position: relative;
  z-index: 2;
  font-family: 'Rajdhani', 'Orbitron', sans-serif;
  font-size: clamp(20px, 3.2vw, 30px);
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1;
  text-shadow:
    0 0 6px #ffffff,
    0 0 16px var(--neon-cyan),
    0 0 30px rgba(0, 240, 255, 1);
}
.center-spin-sub {
  position: relative;
  z-index: 2;
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(7.5px, 1.1vw, 9.5px);
  font-weight: 700;
  letter-spacing: 2px;
  color: #38bdf8;
  text-transform: uppercase;
  margin-top: 4px;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.9);
}

/* ====== 右侧 HOW TO PLAY 科技卡片 ====== */
.how-to-play-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 18px;
  padding: 32px 30px 26px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.7),
    0 0 32px rgba(0, 240, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* 卡片顶部柔光导光线 */
.how-to-play-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  box-shadow: 0 0 10px var(--neon-cyan);
}

/* 卡片头部 */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.card-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-brain-icon {
  width: 24px;
  height: 24px;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 8px var(--neon-cyan));
}
.card-header-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--neon-cyan);
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.7);
}
.card-header-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.4px;
}

/* 步骤列表 (1, 2, 3) */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--neon-cyan);
  background: radial-gradient(circle, rgba(0, 240, 255, 0.28) 0%, rgba(6, 14, 38, 0.95) 70%);
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.45), inset 0 0 8px rgba(0, 240, 255, 0.35);
  text-shadow: 0 0 8px var(--neon-cyan);
}
.step-text {
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.2px;
}

/* 核心操作按钮 (宽幅高饱和度蓝紫渐变大药丸按钮) */
.cta-action-button {
  width: 100%;
  padding: 16px 24px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 25%, #7c3aed 70%, #c026d3 100%);
  box-shadow:
    0 8px 32px rgba(124, 58, 237, 0.6),
    0 0 45px rgba(37, 99, 235, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}
.cta-action-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgba(124, 58, 237, 0.75),
    0 0 55px rgba(37, 99, 235, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.cta-action-button:active {
  transform: translateY(0);
}
.cta-action-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  animation: cta-shine 3.5s infinite;
}
@keyframes cta-shine {
  0% { left: -100%; }
  25% { left: 200%; }
  100% { left: 200%; }
}
.cta-arrow-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 底部日历提示胶囊条 */
.card-footer-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(4, 9, 26, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.45;
}
.calendar-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 5px var(--neon-cyan));
}

/* ====== 中奖弹层 ====== */
.lucky-draw-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(2, 4, 12, 0.85);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lucky-draw-modal.active {
  display: flex;
}
.lucky-draw-modal .modal-content {
  background: rgba(8, 16, 42, 0.96);
  border: 1.5px solid rgba(0, 240, 255, 0.6);
  border-radius: 20px;
  padding: 34px 28px;
  width: min(90vw, 420px);
  color: var(--text-primary);
  position: relative;
  text-align: center;
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.9),
    0 0 50px rgba(0, 240, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.lucky-draw-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-dim);
  line-height: 1;
  transition: color 0.2s;
}
.lucky-draw-modal .close-modal:hover {
  color: var(--neon-cyan);
}
.prize-image {
  max-width: 120px;
  max-height: 120px;
  filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.6));
  margin-bottom: 12px;
}
.button-primary {
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #c026d3 100%);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  letter-spacing: 1.5px;
  font-size: 15px;
  text-transform: uppercase;
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.6);
  transition: all 0.2s ease;
}
.button-primary:hover {
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.8);
  transform: translateY(-1px);
}

/* ====== 响应式适配 ====== */
@media (max-width: 960px) {
  .hud-wrapper {
    margin: 15px auto;
    padding: 0 12px;
  }
  .hud-frame {
    padding: 24px 20px 28px;
  }
  .hud-stage {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .wheel-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 10px 0;
  }
}

@media (max-width: 600px) {
  .hud-top-nav {
    margin-bottom: 14px;
    gap: 8px;
  }
  .brand-badge {
    font-size: 11.5px;
    padding: 4px 10px;
  }
  .member-bar {
    gap: 6px;
  }
  .member-bar a, #pts-capsule {
    font-size: 11.5px;
    padding: 6px 12px;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .hud-top-nav {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .brand-badge {
    font-size: 10.5px;
    padding: 4px 8px;
  }
  .member-bar a, #pts-capsule {
    font-size: 10.5px;
    padding: 5px 8px;
    border-radius: 12px;
  }
}

@media (max-width: 560px) {
  .hud-frame {
    padding: 20px 14px 24px;
    border-radius: 12px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-sub {
    font-size: 12.5px;
  }
  .hud-top-vents {
    display: none;
  }
  .how-to-play-card {
    padding: 20px 16px 18px;
  }
  .step-text {
    font-size: 13px;
  }
  .cta-action-button {
    font-size: 14.5px;
    padding: 14px 18px;
  }
  .card-footer-notice {
    font-size: 11.5px;
    padding: 10px 12px;
  }
  .wheel-top-pointer {
    width: 34px;
    height: 38px;
    top: -10px;
  }
}
