/* 按鈕共用樣式 */
.downloadChannel span {
  display: inline-block;
  width: 160px;
  height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s ease-in-out;
}

.downloadChannel span:hover {
  transform: scale(1.08);
}

/* 四個平台圖片 */
.download_apple {
  background-image: url('../images/download_apple.png');
}

.download_google {
  background-image: url('../images/download_google.png');
}

.download_android {
  background-image: url('../images/download_android.png');
}

.download_pc {
  background-image: url('../images/download_pc.png');
}

/* 下載按鈕容器使用彈性布局，保持整體置中並自動換行 */
#download .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}

.downloadChannel {
  flex: 0 0 180px;
  min-width: 180px;
  max-width: 180px;
  display: flex;
  justify-content: center;
  padding: 0 12px;
}

.downloadChannel span {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 180 / 68;
  min-height: 68px;
}

.qr-container {
  margin-bottom: 28px;
}

.qr-container img {
  width: 200px;
  height: 200px;
  max-width: 100%;
}

/* 區塊背景 */
#download {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 50px 20px;
  border-radius: 20px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

