/* ==========================================
   影启元 - 全局样式表
   ========================================== */

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  background: #040b1b;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 211, 112, 0.03) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(64, 153, 255, 0.03) 0%, transparent 20%);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

#app {
  width: 100%;
  min-height: 100vh;
}

/* ==========================================
   导航栏
   ========================================== */
.navbar {
  width: 100%;
  height: 70px;
  background: rgba(10, 21, 43, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 211, 112, 0.12);
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar .logo {
  font-size: 24px;
  font-weight: bold;
  margin-right: 60px;
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
}

.navbar .nav-menu {
  display: flex;
  gap: 42px;
}

.navbar .nav-item {
  font-size: 15px;
  color: #c0d4ff;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.navbar .nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  transition: width 0.3s;
}

.navbar .nav-item:hover::after,
.navbar .nav-item.active::after {
  width: 100%;
}

.navbar .nav-item:hover,
.navbar .nav-item.active {
  color: #ffd370;
}

.navbar .user-bar {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

.user-credits {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 211, 112, 0.15);
  border: 1px solid rgba(255, 211, 112, 0.3);
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.user-credits:hover {
  background: rgba(255, 211, 112, 0.25);
  transform: translateY(-1px);
}

.user-credits .credits-icon {
  font-size: 16px;
}

.user-credits .credits-num {
  color: #ffd370;
  font-weight: 600;
  font-size: 14px;
}

/* ==========================================
   通用容器
   ========================================== */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 0;
}

.page-title {
  font-size: 32px;
  font-weight: 600;
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 211, 112, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-title::before {
  content: '';
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, #ffd370, #ffb74d);
  border-radius: 2px;
}

.page-desc {
  color: #8898bb;
  font-size: 16px;
  margin-bottom: 30px;
}

/* ==========================================
   内容网格
   ========================================== */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.course-grid {
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.content-card {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s ease;
}

.content-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 211, 112, 0.35);
  box-shadow: 0 16px 40px rgba(255, 211, 112, 0.1);
}

.card-cover {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.content-card:hover .card-cover img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.content-card:hover .card-overlay {
  opacity: 1;
}

.view-btn {
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  color: #111;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 500;
  font-size: 14px;
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  color: #111;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.card-body {
  padding: 22px;
}

.card-title {
  font-size: 18px;
  font-weight: 500;
  color: #ffd370;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-content {
  font-size: 14px;
  color: #a0b8e8;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 211, 112, 0.1);
}

.card-price {
  color: #ffd370;
  font-size: 18px;
  font-weight: bold;
}

.card-action {
  color: #8898bb;
  font-size: 13px;
  transition: color 0.3s;
}

.content-card:hover .card-action {
  color: #ffd370;
}

.card-author {
  color: #8898bb;
  font-size: 13px;
}

.card-likes {
  color: #ff6b81;
  font-size: 13px;
}

/* ==========================================
   AI创作大Banner
   ========================================== */
.ai-banner-section {
  width: 100%;
}

.ai-banner {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ai-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.75) 100%);
}

.ai-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
}

.ai-banner-title {
  font-size: 56px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 40px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: 8px;
}

.ai-create-btn {
  padding: 16px 60px !important;
  font-size: 20px !important;
  border-radius: 50px !important;
  background: linear-gradient(135deg, #ffd370, #ffb74d) !important;
  border: none !important;
  color: #1a1a2e !important;
  font-weight: bold !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 8px 30px rgba(255, 211, 112, 0.4) !important;
}

.ai-create-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 40px rgba(255, 211, 112, 0.5) !important;
}

/* AI创作介绍内容 */
.ai-intro-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #0d1526 0%, #111a2e 100%);
}

.ai-intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ai-intro-card {
  background: rgba(26, 37, 64, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.15);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.ai-intro-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 211, 112, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ai-intro-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.ai-intro-title {
  font-size: 22px;
  color: #ffd370;
  margin-bottom: 15px;
  font-weight: bold;
}

.ai-intro-content {
  font-size: 15px;
  color: #c0d4ff;
  line-height: 1.8;
}

/* ==========================================
   Banner 轮播
   ========================================== */
.banner-section {
  width: 100%;
  height: 420px;
  position: relative;
  overflow: hidden;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 8%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.banner-slide.active {
  opacity: 1;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 21, 43, 0.7) 0%, rgba(26, 58, 107, 0.5) 100%);
  z-index: 1;
}

.banner-content {
  max-width: 600px;
  z-index: 2;
}

.banner-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.banner-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.banner-desc {
  font-size: 18px;
  color: #c0d4ff;
  margin-bottom: 30px;
  line-height: 1.7;
}

.banner-actions {
  display: flex;
  gap: 15px;
}

.banner-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.banner-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.banner-dots span.active {
  background: #ffd370;
  width: 30px;
  border-radius: 6px;
}

.banner-decorations {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 400px;
  opacity: 0.1;
}

.decoration {
  position: absolute;
  border-radius: 50%;
  background: #ffd370;
}

.decoration-1 { width: 200px; height: 200px; top: 20%; right: 10%; }
.decoration-2 { width: 150px; height: 150px; top: 50%; right: 30%; }
.decoration-3 { width: 100px; height: 100px; top: 70%; right: 15%; }

/* ==========================================
   快捷导航
   ========================================== */
.quick-nav {
  background: rgba(17, 26, 46, 0.5);
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 211, 112, 0.1);
}

.quick-nav-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.quick-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.quick-nav-item:hover {
  transform: translateY(-5px);
}

.quick-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.quick-text {
  color: #c0d4ff;
  font-size: 15px;
  transition: color 0.3s;
}

.quick-nav-item:hover .quick-text {
  color: #ffd370;
}

/* ==========================================
   区块标题
   ========================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.section-title {
  font-size: 22px;
  color: #ffd370;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================
   商单卡片
   ========================================== */
.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.order-card {
  background: linear-gradient(145deg, #1a2540, #0d1526);
  border: 1px solid rgba(255, 211, 112, 0.2);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.order-card:hover {
  transform: translateY(-4px);
  border-color: #ffd370;
  box-shadow: 0 8px 24px rgba(255, 211, 112, 0.15);
}

.order-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.order-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.order-budget {
  color: #ffd370;
  font-size: 14px;
  font-weight: 500;
}

.order-genre {
  background: rgba(255, 211, 112, 0.15);
  color: #ffd370;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.order-desc {
  color: #888;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-deadline {
  color: #666;
  font-size: 12px;
}

.order-apply {
  color: #ffd370;
  font-size: 13px;
}

/* ==========================================
   空状态
   ========================================== */
.empty-box {
  width: 100%;
  padding: 80px 0;
  text-align: center;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-box p {
  color: #7b91c0;
  font-size: 16px;
  margin-bottom: 8px;
}

.empty-hint {
  color: #5a6a90 !important;
  font-size: 14px !important;
}

/* ==========================================
   登录/注册卡片
   ========================================== */
.login-box {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: rgba(17, 26, 46, 0.8);
  border: 1px solid rgba(255, 211, 112, 0.15);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(10px);
}

.login-title {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.login-subtitle {
  text-align: center;
  color: #8898bb;
  margin-bottom: 30px;
  font-size: 14px;
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  color: #8898bb;
}

/* 登录/注册 Tab切换 */
.login-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 4px;
}

.tab-btn {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #8898bb;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn.active {
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  color: #111;
  font-weight: 500;
}

.tab-btn:hover:not(.active) {
  color: #fff;
}

/* 验证码输入组 */
.code-input-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.send-code-btn {
  padding: 10px 16px;
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  border: none;
  border-radius: 8px;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
}

.send-code-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 211, 112, 0.3);
}

.send-code-btn:disabled {
  background: #3a4560;
  color: #666;
  cursor: not-allowed;
}

/* 开发测试提示 */
.dev-tip {
  text-align: center;
  color: #52c41a;
  font-size: 12px;
  margin-top: 10px;
}

/* 绑定提示 */
.bind-tip {
  color: #8898bb;
  font-size: 13px;
  margin-bottom: 20px;
  text-align: center;
}

/* ==========================================
   详情页
   ========================================== */
.detail-page {
  min-height: calc(100vh - 70px);
}

.detail-back {
  padding: 20px 5%;
}

.detail-container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 60px;
}

.detail-article {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
}

.detail-cover {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

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

.detail-header {
  padding: 40px;
  border-bottom: 1px solid rgba(255, 211, 112, 0.1);
}

.detail-type {
  margin-bottom: 15px;
}

.type-tag {
  display: inline-block;
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  color: #111;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 500;
}

.detail-title {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.4;
}

.detail-meta {
  display: flex;
  gap: 30px;
  color: #8898bb;
  font-size: 14px;
}

.detail-meta .icon {
  margin-right: 6px;
}

.detail-content {
  padding: 40px;
  font-size: 16px;
  line-height: 1.9;
  color: #c0d4ff;
}

.detail-content p {
  text-indent: 2em;
}

/* ==========================================
   评论区
   ========================================== */
.detail-comments {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 20px;
  padding: 30px;
}

.comments-title {
  font-size: 20px;
  color: #ffd370;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-form {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.comment-avatar {
  width: 44px;
  height: 44px;
  background: rgba(255, 211, 112, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.comment-input-wrapper {
  flex: 1;
}

.comment-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.comment-login-tip {
  background: rgba(255, 211, 112, 0.05);
  border: 1px solid rgba(255, 211, 112, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: #8898bb;
  margin-bottom: 25px;
}

.comment-login-tip span {
  margin-right: 15px;
}

.comment-empty {
  text-align: center;
  color: #5a6a90;
  padding: 40px 0;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-item {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 211, 112, 0.08);
}

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

.comment-body {
  flex: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.comment-author {
  color: #ffd370;
  font-weight: 500;
}

.comment-time {
  color: #5a6a90;
  font-size: 13px;
}

.comment-delete {
  margin-left: auto;
}

.comment-text {
  color: #c0d4ff;
  line-height: 1.7;
}

/* ==========================================
   个人中心
   ========================================== */
.user-profile-card {
  background: linear-gradient(135deg, rgba(255, 211, 112, 0.1), rgba(17, 26, 46, 0.8));
  border: 1px solid rgba(255, 211, 112, 0.2);
  border-radius: 20px;
  padding: 35px;
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
}

.profile-avatar {
  width: 90px;
  height: 90px;
  background: rgba(255, 211, 112, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.profile-name {
  font-size: 24px;
  color: #ffd370;
  margin-bottom: 8px;
}

.profile-id {
  color: #5a6a90;
  font-size: 14px;
  margin-bottom: 10px;
}

.profile-badge .badge {
  display: inline-block;
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  color: #111;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.user-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  padding: 25px;
  text-align: center;
}

.stat-card .stat-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.stat-card .stat-num {
  font-size: 28px;
  font-weight: bold;
  color: #ffd370;
  margin-bottom: 5px;
}

.stat-card .stat-label {
  color: #8898bb;
  font-size: 14px;
}

.user-menu {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 25px;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  transition: background 0.3s;
  border-bottom: 1px solid rgba(255, 211, 112, 0.08);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background: rgba(255, 211, 112, 0.05);
}

.menu-icon {
  font-size: 22px;
  margin-right: 15px;
}

.menu-text {
  flex: 1;
  color: #c0d4ff;
}

.menu-arrow {
  color: #5a6a90;
  transition: transform 0.3s;
}

.menu-item:hover .menu-arrow {
  transform: translateX(5px);
  color: #ffd370;
}

.logout-section {
  padding: 0 20px;
}

.user-unlogin {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 20px;
  padding: 60px;
  text-align: center;
}

.unlogin-icon {
  font-size: 80px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.user-unlogin h3 {
  color: #ffd370;
  font-size: 24px;
  margin-bottom: 10px;
}

.user-unlogin p {
  color: #8898bb;
  margin-bottom: 25px;
}

.unlogin-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* ==========================================
   社区统计
   ========================================== */
.community-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 30px 0;
  margin-bottom: 20px;
}

.community-stats .stat-item {
  text-align: center;
}

.community-stats .stat-num {
  font-size: 32px;
  font-weight: bold;
  color: #ffd370;
}

.community-stats .stat-label {
  color: #8898bb;
  font-size: 14px;
}

/* ==========================================
   课程卡片
   ========================================== */
.course-card .course-cover {
  position: relative;
}

.course-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 211, 112, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #111;
  opacity: 0;
  transition: opacity 0.3s;
}

.content-card:hover .course-play {
  opacity: 1;
}

.course-info {
  margin-top: 15px;
}

.course-badge {
  display: inline-block;
  background: rgba(255, 211, 112, 0.15);
  color: #ffd370;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
}

/* ==========================================
   Element Plus 组件覆盖
   ========================================== */
.el-button--primary {
  background: linear-gradient(90deg, #ffb74d, #ffd370) !important;
  border: none !important;
  color: #111 !important;
  font-weight: 500;
}

.el-button--primary:hover {
  opacity: 0.9;
}

.el-input__wrapper {
  background: rgba(26, 37, 64, 0.8) !important;
  box-shadow: none !important;
  border: 1px solid rgba(255, 211, 112, 0.2) !important;
}

.el-input__inner {
  color: #fff !important;
}

.el-input__inner::placeholder {
  color: #5a6a90 !important;
}

.el-textarea__inner {
  background: rgba(26, 37, 64, 0.8) !important;
  border: 1px solid rgba(255, 211, 112, 0.2) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.el-textarea__inner::placeholder {
  color: #5a6a90 !important;
}

.el-loading-mask {
  background: rgba(4, 11, 27, 0.9) !important;
}

/* ==========================================
   响应式
   ========================================== */
@media (max-width: 768px) {
  .navbar {
    padding: 0 15px;
  }
  
  .navbar .nav-menu {
    gap: 20px;
  }
  
  .navbar .logo {
    margin-right: 20px;
  }
  
  .banner-title {
    font-size: 28px;
  }
  
  .banner-desc {
    font-size: 15px;
  }
  
  .quick-nav-grid {
    gap: 30px;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .course-grid {
    grid-template-columns: 1fr;
  }
  
  .detail-cover {
    height: 250px;
  }
  
  .detail-header,
  .detail-content {
    padding: 25px;
  }
  
  .detail-title {
    font-size: 24px;
  }
  
  .user-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .community-stats {
    gap: 30px;
  }
  
  .container {
    width: 95%;
    padding: 30px 0;
  }
}

/* ==========================================
   个人中心 - 安全设置
   ========================================== */
.settings-section {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 30px;
}

.section-title {
  font-size: 18px;
  color: #ffd370;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 211, 112, 0.1);
}

.setting-item {
  padding: 15px 0;
}

.setting-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.setting-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c0d4ff;
}

.setting-icon {
  font-size: 20px;
}

.setting-value {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #5a6a90;
}

.setting-form {
  margin-top: 15px;
}

.form-row {
  margin-bottom: 10px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.text-warning {
  color: #e6a23c !important;
}

.badge.warning {
  background: linear-gradient(90deg, #e6a23c, #f56c6c) !important;
}

.profile-phone {
  color: #5a6a90;
  font-size: 14px;
  margin-bottom: 10px;
}

.edit-nickname {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================
   积分卡片样式
   ========================================== */
.credits-card {
  background: linear-gradient(135deg, rgba(255, 211, 112, 0.15), rgba(255, 183, 77, 0.1));
  border: 1px solid rgba(255, 211, 112, 0.25);
  border-radius: 16px;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.credits-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.credits-icon {
  font-size: 48px;
}

.credits-detail {
  display: flex;
  flex-direction: column;
}

.credits-label {
  color: #8898bb;
  font-size: 14px;
  margin-bottom: 5px;
}

.credits-num {
  font-size: 32px;
  font-weight: bold;
  color: #ffd370;
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.credits-btn {
  background: linear-gradient(90deg, #ffd370, #ffb74d) !important;
  border: none !important;
  color: #111 !important;
  font-weight: 600;
  padding: 12px 25px !important;
  border-radius: 25px !important;
}

.credits-btn span {
  margin-right: 6px;
}

/* 充值套餐 */
.recharge-packages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.package-item {
  background: rgba(26, 37, 64, 0.6);
  border: 2px solid rgba(255, 211, 112, 0.15);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.package-item:hover {
  border-color: rgba(255, 211, 112, 0.4);
  background: rgba(255, 211, 112, 0.05);
}

.package-item.selected {
  border-color: #ffd370;
  background: rgba(255, 211, 112, 0.1);
}

.package-name {
  color: #8898bb;
  font-size: 13px;
  margin-bottom: 10px;
}

.package-credits {
  margin-bottom: 8px;
}

.package-credits .credits-num {
  font-size: 28px;
}

.package-credits .credits-unit {
  color: #8898bb;
  font-size: 13px;
  margin-left: 4px;
}

.gift-badge {
  display: inline-block;
  background: linear-gradient(90deg, #52c41a, #73d13d);
  color: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
  margin-left: 8px;
}

.package-price {
  font-size: 20px;
  font-weight: bold;
  color: #ffd370;
}

.recharge-tip {
  background: rgba(255, 211, 112, 0.05);
  border-radius: 8px;
  padding: 15px;
  color: #8898bb;
  font-size: 13px;
}

.recharge-tip p {
  margin: 0;
}

/* ==========================================
   资产集市页面 - 缩略图网格
   ========================================== */
.marketplace-banner {
  background: linear-gradient(135deg, rgba(255, 211, 112, 0.15), rgba(17, 26, 46, 0.8));
  border-bottom: 1px solid rgba(255, 211, 112, 0.12);
  padding: 30px 0;
  margin-bottom: 30px;
}

.marketplace-banner h1 {
  font-size: 28px;
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.marketplace-banner p {
  color: #8898bb;
  font-size: 14px;
}

/* 筛选区 */
.filter-section {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 25px;
}

.category-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 211, 112, 0.15);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  color: #8898bb;
  font-size: 14px;
}

.category-item:hover {
  background: rgba(255, 211, 112, 0.1);
  color: #fff;
}

.category-item.active {
  background: linear-gradient(90deg, rgba(255, 211, 112, 0.3), rgba(255, 183, 77, 0.2));
  border-color: rgba(255, 211, 112, 0.4);
  color: #ffd370;
}

.cat-icon {
  font-size: 18px;
}

.search-bar {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* 商品网格 - 缩略图模式 */
.market-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.market-card {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.market-card:hover {
  border-color: rgba(255, 211, 112, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.market-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: rgba(26, 37, 64, 0.8);
}

.market-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.market-card:hover .market-cover img {
  transform: scale(1.05);
}

.market-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #5a6a90;
}

.market-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.market-card:hover .market-cover-overlay {
  opacity: 1;
}

.view-btn {
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  color: #111;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.market-info {
  padding: 15px;
}

.market-title {
  font-size: 14px;
  color: #fff;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.market-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #5a6a90;
  font-size: 12px;
  margin-bottom: 10px;
}

.market-author {
  color: #8898bb;
}

.market-stats {
  font-size: 11px;
}

.market-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tag {
  background: rgba(255, 211, 112, 0.1);
  color: #ffd370;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
}

.market-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.market-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.market-price .price {
  font-size: 18px;
  font-weight: bold;
  color: #ffd370;
}

.market-price .original {
  font-size: 12px;
  color: #5a6a90;
  text-decoration: line-through;
}

.market-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-btn {
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.2s;
}

.action-btn:hover {
  transform: scale(1.2);
}

.action-btn.active {
  color: #f56c6c;
}

/* 响应式 */
@media (max-width: 1200px) {
  .market-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .market-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .market-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .category-filter {
    gap: 8px;
  }
  
  .category-item {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .search-bar {
    flex-wrap: wrap;
  }
}

/* ==========================================
   我的作品页面 - mp开头避免冲突
   ========================================== */
.my-products-page {
  padding-bottom: 80px;
}

/* Tab导航 */
.mp-tabs {
  display: flex;
  gap: 12px;
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  padding: 8px;
  margin-bottom: 30px;
}

.mp-tab-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  color: #8898bb;
  font-size: 15px;
}

.mp-tab-item:hover {
  background: rgba(255, 211, 112, 0.08);
  color: #fff;
}

.mp-tab-item.active {
  background: linear-gradient(90deg, rgba(255, 211, 112, 0.2), rgba(255, 183, 77, 0.15));
  color: #ffd370;
  border: 1px solid rgba(255, 211, 112, 0.3);
}

.mp-tab-icon {
  font-size: 20px;
}

.mp-tab-text {
  font-weight: 500;
}

.mp-tab-count {
  background: rgba(255, 211, 112, 0.3);
  color: #ffd370;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 13px;
}

/* 状态筛选 */
.mp-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.mp-filter-label {
  color: #8898bb;
  font-size: 14px;
}

.mp-filter-item {
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  color: #8898bb;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
}

.mp-filter-item:hover,
.mp-filter-item.active {
  background: rgba(255, 211, 112, 0.15);
  color: #ffd370;
}

.mp-filter-item.warning {
  background: rgba(230, 162, 60, 0.15);
  color: #e6a23c;
}

.mp-filter-item.success {
  background: rgba(82, 196, 26, 0.15);
  color: #52c41a;
}

.mp-filter-item.info {
  background: rgba(96, 125, 139, 0.15);
  color: #78909c;
}

.mp-filter-item.danger {
  background: rgba(245, 108, 108, 0.15);
  color: #f56c6c;
}

/* 作品列表 */
.mp-product-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mp-product-item {
  display: flex;
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.mp-product-item:hover {
  border-color: rgba(255, 211, 112, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mp-product-cover {
  width: 200px;
  height: 160px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.mp-product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-product-cover-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(26, 37, 64, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #5a6a90;
}

.mp-product-cover-placeholder span {
  font-size: 40px;
  margin-bottom: 8px;
}

.mp-product-cover-placeholder p {
  font-size: 13px;
}

.mp-product-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
}

.mp-product-status.warning {
  background: rgba(230, 162, 60, 0.9);
  color: #fff;
}

.mp-product-status.success {
  background: rgba(82, 196, 26, 0.9);
  color: #fff;
}

.mp-product-status.info {
  background: rgba(96, 125, 139, 0.9);
  color: #fff;
}

.mp-product-status.danger {
  background: rgba(245, 108, 108, 0.9);
  color: #fff;
}

.mp-product-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.mp-product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mp-product-title {
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  flex: 1;
  margin-right: 15px;
}

.mp-product-category {
  background: rgba(255, 211, 112, 0.1);
  color: #ffd370;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  flex-shrink: 0;
}

.mp-product-desc {
  color: #8898bb;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mp-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.mp-product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.mp-price-current {
  font-size: 24px;
  font-weight: bold;
  color: #ffd370;
}

.mp-price-original {
  font-size: 14px;
  color: #5a6a90;
  text-decoration: line-through;
}

.mp-product-stats {
  display: flex;
  gap: 20px;
  color: #5a6a90;
  font-size: 13px;
}

.mp-reject-box {
  background: rgba(245, 108, 108, 0.1);
  border: 1px solid rgba(245, 108, 108, 0.3);
  border-radius: 8px;
  padding: 10px 15px;
  margin-bottom: 15px;
  color: #f56c6c;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mp-reject-icon {
  font-size: 16px;
}

.mp-product-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

/* 空状态 */
.mp-empty {
  text-align: center;
  padding: 80px 20px;
  background: rgba(17, 26, 46, 0.4);
  border: 1px dashed rgba(255, 211, 112, 0.2);
  border-radius: 16px;
}

.mp-empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.mp-empty p {
  color: #8898bb;
  font-size: 16px;
  margin-bottom: 20px;
}

/* 加载状态 */
.mp-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px;
  color: #8898bb;
}

/* 分页 */
.mp-pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* 浮动上传按钮 */
.mp-upload-btn {
  position: fixed;
  right: 40px;
  bottom: 40px;
  background: linear-gradient(135deg, #ffd370, #ffb74d);
  color: #111;
  padding: 14px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 211, 112, 0.4);
  transition: all 0.3s;
  z-index: 100;
}

.mp-upload-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 211, 112, 0.5);
}

.mp-upload-btn span {
  font-size: 18px;
  margin-right: 6px;
}

/* 订单页面 */
.mp-order-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 211, 112, 0.1);
  padding-bottom: 15px;
}

.mp-order-tab {
  color: #8898bb;
  font-size: 15px;
  cursor: pointer;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

.mp-order-tab:hover {
  color: #fff;
}

.mp-order-tab.active {
  color: #ffd370;
  font-weight: 500;
}

.mp-order-tab.active::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffd370, #ffb74d);
}

.mp-order-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mp-order-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 12px;
  padding: 20px;
}

.mp-order-product {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 200px;
}

.mp-order-product img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.mp-order-product-info {
  flex: 1;
}

.mp-order-title {
  color: #fff;
  font-size: 14px;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-order-price {
  color: #ffd370;
  font-weight: 500;
}

.mp-order-info {
  flex: 1;
  color: #8898bb;
  font-size: 13px;
}

.mp-order-no {
  margin-bottom: 5px;
}

.mp-order-party {
  margin-bottom: 5px;
}

.mp-order-time {
  color: #5a6a90;
}

.mp-order-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 100px;
}

.mp-status-tag {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.mp-status-tag.warning {
  background: rgba(230, 162, 60, 0.2);
  color: #e6a23c;
}

.mp-status-tag.success {
  background: rgba(82, 196, 26, 0.2);
  color: #52c41a;
}

.mp-status-tag.info {
  background: rgba(96, 125, 139, 0.2);
  color: #78909c;
}

.mp-order-actions {
  display: flex;
  gap: 8px;
}

/* 表单样式 */
.mp-form .el-input-number {
  width: 150px;
}

.mp-form-unit {
  margin-left: 10px;
  color: #8898bb;
  font-size: 13px;
}

.mp-cover-upload {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-cover-preview {
  width: 200px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 211, 112, 0.2);
}

.mp-cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-cover-btn {
  padding: 20px;
  background: rgba(26, 37, 64, 0.5);
  border-radius: 8px;
  text-align: center;
}

.mp-cover-tip {
  display: flex;
  gap: 10px;
}

/* 响应式 */
@media (max-width: 768px) {
  .mp-tabs {
    flex-direction: column;
    gap: 4px;
  }
  
  .mp-tab-item {
    justify-content: flex-start;
    padding: 12px 16px;
  }
  
  .mp-product-item {
    flex-direction: column;
  }
  
  .mp-product-cover {
    width: 100%;
    height: 180px;
  }
  
  .mp-product-header {
    flex-direction: column;
    gap: 10px;
  }
  
  .mp-product-title {
    margin-right: 0;
  }
  
  .mp-product-actions {
    flex-wrap: wrap;
  }
  
  .mp-upload-btn {
    right: 20px;
    bottom: 20px;
    padding: 12px 20px;
  }
  
  .mp-order-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .mp-order-product {
    width: 100%;
  }
  
  .mp-order-status {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================
   创作社区页面
   ========================================== */
.community-page {
  padding-bottom: 40px;
}

/* ==========================================
   底部栏
   ========================================== */
.site-footer {
  background: rgba(10, 21, 43, 0.95);
  border-top: 1px solid rgba(255, 211, 112, 0.15);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-content {
  text-align: center;
  color: #8898bb;
  font-size: 14px;
  line-height: 1.8;
}

.footer-content a {
  color: #ffd370;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

.footer-record {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 211, 112, 0.1);
  font-size: 12px;
  color: #666;
}

.footer-record a {
  color: #666;
}

/* ==========================================
   底部版块样式
   ========================================== */
.footer-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 211, 112, 0.1);
}

.footer-block {
  min-width: 0;
}

.footer-block-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffd370;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 211, 112, 0.3);
}

/* 关于我们卡片样式 - 参考AI TOP100 */
.footer-about-block {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .footer-about-block {
    grid-column: span 1;
  }
}

.footer-about-card {
  background: linear-gradient(135deg, rgba(255, 211, 112, 0.08) 0%, rgba(255, 211, 112, 0.02) 100%);
  border: 1px solid rgba(255, 211, 112, 0.15);
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd370 0%, #ffaa00 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.footer-about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 211, 112, 0.3);
  box-shadow: 0 8px 24px rgba(255, 211, 112, 0.1);
}

.footer-about-card:hover::before {
  opacity: 1;
}

.footer-about-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-about-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  border: 1px solid rgba(255, 211, 112, 0.1);
}

.footer-about-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 1px solid rgba(255, 211, 112, 0.1);
}

.footer-about-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  flex: 1;
}

.footer-about-desc {
  color: #8898bb;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.footer-about-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffd370;
  font-size: 14px;
  font-weight: 500;
}

.footer-about-link .arrow {
  transition: transform 0.3s;
}

.footer-about-card:hover .footer-about-link .arrow {
  transform: translateX(4px);
}

.footer-partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 211, 112, 0.15);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s;
}

.footer-partner-item:hover {
  border-color: rgba(255, 211, 112, 0.4);
  transform: translateY(-2px);
}

.footer-partner-item img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.footer-partner-item span {
  font-size: 12px;
  color: #8898bb;
  padding: 0 8px;
  text-align: center;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-qrcode {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 211, 112, 0.2);
}

.footer-contact-info {
  flex: 1;
  min-width: 0;
}

.footer-contact-title {
  font-size: 14px;
  color: #fff;
  margin-bottom: 4px;
}

.footer-contact-desc {
  font-size: 12px;
  color: #8898bb;
  line-height: 1.5;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link-item {
  color: #8898bb;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.footer-link-item:hover {
  color: #ffd370;
  transform: translateX(4px);
}

.footer-link-item::before {
  content: '';
  width: 4px;
  height: 4px;
  background: rgba(255, 211, 112, 0.5);
  border-radius: 50%;
  margin-right: 8px;
}

/* 快速链接卡片样式 - 与关于我们一致 */
.footer-link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.footer-link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 211, 112, 0.08) 0%, rgba(255, 211, 112, 0.02) 100%);
  border: 1px solid rgba(255, 211, 112, 0.15);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s;
  text-align: center;
  overflow: hidden;
}

.footer-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd370 0%, #ffaa00 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.footer-link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 211, 112, 0.3);
  box-shadow: 0 8px 24px rgba(255, 211, 112, 0.1);
}

.footer-link-card:hover::before {
  opacity: 1;
}

.footer-link-card.no-link {
  cursor: default;
}

.footer-link-card.no-link:hover {
  transform: none;
  box-shadow: none;
}

.footer-link-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.footer-link-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 8px;
}

.footer-link-placeholder {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 10px;
}

.footer-link-info {
  flex: 1;
  width: 100%;
}

.footer-link-title {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}

.footer-link-desc {
  font-size: 12px;
  color: #8898bb;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.footer-link-url {
  font-size: 11px;
  color: #409eff;
  margin-top: 8px;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .footer-blocks {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .footer-blocks {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 30px 0 20px;
  }
}

/* ==========================================
   关于我们页面样式
   ========================================== */
.about-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #0a1428 0%, #0d1a30 100%);
}

.about-header {
  background: linear-gradient(135deg, rgba(255, 211, 112, 0.1) 0%, rgba(255, 211, 112, 0.02) 100%);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 211, 112, 0.1);
}

.about-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffd370;
  margin-bottom: 16px;
}

.about-subtitle {
  font-size: 18px;
  color: #8898bb;
  margin: 0;
}

.about-main {
  margin-top: 60px;
  margin-bottom: 60px;
}

.about-main-card {
  background: linear-gradient(135deg, rgba(255, 211, 112, 0.08) 0%, rgba(255, 211, 112, 0.02) 100%);
  border: 1px solid rgba(255, 211, 112, 0.15);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.about-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd370 0%, #ffaa00 100%);
}

.about-main-header {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.about-main-logo {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border: 2px solid rgba(255, 211, 112, 0.2);
  flex-shrink: 0;
}

.about-main-logo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  flex-shrink: 0;
}

.about-main-info {
  flex: 1;
  min-width: 0;
}

.about-main-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.about-main-desc {
  font-size: 16px;
  color: #8898bb;
  line-height: 2;
  margin: 0;
}

.about-extra {
  margin-bottom: 60px;
}

.about-section-title {
  font-size: 24px;
  font-weight: 600;
  color: #ffd370;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 211, 112, 0.2);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.about-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 211, 112, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.about-card-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.about-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.about-card-content {
  font-size: 14px;
  color: #8898bb;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-card-link {
  color: #ffd370;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
}

.about-card-link:hover {
  color: #ffaa00;
}

.about-contact {
  margin-bottom: 60px;
}

.about-contact-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  font-size: 24px;
}

.contact-item span:last-child {
  color: #8898bb;
  font-size: 15px;
}

.about-footer {
  text-align: center;
  padding-bottom: 60px;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .about-header {
    padding: 40px 0;
  }

  .about-title {
    font-size: 32px;
  }

  .about-main-card {
    padding: 24px;
  }

  .about-main-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-main-logo {
    width: 80px;
    height: 80px;
  }

  .about-main-title {
    font-size: 24px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }
}

/* 工具栏 */
.community-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* 帖子卡片网格布局 */
.posts-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.post-card {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  border-color: rgba(255, 211, 112, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* 视频封面 */
.post-video-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(26, 37, 64, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  font-size: 60px;
  opacity: 0.5;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 211, 112, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #111;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* 无媒体占位 */
.post-media-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 37, 64, 0.8);
  font-size: 60px;
  opacity: 0.5;
}

/* 图片网格 */
.post-images {
  padding: 0;
}

.images-grid {
  display: grid;
  gap: 4px;
  padding: 0;
}

.images-grid.images-1 {
  grid-template-columns: 1fr;
}

.images-grid.images-2 {
  grid-template-columns: 1fr 1fr;
}

.images-grid.images-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.images-grid .image-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(26, 37, 64, 0.8);
}

.images-grid .image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-card:hover .image-item img {
  transform: scale(1.05);
}

/* 帖子内容 */
.post-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-title {
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-content {
  color: #8898bb;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* 用户信息和互动 */
.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 211, 112, 0.08);
  margin-top: auto;
}

.post-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar,
.user-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 211, 112, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  color: #c0d4ff;
  font-size: 14px;
}

.post-meta {
  display: flex;
  gap: 20px;
  color: #5a6a90;
  font-size: 13px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.meta-item .liked {
  animation: heartbeat 0.3s ease-in-out;
}

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

/* 加载更多 */
.load-more {
  text-align: center;
  padding: 30px;
  color: #8898bb;
}

/* 空状态 */
.empty-box {
  text-align: center;
  padding: 80px 20px;
  background: rgba(17, 26, 46, 0.4);
  border: 1px dashed rgba(255, 211, 112, 0.2);
  border-radius: 16px;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-box p {
  color: #8898bb;
  font-size: 16px;
  margin-bottom: 10px;
}

.empty-hint {
  color: #5a6a90;
  font-size: 14px !important;
  margin-bottom: 20px;
}

/* ==========================================
   帖子详情页
   ========================================== */
.post-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0 60px;
}

/* 加载状态 */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: #8898bb;
}

.loading-spinner {
  font-size: 48px;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

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

.loading-container p {
  font-size: 16px;
}

/* 错误/不存在状态 */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
}

.not-found-icon {
  font-size: 80px;
  margin-bottom: 20px;
  opacity: 0.6;
}

.not-found p {
  color: #8898bb;
  font-size: 18px;
  margin-bottom: 24px;
}

.back-bar {
  margin-bottom: 20px;
}

.post-main {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
}

/* 帖子头部 */
.post-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.post-header .user-avatar,
.post-header .user-avatar-placeholder {
  width: 48px;
  height: 48px;
}

.user-info {
  flex: 1;
}

.user-info .user-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.post-time {
  color: #5a6a90;
  font-size: 13px;
}

/* 详情标题 */
.post-detail .post-title {
  font-size: 24px;
  margin-bottom: 20px;
}

/* 帖子详情页评论区域 */
.post-detail .detail-content {
  padding: 0;
}

.post-detail .comments-section {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  padding: 30px;
  margin-top: 20px;
}

.post-detail .comments-section .section-title {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 211, 112, 0.1);
}

.post-detail .comments-list {
  margin-top: 20px;
}

.post-detail .comment-item {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 211, 112, 0.05);
}

.post-detail .comment-item:last-child {
  border-bottom: none;
}

.post-detail .comment-actions {
  margin-top: 8px;
}

.post-detail .empty-comments {
  text-align: center;
  color: #5a6a90;
  padding: 30px 0;
}

/* 视频容器 */
.video-container {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

/* 图片网格 */
.post-detail .images-grid {
  margin-bottom: 20px;
}

/* 文字内容 */
.post-text {
  color: #c0d4ff;
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 20px;
}

/* 标签 */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.post-tags .tag {
  background: rgba(255, 211, 112, 0.1);
  color: #ffd370;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 13px;
}

/* 互动栏 */
.互动-bar {
  display: flex;
  gap: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 211, 112, 0.08);
}

.互动-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8898bb;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s;
}

.互动-item:hover {
  color: #ffd370;
}

/* 评论区域 */
.comments-section {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  padding: 30px;
}

.comments-section .section-title {
  margin-bottom: 25px;
}

/* 评论输入框 */
.comment-input-box {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 211, 112, 0.08);
}

/* 评论列表 */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.comment-item {
  display: flex;
  gap: 15px;
}

.comment-avatar,
.comment-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.comment-body {
  flex: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.comment-name {
  color: #c0d4ff;
  font-size: 14px;
  font-weight: 500;
}

.comment-time {
  color: #5a6a90;
  font-size: 12px;
}

.comment-text {
  color: #8898bb;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.comment-actions {
  display: flex;
  gap: 15px;
}

/* 回复列表 */
.replies-list {
  margin-top: 15px;
  padding-left: 20px;
  border-left: 2px solid rgba(255, 211, 112, 0.1);
}

.reply-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 211, 112, 0.05);
}

.reply-item:last-child {
  border-bottom: none;
}

.reply-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.reply-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.reply-body {
  flex: 1;
}

.reply-to {
  color: #ffd370;
  font-size: 13px;
}

/* 回复框 */
.reply-box {
  margin-top: 12px;
  padding: 12px;
  background: rgba(26, 37, 64, 0.5);
  border-radius: 8px;
}

.reply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

/* 空评论 */
.empty-comments {
  text-align: center;
  padding: 40px;
  color: #5a6a90;
  font-size: 14px;
}

/* 发布表单 */
.post-form {
  padding: 10px 0;
}

.image-upload-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.uploaded-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.uploaded-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uploaded-image .remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: rgba(245, 108, 108, 0.9);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}

.upload-btn {
  width: 100px;
  height: 100px;
  border: 2px dashed rgba(255, 211, 112, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #5a6a90;
  font-size: 32px;
  transition: all 0.3s;
}

.upload-btn:hover {
  border-color: #ffd370;
  color: #ffd370;
}

.upload-btn.loading {
  pointer-events: none;
  opacity: 0.6;
}

.upload-tip {
  color: #5a6a90;
  font-size: 12px;
  margin-top: 8px;
}

/* 响应式 */
@media (max-width: 768px) {
  .community-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar {
    flex-wrap: wrap;
  }

  /* 移动端网格布局 */
  .posts-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .post-body {
    padding: 12px;
  }

  .post-title {
    font-size: 14px;
  }

  .post-content {
    -webkit-line-clamp: 2;
    font-size: 12px;
  }

  .post-media-placeholder {
    height: 120px;
  }

  .post-video-cover {
    aspect-ratio: 1 / 1;
  }

  .play-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .post-footer {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .post-meta {
    width: 100%;
    justify-content: flex-start;
    gap: 15px;
  }

  .images-grid.images-3 {
    grid-template-columns: 1fr 1fr;
  }

  .post-main,
  .comments-section {
    padding: 20px;
  }

  .post-detail .post-title {
    font-size: 20px;
  }
}

/* 超小屏幕 */
@media (max-width: 480px) {
  .posts-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   我的商单页面
   ========================================== */
.my-orders-page {
  padding-bottom: 80px;
}

.my-orders-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.my-orders-page .page-header h2 {
  font-size: 24px;
  color: #ffd370;
}

.order-tabs {
  margin-bottom: 25px;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.applied-card,
.published-card {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.applied-info h4,
.published-info h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
}

.applied-meta,
.published-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 10px;
}

.applied-meta .status,
.published-meta .status {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.applied-meta .status.pending,
.published-meta .status.active {
  background: rgba(64, 158, 255, 0.2);
  color: #409eff;
}

.applied-meta .status.approved,
.published-meta .status.ended {
  background: rgba(103, 194, 58, 0.2);
  color: #67c23a;
}

.applied-meta .status.rejected,
.published-meta .status.canceled {
  background: rgba(245, 108, 108, 0.2);
  color: #f56c6c;
}

.published-meta .budget {
  color: #ffd370;
  font-size: 14px;
}

.published-meta .count {
  color: #8898bb;
  font-size: 13px;
}

.applied-meta .time,
.published-desc,
.applied-desc {
  color: #8898bb;
  font-size: 13px;
  line-height: 1.5;
}

.published-deadline {
  margin-top: 8px;
  color: #666;
  font-size: 12px;
}

.applied-actions,
.published-actions {
  flex-shrink: 0;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
}

/* ==========================================
   AI创作中心 - Hero Banner
   ========================================== */
.ai-hero-banner {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  cursor: pointer;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ai-hero-banner:hover .hero-image {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  display: flex;
  align-items: center;
  padding: 40px;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

.hero-btn {
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  color: #111;
  border: none;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 211, 112, 0.4);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 112, 0.5);
}

/* ==========================================
   AI创作中心 - 功能介绍
   ========================================== */
.ai-features {
  margin-bottom: 40px;
}

.ai-features .section-header {
  margin-bottom: 25px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(255, 211, 112, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 40px;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 211, 112, 0.1);
  border-radius: 12px;
}

.feature-info {
  flex: 1;
}

.feature-title {
  font-size: 18px;
  color: #ffd370;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-content {
  color: #8898bb;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================
   响应式 - AI创作中心
   ========================================== */
@media (max-width: 768px) {
  .ai-hero-banner {
    height: 280px;
    border-radius: 12px;
    margin-bottom: 30px;
  }

  .hero-overlay {
    padding: 25px;
  }

  .hero-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .hero-btn {
    padding: 12px 28px;
    font-size: 14px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .feature-card {
    padding: 20px;
    flex-direction: column;
    gap: 15px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 32px;
  }

  .feature-title {
    font-size: 16px;
  }

  .feature-content {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .ai-hero-banner {
    height: 220px;
  }

  .hero-title {
    font-size: 20px;
  }

  .hero-btn {
    padding: 10px 24px;
    font-size: 13px;
  }
}

/* ==========================================
   快速链接详情页样式
   ========================================== */
.link-detail-page {
  min-height: calc(100vh - 70px);
  background: linear-gradient(180deg, #0a1428 0%, #0d1a30 100%);
}

.link-detail-nav {
  background: rgba(17, 26, 46, 0.6);
  border-bottom: 1px solid rgba(255, 211, 112, 0.1);
  padding: 20px 0;
}

.link-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.breadcrumb-home {
  color: #8898bb;
  cursor: pointer;
  transition: color 0.3s;
}

.breadcrumb-home:hover {
  color: #ffd370;
}

.breadcrumb-sep {
  color: #5a6a90;
}

.breadcrumb-current {
  color: #fff;
}

.link-detail-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

.link-detail-header {
  background: linear-gradient(135deg, rgba(255, 211, 112, 0.08) 0%, rgba(255, 211, 112, 0.02) 100%);
  border: 1px solid rgba(255, 211, 112, 0.15);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.link-detail-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd370 0%, #ffaa00 100%);
}

.link-detail-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.link-detail-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 211, 112, 0.1);
  border: 2px solid rgba(255, 211, 112, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
}

.link-detail-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 211, 112, 0.2);
  border-radius: 16px;
  padding: 10px;
  flex-shrink: 0;
}

.link-detail-icon-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 211, 112, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
}

.link-detail-info {
  flex: 1;
}

.link-detail-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.link-detail-desc {
  font-size: 16px;
  color: #8898bb;
  line-height: 1.8;
  margin: 0;
}

.link-detail-external-btn {
  position: absolute;
  top: 50px;
  right: 40px;
  background: linear-gradient(90deg, #ffd370, #ffb74d) !important;
  border: none !important;
  color: #111 !important;
  font-weight: 600;
  padding: 12px 24px !important;
  border-radius: 25px !important;
}

.link-detail-external-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 112, 0.4);
}

.external-icon {
  margin-left: 8px;
}

.link-detail-body {
  margin-bottom: 30px;
}

.link-detail-section {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 20px;
}

.link-detail-section-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffd370;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 211, 112, 0.1);
}

.link-detail-text {
  color: #c0d4ff;
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

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

.link-label {
  color: #8898bb;
  font-size: 14px;
}

.link-value {
  color: #409eff;
  font-size: 14px;
  text-decoration: none;
  word-break: break-all;
}

.link-value:hover {
  text-decoration: underline;
}

.link-detail-footer {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding-top: 20px;
}

.link-detail-empty {
  text-align: center;
  padding: 100px 20px;
}

.link-detail-empty .empty-icon {
  font-size: 80px;
  margin-bottom: 24px;
  opacity: 0.5;
}

.link-detail-empty h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 12px;
}

.link-detail-empty p {
  color: #8898bb;
  font-size: 16px;
  margin-bottom: 30px;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .link-detail-header {
    padding: 24px;
    position: relative;
  }

  .link-detail-icon-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .link-detail-icon,
  .link-detail-logo,
  .link-detail-icon-placeholder {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .link-detail-title {
    font-size: 24px;
  }

  .link-detail-desc {
    font-size: 14px;
  }

  .link-detail-external-btn {
    position: static;
    margin-top: 20px;
    width: 100%;
  }

  .link-detail-section {
    padding: 20px;
  }

  .link-detail-section-title {
    font-size: 18px;
  }

  .link-detail-footer {
    flex-direction: column;
  }

  .link-detail-footer .el-button {
    width: 100%;
  }

  .link-detail-empty h2 {
    font-size: 22px;
  }
}

/* ==========================================
   AI创作大赛页面
   ========================================== */
.contest-page {
  min-height: calc(100vh - 70px);
  padding-bottom: 40px;
}

.contest-page .page-header {
  background: linear-gradient(135deg, rgba(255, 211, 112, 0.08) 0%, rgba(255, 211, 112, 0.02) 100%);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  padding: 30px 35px;
  margin-bottom: 30px;
}

.page-title-area .page-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffd370;
  margin-bottom: 8px;
}

.page-subtitle {
  color: #8898bb;
  font-size: 15px;
  margin: 0;
}

/* 大赛卡片网格 */
.contest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.contest-card {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contest-card:hover {
  border-color: rgba(255, 211, 112, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* 封面区域 */
.contest-cover {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: rgba(26, 37, 64, 0.8);
}

.contest-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.contest-card:hover .contest-cover img {
  transform: scale(1.05);
}

/* 状态标签 */
.contest-status-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.tag-signing {
  background: rgba(74, 222, 128, 0.85);
  color: #064e3b;
}
.tag-ongoing {
  background: rgba(96, 165, 250, 0.85);
  color: #1e3a5f;
}
.tag-ended {
  background: rgba(156, 163, 176, 0.8);
  color: #374151;
}

/* 统计角标 */
.contest-stats-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 11px;
  color: #ddd;
  backdrop-filter: blur(6px);
}

/* 卡片信息区 */
.contest-info {
  padding: 18px 20px;
}

.contest-card-title {
  font-size: 17px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.contest-summary {
  color: #8898bb;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.contest-meta {
  display: flex;
  align-items: center;
}

.contest-date {
  color: #5a6a90;
  font-size: 12px;
}

/* 分页 */
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ==========================================
   AI创作大赛详情页
   ========================================== */
.contest-detail-page {
  min-height: calc(100vh - 70px);
  padding-bottom: 60px;
}

.detail-back {
  cursor: pointer;
  color: #8898bb;
  font-size: 14px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.detail-back:hover {
  color: #ffd370;
}

/* Banner */
/* ====== 大赛详情页 Banner（固定顶部）====== */
.detail-banner-top {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0;
}

.detail-banner-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-banner {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
}

.detail-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-fallback {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.banner-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2540 0%, #111a2e 100%);
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 35px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.detail-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  margin: 0;
  max-width: 70%;
}

.detail-status-badge {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 详情主体布局 */
.detail-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: flex-start;
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 区块通用样式 */
.detail-section {
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(255, 211, 112, 0.12);
  border-radius: 16px;
  padding: 28px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffd370;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 211, 112, 0.1);
}

.section-content {
  color: #c0d4ff;
  font-size: 15px;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}

.rich-text {
  white-space: normal;
}

.empty-text {
  color: #5a6a90;
}

/* 获奖名单 */
.prize-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prize-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(26, 37, 64, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 211, 112, 0.08);
}

.prize-rank {
  font-size: 28px;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 211, 112, 0.08);
  border-radius: 50%;
}

.rank-1 { background: linear-gradient(135deg, #ffd70033, #ffaa0022); }
.rank-2 { background: linear-gradient(135deg, #c0c0c033, #88888822); }
.rank-3 { background: linear-gradient(135deg, #cd7f3233, #a0522222); }

.prize-info {
  flex: 1;
}

.prize-name {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.prize-winner {
  color: #ffd370;
  font-size: 14px;
  margin-bottom: 4px;
}

.prize-desc {
  color: #8898bb;
  font-size: 13px;
}

/* 侧边栏 */
.sidebar-card {
  background: linear-gradient(135deg, rgba(17, 26, 46, 0.8) 0%, rgba(17, 26, 46, 0.5) 100%);
  border: 1px solid rgba(255, 211, 112, 0.15);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 80px;
}

.sidebar-status {
  text-align: center;
  padding: 20px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 211, 112, 0.1);
}

.status-label {
  color: #8898bb;
  font-size: 13px;
  margin-bottom: 6px;
}

.status-value {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.status-desc {
  color: #5a6a90;
  font-size: 12px;
}

.sidebar-timeline {
  margin-bottom: 18px;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 211, 112, 0.08);
}

.tl-label {
  color: #8898bb;
  font-size: 12px;
}

.tl-value {
  color: #c0d4ff;
  font-size: 13px;
}

.sidebar-fee {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 211, 112, 0.06);
  border-radius: 10px;
  margin-bottom: 18px;
}

.sidebar-fee.free {
  background: rgba(74, 222, 128, 0.06);
}

.fee-label {
  color: #8898bb;
  font-size: 13px;
}

.fee-value {
  color: #ffd370;
  font-size: 22px;
  font-weight: 700;
}

.free .fee-value {
  color: #4ade80;
  font-size: 18px;
}

.sidebar-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 0;
  margin-bottom: 20px;
  border-top: 1px solid rgba(255, 211, 112, 0.1);
  border-bottom: 1px solid rgba(255, 211, 112, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 22px;
  font-weight: 700;
  color: #ffd370;
  display: block;
}

.stat-label {
  color: #5a6a90;
  font-size: 12px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 211, 112, 0.15);
}

/* 操作按钮 */
.sidebar-action {
  margin-top: 8px;
}

.btn-register {
  width: 100%;
  padding: 14px 0;
  background: linear-gradient(90deg, #ffd370, #ffb74d);
  border: none;
  border-radius: 12px;
  color: #111;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 211, 112, 0.4);
}

.btn-login {
  background: linear-gradient(90deg, #409eff, #66b1ff);
  color: #fff;
}

.btn-disabled {
  width: 100%;
  padding: 14px 0;
  background: rgba(100, 116, 139, 0.3);
  border: 1px solid rgba(100, 116, 139, 0.2);
  border-radius: 12px;
  color: #5a6a90;
  font-size: 15px;
  cursor: not-allowed;
}

/* 支付弹窗 */
.pay-dialog-body p {
  color: #c0d4ff;
  margin-bottom: 12px;
  font-size: 15px;
}

.pay-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 211, 112, 0.06);
  border-radius: 10px;
  margin: 16px 0;
}

.amount-value {
  color: #ffd370;
  font-size: 28px;
  font-weight: 700;
}

.pay-hint {
  color: #8898bb !important;
  font-size: 13px !important;
}

/* 响应式适配 - 大赛页面 */
@media (max-width: 900px) {
  .detail-body {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }

  .detail-banner-top {
    height: 200px;
  }

  .detail-banner {
    height: 220px;
  }

  .detail-title {
    font-size: 22px;
    max-width: 60%;
  }
}

@media (max-width: 768px) {
  .contest-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .detail-banner-top {
    height: 200px;
    border-radius: 12px;
  }

  .detail-banner-top img {
    border-radius: 12px;
  }

  .contest-cover {
    height: 150px;
  }

  .contest-info {
    padding: 12px 14px;
  }

  .contest-card-title {
    font-size: 14px;
  }

  .contest-summary {
    font-size: 12px;
    -webkit-line-clamp: 1;
  }

  .contest-date {
    font-size: 11px;
  }

  .banner-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
  }

  .detail-title {
    max-width: 100%;
    font-size: 20px;
  }

  .detail-section {
    padding: 20px;
  }

  .section-content {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .contest-grid {
    grid-template-columns: 1fr;
  }

  .contest-cover {
    height: 180px;
  }

  .page-header {
    padding: 20px;
  }

  .page-title {
    font-size: 22px;
  }
}

/* ====================== 大赛详情 - 四Tab导航 ====================== */
.cd-tab-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1a2540, #0f1b33);
  border-bottom: 2px solid rgba(255,211,112,0.15);
  padding: 0 5%;
  position: sticky;
  top: 0;
  z-index: 100;
}
.cd-tabs { display: flex; gap: 4px; padding: 14px 0; }
.cd-tab {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  font-weight: 600;
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s;
}
.cd-tab:hover { color: #ffd370; }
.cd-tab.active {
  color: #ffd370;
  background: rgba(255,211,112,0.12);
  border-bottom: 2px solid #ffd370;
}
.cd-tab-extra { display: flex; align-items: center; gap: 10px; }
.vote-info { color: #c0d4ff; font-size: 13px; }
.vote-info strong { color: #4ade80; font-size: 18px; }
.btn-vote-toggle {
  padding: 6px 16px;
  border-radius: 6px;
  border: 1px solid #60a5fa;
  background: rgba(96,165,250,0.12);
  color: #60a5fa;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-vote-toggle:hover, .btn-vote-toggle.voted { background: #60a5fa; color: #fff; }
.btn-submit-work {
  padding: 7px 18px;
  border-radius: 6px;
  border: 1px solid #4ade80;
  background: rgba(74,222,128,0.12);
  color: #4ade80;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-submit-work:hover { background: #4ade80; color: #111; }
.cd-content { max-width: 1200px; margin: 0 auto; }

/* 提交按钮 */
.btn-submit {
  width: 100%;
  padding: 11px 0;
  border-radius: 8px;
  border: 1px solid #60a5fa;
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59,130,246,0.35); }
.btn-submit-work-inline {
  padding: 7px 18px;
  border-radius: 6px;
  border: 1px solid #60a5fa;
  background: rgba(96,165,250,0.12);
  color: #60a5fa;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-submit-work-inline:hover { background: #60a5fa; color: #fff; }

/* ========== 参赛作品列表 ========== */
.works-toolbar {
  display: flex;
  gap: 10px;
  padding: 20px 30px;
  flex-wrap: wrap;
  align-items: center;
}
.work-search {
  flex: 1;
  min-width: 160px;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,211,112,0.2);
  background: rgba(17,26,46,0.6);
  color: #fff;
  font-size: 14px;
  outline: none;
}
.work-search:focus { border-color: #ffd370; }
.work-sort-sel {
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,211,112,0.2);
  background: rgba(17,26,46,0.6);
  color: #c0d4ff;
  font-size: 14px;
  outline: none;
}
.btn-search {
  padding: 9px 22px;
  border-radius: 8px;
  border: 1px solid rgba(255,211,112,0.3);
  background: rgba(255,211,112,0.12);
  color: #ffd370;
  cursor: pointer;
  font-size: 14px;
}
.btn-search:hover { background: rgba(255,211,112,0.25); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 30px 30px;
}
.work-card {
  background: linear-gradient(135deg, rgba(17,26,46,0.85) 0%, rgba(17,26,46,0.55) 100%);
  border: 1px solid rgba(255,211,112,0.1);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  border-color: rgba(255,211,112,0.25);
}
.work-cover-wrap { position: relative; width: 100%; height: 180px; overflow: hidden; }
.work-cover { width: 100%; height: 100%; object-fit: cover; }
.work-cover-placeholder {
  width: 100%; height: 180px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a2540, #0f1b33);
  color: #ffd370;
  font-size: 48px;
  font-weight: bold;
}
.work-vote-count {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(0,0,0,0.65);
  color: #ffd370;
  font-size: 13px;
  font-weight: 600;
}
.work-info { padding: 14px 16px; }
.work-title { font-size: 16px; font-weight: 700; color: #e8f0ff; margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.work-author { font-size: 12px; color: #8898bb; margin: 0 0 6px; }
.work-desc { font-size: 13px; color: #8898bb; line-height: 1.5; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work-footer { display: flex; justify-content: space-between; align-items: center; }
.work-time { font-size: 11px; color: #5a6a90; }
.btn-vote {
  padding: 5px 16px;
  border-radius: 6px;
  border: 1px solid #4ade80;
  background: transparent;
  color: #4ade80;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-vote:hover:not(:disabled) { background: #4ade80; color: #111; }
.btn-vote.voted, .btn-vote:disabled { border-color: #5a6a90; color: #5a6a90; cursor: default; }
.empty-works { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: #5a6a90; font-size: 16px; }
.works-pager { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 16px 0 40px; }
.works-pager button {
  padding: 6px 18px;
  border-radius: 6px;
  border: 1px solid rgba(255,211,112,0.3);
  background: transparent;
  color: #ffd370;
  cursor: pointer;
}
.works-pager button:hover:not(:disabled) { background: rgba(255,211,112,0.15); }
.works-pager button:disabled { opacity: 0.4; cursor: default; }
.works-pager span { color: #8898bb; font-size: 14px; }

/* ========== 获奖公示 ========== */
.award-section { padding: 30px; }
.award-header h2 { color: #ffd370; font-size: 24px; margin-bottom: 8px; }
.award-publish-time { color: #8898bb; font-size: 13px; margin-bottom: 20px; }
.award-body {
  background: rgba(17,26,46,0.6);
  border: 1px solid rgba(255,211,112,0.1);
  border-radius: 12px;
  padding: 28px;
  color: #d0dde8;
  line-height: 1.8;
  font-size: 15px;
}
.award-body img { max-width: 100%; border-radius: 8px; margin: 12px 0; }
.empty-state-sm { text-align: center; padding: 80px 0; color: #5a6a90; font-size: 16px; }

/* ========== 获奖作品 ========== */
.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 0 30px 40px;
}
.winner-card {
  background: linear-gradient(135deg, rgba(17,26,46,0.9), rgba(26,37,64,0.75));
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.winner-rank-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 5;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}
.winner-rank-badge.rank-1 { background: linear-gradient(135deg,#FFD700,#FFA500); color: #111; }
.winner-rank-badge.rank-2 { background: linear-gradient(135deg,#C0C0C0,#A0A0A0); color: #111; }
.winner-rank-badge.rank-3 { background: linear-gradient(135deg,#CD7F32,#B8860B); color: #fff; }
.winner-rank-badge.rank-4 { background: rgba(96,165,250,0.25); color: #60a5fa; border: 1px solid #60a5fa; }
.winner-cover-wrap { height: 200px; overflow: hidden; }
.winner-cover { width: 100%; height: 100%; object-fit: cover; }
.winner-cover-placeholder {
  width: 100%; height: 200px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a2540, #0f1b33);
  color: #ffd370;
  font-size: 56px;
  font-weight: bold;
}
.winner-body { padding: 18px 20px; }
.winner-title { font-size: 18px; font-weight: 700; color: #ffd370; margin: 0 0 8px; }
.winner-author { font-size: 13px; color: #8898bb; margin: 0 0 10px; }
.winner-desc { font-size: 14px; color: #a0b4cc; line-height: 1.6; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.winner-stats { display: flex; gap: 16px; font-size: 13px; color: #6a7a94; }

/* ========== 作品上传表单样式 ========== */
.upload-area {
  border: 2px dashed rgba(255,211,112,0.25);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.upload-area:hover { border-color: rgba(255,211,112,0.5); background: rgba(255,211,112,0.04); }
.upload-preview { max-width: 100%; max-height: 180px; border-radius: 8px; object-fit: cover; }
.upload-placeholder { color: #5a6a90; font-size: 14px; padding: 20px; }
.upload-multi { padding: 10px; }
.image-list { display: flex; flex-wrap: wrap; gap: 8px; }
.image-thumb { position: relative; width: 72px; height: 72px; border-radius: 6px; overflow: hidden; }
.image-thumb img { width: 100%; height: 100%; object-fit: cover; }
.remove-img {
  position: absolute; top: 2px; right: 2px;
  width: 18px; height: 18px; line-height: 16px; text-align: center;
  border-radius: 50%; background: rgba(220,38,38,0.85); color: #fff; font-size: 12px; cursor: pointer;
}
.add-more-btn { color: #60a5fa; font-size: 13px; padding: 8px; }

/* 响应式 */
@media (max-width: 768px) {
  .cd-tab-bar { flex-direction: column; gap: 10px; padding: 10px 4%; }
  .cd-tabs { overflow-x: auto; flex-wrap: nowrap; padding: 8px 0; width: 100%; }
  .cd-tab { font-size: 14px; padding: 6px 14px; white-space: nowrap; }
  .works-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); padding: 0 16px 20px; }
  .winners-grid { grid-template-columns: 1fr; padding: 0 16px 30px; }
  .works-toolbar { padding: 14px 16px; }
}

