:root {
  --bg: #d9ecff;
  --text: #121826;
  --muted: #4f5b76;
  --line: #9dc6ec;
  --accent: #ff4b5a;
  --green: #25d366;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #c8e4ff 0%, var(--bg) 100%);
  color: var(--text);
  padding-bottom: 96px;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.section { padding: 18px 0; }
.center { text-align: center; }

.poster-wrap { display: flex; justify-content: center; }
.poster {
  width: min(100%, 460px);
  background: #b6d9ff;
  border: 2px solid #ffffff;
  border-radius: 24px;
  padding: 14px 14px 18px;
  box-shadow: 0 10px 24px rgba(43, 81, 130, 0.22);
}
.poster-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #eef6ff;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.poster-head .tag {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 3px 8px;
}
.poster-head .line {
  flex: 1;
  text-align: center;
  letter-spacing: 1px;
  color: #f7fbff;
}
.lang-switch {
  display: inline-flex;
  gap: 4px;
}
.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.22);
  color: #eef6ff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.lang-btn.active {
  background: #ffffff;
  color: #2e4a70;
}
.poster-title {
  text-align: center;
  margin: 6px 0 10px;
  font-size: 46px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: #0d1728;
}

.poster-image-area {
  background: #252a32;
  border-radius: 14px;
  padding: 12px 10px;
  position: relative;
}
.poster-marquee {
  border-radius: 10px;
  background: #1b1f27;
  border: 1px solid #3a414f;
  padding: 8px;
}
.poster-marquee .marquee-track {
  gap: 10px;
  animation-duration: 20s;
}

.poster-sub {
  margin: 12px 0 8px;
  text-align: center;
  font-weight: 700;
  color: #1b2b40;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 6px 0 10px;
}
.kpis div {
  text-align: center;
  color: #273a56;
}
.kpis strong {
  display: block;
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #f3f7ff;
  -webkit-text-stroke: 2px #3f4b5c;
  text-shadow:
    0 2px 0 rgba(34, 42, 54, 0.95),
    0 4px 6px rgba(27, 37, 52, 0.35);
}
.kpis span {
  font-size: 12px;
  font-weight: 700;
  color: #26364f;
}

.coupon {
  background: linear-gradient(90deg, #ff5e63 0%, #ff4b5a 100%);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: #fff;
  margin: 8px 0 10px;
  overflow: hidden;
}
.coupon-left, .coupon-right {
  padding: 12px 10px;
  text-align: center;
}
.coupon-left { font-size: 13px; }
.coupon-right strong {
  display: block;
  font-size: 48px;
  line-height: 0.95;
}
.coupon-right span {
  font-size: 28px;
  font-weight: 800;
}
.download-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(180deg, #f6a63a 0%, #d96b1d 58%, #b84b12 100%);
  color: #2f1608;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 10px 14px 10px 18px;
  border-radius: 16px;
  border: 2px solid #f4d8a7;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 0 rgba(80, 31, 8, 0.3),
    0 8px 0 #7c2f0d,
    0 12px 24px rgba(60, 22, 6, 0.35);
}
.download-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.15;
}
.download-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: #2f1608;
  border: 1.5px solid rgba(72, 29, 9, 0.45);
  background: linear-gradient(180deg, rgba(255, 238, 201, 0.42) 0%, rgba(255, 167, 59, 0.08) 100%);
  flex: 0 0 42px;
}
.floating-download-cta {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(460px, calc(100vw - 24px));
  z-index: 1000;
}
h2 { margin: 0 0 12px; font-size: 24px; color: #1b2f4b; }

.marquee { overflow: hidden; width: 100%; border-radius: 14px; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: product-marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }

.item { border: 1px solid #9ac2ea; background: #f4f9ff; border-radius: 14px; overflow: hidden; width: 200px; flex: 0 0 200px; }
.item img { width: 100%; height: 150px; object-fit: cover; display: block; }
.meta { padding: 10px; }
.meta h3 { margin: 0 0 4px; font-size: 16px; color: #1a2d48; }
.price-row { display: flex; align-items: center; gap: 8px; }
.price { color: #ff4b5a; font-weight: 800; }
.old-price { color: #6b7891; font-size: 13px; text-decoration: line-through; }
.discount-tag { margin-top: 6px; display: inline-block; background: rgba(255,75,90,.12); border: 1px solid rgba(255,75,90,.35); color: #d9384c; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.footer { border-top: 1px solid #a6cbed; color: #456084; }

@media (max-width: 768px) {
  body { padding-bottom: 88px; }
  .poster { border-radius: 18px; padding: 12px; }
  .poster-title { font-size: 36px; }
  .poster-head { font-size: 11px; }
  .lang-btn { padding: 2px 7px; font-size: 10px; }
  .kpis strong {
    font-size: 32px;
    -webkit-text-stroke: 1.8px #3f4b5c;
  }
  .coupon-right strong { font-size: 40px; }
  .coupon-right span { font-size: 24px; }
  .item { width: 180px; flex-basis: 180px; }
  .item img { height: 120px; }
  .download-cta {
    border-radius: 14px;
    padding: 9px 12px 9px 14px;
    box-shadow:
      inset 0 2px 0 rgba(255, 255, 255, 0.5),
      inset 0 -2px 0 rgba(80, 31, 8, 0.3),
      0 6px 0 #7c2f0d,
      0 10px 20px rgba(60, 22, 6, 0.3);
  }
  .download-text {
    font-size: 15px;
    line-height: 1.2;
  }
  .download-icon {
    width: 38px;
    height: 38px;
    font-size: 24px;
    border-radius: 10px;
    flex-basis: 38px;
  }
  .floating-download-cta {
    bottom: 10px;
    width: calc(100vw - 20px);
  }
}

@keyframes product-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 6px)); }
}
