*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

.page-container {
  min-height: 100vh;
}

.content-section {
  width: 100%;
  max-width: 520px;
  height: auto;
  min-height: clamp(520px, 70svh, 640px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 56px 16px 40px 16px;
  text-align: center;
  transform: translateY(22px);
}

.content-title {
  font-size: clamp(24px, 4.2vw, 32px);
  font-weight: 800;
  margin: 0 0 6px 0;
  line-height: 1.1;
  color: #000;
}

.content-subtext {
  max-width: 34ch;
  margin: 0 0 2px 0;
  font-size: clamp(14px, 2.2vw, 16px);
  line-height: 1.4;
  color: #000;
}

.discord-preview {
  width: 100%;
  margin: 0 auto 2px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discord-preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  margin: 0;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(360px, 100%);
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  margin: 0;
}

@media (max-width: 389px) {
  .content-section {
    padding: 50px 12px 34px 12px;
    min-height: clamp(500px, 72svh, 620px);
    transform: translateY(18px);
  }

  .content-title {
    font-size: 22px;
    margin: 0 0 4px 0;
  }

  .content-subtext {
    font-size: 13px;
    max-width: 30ch;
    margin: 0 0 2px 0;
  }

  .discord-preview {
    margin: 0 auto 2px auto;
  }

  .discord-btn {
    font-size: 14px;
    padding: 11px 16px;
  }
}