.quote-item {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(5px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.quote-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(3, 102, 214, 0.1), rgba(48, 169, 222, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.quote-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.98);
}

.quote-item:hover::before {
  opacity: 1;
}

.quote-item:hover .quote-text {
  color: #0366d6 !important;
  transform: translateX(5px);
}

.quote-item:hover .quote-author {
  color: #0366d6 !important;
  transform: translateX(-5px);
}

.quote-text {
  font-size: 1.1em;
  line-height: 1.6;
  color: #2c3e50;
  margin-bottom: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.quote-author {
  text-align: right;
  color: #718096;
  font-style: italic;
  font-size: 0.9em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

@media (prefers-color-scheme: dark) {
  .quote-item {
    background: rgba(37, 45, 56, 0.85);
  }
  
  .quote-item:hover {
    background: rgba(37, 45, 56, 0.98);
  }
  
  .quote-item::before {
    background: linear-gradient(45deg, rgba(48, 169, 222, 0.1), rgba(3, 102, 214, 0.1));
  }
  
  .quote-item:hover .quote-text {
    color: #30a9de !important;
  }
  
  .quote-item:hover .quote-author {
    color: #30a9de !important;
  }
  
  .quote-text {
    color: #c4c6c9;
  }
  
  .quote-author {
    color: #a7a9ad;
  }
  
  .say-quotes h2, .quote-section h3 {
    color: #d0d0d0;
  }
  
  .quote-section h3 {
    border-bottom-color: rgba(208, 208, 208, 0.2);
  }
}

/* 自定义LinkedIn图标 */
.custom-linkedin {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

/* 确保图标在about页面正确显示 */
.about-icons .custom-linkedin {
  margin-right: 0.5rem;
} 