/** Shopify CDN: Minification failed

Line 588:17 Cannot use type selector "first-child" directly after nesting selector "&"

**/
/* ==========================================================================
   Kickstarter Stats Section - 众筹数据展示样式
   ========================================================================== */

/* Section 容器 */
.kickstarter-section {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 586px;
  overflow: hidden;
}

/* 主容器 */
.kickstarter-container {
  /* max-width: 1248px; */
  /* width: 100%; */
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
}

/* ==========================================================================
   左侧：统计数据区域
   ========================================================================== */

.kickstarter-stats {
  flex: 1;
  min-width: 40vw;
  padding-right: 20px;
  z-index: 1;
}

.kickstarter-heading {
  /* font-size: 36px;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 600;
    color: #fff; */
  color: #fff;
  text-align: center;
  font-family: Manrope;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 70px;
  letter-spacing: 0.01em;
}

/* 统计容器 */
/* 统计容器 */
.stats-container {
  display: grid;
  /* 使用 minmax(0, fr) 锁定网格轨道，防止内容撑大导致布局抖动 */
  /* 布局：左项 | 线 | 中项(略宽) | 线 | 右项 */
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.4fr) auto minmax(
      0,
      1fr
    );
  align-items: center;
  width: 100%;
  margin-bottom: 80px;
}

/* 统计项 */
.stat-item {
  text-align: center;
  width: 100%;
  padding: 0 10px;
}

/* 分割线 */
.stat-divider {
  width: 1px;
  height: 120px;
  background-color: #ccc;
  flex-shrink: 0;
}

/* 数字样式 */
.stat-number {
  /* color: #2b9bf2;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 10px;
    opacity: 0;
    transition: opacity 0.5s;
    font-variant-numeric: tabular-nums; */
  color: #309af4;
  text-align: center;
  font-family: "Bebas Neue";
  letter-spacing: 3px;
  font-size: 55px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 10px;
}

.stat-number.visible {
  opacity: 1;
}

/* 标签样式 */
.stat-label {
  /* font-size: 14px;
    color: #ccc;
    font-weight: 500; */

  color: #fff;
  text-align: center;
  font-family: Manrope;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/* 备注 */
.kickstarter-footnote {
  /* font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 40px; */

  color: #fff;
  text-align: center;
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* ==========================================================================
   右侧：卡片视觉区域
   ========================================================================== */

.visual-container {
  display: flex;
  margin-top: 8%;
}

/* 卡片包装器（入场动画） */
.card-wrapper {
  position: relative;
  width: 100%;
  min-width: 480px;
  max-width: 480px;
  height: 520px;
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

/* 底部卡片（静态） */
.card-back {
  position: absolute;
  top: 2px;
  left: -3px;
  width: 100%;
  height: 126%;
  background-color: #f0f0f0;
  border-radius: 6px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  z-index: 1;
  transform: rotate(4deg);
}

/* 前卡片 */
.card-front {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 126%;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 1px 10px rgb(0 0 0 / 75%);
  z-index: 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 卡片头部 */
.card-header {
  height: 40px;
  flex-shrink: 0;
  padding: 0 16px;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  padding-top: 2px;
  gap: 10px;
}

/* 汉堡菜单图标 */
.card-header-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #333;
}

.card-brand {
  font-weight: 800;
  font-size: 14px;
  color: #333;
  letter-spacing: 0.5px;
  margin-bottom: 1px;
}

/* 卡片图片区域 */
.card-image-container {
  background: #fff;
  height: 232px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  position: relative;
  padding: 15px 40px;
  padding-bottom: 10px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image-placeholder {
  color: #aaa;
}

/* 卡片内容区域 */
.card-content {
  padding: 0px 40px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-title {
  margin: 0 0 10px 0;
  font-size: 22px;
  font-weight: 500;
  color: #282828;
  line-height: 1.3;
}

/* Meta 信息区域 */
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  /* margin-left: 16px; */
  color: #656969;
  margin-bottom: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.meta-item span {
  text-decoration: underline;
  color: #333333;
  font-weight: 700;
}

.meta-item--project-love span {
  /* color: #05735e; */
  font-weight: 700;
  color: #333333;
}

.meta-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  /* 颜色继承自 .card-meta 的 color 属性 */
}

.kickstarter-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* 统计区域（带左侧绿色边框） */
.card-stats {
  /* border-left: 1px solid #ccc;
    padding-left: 15px;
    margin-left: -15px; */
  border-left: 1px solid #ccc;
  padding-left: 9px;
  padding-top: 1px;
  margin-left: -10px;
}

.card-funding-amount {
  font-size: 24px;
  font-weight: bold;
  color: #282828;
  margin-bottom: 2px;
  line-height: 1em;
}

.card-funding-goal {
  font-size: 13px;
  color: #656969;
  margin-bottom: 10px;
}

.card-backers-count {
  font-size: 24px;
  font-weight: bold;
  color: #282828;
  margin-bottom: 2px;
  line-height: 1em;
}

.card-backers-label {
  font-size: 13px;
  color: #656969;
}

/* ==========================================================================
   动画
   ========================================================================== */

/* 入场动画 */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 卡片呼吸动画 */
@keyframes cardBreathe {
  0% {
    transform: rotate(4deg) translateX(0);
  }

  50% {
    transform: rotate(8deg) translateX(15px);
  }

  100% {
    transform: rotate(4deg) translateX(0);
  }
}

/* ==========================================================================
   悬停效果（已禁用）
   ========================================================================== */

/*
.visual-container:hover .card-back {
    animation-play-state: paused;
    transform: rotate(12deg) translateX(30px) translateY(-10px) !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.visual-container:hover .card-front {
    transform: rotate(-4deg) scale(1.02) !important;
}
*/

/* ==========================================================================
   响应式设计
   ========================================================================== */
@media screen and (min-width: 1288px) {
  .kickstarter-stats {
    min-width: 808px;
    margin-left: -30px;
  }
}

@media screen and (max-width: 1288px) {
  .kickstarter-section {
    padding: 60px 4%;
    min-height: fit-content;
  }

  .kickstarter-container {
    flex-direction: column;
    gap: 60px;
  }

  .kickstarter-stats {
    padding-right: 0;
    min-width: 100%;
  }

  .visual-container {
    width: 100%;
    margin-top: 0;
  }

  .card-wrapper {
    margin: 0 auto;
    height: 448px;
  }

  .card-front {
    height: 120%;
  }

  .card-back {
    height: 120%;
  }
}

@media screen and (max-width: 767.98px) {
  .card-funding-goal {
    font-size: 11px;
  }

  .kickstarter-section {
    padding: 20px 0;
    height: auto;
    min-height: auto;
    background-color: #000000;
  }

  .kickstarter-container {
    flex-direction: column;
    gap: 0;
    align-items: center;
    width: 100%;
    /* Force full width */
  }

  .kickstarter-stats {
    padding-right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Heading - Node EXKRi */
  .kickstarter-heading {
    color: #ffffff;
    font-family: Manrope;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    line-height: normal;
    padding: 0 20px;
  }

  /* Stats Container - Vertical Layout */
  .stats-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin-bottom: 0;
  }

  /* Stat Item - Nodes cizN5, MMzA5, cgNH4 */
  .stat-item {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  /* Number - Node gdG9w, OjJUv, 9Prhi */
  .stat-number {
    color: #309af4;
    font-family: "Bebas Neue";
    font-size: 65px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0;
    letter-spacing: -0.2px;
  }

  /* Label - Node uRPnC, 7zlhc, Beaya */
  .stat-label {
    color: #ffffff;
    font-family: Manrope;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
  }

  /* Divider - Node Djlxh, 68D7V */
  .stat-divider {
    width: 100%;
    max-width: 400px;
    height: 1px;
    background-color: rgba(204, 204, 204, 0.3);
    margin: 40px auto;
  }

  /* Footnote - Node jtF7G */
  .kickstarter-footnote {
    color: #a1a1a1;
    font-family: Manrope;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 50px;
    padding: 0 20px;
  }

  /* Visual Container */
  .visual-container {
    margin-top: 0;
    width: 100%;
    /* Use Grid for robust centering */
    display: grid;
    place-items: center;
  }

  /* Card Wrapper - Node 3kCTH */
  .card-wrapper {
    width: 100%;
    max-width: 430px;
    height: 410px;
    margin-inline: auto;
    /* Force horizontal auto margin */
  }

  .card-image-container {
    height: 180px;
    padding: 10px 20px;
  }

  .card-content {
    padding: 0 24px 20px;
  }

  .card-title {
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
  }

  .card-meta {
    margin-bottom: 15px;
    gap: 10px;
    font-size: 11px;
    letter-spacing: -0.2px;
  }

  /* .card-stats {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        align-items: baseline;
    } */

  .card-funding-amount {
    font-size: 20px;
    margin-right: 10px;
    letter-spacing: -0.2px;
  }

  .meta-item svg &first-child {
    width: 20px;
    height: 20px;
  }
}

@media screen and (max-width: 600px) {
  /* Design Node BIlYI Specifics */
  .card-wrapper {
    width: 100%;
    max-width: 368px;
    margin-inline: auto;
    min-width: 0px;
    height: 500px;
  }

  /* 阶段 1：超窄屏（小于 340px）- 维持 100% 填满 */
  @media (max-width: 359px) {
    .card-wrapper {
      width: 100% !important;
    }
  }

  /* 阶段 2：过渡区间（360px ~ 440px）- 从 88% 过渡到 100% */
  @media (min-width: 360px) and (max-width: 440px) {
    .card-wrapper {
      /* 使用我们之前的线性增长公式 */
      width: clamp(
        88%,
        calc(88% + (100 - 88) * ((100vw - 360px) / (440 - 360))),
        100%
      ) !important;
    }
  }

  /* 阶段 3：大屏（大于 440px）- 维持 100% (受 max-width 368px 限制) */
  @media (min-width: 441px) {
    .card-wrapper {
      width: 100% !important;
    }
  }

  .kickstarter-section {
    padding: 40px 0;
  }

  .visual-container {
    height: 390px;
  }

  .card-front,
  .card-back {
    /* Corner Radius: BIlYI ~3.86px -> 4px */
    border-radius: 4px;
    /* Shadow: BIlYI blur 5.4, offset 1.5, opacity 35% */
    box-shadow: 1.5px 1.5px 5.4px rgba(0, 0, 0, 0.35);
    /* Stroke thickness 0.77 */
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .card-meta {
    gap: 6px;
  }
}

@media screen and (max-width: 400px) {
  .card-meta {
    gap: 4px;
    font-size: 10px;
    margin-bottom: 8px;
  }
}
