

/* 基础布局与背景 */
body {
  background-color: #f9f9fb;
  font-family: BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.6);
  z-index: 999;
  transition: top 0.3s;
}

img.logo {
  height: 32px;
}

a.navbar-brand {
  color: #333;
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-item a.nav-link {
  margin-left: 56px;
  color: #333;
  font-size: 1.25rem;
}

.mod.section {
  margin: 0;
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  background: linear-gradient(to bottom, #e6f7ff, #fff0f5);
  justify-content: center;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  border-radius: 12px;

}

.section .section-header {
  margin: 16vh 0 0 60px;
}

.section .title {
  font-size: 56px;
  line-height: 68px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.section .subtitle {
  font-size: 26px;
  font-weight: 500;
  max-width: 750px;
  color: #555;
}

.section .poster {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.main-poster {
  position: absolute;
  bottom: 4vh;
}

.section .left {
  flex: 1;
  text-align: center;
  max-width: 600px;
}

.section .right {
  flex: 1;
  text-align: center;
}

.section .main-poster .right {
  max-width: 800px;
}

.qrcode img {
  width: auto;
  max-width: 100%;
  max-height: 36vh;
  height: auto;
}

.scan-text {
  font-size: 32px;
  font-weight: 500;
  color: #555;
}



.option {
  display: flex;
  align-items: center;
}

.option img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 10px;
  margin-right: 20px;
}

.main-poster .option img{
  max-height: 12vh;
}

.option button {
  width: 320px;
  max-width: 100%;
  padding: 15px 10px;
  font-size: 26px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: white;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


  .btn-kettlebell {
    background-color: #007aff;
  }

  .btn-jumpingjack {
    background-color: #FFA033;
  }

  .btn-jumprope {
    background-color: #FF6F3F;
  }

.scroll-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
}

.scroll-wrapper::-webkit-scrollbar {
  display: none; /* 可选：隐藏滚动条 */
}

.scroll-wrapper .option {
  flex: 0 0 auto;
  flex-direction: column;
  width: 80%; 
  scroll-snap-align: start;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.6);
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  color: #555;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.scroll-wrapper .option img {
  width: 100%;
  border-radius: 12px;
  margin-right: 0;
}

@media (max-width: 768px) {
  header {
    position: relative;
    padding: 10px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
  }

  .nav a {
    margin: 10px 0 0 0;
    font-size: 1.1rem;
  }

  .mod.section {
    height: fit-content;
    padding: 20px 10px;
  }

  .section .section-header {
    margin: 60px 20px 20px;
  }

  .section .title {
    font-size: 36px;
    line-height: 44px;
    text-align: center;
  }

  .section .subtitle {
    font-size: 20px;
    padding: 0 10px;
    max-width: none;
  }

  .section .poster {
    flex-direction: column;
    align-items: center;
    position: static;
    gap: 10px
  }

  .section .left,
  .section .right {
    max-width: 100%;
    text-align: center;
  }

  .option {
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
  }

  .scroll-wrapper .option {
    font-size: 20px;
  }

  .option img {
    margin-right: 10px;
    margin-bottom: 0px;
  }

  .main-poster .option img{
    max-height: 10vh;
  }

  .option button {
    width: 90%;
    font-size: 20px;
    padding: 12px 8px;
  }

  .qrcode img {
    max-height: 25vh;
  }

  .scan-text {
    font-size: 22px;
  }

  footer {
    padding: 20px;
    font-size: 14px;
  }
}


/* 卡片样式 */
.card {
  border-radius: 12px;
  border: 1px solid #eaeaea;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-body {
  padding: 1rem;
}

.card-subtitle a {
  color: #007bff;
  font-weight: 600;
  text-decoration: none;
}

.card-subtitle a:hover {
  text-decoration: underline;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
}

section h4 {
  font-size: 1.25rem;
  color: #2c3e50;
  border-bottom: 2px solid #e3e4e8;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

footer p {
  margin-top: 3rem;
  font-size: 12px;
  color: #999;
}
