@import url('./root.css');

#sponsor-li {
  border-radius: 18px;
  box-shadow: 0 4px 24px --header-bg;
  padding: 32px 0 40px 0;
  margin-top: 32px;
  position: relative;
}
.sponsor-li-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
.sponsor-li-icon {
  vertical-align: middle;
}
.sponsor-li-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ff9800;
  margin: 0;
  letter-spacing: 1px;
}
.sponsor-li-desc {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  margin-top: 0;
}
.sponsor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  justify-content: center;
  width: calc(100% - 64px);
  max-width: 1600px;
}
.sponsor-item {
  background: var(--terminal-bg);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(255,152,0,0.07);
  display: flex;
  align-items: center;
  padding: 16px 28px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.sponsor-item:hover {
  box-shadow: 0 6px 32px rgba(255,152,0,0.15);
  transform: translateY(-2px) scale(1.03);
}
.sponsor-item {
  background: var(--terminal-bg);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(255,152,0,0.07);
  display: flex;
  align-items: center;
  padding: 16px 28px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.sponsor-item:hover {
  box-shadow: 0 6px 32px rgba(255,152,0,0.15);
  transform: translateY(-2px) scale(1.03);
}
.sponsor-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 18px;
  border: 2px solid #ffe0b2;
  box-shadow: 0 1px 6px rgba(255,152,0,0.07);
  background: #fff8e1;
}
.sponsor-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sponsor-name {
  font-weight: 600;
  font-size: 1.13rem;
  color: #ff9800;
  letter-spacing: 0.5px;
}
.sponsor-amount {
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
  background: linear-gradient(90deg,#ff9800 60%,#ffc107 100%);
  border-radius: 8px;
  padding: 4px 14px;
  align-self: flex-start;
  box-shadow: 0 1px 6px rgba(255,152,0,0.07);
}
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.7s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 600px) {
  .sponsor-list {
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
  }
  .sponsor-item {
    min-width: 0;
    max-width: 320px;
    width: 96%;
    padding: 8px 4px;
  }
  .sponsor-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* 左右两端对齐 */
    align-items: center; /* 垂直居中 */
    gap: 8px;
    width: 100%;
  }
  .sponsor-avatar {
    width: 48px;
    height: 48px;
    margin-right: 8px;
  }
  .sponsor-name {
    font-size: 1.1rem;
  }
  .sponsor-amount {
    font-size: 1rem;
    padding: 2px 4px;
    margin-right: 10px;
  }
  .sponsor-li-title {
    font-size: 2.1rem;
  }
  #sponsor-li {
    padding: 10px 0 16px 0;
  }
}