.contacts-section {
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  padding: 24px;
  border: 2px solid rgba(82, 183, 136, 0.3);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(82, 183, 136, 0.1);
}

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

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #52b788, #95d5b2);
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(82, 183, 136, 0.3);
  position: relative;
  overflow: hidden;
}

/* 图片图标样式 */
.contact-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Emoji 图标样式 */
.contact-icon-emoji {
  font-size: 28px;
  line-height: 1;
}

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

.contact-label {
  font-size: 15px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 13px;
  color: #4a5568;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.contact-button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(82, 183, 136, 0.1);
  color: #52b788;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.contact-button:hover {
  background: linear-gradient(135deg, #52b788, #95d5b2);
  color: white;
  transform: scale(1.1);
}

.contact-button:active {
  transform: scale(0.95);
}

.copy-toast {
  position: absolute;
  top: -36px;
  right: 20px;
  background: #48bb78;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
  animation: toastSlideIn 0.3s ease-out;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .contact-card {
    padding: 14px;
    border-radius: 12px;
    gap: 12px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 22px;
    border-radius: 8px;
  }
  
  .contact-icon-img {
    border-radius: 8px;
  }
  
  .contact-icon-emoji {
    font-size: 22px;
  }
  
  .contact-label {
    font-size: 14px;
  }
  
  .contact-value {
    font-size: 12px;
  }
  
  .contact-actions {
    gap: 6px;
  }
  
  .contact-button {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .copy-toast {
    right: 50%;
    transform: translateX(50%);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .contacts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
