/* ==========================================================================
   光速云 (Guangsu Cloud) × 黄果短剧 官方引流与加速组件样式
   ========================================================================== */

:root {
  --gs-cyan: #00f2fe;
  --gs-blue: #4facfe;
  --gs-gold: #f8ca06;
  --gs-purple: #7f00ff;
  --gs-bg: #12141a;
  --gs-card-bg: rgba(18, 20, 26, 0.85);
  --gs-border: rgba(0, 242, 254, 0.25);
  --gs-glow: 0 0 20px rgba(0, 242, 254, 0.25);
}

/* 1. 顶部极速公告栏 (Top Bar) */
.guangsu-top-bar {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(90deg, #090c14 0%, #161f30 50%, #090c14 100%);
  border-bottom: 1px solid rgba(79, 172, 254, 0.35);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.guangsu-top-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  flex-wrap: wrap;
  justify-content: center;
}

.guangsu-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #050a14;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
  animation: pulse-glow 2s infinite ease-in-out;
}

.guangsu-top-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guangsu-top-text strong {
  color: #fff;
  font-weight: 600;
}

.guangsu-top-text span.highlight {
  color: var(--gs-cyan);
  font-weight: bold;
}

.guangsu-top-btn {
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
  border: 1px solid rgba(0, 242, 254, 0.5);
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.guangsu-top-btn:hover {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #050a14;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
  transform: translateY(-1px);
}

/* 2. 主导航高亮加速入口 (Nav Button) */
.section-nav .nav-guangsu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(79, 172, 254, 0.25));
  border: 1px solid rgba(0, 242, 254, 0.6);
  border-radius: 999px;
  color: #00f2fe !important;
  font-size: 13px !important;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.section-nav .nav-guangsu-btn:hover {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #080d1a !important;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.7);
  transform: translateY(-2px);
}

.nav-guangsu-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f2fe;
  box-shadow: 0 0 8px #00f2fe;
  animation: pulse-dot 1.5s infinite;
}

/* 3. 首屏核心操作按钮改造成光速云加速 (Hero Action Speed CTA) */
.hero-actions .hero-guangsu-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 1px solid var(--gs-cyan) !important;
  color: var(--gs-cyan) !important;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12), rgba(79, 172, 254, 0.22)) !important;
  box-shadow: 0 0 22px rgba(0, 242, 254, 0.35);
  font-weight: 700 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
}

.hero-actions .hero-guangsu-action:hover {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%) !important;
  color: #040914 !important;
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.75);
  transform: translateY(-2px);
}

.hero-actions .hero-guangsu-action .hero-gs-icon {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  animation: pulse-dot 1.8s infinite;
}

/* 4. 剧场与沉浸体验场景痛点提示卡 (In-feed Contextual Card) */
.guangsu-inline-card {
  max-width: 1200px;
  margin: 35px auto 10px;
  background: linear-gradient(135deg, rgba(14, 20, 32, 0.85) 0%, rgba(20, 28, 48, 0.75) 100%);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 16px;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 242, 254, 0.05);
  backdrop-filter: blur(12px);
}

.guangsu-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.guangsu-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.3));
  border: 1px solid rgba(0, 242, 254, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.guangsu-card-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guangsu-card-info h4 span.status-tag {
  font-size: 11px;
  font-weight: normal;
  color: #00f2fe;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.4);
  padding: 2px 8px;
  border-radius: 4px;
}

.guangsu-card-info p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

.guangsu-card-btn {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #040914;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guangsu-card-btn:hover {
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.7);
  transform: translateY(-2px);
}

/* 5. 右下角常驻悬浮火箭挂件 (Floating Widget) */
.guangsu-floating-widget {
  position: fixed;
  right: 24px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 17, 26, 0.88);
  border: 1px solid rgba(0, 242, 254, 0.5);
  border-radius: 999px;
  padding: 10px 18px 10px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.3);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.guangsu-floating-widget:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: #00f2fe;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 242, 254, 0.6);
}

.guangsu-float-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
  animation: float-wiggle 3s infinite ease-in-out;
}

.guangsu-float-text {
  display: flex;
  flex-direction: column;
}

.guangsu-float-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.guangsu-float-subtitle {
  font-size: 11px;
  color: var(--gs-cyan);
  font-weight: 600;
}

/* 6. 专属加速卡模态弹窗 (#guangsu-cloud-dialog) */
dialog.guangsu-modal {
  width: min(520px, 92vw);
  background: #0d111a;
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: 24px;
  padding: 0;
  color: #fff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.2);
  overflow: hidden;
}

dialog.guangsu-modal::backdrop {
  background: rgba(3, 6, 12, 0.85);
  backdrop-filter: blur(8px);
}

.guangsu-modal-header {
  position: relative;
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.15) 0%, rgba(13, 17, 26, 0) 100%);
  padding: 28px 28px 16px;
  text-align: center;
}

.guangsu-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.guangsu-modal-close:hover {
  color: #fff;
}

.guangsu-modal-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.3));
  border: 1px solid rgba(0, 242, 254, 0.6);
  color: #00f2fe;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.guangsu-modal-title {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 30%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.guangsu-modal-subtitle {
  margin: 8px 0 0;
  font-size: 13px;
  color: #94a3b8;
}

.guangsu-modal-body {
  padding: 10px 28px 28px;
}

.guangsu-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0;
}

.guangsu-feature-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s;
}

.guangsu-feature-item:hover {
  background: rgba(0, 242, 254, 0.05);
  border-color: rgba(0, 242, 254, 0.3);
}

.guangsu-f-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.guangsu-f-text h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
}

.guangsu-f-text p {
  margin: 3px 0 0;
  font-size: 12px;
  color: #94a3b8;
}

/* 专属优惠码区块 */
.guangsu-coupon-box {
  background: linear-gradient(135deg, rgba(248, 202, 6, 0.1), rgba(0, 242, 254, 0.1));
  border: 1px dashed rgba(0, 242, 254, 0.6);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coupon-info span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}

.coupon-info strong {
  font-size: 18px;
  color: var(--gs-cyan);
  font-family: 'Arial Black', monospace;
  letter-spacing: 2px;
}

.copy-coupon-btn {
  background: rgba(0, 242, 254, 0.2);
  color: #00f2fe;
  border: 1px solid #00f2fe;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.copy-coupon-btn:hover {
  background: #00f2fe;
  color: #0a0e17;
}

/* 弹窗行动按钮 */
.guangsu-modal-cta {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #050a14;
  text-align: center;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.guangsu-modal-cta:hover {
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.7);
  transform: translateY(-2px);
}

.guangsu-modal-footer-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  color: #64748b;
}

/* 7. 下载弹窗内的置顶引流条 */
.guangsu-dialog-upsell {
  margin: 16px 0 20px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12), rgba(79, 172, 254, 0.18));
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.guangsu-dialog-upsell p {
  margin: 0;
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.4;
}

.guangsu-dialog-upsell p strong {
  color: #00f2fe;
}

.guangsu-upsell-btn {
  background: #00f2fe;
  color: #080d1a;
  border: none;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

/* 关键帧动效 */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 242, 254, 0.4); }
  50% { box-shadow: 0 0 20px rgba(0, 242, 254, 0.8); }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

@keyframes float-wiggle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .guangsu-inline-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    margin: 20px 16px;
  }
  .guangsu-card-btn {
    width: 100%;
    justify-content: center;
  }
  .guangsu-floating-widget {
    right: 16px;
    bottom: 20px;
    padding: 8px 14px 8px 10px;
  }
  .guangsu-float-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .guangsu-top-bar {
    font-size: 12px;
    padding: 6px 12px;
  }
}
