:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #000;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { width: 100%; overflow-x: hidden; }
body { margin: 0; background: #000; color: #fff; }
button, a { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 82px;
  background: rgba(13, 15, 21, .96);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

.topbar__inner {
  width: min(1180px, 100%);
  padding: 0 20px;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-group, .actions, .partner { display: flex; align-items: center; }
.brand-logo {
  width: 150px;
  flex: none;
  color: #12e4ff;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.brand-logo strong { font-size: 25px; letter-spacing: 2px; }
.brand-logo span { margin-left: 4px; font-size: 18px; font-weight: 700; }
.brand-logo small { display: block; margin-top: 6px; color: #b8c8d3; font-size: 9px; letter-spacing: 5px; }
.divider { width: 1px; height: 36px; background: #555; margin: 0 26px; }
.partner { gap: 10px; margin-right: 24px; color: #d5d5d5; font-size: 12px; line-height: 1.5; }
.partner__badge {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111;
  background: #f4c42d;
  font-weight: 900;
  font-size: 13px;
}
.partner--league .partner__badge { color: #fff; background: linear-gradient(145deg, #1b65c8, #ee3232); }

.actions { gap: 12px; }
.download-btn, .mobile-btn {
  height: 42px;
  padding: 0 23px;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: transform .2s, filter .2s;
}
.download-btn { color: #081019; background: linear-gradient(90deg, #15e8ff, #00b9ff); font-weight: 700; }
.mobile-btn { color: #eee; background: #343943; }
.download-btn:hover, .mobile-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

.offer {
  position: fixed;
  z-index: 15;
  top: 108px;
  left: 70%;
  width: 340px;
  height: 58px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: rgba(0, 0, 0, .88);
  border: 1px solid #00d1ff;
  border-radius: 7px;
  box-shadow: 0 0 20px rgba(0,209,255,.2);
  overflow: hidden;
}
.offer__icon { width: 31px; height: 31px; display: grid; place-items: center; flex: none; border-radius: 50%; color: #111; background: #00d1ff; font-weight: 900; }
.offer__viewport { overflow: hidden; white-space: nowrap; }
.offer__track { display: inline-block; animation: ticker 9s linear infinite; }
@keyframes ticker { to { transform: translateX(-52%); } }

.image-section { position: relative; width: 100%; max-width: 1920px; margin: 0 auto; line-height: 0; overflow: hidden; }
.image-section img { display: block; width: 100%; height: auto; }
.hero__download {
  position: absolute;
  left: 41.95%;
  top: 80.83%;
  width: 16.09%;
  height: 8.54%;
  border: 0;
  border-radius: 40px;
  background: transparent;
  cursor: pointer;
}
.hero__download:hover { background: rgba(255,255,255,.1); box-shadow: 0 0 30px rgba(255,255,255,.3); }

.office-section {
  position: relative;
  width: 100%;
  max-width: 1920px;
  min-height: 920px;
  margin: 0 auto;
  overflow: hidden;
  background: #050314;
}
.office-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.office-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,3,20,.98) 0%, rgba(5,3,20,.82) 38%, rgba(5,3,20,.16) 72%, rgba(5,3,20,.3) 100%);
}
.office-section__content {
  position: relative;
  z-index: 2;
  width: 1180px;
  margin: auto;
  padding: 82px 0 76px;
}
.office-section__number { color: rgba(185,220,255,.45); font-size: 34px; font-weight: 800; }
.office-section__eyebrow { margin: 8px 0 15px; color: #8bdbff; font-size: 18px; letter-spacing: 4px; }
.office-section h2 { margin: 0; font-size: 48px; line-height: 1.2; text-shadow: 0 0 25px rgba(0,209,255,.25); }
.office-section__intro { margin: 18px 0 34px; color: #aeb8cd; font-size: 18px; }
.office-grid { width: 620px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.office-card {
  min-height: 112px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(41,194,255,.45);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(13,19,49,.9), rgba(21,11,55,.78));
  box-shadow: inset 0 0 22px rgba(35,109,255,.08), 0 0 20px rgba(0,0,0,.22);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.office-card:hover { transform: translateY(-4px); border-color: #35ddff; box-shadow: 0 10px 30px rgba(0,181,255,.16); }
.office-card__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid #3bdcff;
  border-radius: 12px;
  color: #dffaff;
  background: linear-gradient(145deg, rgba(0,194,255,.28), rgba(118,53,255,.3));
  box-shadow: 0 0 20px rgba(0,209,255,.18);
  font-size: 21px;
  font-weight: 700;
}
.office-card h3 { margin: 0 0 8px; font-size: 17px; }
.office-card p { margin: 0; color: #8994ac; font-size: 13px; }
.office-cta {
  margin-top: 28px;
  height: 46px;
  padding: 0 30px;
  border: 1px solid #53e7ff;
  border-radius: 5px;
  color: #041018;
  background: linear-gradient(90deg, #25e6ff, #6297ff);
  box-shadow: 0 0 25px rgba(0,209,255,.2);
  font-weight: 700;
  cursor: pointer;
}
.office-cta:hover { filter: brightness(1.1); transform: translateY(-2px); }
.product-downloads {
  width: 760px;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.product-download {
  min-height: 96px;
  padding: 15px;
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(67,218,255,.45);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, rgba(11,29,63,.93), rgba(28,11,62,.88));
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.product-download:hover { transform: translateY(-4px); border-color: #54e8ff; box-shadow: 0 10px 30px rgba(0,190,255,.18); }
.product-download__icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #dffaff;
  background: linear-gradient(145deg, #087cae, #713bd2);
  font-size: 12px;
  font-weight: 800;
}
.product-download strong, .product-download small { display: block; }
.product-download strong { font-size: 15px; }
.product-download small { margin-top: 5px; color: #899ab7; font-size: 11px; }
.product-download b { grid-column: 1 / -1; color: #36ddff; font-size: 12px; text-align: right; }
.product-download--android .product-download__icon { background: linear-gradient(145deg, #00a883, #306ee8); }
.product-download--mac .product-download__icon { background: linear-gradient(145deg, #576578, #7659d2); }

.footer { background: #292929; color: #7d7d7d; padding: 48px 0 42px; }
.footer__inner { width: 1080px; margin: auto; text-align: center; }
.footer__logo { margin-bottom: 24px; color: #19dff5; font-size: 22px; font-weight: 700; letter-spacing: 3px; opacity: .72; }
.footer__logo small { display: block; margin-top: 7px; color: #929292; font-size: 9px; font-weight: 400; letter-spacing: 4px; }
.footer__links { display: flex; justify-content: center; gap: 28px; }
.footer__links a { color: #9b9b9b; text-decoration: none; font-size: 14px; }
.footer__links a:hover { color: #00d1ff; }
.footer__line { height: 1px; margin: 30px 0; background: #3c3c3c; }
.company { display: flex; justify-content: space-between; text-align: left; font-size: 12px; line-height: 1.8; }
.company p { margin: 0; }
.company .spaced { margin-top: 18px; }
.contact { min-width: 190px; display: flex; flex-direction: column; justify-content: center; text-align: right; }
.contact strong { color: #a6a6a6; font-size: 22px; }
.icp { margin: 28px 0 0; text-align: center; font-size: 12px; }
.icp a { color: #777; text-decoration: none; }
.icp a:hover { color: #00d1ff; }

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 50px;
  padding: 13px 25px;
  border-radius: 6px;
  background: rgba(20, 23, 29, .95);
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  transition: .25s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.qr-panel {
  position: fixed;
  z-index: 40;
  top: 92px;
  right: calc((100vw - 1180px) / 2);
  width: 210px;
  padding: 25px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: #222;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 45px rgba(0,0,0,.45);
}
.qr-panel.open { display: flex; }
.qr-panel__close { position: absolute; right: 7px; top: 3px; border: 0; color: #777; background: transparent; font-size: 25px; cursor: pointer; }
.qr-panel span { color: #777; font-size: 12px; }
.fake-qr {
  width: 126px;
  height: 126px;
  border: 8px solid #fff;
  outline: 1px solid #ddd;
  background:
    linear-gradient(90deg, #111 50%, transparent 50%) 0 0/14px 14px,
    linear-gradient(#111 50%, transparent 50%) 7px 7px/14px 14px,
    #fff;
}

@media (max-width: 1100px) {
  .partner--league { display: none; }
  .offer { left: auto; right: 18px; }
}

@media (max-width: 900px) {
  .topbar { height: 64px; }
  .topbar__inner { width: 100%; padding: 0 14px; }
  .brand-logo { width: 112px; }
  .brand-logo strong { font-size: 19px; }
  .brand-logo span { font-size: 14px; }
  .brand-logo small { margin-top: 4px; font-size: 7px; letter-spacing: 3px; }
  .divider, .partner, .mobile-btn { display: none; }
  .download-btn { height: 38px; padding: 0 14px; font-size: 13px; }
  .offer { top: 76px; left: auto; right: 10px; width: 275px; height: 48px; font-size: 13px; }
  .image-section { min-height: 0; overflow: hidden; }
  .image-section img {
    position: static;
    left: auto;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    transform: none;
  }
  .hero__download { left: 34%; top: 76%; width: 32%; height: 14%; }
  .office-section { min-height: 1120px; }
  .office-section__bg {
    top: 0;
    bottom: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
    opacity: .7;
  }
  .office-section__content { width: 100%; padding: 54px 18px; }
  .office-section h2 { font-size: 34px; }
  .office-section__intro { max-width: 420px; }
  .office-grid { width: 100%; max-width: 560px; grid-template-columns: 1fr; }
  .product-downloads { width: 100%; max-width: 560px; grid-template-columns: 1fr; }
  .office-section::after { background: linear-gradient(90deg, rgba(5,3,20,.96), rgba(5,3,20,.72)); }
  .footer { padding: 36px 18px; }
  .footer__inner { width: 100%; }
  .footer__links { gap: 12px 20px; flex-wrap: wrap; }
  .company { display: block; text-align: center; }
  .contact { margin-top: 22px; text-align: center; }
}

@media (max-width: 520px) {
  .topbar__inner { padding: 0 10px; }
  .download-btn { padding: 0 10px; font-size: 12px; }
  .offer { display: none; }
  .office-section { min-height: 1090px; }
  .office-section__number { font-size: 26px; }
  .office-section__eyebrow { font-size: 14px; letter-spacing: 2px; }
  .office-section h2 { font-size: 30px; }
  .office-section__intro { font-size: 15px; line-height: 1.7; }
  .office-card { min-height: 94px; padding: 16px; }
  .office-card__icon { width: 44px; height: 44px; }
  .product-download { min-height: 88px; }
  .office-cta { width: 100%; }
  .footer__links { font-size: 12px; }
}
