/* ===== 频道页卡片 ===== */
.channel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 48px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  margin-top: 10px;
}

/* 二维码容器 */
.qr-wrap {
  width: 260px;
  height: 260px;
  padding: 12px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 3px solid #fdf5ec;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.channel-card:hover .qr-wrap {
  transform: scale(1.03);
  border-color: #f6821f;
  box-shadow: 0 8px 28px rgba(246, 130, 31, 0.18);
}

.qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

/* 二维码加载失败状态 */
.qr-wrap.qr-error {
  background: #fafafa;
  border-color: #e0e0e0;
}

.qr-wrap.qr-error img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  opacity: 0.4;
}

/* 提示文字 */
.channel-tip {
  margin-top: 22px;
  font-size: 0.95rem;
  color: #888;
  letter-spacing: 0.06em;
  font-family: 'ZC0005', system-ui, sans-serif;
}

/* 按钮 */
.channel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 30px;
  background: linear-gradient(135deg, #f6821f, #ff9a44);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(246, 130, 31, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  font-family: 'ZC0005', system-ui, sans-serif;
  white-space: nowrap;
  max-width: 100%;
}

.channel-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(246, 130, 31, 0.45);
  background: linear-gradient(135deg, #e8751a, #ff8c2e);
}

.channel-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(246, 130, 31, 0.4);
}

.channel-btn svg {
  flex-shrink: 0;
}

/* ===== 移动端适配 ===== */
@media (max-width: 480px) {
  .channel-card {
    padding: 28px 16px 36px;
  }

  .qr-wrap {
    width: 220px;
    height: 220px;
    padding: 10px;
  }

  .channel-tip {
    font-size: 0.88rem;
    margin-top: 18px;
  }

  .channel-btn {
    padding: 12px 22px;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    gap: 8px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }

  .channel-btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 360px) {
  .qr-wrap {
    width: 180px;
    height: 180px;
  }

  .channel-btn {
    font-size: 0.82rem;
    padding: 10px 16px;
  }
}