/* ============================================
   青春实践营 - 页面专属样式 (重构版)
   ============================================ */

/* ---------- 透明背景区块 ---------- */
.section-transparent {
  background: transparent !important;
}

/* ---------- Hero Header ---------- */
.practice-hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-20);
  background: linear-gradient(135deg, #fff8f8 0%, #fff1f1 40%, #ffe8e8 100%);
  overflow: hidden;
  text-align: center;
}

.practice-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(185, 28, 28, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Particles Canvas */
.hero-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Deco Rings */
.hero-deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(185, 28, 28, 0.15);
  pointer-events: none;
  z-index: 0;
}

.hero-deco-ring.ring-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: ring-rotate 30s linear infinite;
}

.hero-deco-ring.ring-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  animation: ring-rotate 25s linear infinite reverse;
}

.hero-deco-ring.ring-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 60%;
  border-color: rgba(245, 158, 11, 0.12);
  animation: ring-rotate 20s linear infinite;
}

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

/* Hero Content */
.practice-hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(185, 28, 28, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(185, 28, 28, 0.12);
  border-radius: var(--radius-full);
  color: var(--red-700);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  margin-bottom: var(--space-6);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: var(--font-bold);
  color: var(--red-900);
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 10px rgba(185, 28, 28, 0.1);
}

.hero-title-word {
  display: inline-block;
  opacity: 0;
}

.hero-desc {
  font-size: var(--text-lg);
  color: var(--red-800);
  max-width: 600px;
  margin: 0 auto var(--space-10);
  line-height: var(--leading-relaxed);
  opacity: 0.85;
}

/* Hero Quick Nav */
.hero-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.hero-nav-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(185, 28, 28, 0.1);
  border-radius: var(--radius-xl);
  color: var(--red-700);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.hero-nav-item:hover {
  background: var(--white);
  border-color: var(--red-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--red-800);
}

.hero-nav-item i {
  font-size: var(--text-base);
  color: var(--accent);
}

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--red-400);
  font-size: var(--text-xs);
  z-index: 2;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid var(--red-300);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: var(--space-2);
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--red-400);
  border-radius: var(--radius-full);
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.3; }
}

/* ---------- 实践模式卡片 ---------- */
.model-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid rgba(185, 28, 28, 0.06);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.model-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.model-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--red-100);
  background: var(--white);
}

.model-card .card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--red-100), var(--red-50));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--primary);
  font-size: var(--text-3xl);
  transition: transform 0.3s ease;
}

.model-card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.model-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.model-card p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.model-features {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.model-features span {
  padding: var(--space-1) var(--space-3);
  background: var(--red-50);
  color: var(--red-700);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  border-radius: var(--radius-full);
}

/* ---------- 项目卡片 ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.project-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(185, 28, 28, 0.06);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(4px);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--red-100);
  background: var(--white);
}

/* Full team card */
.project-card.project-full {
  border-color: rgba(245, 158, 11, 0.2);
}

.project-card.project-full:hover {
  border-color: var(--gold-300);
  box-shadow: 0 20px 40px -10px rgba(245, 158, 11, 0.2);
}

.project-card-header {
  padding: var(--space-5) var(--space-6) 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.project-tag {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
}

.project-tag.team {
  background: var(--red-50);
  color: var(--red-700);
}

.project-tag.solo {
  background: var(--gold-50);
  color: var(--gold-600);
}

.project-tag.closed {
  background: var(--gray-100);
  color: var(--gray-500);
}

.project-tag.full {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: var(--gold-700);
}

.project-card-body {
  padding: var(--space-4) var(--space-6);
  flex: 1;
}

.project-card-body h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.project-card-body p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.project-meta-item i {
  color: var(--primary);
}

.project-progress {
  margin-bottom: var(--space-4);
}

.project-progress-bar {
  height: 6px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.project-progress-bar .fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Full team progress bar */
.project-progress-bar .fill.fill-full {
  background: linear-gradient(90deg, var(--gold-400), #22c55e);
}

.project-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

.project-progress-label .full-text {
  color: #16a34a;
  font-weight: var(--font-medium);
}

.project-progress-label .full-text i {
  margin-right: 2px;
}

.project-members {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.project-members-avatars {
  display: flex;
}

.project-members-avatars img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -8px;
  object-fit: cover;
}

.project-members-avatars img:first-child {
  margin-left: 0;
}

.avatar-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px dashed var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 10px;
  background: var(--white);
  margin-left: -8px;
}

.project-members-text {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.project-actions {
  padding: 0 var(--space-6) var(--space-6);
  display: flex;
  gap: var(--space-3);
}

.project-actions .btn {
  flex: 1;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.project-actions .btn-outline {
  border: 1px solid var(--gray-200);
  color: var(--text-secondary);
}

.project-actions .btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--red-50);
}

.project-actions .btn-full {
  border-color: var(--gold-300);
  color: var(--gold-600);
  background: var(--gold-50);
  cursor: not-allowed;
  opacity: 0.8;
}

/* ============================================
   实践活动 - 精美卡片重构
   ============================================ */

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.activity-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.activity-card {
  background: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(185, 28, 28, 0.06);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.activity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: height 0.4s ease;
  z-index: 1;
}

.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px -16px rgba(185, 28, 28, 0.18), 0 0 0 1px rgba(185, 28, 28, 0.08);
  border-color: rgba(185, 28, 28, 0.12);
}

.activity-card:hover::before {
  height: 4px;
}

/* Banner */
.activity-card-top {
  position: relative;
}

.activity-card-banner {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-5xl);
  position: relative;
  overflow: hidden;
}

.activity-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-card:hover .activity-card-banner img {
  transform: scale(1.1);
}

.activity-card-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 40%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.activity-banner-icon {
  position: relative;
  z-index: 2;
  font-size: var(--text-5xl);
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-card:hover .activity-banner-icon {
  transform: scale(1.15) rotate(-5deg);
}

.activity-card-banner .activity-status-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 3;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: var(--font-bold);
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.activity-status-badge.open {
  background: rgba(220, 252, 231, 0.95);
  color: #16a34a;
}

.activity-status-badge.full {
  background: rgba(254, 226, 226, 0.95);
  color: var(--red-600);
}

.activity-status-badge.ended {
  background: rgba(243, 244, 246, 0.95);
  color: var(--gray-500);
}

/* Favorite */
.activity-favorite {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.activity-favorite:hover {
  background: var(--white);
  color: var(--red-500);
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.2);
}

.activity-favorite.active {
  background: var(--white);
  color: var(--red-500);
}

.activity-favorite.active i {
  animation: heart-pop 0.4s ease;
}

@keyframes heart-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Body */
.activity-card-body {
  padding: var(--space-5) var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-3);
}

.activity-tags span {
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--red-50), #fff1f1);
  color: var(--red-700);
  font-size: 11px;
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  border: 1px solid rgba(185, 28, 28, 0.08);
}

.activity-card-body h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
  color: var(--text-primary);
  line-height: 1.3;
}

.activity-card-body p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

/* Countdown & Progress */
.activity-countdown {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 12px;
  color: var(--red-600);
  margin-bottom: var(--space-3);
  font-weight: var(--font-semibold);
  padding: 6px 10px;
  background: rgba(254, 226, 226, 0.5);
  border-radius: var(--radius-lg);
  width: fit-content;
}

.activity-countdown i {
  color: var(--accent);
}

.activity-progress-wrap {
  margin-bottom: var(--space-4);
}

.activity-progress-bar {
  height: 6px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-1);
  position: relative;
}

.activity-progress-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.activity-progress-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
}

.activity-progress-label {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  font-weight: var(--font-medium);
}

/* Info Row */
.activity-info-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius-xl);
}

.activity-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.activity-info-item i {
  color: var(--primary);
  width: 16px;
  text-align: center;
  font-size: var(--text-sm);
}

/* Footer - 贴底居中 */
.activity-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-6) var(--space-6);
  margin-top: auto;
}

.activity-card-footer .btn {
  min-width: 140px;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.25);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-card-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.35);
}

.activity-card-footer .btn:active {
  transform: translateY(0);
}

/* ---------- 报名弹窗 ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: 440px;
  margin: var(--space-4);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s ease;
  overflow: hidden;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: var(--space-5) var(--space-6) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.modal-header h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-500);
  border: none;
  font-size: var(--text-lg);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--red-50);
  color: var(--red-500);
}

.modal-body {
  padding: var(--space-5) var(--space-6);
}

.modal-body .form-group {
  margin-bottom: var(--space-4);
}

.modal-body .form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.modal-body .form-group label .required {
  color: var(--red-500);
  margin-left: 2px;
}

.modal-body .form-group input,
.modal-body .form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  transition: all 0.2s ease;
  outline: none;
}

.modal-body .form-group input:focus,
.modal-body .form-group textarea:focus {
  border-color: var(--red-300);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.08);
}

.modal-body .form-group input::placeholder,
.modal-body .form-group textarea::placeholder {
  color: var(--gray-400);
}

.modal-body .form-group textarea {
  min-height: 80px;
  resize: vertical;
  line-height: var(--leading-relaxed);
}

.modal-body .form-error {
  font-size: var(--text-xs);
  color: var(--red-500);
  margin-top: var(--space-1);
  display: none;
}

.modal-body .form-error.show {
  display: block;
}

.modal-footer {
  padding: 0 var(--space-6) var(--space-6);
  display: flex;
  gap: var(--space-3);
}

.modal-footer .btn {
  flex: 1;
}

/* ============================================
   虚拟展厅 - 左右分栏布局
   ============================================ */

.showroom-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-8);
  min-height: 640px;
}

/* 左侧展厅列表 */
.showroom-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-height: 640px;
  overflow-y: auto;
  padding-right: var(--space-2);
}

.showroom-list::-webkit-scrollbar {
  width: 4px;
}

.showroom-list::-webkit-scrollbar-track {
  background: transparent;
}

.showroom-list::-webkit-scrollbar-thumb {
  background: var(--red-200);
  border-radius: var(--radius-full);
}

.showroom-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(185, 28, 28, 0.08);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.showroom-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.showroom-list-item:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px -8px rgba(185, 28, 28, 0.15);
  border-color: var(--red-200);
}

.showroom-list-item.active {
  background: linear-gradient(135deg, #fef2f2, #fff5f5);
  border-color: var(--red-300);
  box-shadow: 0 8px 24px -8px rgba(185, 28, 28, 0.2);
}

.showroom-list-item.active::before {
  width: 4px;
}

.showroom-list-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--primary);
}

.showroom-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.showroom-list-info {
  flex: 1;
  min-width: 0;
}

.showroom-list-info h5 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showroom-list-info span {
  font-size: 13px;
  color: var(--text-muted);
}

/* 右侧展厅详情 */
.showroom-detail {
  background: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(185, 28, 28, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px -8px rgba(185, 28, 28, 0.1);
  transition: all 0.4s ease;
}

.showroom-detail-hero {
  height: 320px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-radius: 24px 24px 0 0;
}

.showroom-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.showroom-detail:hover .showroom-detail-hero img {
  transform: scale(1.05);
}

.showroom-detail-tag {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 3;
  padding: 5px 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: var(--font-bold);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.showroom-detail-body {
  padding: var(--space-8);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.showroom-detail-body h4 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.showroom-detail-body p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  flex: 1;
}

.showroom-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius-xl);
}

.showroom-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.showroom-detail-meta span i {
  color: var(--primary);
}

.showroom-detail-actions {
  display: flex;
  gap: var(--space-3);
}

.showroom-detail-actions .btn {
  flex: 1;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  border-radius: var(--radius-xl);
}

/* 展厅详情切换动画 */
.showroom-detail {
  animation: showroomFadeIn 0.4s ease;
}

@keyframes showroomFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   创新功能区 - 全新设计
   ============================================ */

.innovation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

.innovation-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* ---------- 排行榜 V2 ---------- */
.leaderboard-v2 {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(185,28,28,0.06);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.leaderboard-v2-header {
  padding: var(--space-6);
  background: linear-gradient(135deg, #fef2f2, #fff5f5);
  border-bottom: 1px solid rgba(185,28,28,0.06);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
}

.lb-header-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.lb-header-title i {
  font-size: var(--text-2xl);
  color: var(--accent);
  width: 44px; height: 44px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  display: flex; align-items: center; justify-content: center;
  color: #92400e;
  box-shadow: 0 4px 12px -2px rgba(251,191,36,0.3);
}
.lb-header-title h3 { font-size: var(--text-lg); font-weight: var(--font-bold); color: var(--text-primary); }
.lb-header-title span { font-size: var(--text-xs); color: var(--text-muted); }

.leaderboard-tabs { display: flex; gap: var(--space-1); background: var(--white); padding: 3px; border-radius: var(--radius-full); border: 1px solid var(--gray-100); }
.leaderboard-tab { padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: var(--font-medium); color: var(--text-muted); cursor: pointer; transition: all var(--transition-fast); border: none; background: none; }
.leaderboard-tab.active { background: var(--red-50); color: var(--red-700); }

.leaderboard-v2-list { padding: var(--space-3); }

.lb-v2-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  margin-bottom: 4px;
}
.lb-v2-item:hover { background: var(--gray-50); transform: translateX(4px); }
.lb-v2-item.top-1 { background: linear-gradient(90deg, rgba(251,191,36,0.06), transparent); }
.lb-v2-item.top-2 { background: linear-gradient(90deg, rgba(156,163,175,0.05), transparent); }
.lb-v2-item.top-3 { background: linear-gradient(90deg, rgba(249,115,22,0.05), transparent); }

.lb-v2-rank {
  width: 36px; height: 36px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  flex-shrink: 0;
}
.lb-v2-item.top-1 .lb-v2-rank { background: linear-gradient(135deg, #fde68a, #fbbf24); color: #92400e; }
.lb-v2-item.top-2 .lb-v2-rank { background: linear-gradient(135deg, #e5e7eb, #9ca3af); color: #374151; }
.lb-v2-item.top-3 .lb-v2-rank { background: linear-gradient(135deg, #fed7aa, #f97316); color: #7c2d12; }
.lb-v2-rank.plain { background: var(--gray-100); color: var(--text-muted); font-size: 13px; }

.lb-v2-item img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

.lb-v2-info { flex: 1; min-width: 0; }
.lb-v2-info h5 { font-size: var(--text-sm); font-weight: var(--font-semibold); color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-v2-info p { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.lb-v2-info p i { color: var(--green-500); font-size: 10px; }

.lb-v2-score { font-size: var(--text-base); font-weight: var(--font-bold); color: var(--primary); flex-shrink: 0; }

/* ---------- 协作空间 V2 ---------- */
.collab-v2-link { text-decoration: none; display: block; }
.collab-v2 {
  background: linear-gradient(145deg, #1e1b2e 0%, #161326 100%);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 12px 40px -8px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.04);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(255,255,255,0.04);
}
.collab-v2:hover { transform: translateY(-6px); box-shadow: 0 20px 60px -10px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06); }

.collab-v2-header {
  padding: var(--space-5) var(--space-6) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.collab-v2-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(245,158,11,0.15);
  color: #fbbf24;
  font-size: 11px;
  font-weight: var(--font-bold);
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}
.collab-v2-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: status-pulse 2s ease-in-out infinite;
}
@keyframes status-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.collab-v2-body { padding: var(--space-4) var(--space-6) var(--space-5); }

.code-window {
  background: #0f0d1a;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.code-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.code-window-bar span:nth-child(1) { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.code-window-bar span:nth-child(2) { width: 10px; height: 10px; border-radius: 50%; background: #f59e0b; }
.code-window-bar span:nth-child(3) { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }
.code-window-bar .code-filename { margin-left: auto; font-size: 11px; color: rgba(255,255,255,0.3); font-family: var(--font-mono); }

.code-window-content {
  padding: var(--space-4);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  line-height: 1.8;
}
.code-window-content div { color: #a5b4fc; }
.code-line-num { display: inline-block; width: 24px; color: rgba(255,255,255,0.15); font-size: 11px; text-align: right; margin-right: 12px; user-select: none; }
.code-comment { color: #4b5563; }
.code-keyword { color: #f472b6; }
.code-class { color: #60a5fa; }
.code-fn { color: #a3e635; }
.code-string { color: #facc15; }

.collab-cursor-v2 {
  position: absolute;
  bottom: 16px; left: 160px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-family: var(--font-sans);
  animation: cursor-blink 1.2s infinite;
  font-weight: var(--font-semibold);
}
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.collab-v2-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
}
.collab-v2-footer i { color: var(--accent); margin-right: 6px; }
.collab-arrow { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: all 0.3s ease; }
.collab-v2:hover .collab-arrow { background: rgba(255,255,255,0.12); color: var(--white); transform: translateX(3px); }

/* ---------- 可获取技能认证 ---------- */
.skill-cert-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-5);
}
.skill-cert-trophy {
  font-size: var(--text-xl);
}

.skill-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.skill-cert-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: all 0.3s ease;
}
.skill-cert-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-color: rgba(220,38,38,0.12);
}

.skill-cert-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  color: var(--red-600);
  flex-shrink: 0;
}

.skill-cert-name {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--gray-800);
  white-space: nowrap;
}

/* ============================================
   排行榜样式
   ============================================ */

.leaderboard {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(185,28,28,0.06);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.leaderboard-header {
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(135deg, #fef2f2, #fff5f5);
  border-bottom: 1px solid rgba(185,28,28,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.leaderboard-header h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.leaderboard-tabs {
  display: flex;
  gap: var(--space-1);
  background: var(--white);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-100);
}

.leaderboard-tab {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  background: none;
}

.leaderboard-tab.active {
  background: var(--red-50);
  color: var(--red-700);
}

.leaderboard-list {
  padding: var(--space-3);
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  margin-bottom: 4px;
}

.leaderboard-item:hover {
  background: var(--gray-50);
  transform: translateX(4px);
}

.leaderboard-rank {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  flex-shrink: 0;
}

.leaderboard-rank.gold {
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  color: #92400e;
}

.leaderboard-rank.silver {
  background: linear-gradient(135deg, #e5e7eb, #9ca3af);
  color: #374151;
}

.leaderboard-rank.bronze {
  background: linear-gradient(135deg, #fed7aa, #f97316);
  color: #7c2d12;
}

.leaderboard-rank.normal {
  background: var(--gray-100);
  color: var(--text-muted);
  font-size: 13px;
}

.leaderboard-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

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

.leaderboard-info h5 {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leaderboard-info p {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.leaderboard-score {
  text-align: right;
}

.leaderboard-score .score {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--primary);
}

.leaderboard-score .label {
  font-size: 10px;
  color: var(--text-muted);
}

/* ---------- Footer Spacer ---------- */
.footer-spacer {
  height: var(--space-20);
}

/* ---------- Button Utilities ---------- */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn-block {
  display: flex;
  width: 100%;
}

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

@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showroom-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showroom-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: var(--text-5xl);
  }
}

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

  .activity-grid,
  .activity-grid-4 {
    grid-template-columns: 1fr;
  }

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

  .project-actions {
    flex-direction: column;
  }

  .activity-info-row {
    flex-direction: column;
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-nav {
    gap: var(--space-2);
  }

  .hero-nav-item {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
  }

  .practice-hero {
    padding-top: calc(var(--header-height) + var(--space-10));
    padding-bottom: var(--space-16);
  }
}

/* 展厅列表中的旧卡片兼容 */
.showroom-card .showroom-preview {
  position: relative;
}

.showroom-card .showroom-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* ============================================
   创意漂流墙 - 简洁预览版
   ============================================ */

.idea-preview-simple {
  background: linear-gradient(165deg, #fff8f6 0%, #fff0ed 50%, #fef5f2 100%);
  border-radius: 28px;
  border: 1px solid rgba(185, 28, 28, 0.06);
  padding: var(--space-6);
  box-shadow: 0 4px 24px -6px rgba(0,0,0,0.04);
}

.idea-preview-simple-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-5);
}

.simple-count {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
}
.simple-count i { color: var(--accent); }
.simple-count b { color: var(--primary); font-weight: var(--font-bold); }

.simple-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--red-700);
  text-decoration: none;
  padding: 8px 16px;
  background: var(--white);
  border-radius: var(--radius-full);
  border: 1px solid rgba(185,28,28,0.08);
  transition: all 0.3s ease;
}
.simple-more:hover {
  border-color: var(--red-200);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}
.simple-more i { font-size: 12px; transition: transform 0.3s ease; }
.simple-more:hover i { transform: translateX(3px); }

.idea-preview-simple-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 120px;
}

/* 预览卡片 */
.idea-preview-card {
  background: var(--white);
  border-radius: 18px;
  width: 170px;
  box-shadow: 0 2px 12px -2px rgba(0,0,0,0.05);
  border: 1px solid rgba(185,28,28,0.05);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.idea-preview-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 32px -8px rgba(185,28,28,0.12), 0 0 0 1px rgba(185,28,28,0.08);
}

.preview-media {
  width: 100%;
  height: 95px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-50), #fff8f6);
  flex-shrink: 0;
}
.preview-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.idea-preview-card:hover .preview-media img { transform: scale(1.1); }

.preview-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 100%;
}
.preview-file i { font-size: 24px; color: var(--red-400); opacity: 0.4; }
.preview-file .file-ext { 
  font-size: 10px; 
  font-weight: var(--font-bold); 
  color: var(--red-500); 
  opacity: 0.5; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
}

.preview-body { padding: 12px 14px 14px; }
.preview-title {
  font-size: 13px;
  font-weight: var(--font-bold);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
  line-height: 1.3;
}
.preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}
.preview-like {
  color: var(--red-500);
  font-weight: var(--font-semibold);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.preview-like i { font-size: 9px; }

/* 空状态 */
.idea-preview-empty {
  text-align: center;
  color: var(--gray-400);
  padding: var(--space-8) 0;
  width: 100%;
}
.idea-preview-empty .empty-orb {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-50), #fff1f1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  animation: orb-float 3s ease-in-out infinite;
  border: 1px solid rgba(185,28,28,0.06);
}
.idea-preview-empty .empty-orb i { font-size: 32px; color: var(--red-300); }
.idea-preview-empty h4 { 
  font-size: var(--text-base); 
  font-weight: var(--font-bold); 
  color: var(--text-secondary); 
  margin-bottom: var(--space-2); 
}
.idea-preview-empty p { 
  font-size: var(--text-sm); 
  color: var(--text-muted); 
  margin-bottom: var(--space-4);
}
.idea-preview-empty .empty-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary), var(--red-700));
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-decoration: none;
  box-shadow: 0 4px 16px -4px rgba(185,28,28,0.35);
  transition: all 0.3s ease;
}
.idea-preview-empty .empty-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(185,28,28,0.45);
}

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

/* 响应式 */
@media (max-width: 768px) {
  .idea-preview-simple {
    padding: var(--space-5);
  }
  .idea-preview-card {
    width: calc(50% - var(--space-2));
    min-width: 140px;
  }
  .preview-media { height: 80px; }
}

/* ---------- 创意广场 ---------- */
.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.idea-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.idea-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red-100);
}

.idea-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.idea-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
}

.idea-tag.tech { background: #dbeafe; color: #1d4ed8; }
.idea-tag.art { background: #fce7f3; color: #9d174d; }
.idea-tag.education { background: #dcfce7; color: #166534; }
.idea-tag.social { background: #fef3c7; color: #92400e; }
.idea-tag.other { background: #f3f4f6; color: #4b5563; }

.idea-status {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.idea-status.recruiting { background: var(--red-50); color: var(--red-700); }
.idea-status.in_progress { background: #dbeafe; color: #1d4ed8; }
.idea-status.completed { background: #dcfce7; color: #166534; }

.idea-card h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.idea-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.idea-meta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.idea-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.idea-actions {
  display: flex;
  gap: var(--space-2);
}

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

@media (max-width: 1200px) {
  .showroom-split {
    grid-template-columns: 280px 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 1024px) {
  .idea-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showroom-split {
    grid-template-columns: 1fr;
  }

  .showroom-list {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: var(--space-2);
  }

  .showroom-list-item {
    min-width: 220px;
    flex: 1;
  }

  .idea-preview-wrap {
    padding: var(--space-5);
  }

  .idea-preview-card {
    width: 150px;
  }

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

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

  .showroom-detail-hero {
    height: 200px;
  }

  .showroom-detail-body {
    padding: var(--space-5);
  }

  .idea-preview-wrap {
    padding: var(--space-4);
    min-height: 260px;
  }

  .idea-preview-header {
    flex-direction: column;
    gap: var(--space-2);
    align-items: flex-start;
  }

  .idea-preview-canvas {
    gap: var(--space-3);
  }

  .idea-preview-card {
    width: 130px;
  }

  .preview-media { height: 70px; }

  .idea-preview-cta {
    padding: var(--space-3) var(--space-4);
  }

  .idea-preview-cta .cta-icon {
    width: 40px;
    height: 40px;
    font-size: var(--text-base);
  }

  .idea-preview-cta .cta-text strong {
    font-size: var(--text-base);
  }

  .skill-cert-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .leaderboard-v2-header {
    flex-direction: column;
    gap: var(--space-3);
  }

  .lb-header-title i {
    width: 36px; height: 36px;
    font-size: var(--text-lg);
  }

  .lb-v2-item {
    padding: var(--space-2) var(--space-3);
  }

  .lb-v2-item img {
    width: 32px; height: 32px;
  }

  .code-window-content {
    font-size: 11px;
    padding: var(--space-3);
  }
}

/* ============================================
   创意漂流墙 - 左右分栏预览
   ============================================ */

.idea-preview-split {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-8);
  align-items: stretch;
}

.idea-preview-left {
  /* 取消 sticky，让左右 stretch 等高 */
  position: relative;
  top: auto;
  display: flex;
  flex-direction: column;
}

.idea-preview-intro {
  background: linear-gradient(165deg, #fff8f6 0%, #fff0ed 50%, #fef5f2 100%);
  border-radius: 28px;
  border: 1px solid rgba(185, 28, 28, 0.06);
  padding: var(--space-8);
  box-shadow: 0 4px 24px -6px rgba(0,0,0,0.04);
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--white);
  border: 1px solid rgba(185, 28, 28, 0.1);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--red-700);
  margin-bottom: var(--space-5);
}

.intro-badge i { color: var(--accent); }

.idea-preview-intro h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.idea-preview-intro > p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}

.intro-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.intro-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.intro-features li i {
  color: var(--primary);
  font-size: var(--text-sm);
}

.intro-stats {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
  padding: var(--space-4) 0;
  border-top: 1px solid rgba(185, 28, 28, 0.08);
  border-bottom: 1px solid rgba(185, 28, 28, 0.08);
}

.intro-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.intro-stat .stat-num {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--primary);
}

.intro-stat .stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--font-medium);
}

.intro-actions .btn {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--font-bold);
}

.idea-preview-right {
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.idea-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  flex: 1;
  align-content: center;
}

.idea-preview-square {
  background: var(--white);
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  box-shadow: 0 2px 12px -2px rgba(0,0,0,0.05);
  border: 1px solid rgba(185,28,28,0.05);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.idea-preview-square:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 32px -8px rgba(185,28,28,0.12), 0 0 0 1px rgba(185,28,28,0.08);
}

.idea-preview-square .square-media {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-50), #fff8f6);
  min-height: 0;
}

.idea-preview-square .square-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.idea-preview-square:hover .square-media img {
  transform: scale(1.1);
}

.idea-preview-square .square-file {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.idea-preview-square .square-file i {
  font-size: 28px;
  color: var(--red-400);
  opacity: 0.4;
}

.idea-preview-square .square-file .file-ext {
  font-size: 10px;
  font-weight: var(--font-bold);
  color: var(--red-500);
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.idea-preview-square .square-body {
  padding: 10px 12px 12px;
  flex-shrink: 0;
}

.idea-preview-square .square-title {
  font-size: 12px;
  font-weight: var(--font-bold);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.idea-preview-square .square-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

/* 卡片多图标识 */
.square-img-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  padding: 2px 7px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

/* ===== 查看更多 ===== */
.idea-preview-more-hint {
  background: transparent;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  border: 2px dashed #FF69B4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
}

.more-hint-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #FF69B4;
  font-size: 13px;
  font-weight: 600;
}

.more-hint-inner i {
  font-size: 20px;
}

.idea-preview-more-btn {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary), var(--red-700));
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 16px -4px rgba(185,28,28,0.35);
  margin: 0 auto;
}

.idea-preview-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(185,28,28,0.45);
}

.idea-preview-more-btn.collapse {
  background: var(--white);
  color: var(--text-secondary);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.idea-preview-more-btn.collapse:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--red-50);
}

/* 详情弹窗多图网格 */
.modal-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  background: linear-gradient(135deg, var(--red-50), #fff8f6);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  height: 100%;
  align-content: center;
  box-sizing: border-box;
}

.modal-media-grid.double {
  grid-template-columns: repeat(2, 1fr);
}

.modal-media-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.modal-media-grid img:hover {
  transform: scale(1.03);
}

/* 详情弹窗 */
.idea-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 32, 0.35);
  backdrop-filter: blur(16px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.idea-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.idea-modal-card {
  background: #fff;
  border-radius: 28px;
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow: hidden;
  box-shadow: 0 30px 100px -20px rgba(0,0,0,0.18), 0 0 0 1px rgba(185,28,28,0.08);
  transform: translateY(40px) scale(0.96);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(185,28,28,0.08);
  position: relative;
}

.idea-modal-overlay.active .idea-modal-card {
  transform: translateY(0) scale(1);
}

.idea-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  color: var(--text-secondary);
  border: none;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 10;
}

.idea-modal-close:hover {
  background: var(--red-500);
  color: #fff;
  transform: rotate(90deg);
}

.idea-modal-media {
  width: 100%;
  height: 260px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fef2f2, #fdf8f6);
  flex-shrink: 0;
}

.idea-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idea-modal-media .modal-file {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.idea-modal-media .modal-file i {
  font-size: 56px;
  color: var(--red-400);
  opacity: 0.35;
}

.idea-modal-media .modal-file .file-ext {
  font-size: 14px;
  font-weight: var(--font-bold);
  color: var(--red-500);
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.idea-modal-body {
  padding: var(--space-6) var(--space-7);
  overflow-y: auto;
  scrollbar-width: none;
}

.idea-modal-body::-webkit-scrollbar { display: none; }

.idea-modal-body h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.idea-modal-body .idea-modal-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
  white-space: pre-wrap;
  word-break: break-word;
}

.idea-modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-100);
}

.idea-modal-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.idea-modal-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.idea-modal-author div {
  display: flex;
  flex-direction: column;
}

.idea-modal-author .name {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.idea-modal-author .time {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .idea-preview-split {
    grid-template-columns: 1fr;
  }
  .idea-preview-left {
    position: static;
  }
  .idea-preview-right {
    display: block;
  }
  .idea-preview-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    flex: none;
    align-content: start;
  }
}

@media (max-width: 768px) {
  .idea-preview-split {
    grid-template-columns: 1fr;
  }
  .idea-preview-intro {
    padding: var(--space-5);
  }
  .idea-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .idea-modal-card {
    max-width: 100%;
  }
  .idea-modal-media {
    height: 200px;
  }
  .idea-modal-body {
    padding: var(--space-5);
  }
}
