:root {
  --black: #080808;
  --black-soft: #111111;
  --panel: #181818;
  --panel-light: #202020;
  --red: #e9151b;
  --red-dark: #a8090d;
  --red-light: #ff4247;
  --gold: #d4aa76;
  --text: #ffffff;
  --muted: #999999;
  --line: rgba(255, 255, 255, 0.12);
  --red-line: rgba(233, 21, 27, 0.45);
  --shell: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--black);
  font-family:
    Inter,
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
a,
button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  transform: none !important;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

.page-shell {
  width: min(var(--shell), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: relative;
  z-index: 30;
  min-height: 76px;
  background:
    linear-gradient(90deg, #100706, #090909 45%, #0d0808);
  border-bottom: 2px solid var(--red);
}

.header-inner {
  width: min(var(--shell), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  max-width: 145px;
  max-height: 43px;
  object-fit: contain;
}

.header-side {
  display: flex;
  align-items: center;
  gap: 26px;
}

.bmm-logo {
  width: auto;
  max-width: 116px;
  max-height: 44px;
  object-fit: contain;
}

.header-download {
  min-height: 44px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--red);
  border: 1px solid #ff3136;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(233, 21, 27, 0.25);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.header-download:hover {
  background: var(--red-light);
  transform: translateY(-2px);
}

.header-download svg,
.main-download svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hero */

.hero-section {
  position: relative;
  overflow: hidden;
  background: #210100;
}

.hero-picture {
  width: min(1920px, 100%);
  margin: 0 auto;
  background: #220100;
}

.hero-picture img {
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  object-position: center top;
}

.hero-bottom {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background:
    linear-gradient(90deg, #8b070a, #d22124 45%, #880507);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-bottom-inner {
  width: min(var(--shell), calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 17px;
}

.hero-line {
  width: 5px;
  height: 35px;
  background: #ff3136;
}

.hero-bottom small,
.hero-bottom strong {
  display: block;
}

.hero-bottom small {
  margin-bottom: 5px;
  color: #ffb1b3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hero-bottom strong {
  font-size: 16px;
}

.hero-bottom a {
  margin-left: auto;
  min-height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

/* Download */

.download-section {
  position: relative;
  overflow: hidden;
  padding: 76px 0 72px;
  background:
    radial-gradient(circle at 50% 5%, rgba(155, 10, 15, 0.12), transparent 35%),
    var(--black-soft);
}

.download-light {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(15px);
}

.download-light-left {
  width: 500px;
  height: 340px;
  left: -280px;
  top: 80px;
  background: rgba(194, 17, 22, 0.08);
}

.download-light-right {
  width: 500px;
  height: 340px;
  right: -290px;
  bottom: -130px;
  background: rgba(194, 17, 22, 0.07);
}

.download-heading {
  position: relative;
  z-index: 2;
  max-width: 730px;
  margin: 0 auto;
  text-align: center;
}

.download-heading > span {
  display: inline-flex;
  color: var(--red-light);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.download-heading h1 {
  margin: 10px 0 0;
  font-size: clamp(40px, 5vw, 62px);
  letter-spacing: -0.05em;
}

.download-heading p {
  margin: 17px auto 0;
  color: var(--muted);
  line-height: 1.8;
}

.download-platforms {
  position: relative;
  z-index: 2;
  width: min(730px, 100%);
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.store-badge {
  position: relative;
  min-height: 105px;
  padding: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #030303;
  border: 1px solid #555;
  border-radius: 20px;
  text-decoration: none;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.store-badge:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.store-badge img {
  width: auto;
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
}

.badge-hover {
  position: absolute;
  inset: auto 0 0;
  padding: 7px;
  color: #fff;
  background: rgba(204, 12, 17, 0.92);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  transform: translateY(100%);
  transition: transform 180ms ease;
}

.store-badge:hover .badge-hover {
  transform: translateY(0);
}

.platform-note {
  position: relative;
  z-index: 2;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red);
}

.platform-note p {
  margin: 0;
  color: #757575;
  font-size: 12px;
  text-align: center;
}

/* Steps */

.steps {
  position: relative;
  z-index: 2;
  margin-top: 58px;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    68px
    minmax(0, 1fr)
    68px
    minmax(0, 1fr);
  gap: 15px;
  align-items: center;
}

.step {
  min-width: 0;
  padding: 25px 19px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 19px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.step-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  width: auto;
  max-width: 68px;
  max-height: 64px;
  object-fit: contain;
}

.step-copy small {
  color: #878787;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.step-copy h2 {
  margin: 5px 0 0;
  font-size: 18px;
}

.step-copy p {
  margin: 8px 0 0;
  color: #818181;
  font-size: 12px;
  line-height: 1.6;
}

.step-arrow {
  width: auto;
  max-width: 58px;
  max-height: 45px;
  margin: 0 auto;
  object-fit: contain;
  opacity: 0.55;
}

/* Compact selector */

.compact-download {
  padding: 38px 0;
  background:
    linear-gradient(90deg, #260303, #120c0c 45%, #230303);
  border-top: 1px solid var(--red-line);
  border-bottom: 1px solid var(--red-line);
}

.compact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.compact-copy {
  display: flex;
  align-items: center;
  gap: 18px;
}

.compact-mark {
  width: 55px;
  height: 55px;
  flex: 0 0 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--red);
  border-radius: 15px;
  font-weight: 1000;
}

.compact-copy small {
  display: block;
  margin-bottom: 6px;
  color: #a66d6e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.compact-copy h2 {
  margin: 0;
  font-size: 22px;
}

.compact-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.system-selector {
  min-height: 42px;
  padding: 0 18px;
  color: #a8a8a8;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  cursor: pointer;
}

.system-selector.is-active {
  color: #fff;
  background: rgba(233, 21, 27, 0.15);
  border-color: var(--red);
}

.main-download {
  min-height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

/* Footer */

.site-footer {
  padding: 27px 0;
  background: #050505;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.footer-inner img {
  width: auto;
  max-width: 125px;
  max-height: 36px;
  object-fit: contain;
}

.footer-inner p {
  max-width: 680px;
  margin: 0;
  color: #666;
  font-size: 12px;
  line-height: 1.7;
  text-align: right;
}

/* Responsive */

@media (max-width: 960px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 660px;
    margin-right: auto;
    margin-left: auto;
  }

  .step-arrow {
    transform: rotate(90deg) !important;
  }

  .compact-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .compact-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .page-shell,
  .header-inner,
  .hero-bottom-inner {
    width: min(100% - 28px, var(--shell));
  }

  .site-header,
  .header-inner {
    min-height: 64px;
  }

  .brand img {
    max-width: 125px;
    max-height: 35px;
  }

  .bmm-logo {
    display: none;
  }

  .header-download {
    min-height: 38px;
    padding: 0 15px;
    font-size: 12px;
  }

  .hero-picture img {
    width: 132%;
    max-width: none;
    margin-left: -16%;
  }

  .hero-bottom-inner {
    min-height: 64px;
  }

  .download-section {
    padding: 58px 0;
  }

  .download-platforms {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .store-badge {
    min-height: 92px;
  }

  .step {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .step-icon {
    width: 56px;
    height: 56px;
  }

  .step-icon img {
    max-width: 56px;
    max-height: 54px;
  }

  .compact-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .main-download {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner p {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .hero-bottom a {
    display: none;
  }

  .download-heading h1 {
    font-size: 40px;
  }

  .compact-copy h2 {
    font-size: 19px;
  }
  .client-visual-block {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  margin: 55px auto 0;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(280px, 0.85fr);
  gap: 38px;
  align-items: center;
  background:
    linear-gradient(
      135deg,
      rgba(194, 17, 22, 0.12),
      rgba(255, 255, 255, 0.025)
    );
  border: 1px solid rgba(233, 21, 27, 0.28);
  border-radius: 22px;
}

.client-visual {
  margin: 0;
}

.client-visual img {
  width: 100%;
  height: auto;
  max-height: 330px;
  object-fit: contain;
}

.client-visual-copy > span {
  color: var(--red-light);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.client-visual-copy h2 {
  margin: 10px 0 0;
  font-size: clamp(27px, 3.4vw, 39px);
  line-height: 1.15;
}

.client-visual-copy p {
  margin: 17px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.client-tags {
  margin-top: 19px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.client-tags span {
  padding: 7px 11px;
  color: #d4d4d4;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
}

.step-arrow-css {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 43px;
  line-height: 1;
}

.step-icon-css {
  color: #a39a92;
}

.step-icon-css svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .client-visual-block {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .client-visual img {
    max-height: 280px;
  }

  .header-platform-text {
    display: none;
  }
}
}