

html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #fff;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-image: url(./assets/background.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.card {
  width: 100%;
  max-width: 450px;
  max-height: 626px;
  aspect-ratio: 450 / 626;
  margin: 0 24px;
  background-image: url(./assets/card.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
  backdrop-filter: blur(21px);
}

.header {
  text-align: center;
}

.header h1 {
  margin-bottom: 24px;
}

.header-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  text-align: center;
  opacity: 0.8;
  margin-bottom: 38px;
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.qr-code {
  margin-bottom: 30px;
  width: 180px;
}

.text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  opacity: 0.5;
}

.cta {
  margin-top: 32px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-button {
  width: 290px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: #000;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: 10px;
  text-decoration: none;
}

@media (max-width: 520px) {
  .card {
    width: 100%;
    height: 100%;
    max-width: 327px;
    max-height: 530px;
    aspect-ratio: 327 / 530;
    background-image: url(./assets/mob-card.svg);
  }

  .header h1 {
    margin-bottom: 16px;
  }

  .header h1 img {
    width: 124px;
  }

  .header-text {
    font-size: 13px;
    margin-bottom: 40px;
  }

  .qr-code {
    margin-bottom: 16px;
  }

  .text {
    font-size: 12px;
  }

  .cta {
    margin-top: 40px;
  }

  .cta-button {
    width: 231px;
    height: 44px;
    font-size: 12px;
  }
}