 .media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
  }
  
  .media-card {
    background: linear-gradient(135deg, #e6f3ff 0%, #c8e3f8 100%);
    border-radius: 10px;
    padding: 15px;
    border-left: 3px solid #4a90e2;
  }
  
  .media-poster {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
  }
  
  /* 终极动画优化方案 */
  .card-desc-wrapper {
    position: relative;
    overflow: hidden;
    backface-visibility: hidden;
    perspective: 1000px;
  }
  
  .card-desc {
    padding: 0 10px;
    background: rgba(232, 242, 252, 0.5);
    border-radius: 6px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    width: calc(100% - 20px);
    backface-visibility: hidden;
  }
  
  .detail-checkbox:checked ~ .card-desc-wrapper .card-desc {
    transform: scaleY(1);
    position: relative;
  }
  
  /* 按钮样式 */
  .media-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
  }
  
  .action-btn {
    flex: 1;
    min-height: 36px;
    background: linear-gradient(to right, #4a90e2, #1877f2);
    color: white;
    border: none;
    border-radius: 18px;
    font-size: 13px;
    cursor: pointer;
    transition: 
      transform 0.1s ease,
      opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
  }
  
  .action-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
  }
  
  /* 隐藏复选框 */
  .detail-checkbox {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
  }

  /* 内容样式 */
  .media-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #1a3e72;
    margin: 8px 0 4px;
  }
  
  .media-meta {
    color: #4a6b8a;
    font-size: 0.9em;
    margin-bottom: 8px;
  }
  
  .media-rating {
    color: #ff9800;
    font-weight: bold;
    font-size: 0.95em;
  }
