#download.download {
  position: relative;
  background:
    linear-gradient(180deg, rgba(5, 8, 18, 0.82), rgba(5, 8, 18, 0.9)),
    url("../img/backgrounds/bt.png") center / cover no-repeat;
  padding: 72px 16px;
}

#download .get-app {
  width: min(440px, 100%);
  margin: 0 auto;
  color: #e8eef8;
}

#download .get-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

#download .get-app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

#download .get-app-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #1c2740;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8eb4ff;
}

#download .get-app-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(46, 204, 113, 0.12);
  color: #3ee07a;
  font-size: 12px;
  font-weight: 600;
}

#download .get-app-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ee07a;
}

#download .get-app-kicker {
  width: fit-content;
  margin: 0 auto 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #2a1f86;
  color: #d9d4ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#download .get-app-title {
  margin: 0 0 22px;
  text-align: center;
  color: #fff;
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

#download .get-app-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: #12182a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

#download .get-app-switch button {
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #9aa6bd;
  font-weight: 700;
  padding: 12px 8px;
  cursor: pointer;
}

#download .get-app-switch button.is-active {
  background: #5b4dff;
  color: #fff;
}

#download .platform-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 22px;
  background: #12182a;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

#download .platform-card.is-current {
  border-color: rgba(91, 77, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(91, 77, 255, 0.35);
}

#download .platform-card header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

#download .platform-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: #1c2438;
}

#download .platform-icon.apple {
  color: #fff;
}

#download .platform-icon.play {
  color: #3ddc84;
}

#download .platform-card h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

#download .platform-card header p {
  margin: 2px 0 0;
  color: #8b97ad;
  font-size: 13px;
}

#download .qr-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1c2438;
  color: #d5deee;
  cursor: pointer;
}

#download .platform-spec {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #0d1322;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #c5d0e2;
  font-size: 13px;
  line-height: 1.45;
}

#download .store-badge {
  display: flex;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: #05070d;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

#download .store-badge img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 100%;
}

.app-download-buttons {
  position: fixed;
  top: 12px;
  left: 35%;
  transform: translateX(-35%);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 4px 12px 4px 8px;
  border-radius: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
  border: 1px solid #e0e0e0;
  min-height: 40px;
  width: max-content;
  max-width: calc(100vw - 24px);
  pointer-events: auto;
}

.app-download-buttons a {
  margin: 0 4px;
  display: inline-block;
}

.app-download-buttons img {
  height: 30px;
  width: auto;
  vertical-align: middle;
  transition: transform 0.1s;
  box-shadow: none;
}

.app-download-buttons a:hover img {
  transform: scale(1.07);
}

.app-download-close {
  background: none;
  border: none;
  color: #888;
  font-size: 22px;
  font-weight: bold;
  margin-right: 6px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px 0 0;
  transition: color 0.15s;
}

.app-download-close:hover {
  color: #222;
}

/* iPad and smaller laptops: badges sit over the menu when centered in the header */
@media (max-width: 1366px) {
  .app-download-buttons {
    top: auto;
    bottom: 18px;
    left: auto;
    right: 16px;
    transform: none;
  }
}

@media (max-width: 1199px) {
  .app-download-buttons {
    top: auto;
    bottom: 16px;
    left: auto;
    right: 16px;
    transform: none;
    background: rgba(12, 18, 28, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 600px) {
  .app-download-buttons {
    bottom: 12px;
    padding: 2px 4px 2px 2px;
    min-height: 28px;
  }

  .app-download-buttons img {
    height: 18px;
  }

  .app-download-close {
    font-size: 16px;
  }
}
