/* ========================================
   首页 — 味来Ai · 赛博霓虹风专用样式
   ======================================== */

/* ---------- 标题通用 ---------- */
.section-title {
  font-size: 16px;
  font-weight: 700;
  padding: 16px 16px 12px;
  background: linear-gradient(135deg, #00f0ff, #b300ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #00f0ff, #b300ff);
  margin-top: 6px;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* ==========================================
   ① 轮播 Banner（复用原结构）
   ========================================== */
.banner-carousel {
  margin: 12px 12px 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: rgba(20, 20, 50, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.08), inset 0 0 40px rgba(0, 0, 0, 0.4);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 180px;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,20,0.45) 0%, rgba(5,5,20,0.7) 100%);
  pointer-events: none;
  z-index: 0;
}

.carousel-slide h3,
.carousel-slide .slide-badge {
  position: relative;
  z-index: 1;
}

.carousel-slide::before {
  display: none;
}
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.slide-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
  border: 1px solid;
}

.slide-badge.neon-cyan {
  color: #00f0ff;
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.15);
}

.slide-badge.neon-purple {
  color: #b300ff;
  border-color: rgba(179, 0, 255, 0.4);
  background: rgba(179, 0, 255, 0.08);
  box-shadow: 0 0 16px rgba(179, 0, 255, 0.15);
}

.slide-badge.neon-pink {
  color: #ff0080;
  border-color: rgba(255, 0, 128, 0.4);
  background: rgba(255, 0, 128, 0.08);
  box-shadow: 0 0 16px rgba(255, 0, 128, 0.15);
}

.carousel-slide h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #f0f0ff;
  text-shadow: 0 0 20px rgba(179, 0, 255, 0.3);
}

.carousel-slide p {
  font-size: 12px;
  color: #8888bb;
  line-height: 1.6;
  max-width: 280px;
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.carousel-dots .dot.active {
  background: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.8);
  border-color: #00f0ff;
  width: 24px;
  border-radius: 4px;
}

/* ==========================================
   ② 首页引导 → 关于页
   ========================================== */
.home-cta {
  padding: 0 12px;
  margin-top: 12px;
}

.cta-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.06), rgba(179, 0, 255, 0.04));
  border: 1px solid rgba(0, 240, 255, 0.12);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #00f0ff, #b300ff);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.cta-card:hover,
.cta-card:active {
  transform: translateY(-2px);
  border-color: rgba(0, 240, 255, 0.2);
}

.cta-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.15);
  flex-shrink: 0;
}

.cta-icon i {
  font-size: 22px;
  color: #00f0ff;
  line-height: 1;
}

.cta-text {
  flex: 1;
}

.cta-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: #e0e0ff;
  margin-bottom: 2px;
}

.cta-text p {
  font-size: 11px;
  color: #8888bb;
}

.cta-arrow {
  font-size: 18px;
  color: #00f0ff;
  opacity: 0.5;
  transition: all 0.3s;
}

.cta-card:hover .cta-arrow,
.cta-card:active .cta-arrow {
  opacity: 1;
}

/* ==========================================
   ③ 精选作品 · 视频展示
   ========================================== */
.video-showcase {
  padding: 0 12px;
  margin-top: 8px;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 4px;
}

.video-card {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(20,20,50,0.4);
  border: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-card:hover,
.video-card:active {
  transform: translateY(-2px);
  border-color: rgba(0,240,255,0.2);
}

.vc-thumb {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vc-thumb i {
  font-size: 36px;
  color: rgba(255,255,255,0.6);
  text-shadow: 0 0 20px rgba(0,240,255,0.3);
  transition: all 0.3s;
}

.video-card:hover .vc-thumb i,
.video-card:active .vc-thumb i {
  color: #00f0ff;
  text-shadow: 0 0 30px rgba(0,240,255,0.6);
  transform: scale(1.1);
}

.vc-dur {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 10px;
  padding: 1px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,0.6);
  color: rgba(255,255,255,0.7);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}

.vc-info {
  padding: 10px 12px;
}

.vc-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: #d0d0f0;
  margin-bottom: 2px;
}

.vc-info p {
  font-size: 10px;
  color: #8888bb;
}

/* ==========================================
   ④ 生态共建者计划（会员体系）
   ========================================== */
.membership {
  padding: 0 12px;
  margin-top: 4px;
}

.member-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 4px;
}

.member-card {
  border-radius: 16px;
  padding: 16px 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.member-card:hover,
.member-card:active {
  transform: translateY(-2px);
  border-color: rgba(0, 240, 255, 0.2);
}

/* 免费 — 青色 */
.card-free {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.06), rgba(0, 200, 220, 0.02));
  border: 1px solid rgba(0, 240, 255, 0.15);
}
.card-free .member-header i { color: #00f0ff; }
.card-free .member-badge { color: #00f0ff; }
.card-free .member-price { color: #00f0ff; }

/* V1 — 紫色 */
.card-v1 {
  background: linear-gradient(135deg, rgba(179, 0, 255, 0.06), rgba(150, 0, 220, 0.02));
  border: 1px solid rgba(179, 0, 255, 0.15);
}
.card-v1 .member-header i { color: #b300ff; }
.card-v1 .member-badge { color: #b300ff; }
.card-v1 .member-price { color: #b300ff; }

/* V2 — 粉色 */
.card-v2 {
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.06), rgba(255, 50, 100, 0.02));
  border: 1px solid rgba(255, 0, 128, 0.15);
}
.card-v2 .member-header i { color: #ff0080; }
.card-v2 .member-badge { color: #ff0080; }
.card-v2 .member-price { color: #ff0080; }

/* 企业 — 金色 */
.card-enterprise {
  background: linear-gradient(135deg, rgba(255, 200, 0, 0.06), rgba(255, 150, 0, 0.02));
  border: 1px solid rgba(255, 200, 0, 0.15);
}
.card-enterprise .member-header i { color: #ffcc00; }
.card-enterprise .member-badge { color: #ffcc00; }
.card-enterprise .member-price { color: #ffcc00; }

.member-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.member-header i {
  font-size: 18px;
}

.member-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px currentColor;
}

.member-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  margin-left: auto;
  letter-spacing: 0.5px;
}

.member-price {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 0 12px currentColor;
}

.member-price small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.6;
}

.member-features {
  list-style: none;
  padding: 0;
}

.member-features li {
  font-size: 11px;
  color: #9999bb;
  padding: 2px 0;
  position: relative;
  padding-left: 14px;
}

.member-features li::before {
  content: '▶';
  position: absolute;
  left: 0;
  font-size: 7px;
  opacity: 0.5;
}

.card-free .member-features li::before { color: #00f0ff; }
.card-v1 .member-features li::before { color: #b300ff; }
.card-v2 .member-features li::before { color: #ff0080; }
.card-enterprise .member-features li::before { color: #ffcc00; }

/* ==========================================
   ⑤ 全局悬浮提示
   ========================================== */
.floating-notice {
  margin: 18px 12px 6px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 200, 0, 0.04);
  border: 1px solid rgba(255, 200, 0, 0.15);
  box-shadow: 0 0 20px rgba(255, 200, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.floating-notice::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #ffcc00, #ff8800);
  box-shadow: 0 0 12px rgba(255, 200, 0, 0.4);
}

.notice-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.notice-icon {
  font-size: 16px;
  flex-shrink: 0;
  color: #ffcc00;
  text-shadow: 0 0 12px rgba(255, 200, 0, 0.6);
  line-height: 1.5;
}

.notice-content p {
  font-size: 12px;
  color: #9999bb;
  line-height: 1.8;
}

/* ==========================================
   搜索框
   ========================================== */
.search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 4px 12px;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 160px;
}

.search-box:focus-within {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.1);
  background: rgba(0, 240, 255, 0.04);
}

.search-box i {
  font-size: 16px;
  color: #606090;
  flex-shrink: 0;
  line-height: 1;
}

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: #c0c0e0;
  font-size: 12px;
  width: 100%;
  font-family: inherit;
}

.search-box input::placeholder {
  color: #505080;
}

/* ==========================================
   视频弹窗 — 赛博霓虹动画
   ========================================== */

/* 遮罩层 */
.vm-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.vm-modal.open {
  pointer-events: auto;
  opacity: 1;
}

.vm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.vm-modal.open .vm-backdrop {
  opacity: 1;
}

/* 播放器容器 */
.vm-player {
  position: relative;
  width: calc(100% - 32px);
  max-width: 440px;
  border-radius: 16px;
  background: rgba(10, 10, 30, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.15), 0 0 80px rgba(179, 0, 255, 0.08);
  overflow: hidden;
  transform: scale(0.85) translateY(30px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vm-modal.open .vm-player {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* 四角霓虹装饰 */
.vm-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 3;
}
.vm-corner.tl { top: -1px; left: -1px; border-top: 2px solid #00f0ff; border-left: 2px solid #00f0ff; box-shadow: 0 0 8px #00f0ff; }
.vm-corner.tr { top: -1px; right: -1px; border-top: 2px solid #b300ff; border-right: 2px solid #b300ff; box-shadow: 0 0 8px #b300ff; }
.vm-corner.bl { bottom: -1px; left: -1px; border-bottom: 2px solid #b300ff; border-left: 2px solid #b300ff; box-shadow: 0 0 8px #b300ff; }
.vm-corner.br { bottom: -1px; right: -1px; border-bottom: 2px solid #00f0ff; border-right: 2px solid #00f0ff; box-shadow: 0 0 8px #00f0ff; }

/* 顶部栏 */
.vm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.vm-title {
  font-size: 14px;
  font-weight: 700;
  color: #e0e0ff;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.vm-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #606090;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.vm-close-btn:hover,
.vm-close-btn:active {
  color: #ff0080;
  border-color: rgba(255, 0, 128, 0.4);
  box-shadow: 0 0 16px rgba(255, 0, 128, 0.2);
}

.vm-close-btn i {
  font-size: 16px;
  line-height: 1;
}

/* 视频画面 */
.vm-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #050510;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vm-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 扫描线 */
.vm-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 240, 255, 0.015) 2px,
    rgba(0, 240, 255, 0.015) 4px
  );
  pointer-events: none;
  z-index: 1;
  animation: scanline-move 3s linear infinite;
}

@keyframes scanline-move {
  0%   { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

/* 脉冲光晕 */
.vm-glow-pulse {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 240, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
  animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  0%   { opacity: 0.3; }
  100% { opacity: 1; transform: scale(1.05); }
}

/* 画面角落闪烁 */
.vm-screen::before,
.vm-screen::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 1px;
  background: #00f0ff;
  box-shadow: 0 0 12px #00f0ff;
  z-index: 2;
  opacity: 0;
  animation: corner-flicker 3s ease-in-out infinite;
}
.vm-screen::before { top: 0; left: 10%; }
.vm-screen::after { bottom: 0; right: 10%; width: 60px; animation-delay: 1.5s; }

@keyframes corner-flicker {
  0%, 90%, 100% { opacity: 0; }
  92% { opacity: 1; }
  95% { opacity: 0.3; }
  97% { opacity: 1; }
}

/* 毛刺条 */
.vm-glitch-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

.vm-glitch-bar.active {
  animation: glitch-bar 0.2s ease-out;
}

@keyframes glitch-bar {
  0%   { top: 10%; opacity: 1; }
  20%  { top: 30%; }
  40%  { top: 60%; }
  60%  { top: 25%; }
  80%  { top: 70%; }
  100% { top: 50%; opacity: 0; }
}

/* 中央播放图标 */
.vm-center-play {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(0, 240, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: all 0.3s;
  animation: center-pulse 2s ease-in-out infinite;
}

.vm-center-play i {
  font-size: 28px;
  color: #00f0ff;
  margin-left: 3px;
}

@keyframes center-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.2); border-color: rgba(0, 240, 255, 0.3); }
  50% { box-shadow: 0 0 40px rgba(0, 240, 255, 0.4); border-color: rgba(0, 240, 255, 0.6); }
}

.vm-center-play.playing {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

/* 时长标签 */
.vm-dur-badge {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 11px;
  font-family: 'Courier New', monospace;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.5px;
}

/* 控制栏 */
.vm-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid rgba(0, 240, 255, 0.08);
}

.vm-ctrl-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: none;
  border: none;
  color: #c0c0e0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}

.vm-ctrl-btn:hover,
.vm-ctrl-btn:active {
  color: #00f0ff;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

.vm-ctrl-btn i {
  font-size: 18px;
  line-height: 1;
}

/* 进度条 */
.vm-track {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.vm-track-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, #00f0ff, #b300ff);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
  transition: width 0.3s linear;
}

.vm-track-thumb {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
  transform: translate(-50%, -50%);
  left: 0%;
  transition: left 0.3s linear;
}

.vm-time {
  font-size: 11px;
  font-family: 'Courier New', monospace;
  color: #8888bb;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

/* 关闭动画 */
.vm-modal.closing .vm-backdrop {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vm-modal.closing .vm-player {
  transform: scale(0.85) translateY(30px);
  opacity: 0;
  transition: all 0.3s ease;
}
