/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #fff;
}

/* ══════════════════════════════════════════
   OUTER CONTAINER
   Mirrors original .layout7-pc-root:
   - Gets autofit zoom applied by JS
   - Holds background image (outside design canvas)
   - overflow hidden
══════════════════════════════════════════ */
.autofit-root {
  overflow: hidden;
  background-image: url(images/bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  /* Initial size — overridden immediately by inline <script> in <head> */
  width: 1920px;
  height: 1080px;
}

/* ══════════════════════════════════════════
   1920px DESIGN CANVAS
   Mirrors original inner div: w-[1920rem] h-[100%] m-auto
══════════════════════════════════════════ */
.page-wrap {
  width: 1920px;
  height: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* ─── Banner — wide landscape image, upper area ─── */
.pc-banner {
  position: absolute;
  left: 115px;
  top: 112px;
  width: 1705px;
  height: 616px;
  object-fit: cover;
  object-position: center;
}

/* ─── Character — portrait image, right-center ─── */
.pc-char {
  position: absolute;
  left: 960px;
  top: 123px;
  width: 762px;
  height: 969px;
  object-fit: cover;
  object-position: top center;
}

/* ─── Sensitive content blur ─── */
/* .sensitive-blur {
  filter: blur(12px) brightness(0.85);
  -webkit-filter: blur(12px) brightness(0.85);
} */

/* ══════════════════════════════════════
   HEADER  absolute left-0 top-0 right-0 z-[3]
══════════════════════════════════════ */
.pc-header {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  z-index: 3;
}

/* ── Logo area — absolute left-[120rem] top-[50rem] ── */
.logo-area {
  position: absolute;
  left: 120px;
  top: 50px;
  display: flex;
  align-items: center;
  width: 237px;
  height: 69px;
}

.logo-icon {
  width: 69px;
  height: 69px;
  border-radius: 15px;
  background-image: url(images/logo.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.logo-texts {
  margin-left: 10px;
}

.logo-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-title {
  font-size: 32px;
  line-height: 1;
  letter-spacing: 2.24px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.official-badge {
  width: 43px;
  height: 26px;
  background-image: url(images/official.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.logo-subtitle {
  font-size: 20px;
  letter-spacing: 2.6px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  margin-top: 2px;
}

/* ── Contact area — absolute left-[1676rem] top-[50rem] flex gap-[43rem] ── */
.contact-area {
  position: absolute;
  left: 1676px;
  top: 50px;
  display: flex;
  align-items: flex-start;
  gap: 43px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 65px;
  text-decoration: none;
  cursor: pointer;
}

.contact-icon {
  width: 54px;
  height: 54px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.business-icon {
  background-image: url(images/contact-business.webp);
}

.cs-icon {
  background-image: url(images/contact-cs.webp);
}

.contact-label {
  height: 14px;
  font-size: 16px;
  line-height: 10px;
  color: #fff;
  white-space: nowrap;
}

/* ══════════════════════════════════════
   DOWNLOAD AREA — absolute left-[85rem] bottom-[85rem] z-[3]
══════════════════════════════════════ */
.download-area {
  position: absolute;
  left: 85px;
  bottom: 85px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ── QR code — w-[200rem] h-[200rem] rounded-[20rem] ── */
.qr-wrap {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-wrap canvas,
.qr-wrap img {
  width: 200px !important;
  height: 200px !important;
  display: block;
}

/* ── Scanner guide — relative w-[25rem] h-[188rem] ── */
.scan-guide {
  position: relative;
  width: 25px;
  height: 188px;
  flex-shrink: 0;
}

.scan-svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* absolute left-0 top-[32rem] text-[25rem] leading-[26rem] */
.scan-text {
  position: absolute;
  left: 0;
  top: 32px;
  font-size: 25px;
  line-height: 26px;
  color: #fff;
  letter-spacing: 1.25px;
  text-align: center;
}

/* ── Download info — w-[501rem] flex flex-col gap-[8rem] ── */
.dl-info {
  width: 501px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* text-[30rem] leading-[40rem] tracking-[1.5rem] */
.dl-link-row {
  font-size: 30px;
  line-height: 40px;
  letter-spacing: 1.5px;
  color: #fff;
}

/* relative w-[501rem] h-[48rem] */
.install-bar-wrap {
  position: relative;
  width: 501px;
  height: 48px;
}

/* w-[493rem] h-[48rem] rounded-[10rem] gradient */
.install-bar-bg {
  width: 493px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(to right, #FDB021, #D91F33);
}

/* absolute left-[21rem] top-[13rem] text-[23rem] */
.install-bar-text {
  position: absolute;
  left: 21px;
  top: 13px;
  font-size: 23px;
  line-height: 23px;
  color: #fff;
  letter-spacing: 1.15px;
  white-space: nowrap;
}

/* text-[23rem] leading-[30rem] text-[#787878] whitespace-nowrap */
.install-note {
  font-size: 23px;
  line-height: 30px;
  letter-spacing: 1.15px;
  color: #787878;
  white-space: nowrap;
}

.brand-name {
  color: #FFAE00;
  font-weight: 600;
}
