* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #fff;
  color: #000;
}

.home {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background-color: #fff;
  background-image: url("assets/p10.jpg");
  background-position: top center;
  background-repeat: repeat-x;
  background-size: auto 714px;
  font-size: 18px;
}

.content {
  width: 1290px;
  min-height: 760px;
  margin: 0 auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 35px 0;
}

.logo,
.logo img {
  display: block;
  width: 212px;
  height: 77px;
}

.right {
  display: flex;
  align-items: center;
}

.recharge {
  margin: 0 18px;
  padding: 7px 12px;
  border-radius: 40px;
  background: #22debb;
  color: #fff;
  text-decoration: none;
}

.language {
  position: relative;
}

.language-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  font: inherit;
}

.language-button img {
  width: 12px;
  height: 7px;
}

.language-list {
  position: absolute;
  z-index: 10;
  top: 100%;
  right: 0;
  min-width: 110px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.language-list button {
  display: block;
  width: 100%;
  padding: 9px 14px;
  border: 0;
  background: #fff;
  color: #222;
  text-align: left;
  cursor: pointer;
}

.language-list button:hover {
  background: #edfffa;
}

.center {
  position: relative;
  width: 100%;
  min-height: 700px;
}

.free,
.meet {
  position: absolute;
  left: 0;
  margin: 0;
  color: #02080c;
}

.free {
  top: 125px;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.15;
}

.meet {
  top: 205px;
  font-size: 40px;
  line-height: 1.2;
}

.store-row {
  position: absolute;
  top: 310px;
  left: 0;
  display: flex;
  gap: 20px;
}

.store {
  display: block;
  width: 230px;
  height: 80px;
  cursor: pointer;
}

.store img {
  display: block;
  width: 100%;
  height: 100%;
}

.apple {
  left: 0;
}

.google {
  left: 250px;
}

.phone-preview {
  position: absolute;
  top: 44px;
  right: 0;
  width: 310px;
  height: 640px;
}

.phone-frame {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 310px;
  height: 640px;
  pointer-events: none;
}

.video {
  position: absolute;
  z-index: 2;
  top: 11px;
  right: 10px;
  width: 290px;
  height: 617px;
  overflow: hidden;
  border-radius: 40px;
  background: #fff;
  object-fit: cover;
}

.bottom {
  width: 100%;
  margin: 0 auto;
  padding-top: 730px;
  color: #666;
  line-height: 40px;
  text-align: center;
}

.pay-ad img {
  display: inline-block;
  width: 976px;
  height: 67px;
  max-width: 100%;
  object-fit: contain;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  font-size: 16px;
}

.footer-links a,
.footer-links span {
  padding: 0 10px;
  color: #666;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: #3176ea;
  text-decoration: underline;
}

.copyright {
  margin: 0 0 30px;
  color: #666;
  font-size: 16px;
}

.home[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

.home[dir="rtl"] .free,
.home[dir="rtl"] .meet,
.home[dir="rtl"] .apple,
.home[dir="rtl"] .google {
  right: 0;
  left: auto;
}

.home[dir="rtl"] .google {
  right: 250px;
}

@media (max-width: 1350px) {
  .content {
    width: calc(100% - 80px);
  }
}

@media (max-width: 860px) {
  .home {
    min-height: 100vh;
    background-size: auto 600px;
  }

  .content {
    width: calc(100% - 32px);
  }

  .top {
    padding: 22px 0;
  }

  .logo,
  .logo img {
    width: 165px;
    height: auto;
  }

  .language {
    display: none;
  }

  .recharge {
    margin-right: 0;
    font-size: 15px;
  }

  .center {
    height: auto;
    min-height: 0;
    text-align: center;
  }

  .free,
  .meet {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    text-align: center;
  }

  .free {
    margin-top: 34px;
    font-size: clamp(38px, 10vw, 54px);
  }

  .meet {
    margin-top: 12px;
    font-size: clamp(27px, 7vw, 38px);
  }

  .store-row {
    position: relative;
    top: auto;
    left: auto;
    justify-content: center;
    gap: 16px;
    margin-top: 72px;
  }

  .store {
    width: min(42vw, 200px);
    height: auto;
  }

  .apple,
  .google {
    right: auto;
    left: auto;
  }

  .phone-preview {
    position: relative;
    top: auto;
    right: auto;
    width: min(64vw, 248px);
    height: auto;
    aspect-ratio: 310 / 640;
    margin: 20px auto 0;
    transform: none;
  }

  .phone-frame {
    width: 100%;
    height: 100%;
  }

  .video {
    top: 1.72%;
    right: 3.23%;
    width: 93.55%;
    height: 96.4%;
    border-radius: clamp(24px, 8.2vw, 32px);
  }

  .bottom {
    padding-top: 32px;
    line-height: 28px;
  }

  .pay-ad img {
    height: auto;
  }

  .footer-links {
    margin-top: 18px;
    font-size: 13px;
  }

  .footer-links a,
  .footer-links span {
    padding: 0 5px;
  }

  .copyright {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .logo,
  .logo img {
    width: 138px;
  }

  .recharge {
    padding: 6px 11px;
    font-size: 14px;
  }

  .free {
    margin-top: 44px;
    font-size: 36px;
  }

  .meet {
    font-size: 28px;
  }

  .store {
    top: 200px;
  }
}
