/* 全局样式 */
:root {
  --primary-color: #4a6bff;
  --secondary-color: #6c757d;
  --accent-color: #ff6b6b;
  --dark-color: #2c3e50;
  --light-color: #f8f9fa;
  --gradient: linear-gradient(135deg, #4a6bff 0%, #6c63ff 100%);
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 10px;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f7fa;
  color: #333;
  overflow-x: hidden;
}

/* 面包屑导航样式 */
.breadcrumb-wrapper {
  margin-top: 10px;
}

.breadcrumb-nav {
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.breadcrumb-nav a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: #3a5bd9;
  text-decoration: none; /* 去掉下划线 */
}

.breadcrumb-nav span {
  color: var(--secondary-color);
}

/* 提示词摘要样式 */
.prompt-detail-excerpt {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
}

.prompt-detail-excerpt h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
}

.prompt-excerpt-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 0;
}

/* HOT标签动画效果 */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1.2);
  }
}

/* 应用程序布局 */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* 侧边栏样式 */
.sidebar {
  width: 260px;
  background-color: #fff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.sidebar-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo-img img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.logo-text{color: #fff;}

.sidebar-logo i {
  margin-right: 10px;
}

.sidebar-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #666;
  cursor: pointer;
  display: none;
}

.sidebar-menu {
  padding: 20px 0;
}

/* 侧边栏菜单项 */
.menu-item {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  display: flex;
  align-items: center;
}

.menu-item i {
  width: 24px;
  margin-right: 12px;
  text-align: center;
  color: var(--secondary-color);
}

.menu-item:hover {
  background-color: rgba(74, 107, 255, 0.05);
  border-left-color: var(--primary-color);
}

.menu-item.active {
  background-color: rgba(74, 107, 255, 0.1);
  border-left-color: var(--primary-color);
  color: var(--primary-color);
}

.menu-item.active i {
  color: var(--primary-color);
}

/* 登录按钮 */
.login-btn-container {
  padding: 20px;
  border-top: 1px solid #eee;
}

.login-btn {
  width: 100%;
  padding: 10px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.login-btn:hover {
  background-color: #3a5bd9;
}

/* 主内容区域 */
.main-content {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
  margin-left: 260px;
}

.page-header {
  margin-bottom: 30px;
}

.page-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.page-subtitle {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

/* 卡片样式 */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 25px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-container {
  position: relative;
  padding-top: 56.25%; /* 16:9 宽高比 */
  overflow: hidden;
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.card-text {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.card-footer {
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.02);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author-info {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

.author-name {
  font-weight: 500;
  font-size: 0.9rem;
}

.author-stats {
  font-size: 0.8rem;
  color: var(--secondary-color);
}

/* 轮播图样式 */
.swiper {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 30px;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.slide-content {
  text-align: center;
  color: white;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: var(--border-radius);
  max-width: 80%;
}

.slide-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.slide-subtitle {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.slide-btn {
  padding: 12px 25px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.slide-btn:hover {
  background-color: #3a5bd9;
}

/* 标签和筛选器 */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.filter-group {
  display: flex;
  gap: 10px;
}

.filter-btn {
  padding: 8px 16px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* 模态框样式 */
.modal-content {
  border-radius: var(--border-radius);
  border: none;
  overflow: hidden;
}

.modal-header {
  background-color: var(--primary-color);
  color: white;
  border-bottom: none;
}

.modal-body {
  padding: 30px;
}

.close {
  color: white;
  opacity: 0.8;
}

.close:hover {
  opacity: 1;
}

/* 登录表单 */
.login-tabs {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.login-tab {
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.login-tab.active {
  color: var(--primary-color);
}

.login-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.login-form {
  display: none;
}

.login-form.active {
  display: block;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.2);
}

.qr-code-container {
  text-align: center;
  padding: 20px;
}

.qr-code {
  width: 200px;
  height: 200px;
  background-color: #f5f5f5;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #999;
}

/* 会员卡片 */
.pricing-card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-tier {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--secondary-color);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.pricing-features i {
  color: var(--primary-color);
  margin-right: 10px;
}

.pricing-btn {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.pricing-btn:hover {
  background-color: #3a5bd9;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .sidebar {
    width: 80px;
  }
  
  .sidebar-header .sidebar-logo span,
  .menu-item span,
  .login-btn-container {
    display: none;
  }
  
  .menu-item {
    justify-content: center;
    padding: 15px 0;
  }
  
  .menu-item i {
    margin: 0;
  }
  
  .sidebar-toggle {
    display: block;
  }
  
  .main-content {
    padding: 20px;
    margin-left: 80px;
  }
}

/* 确保在768px到992px范围内工作流中心文本正确隐藏 */
@media (min-width: 769px) and (max-width: 992px) {
  .menu-item span {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .app-container {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    height: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  .sidebar-header .sidebar-logo span,
  .sidebar-toggle,
  .login-btn-container {
    display: inline;
  }
  
  .menu-item {
    justify-content: flex-start;
    padding: 12px 20px;
  }
  
  .menu-item i {
    margin-right: 12px;
  }
  
  .menu-item span {
    display: inline;
  }
  
  .main-content {
    padding: 15px;
  }
  
  .swiper {
    height: 250px;
  }
  
  .slide-title {
    font-size: 1.8rem;
  }
  
  .slide-subtitle {
    font-size: 1rem;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* 加载动画 */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(74, 107, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 侧边栏折叠状态 */
.sidebar.collapsed {
  width: 80px;
}

.sidebar.collapsed .sidebar-header .sidebar-logo span,
.sidebar.collapsed .menu-item span,
.sidebar.collapsed .login-btn-container {
  display: none;
}

.sidebar.collapsed .menu-item {
  justify-content: center;
  padding: 15px 0;
}

.sidebar.collapsed .menu-item i {
  margin: 0;
}

.sidebar.collapsed .sidebar-toggle {
  display: block;
}

/* 播放覆盖层 */
.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 3rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.card-img-container:hover .play-overlay {
  opacity: 1;
}

/* 徽章样式 */
.badge {
  font-size: 0.5rem;
  padding: 0.375rem 0.75rem;
}

/* 头像容器 */
.avatar-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 活动项 */
.activity-item {
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.activity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.activity-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f5f5f5;
}

/* 文档侧边栏 */
.docs-sidebar {
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.docs-nav .nav-section {
  margin-bottom: 1rem;
}

.docs-nav .nav-section h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  padding: 0 0.75rem;
}

.docs-nav .nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  color: var(--secondary-color);
}

.docs-nav .nav-link:hover {
  background-color: rgba(74, 107, 255, 0.05);
}

.docs-nav .nav-link.active {
  background-color: rgba(74, 107, 255, 0.1);
  color: var(--primary-color);
}

/* 代码框 */
.code-preview pre {
  margin-bottom: 0;
  font-size: 0.9rem;
  white-space: pre-wrap;
  word-break: break-all;
}

/* 推广统计 */
.referral-stat {
  margin-bottom: 1rem;
}

.referral-stat h3 {
  font-weight: 600;
  color: var(--primary-color);
}

/* 教程元数据 */
.tutorial-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.tutorial-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 1rem 0;
}

/* 表单控件美化 */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(74, 107, 255, 0.25);
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(74, 107, 255, 0.25);
}

/* 页面过渡动画 */
.page-enter-active, .page-leave-active {
  transition: opacity 0.3s, transform 0.3s;
}

.page-enter-from {
  opacity: 0;
  transform: translateX(30px);
}

.page-leave-to {
  opacity: 0;
  transform: translateX(-30px);
}

/* 浮动动画 */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* 左右晃动动画 */
@keyframes sway {
  0% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(-15px);
  }
  100% {
    transform: translateX(0px);
  }
}

/* 波纹动画 */
@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

/* 二维码模态框 */
.qr-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.qr-modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 350px;
  text-align: center;
  position: relative;
}

.close-qr-modal {
  color: #aaa;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-qr-modal:hover {
  color: #000;
}

.qr-code-container {
  margin: 20px 0;
}

.qr-placeholder {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
}

.qr-placeholder i {
  margin-bottom: 10px;
  color: #6c757d;
}

.qr-placeholder p {
  margin: 0;
  color: #6c757d;
  font-size: 14px;
}

/* 加入社群圆形浮动框 */
.ly_fd_sv_floating-join-group {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 70px;
  height: 70px;
  background-color: #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  cursor: pointer;
  animation: sway 4s ease-in-out infinite;
}

.ly_fd_sv_floating-join-group::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 50%;
  background-color: #28a745;
  opacity: 0.7;
  z-index: -1;
  animation: ripple 2s infinite;
}

.ly_fd_sv_floating-join-group::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  border-radius: 50%;
  background-color: #28a745;
  opacity: 0.4;
  z-index: -2;
  animation: ripple 2s infinite 0.5s;
}

.ly_fd_sv_floating-join-content {
  text-align: center;
  color: white;
}

.ly_fd_sv_floating-join-content i {
  font-size: 20px;
  display: block;
}

.ly_fd_sv_floating-join-content span {
  font-size: 12px;
  display: block;
  margin-top: 2px;
}

/* 剪映小助手下载浮动框 */
.ly_fd_sv_floating-download-box {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
  cursor: pointer;
  animation: float 3s ease-in-out infinite;
  overflow: visible;
}

.ly_fd_sv_floating-download-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50px;
  opacity: 0.7;
  z-index: -1;
  animation: ripple 2s infinite;
}

.ly_fd_sv_floating-download-box::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50px;
  opacity: 0.4;
  z-index: -2;
  animation: ripple 2s infinite 0.5s;
}

.ly_fd_sv_floating-download-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.ly_fd_sv_floating-download-box i {
  font-size: 18px;
  margin-right: 8px;
}

.ly_fd_sv_floating-download-box span {
  font-size: 14px;
  font-weight: 500;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .ly_fd_sv_floating-download-box {
    bottom: 20px;
    right: 20px;
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .ly_fd_sv_floating-download-box i {
    font-size: 16px;
  }
}

/* 用户信息容器 */
.user-info-container {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #f8f9fa;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-info-container:hover {
  background-color: #e9ecef;
}

.user-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.user-details {
  margin: 0 10px;
  flex: 1;
  min-width: 0;
}

.user-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #212529;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-level {
  font-size: 0.6rem;
  padding: 1px 4px;
}

.user-points {
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 2px;
}

.user-dropdown .dropdown-toggle {
  background: none;
  border: none;
  color: #6c757d;
  padding: 5px;
  font-size: 0.8rem;
}

.user-dropdown .dropdown-toggle:focus {
  box-shadow: none;
}

.user-dropdown .dropdown-menu {
  border-radius: 10px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border: none;
}

.user-dropdown .dropdown-item {
  padding: 8px 15px;
  font-size: 0.9rem;
}

.user-dropdown .dropdown-item i {
  width: 20px;
  text-align: center;
}

.user-dropdown .dropdown-item:hover {
  background-color: rgba(74, 107, 255, 0.1);
}

/* 响应式用户信息 */
@media (max-width: 992px) {
  .sidebar.collapsed .user-info-container {
    padding: 5px;
    justify-content: center;
  }
  
  .sidebar.collapsed .user-avatar img {
    width: 30px;
    height: 30px;
  }
  
  .sidebar.collapsed .user-details,
  .sidebar.collapsed .user-dropdown {
    display: none;
  }
}

@media (max-width: 768px) {
  .sidebar:not(.collapsed) .user-info-container {
    padding: 8px 12px;
  }
  
  .sidebar:not(.collapsed) .user-avatar img {
    width: 35px;
    height: 35px;
  }
  
  .sidebar:not(.collapsed) .user-name {
    font-size: 0.85rem;
  }
  
  .sidebar:not(.collapsed) .user-level {
    font-size: 0.65rem;
    padding: 1px 4px;
  }
  
  .sidebar:not(.collapsed) .user-points {
    font-size: 0.7rem;
  }
}

/* 充值页面特定样式 */
.payment-method {
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.payment-method.active {
  border: 2px solid var(--primary-color);
  background-color: rgba(74, 107, 255, 0.05);
}

.recharge-benefits .card {
  height: 100%;
}

/* 价格卡片调整 */
.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
  position: relative;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.display-6 {
  font-size: 2.5rem;
  font-weight: bold;
}

/* 代码详情模态框样式 */
.code-detail-container {
  color: #333;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  max-height: 80vh;
  overflow-y: auto;
  width: 100%;
}

.code-detail-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.code-detail-author {
  display: flex;
  align-items: center;
  background-color: #f8f9fa; /* 添加背景色 */
  border-radius: 8px; /* 添加圆角 */
  padding: 15px; /* 添加内边距 */
  margin-bottom: 20px; /* 调整底部边距 */
}

.code-detail-content h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
}

.code-content-text {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 5px;
  padding: 15px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 0;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  margin-top: 20px;
  margin-bottom: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .code-detail-container {
    padding: 15px;
  }
  
  .code-content-text {
    font-size: 0.8rem;
    padding: 10px;
  }
  
  .modal-footer {
    flex-direction: column;
  }
  
  .modal-footer .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .modal-footer .btn:last-child {
    margin-bottom: 0;
  }
}

/* 视频播放器模态框中的代码详情样式调整 */
.video-content .code-detail-container {
  background-color: #fff;
  color: #333;
}

/* 提示词详情模态框样式 */
.prompt-detail-container {
  color: #333;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  max-height: 80vh;
  overflow-y: auto;
  width: 100%;
}

.prompt-detail-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.prompt-detail-author {
  display: flex;
  align-items: center;
}

.prompt-detail-content h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
}

.prompt-content-text {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 5px;
  padding: 15px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 0;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  margin-top: 20px;
  margin-bottom: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .prompt-detail-container {
    padding: 15px;
  }
  
  .prompt-content-text {
    font-size: 0.8rem;
    padding: 10px;
  }
  
  .modal-footer {
    flex-direction: column;
  }
  
  .modal-footer .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .modal-footer .btn:last-child {
    margin-bottom: 0;
  }
}

/* 视频播放器模态框中的提示词详情样式调整 */
.video-content .prompt-detail-container {
  background-color: #fff;
  color: #333;
}

/* 工作流卡片标题链接样式 */
.card-title a{
  text-decoration: none;
  color: #333;
}

.card-title-link:hover {
  color: var(--primary-color);
}

.hy_gzl_dp{ display: none;}