/* AI 女优助手上线公告 */
.ai-launch-banner {
  position: relative;
  margin: 0 0 20px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(255, 77, 141, 0.35), transparent 55%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(59, 130, 246, 0.28), transparent 50%),
    linear-gradient(135deg, #1a0f24 0%, #2d1a3d 38%, #1e1635 100%);
  border: 1px solid rgba(255, 120, 180, 0.35);
  box-shadow:
    0 0 40px rgba(255, 77, 141, 0.15),
    0 12px 40px rgba(0, 0, 0, 0.35);
  animation: aiLaunchIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ai-launch-banner.is-hidden {
  display: none;
}

@keyframes aiLaunchIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ai-launch-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  animation: aiLaunchShine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes aiLaunchShine {
  0%, 100% { transform: translateX(-120%); }
  50% { transform: translateX(120%); }
}

.ai-launch-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px 22px;
  align-items: center;
}

.ai-launch-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4d8d, #8b5cf6, #3b82f6);
  padding: 3px;
  flex-shrink: 0;
  animation: aiLaunchPulse 2.4s ease-in-out infinite;
}

@keyframes aiLaunchPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 141, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(255, 77, 141, 0); }
}

.ai-launch-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe4f1 0%, #ffc4de 100%);
  position: relative;
  overflow: hidden;
}

.ai-launch-avatar-inner::before {
  content: '🌸';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.ai-launch-body {
  min-width: 0;
}

.ai-launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  margin-bottom: 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #ff4d8d, #a855f7);
  box-shadow: 0 4px 14px rgba(255, 77, 141, 0.4);
}

.ai-launch-title {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(90deg, #fff 0%, #ffd1e8 45%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ai-launch-subtitle {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.ai-launch-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-launch-features li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-launch-features li i {
  color: #ff7eb9;
  font-size: 11px;
}

.ai-launch-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.ai-launch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 148px;
  padding: 11px 16px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.ai-launch-btn:hover {
  transform: translateY(-2px);
}

.ai-launch-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff4d8d 0%, #a855f7 55%, #6366f1 100%);
  box-shadow: 0 8px 24px rgba(255, 77, 141, 0.35);
}

.ai-launch-btn-secondary {
  color: #ffd1e8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-launch-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ai-launch-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

@media (max-width: 900px) {
  .ai-launch-inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .ai-launch-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ai-launch-btn {
    flex: 1;
    min-width: 120px;
  }
}

@media (max-width: 520px) {
  .ai-launch-banner {
    padding: 18px 16px 16px;
  }

  .ai-launch-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ai-launch-avatar {
    margin: 0 auto;
  }

  .ai-launch-features {
    justify-content: center;
  }

  .ai-launch-actions {
    flex-direction: column;
  }
}
