@charset "UTF-8";
/* 模板6：Link in Bio - 紫色渐变+垂直卡片列表 */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  min-height: 100%;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

body {
  background: linear-gradient(160deg, #E8D5F5 0%, #D4B8E8 30%, #C9A8E0 60%, #BFA0D8 100%);
  min-height: 100vh;
}

.linkhub-container {
  max-width: 420px;
  margin: 0 auto;
  padding: 30px 20px 40px;
}

/* 头像区域 */
.profile-area {
  text-align: center;
  margin-bottom: 30px;
}

.avatar-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 6px 25px rgba(91, 58, 140, 0.2);
  margin: 0 auto 15px;
  overflow: hidden;
  background: #fff;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-title {
  font-size: 22px;
  color: #4A2D6E;
  font-weight: 700;
  margin-bottom: 6px;
}

.profile-bio {
  font-size: 14px;
  color: #8B6BAE;
  line-height: 1.5;
}

/* 访客统计卡片 */
.visitor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 10px;
  padding: 10px 20px;
  background: rgba(102, 126, 234, 0.85);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.visitor-card:hover {
  background: rgba(102, 126, 234, 0.95);
}

.visitor-text {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 1px;
}

/* 公告栏 */
.announcement-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.6);
  border-radius: 10px;
  font-size: 13px;
}

.ann-content {
  color: #5B3A8C;
  line-height: 1.5;
  word-break: break-all;
}

/* 导航卡片列表 */
.link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 3px 15px rgba(91, 58, 140, 0.08);
  transition: all 0.3s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(91, 58, 140, 0.15);
}

.link-card:active {
  transform: translateY(0);
}

/* 图标容器 */
.link-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-emoji {
  font-size: 22px;
  line-height: 1;
}

.icon-letter {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 4px;
}

/* 文字和箭头 */
.link-info {
  flex: 1;
  min-width: 0;
}

.link-name {
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

.link-arrow {
  font-size: 22px;
  color: #ccc;
  flex-shrink: 0;
  font-weight: 300;
}

/* 底部 */
.linkhub-footer {
  text-align: center;
}

/* 联系方式 - 并排chip风格 */
.contact-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 18px;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(91, 58, 140, 0.08);
}

.contact-chip svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-chip-qq {
  background: #fff;
  color: #1296DB;
}

.contact-chip-qq:hover {
  background: #1296DB;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(18, 150, 219, 0.3);
}

.contact-chip-wx {
  background: #fff;
  color: #07C160;
}

.contact-chip-wx:hover {
  background: #07C160;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(7, 193, 96, 0.3);
}

/* 二维码弹窗 */
.qr-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(75, 45, 110, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999999;
  justify-content: center;
  align-items: center;
}

.qr-modal-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 22px;
  text-align: center;
  max-width: 280px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(75, 45, 110, 0.25);
  animation: qrModalIn 0.25s ease-out;
}

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

.qr-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
  color: #4A2D6E;
}

.qr-modal-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qr-modal-body {
  background: #f8f5fc;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.qr-modal-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
}

.qr-modal-num {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.qr-modal-tip {
  font-size: 12px;
  color: #B090CC;
}

.visitor-info {
  font-size: 13px;
  color: #8B6BAE;
  margin-bottom: 10px;
}

.visitor-info b {
  color: #6B3FA0;
  font-size: 15px;
}

.sep {
  margin: 0 8px;
  color: #C9A8E0;
}

/* 新版页脚样式 */
.footer-content {
  font-size: 12px;
  color: #8B6BAE;
}

.footer-main {
  margin-top: 10px;
}

.footer-copyright {
  color: #B090CC;
}

.beian-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.beian-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8B6BAE;
  text-decoration: none;
  font-size: 12px;
  transition: opacity 0.3s ease;
}

.beian-link:hover {
  opacity: 0.8;
}

/* 图标盒子 - 圆角背景效果 */
.beian-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(91, 58, 140, 0.12);
  overflow: hidden;
}

.beian-icon-box.gongan {
  background: #fff;
}

.beian-icon-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
}

/* 旧版兼容性 */
.copyright {
  font-size: 11px;
  color: #B090CC;
}

@media screen and (max-width: 480px) {
  .beian-wrapper {
    gap: 12px;
  }
  
  .footer-content {
    font-size: 11px;
  }
  
  .beian-icon-box {
    width: 18px;
    height: 18px;
  }
  
  .beian-icon-img {
    width: 14px;
    height: 14px;
  }
}

@media screen and (max-width: 480px) {
  .linkhub-container {
    padding: 25px 16px 35px;
  }
  
  .avatar-ring {
    width: 80px;
    height: 80px;
  }
  
  .profile-title {
    font-size: 20px;
  }
  
  .link-card {
    padding: 14px 15px;
    border-radius: 14px;
  }
  
  .link-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  
  .icon-emoji {
    font-size: 20px;
  }
  
  .link-name {
    font-size: 14px;
  }
}
