* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #21474a;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
}
.bg-video-horizontal {
  display: block;
}
.bg-video-vertical {
  display: none;
}
#root {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
#root .logo {
  position: absolute;
  top: 10%;
  left: 6%;
  width: 300px;
  -webkit-transform: scale(var(--scale-fit));
      -ms-transform: scale(var(--scale-fit));
          transform: scale(var(--scale-fit));
  -webkit-transform-origin: top left;
      -ms-transform-origin: top left;
          transform-origin: top left;
}
#root .logo img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
#root .slogan {
  background: url("../img/pc/slogan.png") center / contain no-repeat;
  width: 964px;
  height: 180px;
  position: absolute;
  top: 40%;
  -webkit-transform: translateY(-50%) scale(var(--scale-fit));
      -ms-transform: translateY(-50%) scale(var(--scale-fit));
          transform: translateY(-50%) scale(var(--scale-fit));
}
#root .slogan .video-play-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
#root .buttons {
  position: absolute;
  bottom: 3%;
  height: 150px;
  width: 660px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transform: scale(var(--scale-fit));
      -ms-transform: scale(var(--scale-fit));
          transform: scale(var(--scale-fit));
  -webkit-transform-origin: bottom center;
      -ms-transform-origin: bottom center;
          transform-origin: bottom center;
}
#root .buttons a {
  height: 140px;
  width: 330px;
  background-size: contain;
}
#root .buttons a.disabled {
  -webkit-filter: brightness(2) grayscale(1);
          filter: brightness(2) grayscale(1);
  opacity: 0.9;
  cursor: not-allowed;
  pointer-events: none;
}
#root .buttons .google-play {
  background: url("../img/pc/google_play_btn.png") center / contain no-repeat;
  margin-right: -50px;
}
#root .buttons .app-store {
  background: url("../img/pc/app_store_btn.png") center / contain no-repeat;
}
@media (max-width: 640px) {
  body {
    height: 100%;
    overflow: hidden;
  }
  .bg-video-horizontal {
    display: none;
  }
  .bg-video-vertical {
    display: block;
  }
  #root {
    position: relative;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 8vh 20px 5vh;
  }
  #root .logo {
    position: relative;
    top: auto;
    left: auto;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    -webkit-transform-origin: center;
        -ms-transform-origin: center;
            transform-origin: center;
    margin: 0 auto;
    width: auto;
  }
  #root .logo img {
    width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
    max-width: 60vw;
  }
  #root .slogan {
    position: relative;
    top: auto;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    width: 320px;
    height: 208px;
    background-image: url("../img/mobile/slogan.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 2vh 0 30vh;
  }
  #root .slogan .video-play-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }
  #root .buttons {
    position: relative;
    bottom: auto;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    -webkit-transform-origin: center;
        -ms-transform-origin: center;
            transform-origin: center;
    width: 100%;
    max-width: 400px;
    height: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 10px;
  }
  #root .buttons a {
    width: 170px;
    height: 68px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  #root .buttons .google-play {
    background-image: url("../img/mobile/google_play_btn.png");
    margin-right: 0;
  }
  #root .buttons .app-store {
    background-image: url("../img/mobile/app_store_btn.png");
  }
}
@media (max-width: 375px) {
  #root {
    padding: 6vh 16px 4vh;
  }
  #root .logo img {
    width: 190px;
  }
  #root .slogan {
    width: 280px;
    height: 182px;
  }
  #root .buttons a {
    width: 150px;
    height: 60px;
  }
}
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.video-modal.active {
  opacity: 1;
  visibility: visible;
}
.video-modal .video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}
.video-modal .video-modal-container {
  position: relative;
  z-index: 1;
  width: auto;
  height: 70vh;
  max-height: 90vh;
}
@media (max-width: 640px) {
  .video-modal .video-modal-container {
    width: 90vw;
    height: auto;
    max-height: 90vh;
  }
}
.video-modal video {
  width: 100%;
  height: 100%;
  max-height: 90vh;
  border-radius: 8px;
  background: #000;
  -o-object-fit: contain;
     object-fit: contain;
}
.video-modal .video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
  z-index: 2;
}
.video-modal .video-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}
@media (max-width: 640px) {
  .video-modal .video-modal-close {
    top: -45px;
    right: 0;
  }
}

