* {
  box-sizing: border-box;
  appearance: none;
  outline: 0;
  padding: 0;
  margin: 0;
}

html {
  overflow-x: hidden;
  height: 100%;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: #7ec8f0;
  background-image: url('/static/assets/images/bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100dvh;
}

.container {
  flex: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
  display: flex;
  flex-direction: column;
}

.logo {
  flex-shrink: 0;
  padding-top: 62px;
}

.logo img {
  display: block;
  height: auto;
  max-height: 72px;
  width: auto;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 520px;
  padding: 24px 0 48px;
}

.wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  gap: 32px;
}

.content {
  width: 44%;
  max-width: 560px;
  flex-shrink: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.content > p {
  padding-top: 40px;
  padding-bottom: 30px;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.38;
}

.app-name {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
}

.btn {
  background-color: #fff;
  width: 440px;
  max-width: 100%;
  height: 110px;
  border-radius: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-decoration: none;
  color: #101010;
  font-size: 40px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

.btn img {
  display: block;
  width: 43px;
  height: 50px;
  flex-shrink: 0;
}

.btn-wrap {
  position: relative;
  width: 440px;
  max-width: 100%;
}

.media {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 720px);
  object-fit: contain;
}

.footer {
  flex-shrink: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.14);
}

.footer-inner {
  height: 60px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  color: #fff;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

.footer-inner a {
  font-size: 18px;
  text-decoration: underline;
  color: #fff;
}

.footer-inner a:hover {
  text-decoration: none;
}

.toast {
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);
  z-index: 10;
  width: max-content;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.92);
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.toast--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast--hide {
  opacity: 0;
  transform: translate(-50%, 4px);
}

@media (max-width: 1199px) {
  .btn-wrap {
    width: 100%;
    max-width: 440px;
  }

  .toast {
    white-space: normal;
  }
  .hero {
    min-height: auto;
    padding: 32px 0 40px;
  }

  .wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .content {
    width: 100%;
    max-width: 640px;
    align-items: center;
    text-align: center;
  }

  .media {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    background-position: center top;
  }

  .container {
    padding: 0 20px;
  }

  .logo {
    padding-top: 28px;
  }

  .logo img {
    max-height: 56px;
  }

  .hero {
    padding: 16px 0 28px;
  }

  .wrapper {
    gap: 28px;
  }

  .app-name {
    font-size: 22px;
    line-height: 1.35;
  }

  .content > p {
    padding-top: 12px;
    padding-bottom: 22px;
    font-size: 15px;
    line-height: 1.6;
  }

  .btn,
  .btn-wrap {
    width: 100%;
    max-width: 260px;
  }

  .btn {
    height: 52px;
    border-radius: 26px;
    font-size: 18px;
    gap: 10px;
  }

  .btn img {
    width: 22px;
    height: 26px;
  }

  .media img {
    max-height: min(58vw, 300px);
  }

  .footer-inner {
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .footer-inner a {
    font-size: 14px;
  }

  .copyright {
    width: 100%;
    text-align: center;
    font-size: 13px;
  }

  .toast {
    max-width: calc(100vw - 40px);
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .logo {
    padding-top: 20px;
  }

  .logo img {
    max-height: 48px;
  }

  .app-name {
    font-size: 20px;
  }

  .content > p {
    font-size: 14px;
    padding-bottom: 18px;
  }

  .btn,
  .btn-wrap {
    max-width: 240px;
  }

  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}
