@charset "UTF-8";
/* 模板5：现代App风格 - 横幅+卡片网格 */

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

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

body {
  background: #f2f3f5;
}

.app-container {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: #f2f3f5;
}

/* 顶部横幅 */
.hero-banner {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.06) 0%, transparent 45%);
}

/* 头像区域（重叠横幅） */
.profile-section {
  text-align: center;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding: 0 20px;
  margin-bottom: 0;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding-top: 55px;
  padding-bottom: 20px;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.05);
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  background: #fff;
  margin-top: -80px;
}

.profile-name {
  font-size: 22px;
  color: #1a1a1a;
  margin-top: 12px;
  font-weight: 700;
}

.profile-subtitle {
  font-size: 14px;
  color: #999;
  margin-top: 4px;
}

/* 访客统计卡片 */
.visitor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 20px 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;
}

/* 公告栏 */
.notice-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 20px 14px;
  padding: 14px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.notice-text {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  word-break: break-all;
}

/* 联系方式 - 并排chip */
.contact-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 14px 20px 16px;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
}

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

.contact-chip-qq {
  background: #1296DB;
  color: #fff;
  box-shadow: 0 3px 12px rgba(18, 150, 219, 0.3);
}

.contact-chip-qq:hover {
  background: #0e7fb8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 150, 219, 0.4);
}

.contact-chip-wx {
  background: #07C160;
  color: #fff;
  box-shadow: 0 3px 12px rgba(7, 193, 96, 0.3);
}

.contact-chip-wx:hover {
  background: #06a853;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7, 193, 96, 0.4);
}

/* 快捷操作栏 */
.action-bar {
  display: flex;
  justify-content: space-around;
  padding: 12px 20px;
  margin: 0 20px 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.action-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.action-icon {
  font-size: 16px;
}

.action-text {
  font-size: 13px;
  color: #555;
}

/* 导航卡片网格 */
.nav-grid {
  padding: 12px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 20px 20px;
  background: #f2f3f5;
  border-radius: 14px;
}

.nav-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.nav-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.nav-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-card-icon span {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.nav-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-card-name {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-card-arrow {
  font-size: 18px;
  color: #ccc;
  flex-shrink: 0;
  margin-left: 5px;
}

/* 底部 */
.app-footer {
  text-align: center;
  padding: 20px;
}

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

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

.footer-copyright {
  color: #999;
}

.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: #888;
  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 1px 4px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

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

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

@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) {
  .hero-banner {
    height: 150px;
  }
  
  .profile-avatar {
    width: 85px;
    height: 85px;
  }
  
  .profile-name {
    font-size: 20px;
  }
  
  .action-bar {
    padding: 10px 15px;
    margin: 0 15px 0;
  }
  
  .nav-grid {
    padding: 10px 15px;
    margin: 0 15px 20px;
  }
  
  .nav-card {
    padding: 12px;
  }
  
  .nav-card-icon {
    width: 36px;
    height: 36px;
  }
  
  .nav-card-icon span {
    font-size: 15px;
  }
  
  .nav-card-name {
    font-size: 13px;
  }
}
