/* ===================================================
   2026 全球超级巨星巡演季 · 先锋流媒体联合特权大盘
   Main Stylesheet — 深空赛博暗黑流媒体风格
   =================================================== */

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

:root {
  --bg: #000000;
  --text: #FFFFFF;
  --text-muted: #888888;
  --neon-green: #39FF14;
  --cyber-pink: #FF007F;
  --gold: #FFD700;
  --purple: #8B00FF;
  --hot-pink: #FF1493;
  --card-bg: #0a0a0a;
  --card-border: #1a1a1a;
  --panel-bg: rgba(10, 10, 10, 0.95);
  --font-main: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Courier New', 'SF Mono', 'Fira Code', monospace;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
  min-height: 100vh;
}

/* ---------- Canvas 背景 ---------- */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- 全局容器 ---------- */
.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Header 主标语区 ---------- */
.site-header {
  text-align: center;
  padding: 40px 20px 30px;
  position: relative;
  z-index: 2;
}

.site-header .header-label {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.site-header .header-title {
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.8;
  text-shadow: 0 0 20px rgba(57, 255, 20, 0.15), 0 0 40px rgba(255, 0, 127, 0.08);
  max-width: 900px;
  margin: 0 auto;
}

.site-header .header-title .highlight-green {
  color: var(--neon-green);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.6);
}

.site-header .header-title .highlight-pink {
  color: var(--cyber-pink);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(255, 0, 127, 0.6);
}

.site-header .earphone-icon {
  font-size: 24px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ---------- Section 标题 ---------- */
.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
}

/* ===================================================
   TOP 5 大卡牌区 — 圆柱轮转 3D Carousel
   =================================================== */
.hero-cards-section {
  padding: 20px 0 40px;
  position: relative;
  z-index: 2;
}

.hero-cards-section .section-title {
  max-width: 1400px;
  margin: 0 auto 24px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 圆柱轮转视口 */
.carousel-viewport {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 480px;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}

/* 圆柱旋转体 */
.carousel-cylinder {
  position: relative;
  width: 280px;
  height: 420px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-cylinder.dragging {
  transition: none;
}

/* 圆柱内单张卡牌 */
.hero-card {
  position: absolute;
  width: 280px;
  height: 420px;
  left: 50%;
  top: 50%;
  margin-left: -140px;
  margin-top: -210px;
  cursor: pointer;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  transform-style: preserve-3d;
}

/* 导航箭头 */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.carousel-nav-prev {
  left: 10px;
}

.carousel-nav-next {
  right: 10px;
}

/* 指示灯圆点 */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--neon-green);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
  transform: scale(1.3);
}

.hero-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-card.flipped .hero-card-inner {
  transform: rotateY(180deg);
}

.hero-card-front,
.hero-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
}

/* 正面 — 全面屏渐变海报 + 黑胶纹理 */
.hero-card-front {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border: 1px solid var(--card-border);
  animation: neonBreath 3s ease-in-out infinite;
  position: relative;
}

/* 图片上方暗色滤镜 — 让照片变暗 */
.card-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
  pointer-events: none;
}

/* 自下而上的深黑羽化渐变遮罩 — 让文字沉在阴影里 */
.hero-card-front::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
  z-index: 1;
  pointer-events: none;
  border-radius: 0 0 16px 16px;
}

/* 3D 黑胶唱片纹理 — 悬浮在卡牌中上部 */
.hero-card-front .vinyl-disc {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  z-index: 2;
  opacity: 0.4;
  background:
    radial-gradient(circle at center, #1a1a1a 18%, #0f0f0f 19%, #0f0f0f 20%, #141414 21%),
    repeating-radial-gradient(
      circle at center,
      #0a0a0a 0px,
      #0d0d0d 1px,
      #111 2px,
      #0d0d0d 3px
    );
  box-shadow:
    0 0 30px rgba(0, 0, 0, 0.8),
    0 0 40px var(--card-color, rgba(57,255,20,0.15)),
    inset 0 0 30px rgba(0, 0, 0, 0.5);
  animation: vinylSpin 12s linear infinite;
}

.hero-card-front .vinyl-disc::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #2a2a2a 30%, #111 70%);
  border: 1.5px solid var(--card-color, var(--neon-green));
  box-shadow: 0 0 8px var(--card-color, rgba(57,255,20,0.2));
}

.hero-card-front .vinyl-disc::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--card-color, var(--neon-green));
  box-shadow: 0 0 10px var(--card-color, rgba(57,255,20,0.5));
  opacity: 0.8;
}

/* 正面文字区 — 底部左对齐，沉在渐变阴影里 */
.hero-card-front .card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 24px;
}

@keyframes vinylSpin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

/* 背面 */
.hero-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 24px;
  background: linear-gradient(180deg, #0a0a0a 0%, #060606 100%);
  border: 1px solid var(--card-border);
  animation: neonBreath 3s ease-in-out infinite;
}

/* 霓虹呼吸动画 */
@keyframes neonBreath {
  0%, 100% {
    box-shadow: 0 0 8px var(--card-color, var(--neon-green)),
                0 0 16px rgba(0, 0, 0, 0.8),
                inset 0 0 8px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 16px var(--card-color, var(--neon-green)),
                0 0 32px var(--card-color, var(--neon-green)),
                0 0 48px rgba(0, 0, 0, 0.5),
                inset 0 0 12px rgba(0, 0, 0, 0.2);
  }
}

/* 悬停：微弱抬起（仅正面状态） */
.hero-card:not(.flipped):hover .hero-card-inner {
  transform: translateY(-8px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-card.flipped:hover .hero-card-inner {
  transform: rotateY(180deg) translateY(-8px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- 卡牌内 — 歌手名 (Apple Music 减法原则) ---------- */
.artist-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  margin-bottom: 4px;
  text-shadow: 0 0 10px var(--card-color, var(--neon-green));
  letter-spacing: 1px;
}

.artist-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  text-align: left;
  margin-bottom: 14px;
  line-height: 1.4;
}

/* 特权标签 — 霓虹发光文字，无实体底色 */
.privilege-tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--card-color, var(--neon-green));
  text-align: left;
  padding: 0;
  border: none;
  border-radius: 0;
  line-height: 1.6;
  background: none;
  letter-spacing: 0.3px;
  text-shadow: 0 0 8px var(--card-color, var(--neon-green)),
               0 0 16px rgba(57, 255, 20, 0.15);
  opacity: 0.85;
}

/* 卡牌背面 — 特权内幕文本 */
.privilege-detail {
  font-size: 11px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
  text-align: left;
  overflow-y: auto;
  flex: 1;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--card-color, var(--neon-green)) transparent;
}

.privilege-detail::-webkit-scrollbar {
  width: 3px;
}

.privilege-detail::-webkit-scrollbar-thumb {
  background: var(--card-color, var(--neon-green));
  border-radius: 2px;
}

.privilege-detail .detail-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--card-color, var(--neon-green));
  margin-bottom: 10px;
  text-shadow: 0 0 8px var(--card-color, var(--neon-green));
}

/* 激活按钮 — 卡牌背面 */
.activate-btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 12px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #000;
  background: var(--card-color, var(--neon-green));
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: 0 0 20px var(--card-color, var(--neon-green)),
              0 0 40px rgba(57, 255, 20, 0.15);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.activate-btn:hover {
  box-shadow: 0 0 30px var(--card-color, var(--neon-green)),
              0 0 60px var(--card-color, var(--neon-green)),
              0 0 90px rgba(57, 255, 20, 0.1);
  transform: scale(1.03);
}

.activate-btn:active {
  transform: scale(0.98);
}

/* ---------- 静音状态指示灯 ---------- */
.mute-indicator {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  font-weight: 400;
  color: var(--neon-green);
  background: rgba(0, 0, 0, 0.7);
  padding: 3px 6px;
  border-radius: 3px;
  display: none;
  animation: muteBlink 1.5s ease-in-out infinite;
  z-index: 5;
}

.mute-indicator.visible {
  display: block;
}

@keyframes muteBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---------- 渐变分割线 ---------- */
.gradient-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #333, transparent);
  margin: 20px auto 30px;
  max-width: 1200px;
}

/* ===================================================
   30 群星矩阵 — 胶囊标签横滑 (移动端) / 网格 (桌面端)
   =================================================== */
.small-cards-section {
  padding: 10px 0 60px;
  position: relative;
  z-index: 2;
}

/* 桌面端: 3列网格 × 10排 */
.small-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: 800px;
  margin: 0 auto;
}

/* ---------- 单张小卡牌 — Live 舞台剪影风格 ---------- */
.small-card {
  position: relative;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #0a0a0a;
  border: none;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px 16px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 照片暗色滤镜 + 底部渐变遮罩 */
.small-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
  z-index: 0;
  transition: background 0.4s ease;
}

/* Hover: 照片亮起 + 代表色极微晕染 */
.small-card:hover {
  transform: scale(1.04);
  z-index: 2;
  box-shadow:
    0 0 20px var(--artist-color, rgba(57, 255, 20, 0.08)),
    0 0 40px var(--artist-color, rgba(57, 255, 20, 0.04)),
    inset 0 0 30px var(--artist-color, rgba(57, 255, 20, 0.03));
}

.small-card:hover .small-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 45%, rgba(0,0,0,0.05) 100%);
}

/* Hover 时的微光边缘 */
.small-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: border-color 0.4s ease;
  pointer-events: none;
}

.small-card:hover::after {
  border-color: var(--artist-color, rgba(57, 255, 20, 0.2));
}

/* 歌手名字 — 纯白浮现在卡牌正中央偏下 */
.small-card .small-artist-name {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  transition: text-shadow 0.4s ease;
}

.small-card:hover .small-artist-name {
  text-shadow: 0 0 12px var(--artist-color, rgba(57, 255, 20, 0.4));
}

.small-card .small-artist-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin-top: 2px;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.small-card:hover .small-artist-sub {
  color: rgba(255, 255, 255, 0.7);
}

/* 小卡牌激活状态 */
.small-card.active .card-bg-overlay {
  background: rgba(0,0,0,0.25);
}

.small-card.active {
  box-shadow:
    0 0 20px var(--artist-color, rgba(57, 255, 20, 0.12)),
    0 0 40px var(--artist-color, rgba(57, 255, 20, 0.06));
  animation: cardBreathe 3s ease-in-out infinite;
}

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

.small-card.active::after {
  border-color: var(--artist-color, rgba(57, 255, 20, 0.3));
}

/* 小卡牌静音灯 */
.small-card .mute-indicator {
  top: 6px;
  left: 6px;
  font-size: 7px;
  padding: 2px 4px;
  z-index: 3;
}

/* ===================================================
   移动端: 群星胶囊标签横滑
   =================================================== */
#starPillContainer {
  display: none; /* 默认隐藏，仅移动端显示 */
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
}

.star-row-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 20px 16px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.star-row-scroll::-webkit-scrollbar {
  display: none;
}

/* 胶囊标签 (Pill Tag) */
.pill-tag {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  scroll-snap-align: start;
  white-space: nowrap;
}

.pill-tag:hover,
.pill-tag:active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--artist-color, rgba(57, 255, 20, 0.3));
  box-shadow: 0 0 12px var(--artist-color, rgba(57, 255, 20, 0.1));
}

.pill-tag.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--artist-color, rgba(57, 255, 20, 0.4));
  box-shadow: 0 0 16px var(--artist-color, rgba(57, 255, 20, 0.15));
}

.pill-tag .pill-name {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

.pill-tag .pill-name-en {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
}

.pill-tag .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--artist-color, var(--neon-green));
  opacity: 0;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.pill-tag.active .pill-dot,
.pill-tag:hover .pill-dot {
  opacity: 0.8;
}

.pill-tag .mute-indicator {
  position: static;
  font-size: 7px;
  padding: 1px 4px;
}

/* ---------- 特权分析面板 ---------- */
.privilege-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.privilege-panel.active {
  transform: translateY(0);
  pointer-events: auto;
}

.privilege-panel-inner {
  background: var(--panel-bg);
  border-top: 1px solid #222;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px 24px;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
  position: relative;
}

.privilege-panel-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.privilege-panel-close:hover {
  color: var(--text);
}

.privilege-panel .panel-artist-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--neon-green);
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

.privilege-panel .panel-text {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.privilege-panel .panel-activate-btn {
  display: block;
  width: 100%;
  padding: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  background: var(--neon-green);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  letter-spacing: 1px;
  box-shadow: 0 0 30px var(--neon-green), 0 0 60px rgba(57, 255, 20, 0.2);
  transition: all 0.3s ease;
}

.privilege-panel .panel-activate-btn:hover {
  box-shadow: 0 0 40px var(--neon-green), 0 0 80px rgba(57, 255, 20, 0.3);
  transform: scale(1.02);
}

/* ---------- 调谐遮罩层 — 手机端全屏化 ---------- */
.tuning-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tuning-overlay.active {
  display: flex;
  opacity: 1;
}

.tuning-overlay.fade-out {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.tuning-modal {
  max-width: 640px;
  width: 90%;
  text-align: center;
  padding: 40px 30px;
}

/* 波形动画 */
.waveform-container {
  width: 100%;
  height: 60px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.waveform-bar {
  width: 4px;
  height: 10px;
  background: var(--neon-green);
  border-radius: 2px;
  animation: waveformPulse 0.3s infinite alternate;
  box-shadow: 0 0 6px var(--neon-green);
}

@keyframes waveformPulse {
  0% { height: 10px; opacity: 0.4; }
  100% { height: 50px; opacity: 1; }
}

/* 调谐标题 */
.tuning-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--neon-green);
  margin-bottom: 20px;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.6);
}

/* 调谐正文 */
.tuning-body {
  font-size: 12px;
  color: var(--text);
  line-height: 2;
  margin-bottom: 24px;
  text-align: left;
}

/* 倒计时区 */
.tuning-countdown-area {
  margin-top: 24px;
}

.tuning-countdown-number {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(57, 255, 20, 0.8), 0 0 40px rgba(57, 255, 20, 0.3);
  margin-bottom: 12px;
}

.tuning-log {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-green);
  line-height: 1.8;
  text-shadow: 0 0 4px rgba(57, 255, 20, 0.4);
  min-height: 60px;
  text-align: left;
  padding: 12px 16px;
  background: rgba(57, 255, 20, 0.03);
  border: 1px solid rgba(57, 255, 20, 0.1);
  border-radius: 6px;
}

/* 成功提示 */
.tuning-success {
  display: none;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--neon-green);
  text-shadow: 0 0 16px rgba(57, 255, 20, 0.8);
  padding: 20px;
  animation: successPulse 1s ease-in-out;
}

@keyframes successPulse {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

/* 离线缓冲提示 */
.offline-fallback {
  display: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--neon-green);
  margin-top: 16px;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
}

/* ===================================================
   信任背书 Footer
   =================================================== */

.footer-trust-section {
  width: 100%;
  max-width: 800px;
  margin-top: 50px;
  padding: 0 20px 40px;
  text-align: center;
}

.footer-trust-line1,
.footer-trust-line2 {
  font-size: 12px;
  color: #555;
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin: 0;
}

.footer-trust-line2 {
  margin-top: 8px;
}

.footer-link {
  color: #666;
  text-decoration: underline;
  text-decoration-color: rgba(102, 102, 102, 0.4);
  text-underline-offset: 2px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.footer-link:hover {
  color: #39FF14;
  text-decoration-color: rgba(57, 255, 20, 0.6);
}

/* ===================================================
   邮箱提示 Toast
   =================================================== */

.email-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid #39FF14;
  border-radius: 12px;
  padding: 24px 36px;
  color: #39FF14;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.15), 0 0 60px rgba(57, 255, 20, 0.08);
  max-width: 420px;
  line-height: 1.5;
}

.email-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.email-toast-icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 20px;
}

/* ===================================================
   邮箱参与抽奖区 (TOP5下方)
   =================================================== */
.email-entry-section {
  width: 100%;
  max-width: 460px;
  margin: 28px 0 0;
  text-align: center;
  padding: 0;
}

.email-entry-row {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.email-entry-row:focus-within {
  border-color: #39FF14;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.15);
}

.email-entry-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  padding: 12px 16px;
  font-family: inherit;
}

.email-entry-input::placeholder {
  color: #444;
}

.email-entry-btn {
  background: #39FF14;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  border: none;
  padding: 12px 28px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.email-entry-btn:hover {
  background: #50ff30;
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.4);
}

.email-entry-btn:active {
  transform: scale(0.97);
}

.email-entry-btn.submitted {
  background: #555;
  color: #fff;
  pointer-events: none;
}

.email-entry-hint {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
  line-height: 1.6;
}

.email-entry-error {
  font-size: 12px;
  color: #FF007F;
  margin-top: 8px;
  text-shadow: 0 0 6px rgba(255, 0, 127, 0.3);
  display: none;
}

.email-entry-success {
  font-size: 13px;
  color: #39FF14;
  margin-top: 8px;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
  display: none;
}

@media (max-width: 600px) {
  .email-entry-section {
    max-width: 90%;
    margin: 20px 0 0;
  }
  .email-entry-input {
    padding: 10px 12px;
    font-size: 13px;
  }
  .email-entry-btn {
    padding: 10px 18px;
    font-size: 13px;
  }
}


/* ===================================================
   响应式
   =================================================== */
@media (max-width: 1100px) {
  .carousel-viewport {
    height: 440px;
  }
  .carousel-cylinder {
    width: 240px;
    height: 380px;
  }
  .hero-card {
    width: 240px;
    height: 380px;
    margin-left: -120px;
    margin-top: -190px;
  }
}

@media (max-width: 860px) {
  .carousel-viewport {
    height: 420px;
  }
  .carousel-cylinder {
    width: 220px;
    height: 360px;
  }
  .hero-card {
    width: 220px;
    height: 360px;
    margin-left: -110px;
    margin-top: -180px;
  }
  .hero-card-front .vinyl-disc {
    width: 110px;
    height: 110px;
  }
  .site-header .header-title {
    font-size: 14px;
  }

  /* 群星：3列网格在手机端保持 */
  .small-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  #starPillContainer {
    display: none;
  }

  /* 调谐弹窗：手机端全屏化 */
  .tuning-overlay {
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    align-items: flex-start;
    padding-top: 10vh;
  }
  .tuning-modal {
    max-width: 100%;
    width: 100%;
    height: 100%;
    padding: 30px 20px;
    overflow-y: auto;
  }
  .tuning-body {
    font-size: 11px;
    line-height: 1.8;
  }
  .carousel-nav {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .carousel-viewport {
    height: 400px;
  }
  .carousel-cylinder {
    width: 200px;
    height: 340px;
  }
  .hero-card {
    width: 200px;
    height: 340px;
    margin-left: -100px;
    margin-top: -170px;
  }
  .hero-card-front .vinyl-disc {
    width: 90px;
    height: 90px;
  }
  .artist-name {
    font-size: 18px;
  }
  .privilege-tag {
    font-size: 9px;
  }
  .site-header {
    padding: 24px 12px 20px;
  }
  .site-header .header-title {
    font-size: 12px;
  }

  /* 调谐弹窗极致全屏 */
  .tuning-overlay {
    padding-top: 5vh;
  }
  .tuning-modal {
    padding: 20px 16px;
  }
  .tuning-countdown-number {
    font-size: 36px;
  }
  .tuning-title {
    font-size: 12px;
  }
  .tuning-log {
    font-size: 10px;
  }

  /* 特权面板适配 */
  .privilege-panel-inner {
    padding: 20px 16px;
  }
  .carousel-nav {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .carousel-nav-prev {
    left: 4px;
  }
  .carousel-nav-next {
    right: 4px;
  }
}

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
