.home-container {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

/* 企业微信卡片增强 */
.enterprise-card {
  position: relative;
  overflow: hidden;
}

.enterprise-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.enterprise-card:hover::after {
  opacity: 1;
  animation: enterpriseGlow 0.8s ease;
}

@keyframes enterpriseGlow {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* 微信卡片悬停增强 */
.wechat-card {
  position: relative;
}

.wechat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #07c160, #10b981, #07c160);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.wechat-card:hover::after {
  transform: scaleX(1);
}

/* 联系方式卡片增强 */
.contact-card {
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transition: left 0.4s ease;
}

.contact-card:hover::before {
  left: 100%;
}

/* QQ卡片专属 */
.contact-card.qq:hover {
  border-bottom-color: var(--qq);
  box-shadow: 0 8px 20px rgba(18,183,245,0.2);
}

/* 钉钉卡片专属 */
.contact-card.dingtalk:hover {
  border-bottom-color: var(--dingtalk);
  box-shadow: 0 8px 20px rgba(30,109,242,0.2);
}

/* 微信卡片专属 */
.contact-card.wechat:hover {
  border-bottom-color: var(--wechat);
  box-shadow: 0 8px 20px rgba(7,193,96,0.2);
}

/* 电话卡片专属 */
.contact-card.phone:hover {
  border-bottom-color: var(--success);
  box-shadow: 0 8px 20px rgba(16,185,129,0.2);
}

/* 群聊卡片专属 */
.contact-card.group:hover {
  border-bottom-color: var(--purple);
  box-shadow: 0 8px 20px rgba(139,92,246,0.2);
}

/* 友情链接区域增强 */
.links-section {
  position: relative;
  overflow: hidden;
}

.links-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: linksShine 8s infinite;
  pointer-events: none;
}

@keyframes linksShine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

/* 链接项增强 */
.link-item {
  position: relative;
  overflow: hidden;
}

.link-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.3s ease;
}

.link-item:hover::before {
  left: 100%;
}

/* 禁用卡片样式 */
.wechat-card.disabled,
.wechat-card.banned {
  position: relative;
}

.wechat-card.disabled::before,
.wechat-card.banned::before {
  content: '🔒';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.wechat-card.disabled:hover::before,
.wechat-card.banned:hover::before {
  opacity: 0.3;
}

/* 在线徽章闪烁 */
.card-badge.online {
  animation: onlinePulse 1.5s ease-in-out infinite;
}

@keyframes onlinePulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(16,185,129,0.4);
  }
  50% {
    box-shadow: 0 4px 15px rgba(16,185,129,0.6);
  }
}

/* 推荐卡片呼吸效果 */
.section-block.highlight {
  animation: highlightBreath 3s ease-in-out infinite;
}

@keyframes highlightBreath {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(102,126,234,0.1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(102,126,234,0.15);
  }
}

/* 页脚链接悬停效果 */
.footer-link {
  position: relative;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

/* ========== 图标样式 ========== */

/* 标题图标图片样式 - 变成圆形 */
.title-icon-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  vertical-align: middle;
  filter: drop-shadow(0 2px 4px rgba(7,193,96,0.3));
}

/* 所有卡片图标的基础样式 */
.card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

/* 微信卡片中的图标稍微大一点 */
.wechat-card .card-icon img {
  width: 32px;
  height: 32px;
}

/* 只有私人联系方式图标变成圆形（需要配合HTML中的 personal-icon 类） */
.personal-icon {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}