.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 15px;
    padding: 20px;
    grid-auto-flow: dense;
  }

  .card {
    aspect-ratio: 1 / 1;
    background-color: #9999f0;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
  }

  .searchPlaceholder{
    color: #fff;
  }
  .footer_botm {
    display: block;
    position: relative; /* 确保伪元素定位正确 */
    margin-top: 16px;
}
  .footer_botm::before{
    content: "";
    display: block;
    position: absolute;
    top: -16px;
    width: 100%;
    height: 16px;
    background-color: #fff;
    clip-path: polygon(0 100%, 50% 0, 60% 100%, 100% 0, 100% 100%);
}
  .card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 12px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card:hover .card-title {
    opacity: 1;
  }
  .imgs {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .card:hover {
    transform: scale(1.05);
  }

  /* 添加 2*2 卡片样式 */
.card-2x2 {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 0;
  }

  /* 添加 3*3 卡片样式 */
  .card-3x3 {
    grid-column: span 3;
    grid-row: span 3;
    min-height: 0;
  }

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

