/* --- 基础重置与全局样式 --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

body {
  background-color: #f7f9fc;
  color: #333;
  line-height: 1.6;
  padding-bottom: 80px; /* 为底部悬浮按钮留出空间 */
}

/* --- 页脚 (Footer) 样式 --- */
footer {
  text-align: center;
  background-color: #ffffff;
  padding: 25px 0 15px 0;
  border-top: 1px solid #eaecef;
}

.ewm-container {
  margin-bottom: 12px;
}

.ewm {
  width: 140px;
  height: 140px;
  border: 6px solid #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ewm:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.Copyright .m_footer {
  color: #6c757d;
  font-size: 12px;
  background-color: transparent;
  padding: 8px 0;
}

/* --- 右侧悬浮社区/二维码面板 --- */
._wrap_1facf_1 {
  background: linear-gradient(180deg, #e6fff9, #f0fffa);
  border: 1px solid #ccf2e6;
  border-right: none;
  border-radius: 12px 0 0 12px;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 160px;
  z-index: 9;
  box-shadow: -3px 0 12px rgba(0, 0, 0, 0.05);
}

._wrap_1facf_1:hover {
  box-shadow: -5px 0 18px rgba(0, 184, 148, 0.15);
}

._content_1facf_36 {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 15px 10px;
}

._content_1facf_36 ._btnImg_1facf_42 {
  cursor: pointer;
  height: 40px;
  margin-top: 8px;
  width: 110px;
  border-radius: 8px;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

._content_1facf_36 ._btnImg_1facf_42:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

._content_1facf_36 p {
  margin: 8px 0 0 0;
  padding: 0 5px;
  font-size: 12px;
  color: #495057;
  text-align: center;
  line-height: 1.4;
}

._content_1facf_36 ._scan_1facf_52 {
  position: relative;
  margin-top: 10px;
}

._content_1facf_36 ._scan_1facf_52 img {
  height: 110px;
  width: 110px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

/* --- 关键动画：为二维码添加扫描线效果 --- */
@keyframes _scan_1facf_52 {
  0% { top: 0; opacity: 0.8; }
  50% { top: 110px; opacity: 0.4; }
  100% { top: 0; opacity: 0.8; }
}

._content_1facf_36 ._scan_1facf_52:after {
    animation: _scan_1facf_52 3s infinite ease-in-out;
    background: linear-gradient(90deg, rgba(0, 184, 148, 0), rgba(0, 184, 148, 0.8), rgba(0, 184, 148, 0));
    content: "";
    height: 3px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    width: 110px; /* 与二维码同宽 */
}


/* --- 悬浮按钮组 (眼视光主题核心) --- */
.floating-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 14px 20px;
  z-index: 9999;
  
  /* 半透明玻璃质感背景 */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  
  border-top: 1px solid rgba(222, 226, 230, 0.7);
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.06);
}

/* 按钮通用样式 */
.floating-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* 图标与文字间距 */
  padding: 14px 22px;
  color: #fff;
  text-decoration: none;
  border-radius: 50px; /* 胶囊形 */
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  min-width: 150px;
  text-align: center;
  border: none;
  box-shadow: 0 6px 18px rgba(0, 184, 148, 0.25);
}

/* 按钮图标 */
.floating-btn .icon {
    font-size: 18px;
}

/* 基础按钮样式 (安卓下载) */
.floating-btn {
  background: linear-gradient(135deg, #00C896, #00BFA5);
}

.floating-btn:hover {
  background: linear-gradient(135deg, #00BFA5, #00A88F);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 184, 148, 0.35);
}

/* 社区按钮特殊样式 (iOS下载) */
.floating-btn.community {
  background: linear-gradient(135deg, #2D3748, #4A5568);
  box-shadow: 0 6px 18px rgba(45, 55, 72, 0.3);
}

.floating-btn.community:hover {
  background: linear-gradient(135deg, #1A202C, #2D3748);
  box-shadow: 0 10px 25px rgba(45, 55, 72, 0.4);
}