* {
  box-sizing: border-box;
}

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

a,
button,
img {
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 20px;
  background: url("images/hero_background-cmp-2.jpg") center / cover no-repeat;
}

.linktree-stage {
  width: 100%;
  display: flex;
  justify-content: center;
}

.linktree,
.about-photo,
.link-button {
  border-radius: 10px;
}

.linktree {
  width: min(360px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.title {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-family: "Space Mono", monospace;
  font-size: 3.16rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
}

.subtitle {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-family: "Rubik", sans-serif;
  font-size: 1.14rem;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
}

.scramble-text {
  display: block;
}

.social-icons {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.icon-divider {
  flex: 1;
  height: 1px;
  display: block;
  background: #ffffff;
}

.social-icon {
  width: 26px;
  height: 26px;
  display: block;
  transition: opacity 0.15s ease;
}

.about-photo {
  width: 100%;
  height: auto;
  display: block;
  padding: 0;
  margin: 20px 0;
}

.link-button {
  width: 100%;
  min-height: 56px;
  border: none;
  background: #ffffff;
  padding: 12px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Mono", monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  -webkit-appearance: none;
  appearance: none;
  text-decoration: none;
  color: #000000;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.link-button--contact {
  position: relative;
  margin-top: 12px;
}

.link-button--contact::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
  width: 24px;
  height: 12px;
  background: #ffffff;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.contact-copy {
  margin: 8px 0 20px;
  color: #ffffff;
  font-family: "Rubik", sans-serif;
  font-size: 0.95rem;
  line-height: 1.62;
  text-align: center;
}

.contact-copy__line {
  display: block;
  white-space: nowrap;
}

.copyright-copy {
  margin: 60px 0 0;
  width: 100%;
  color: #ffffff;
  font-family: "Rubik", sans-serif;
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: nowrap;
  mix-blend-mode: overlay;
}

@media (max-width: 767px) {
  body {
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 16px;
    padding-inline: 28px;
  }

  .linktree-stage {
    align-items: flex-start;
  }

  .linktree {
    width: min(360px, calc(100vw - 56px));
  }
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .social-icons a:hover .social-icon {
    opacity: 0.5;
  }

  .link-button:hover {
    background: #000000;
    color: #ffffff;
  }
}

@media (hover: none) and (pointer: coarse) {
  .social-icons a,
  .link-button:active,
  .link-button:focus,
  .link-button:focus-visible {
    -webkit-tap-highlight-color: transparent;
  }

  .social-icons a:active .social-icon,
  .social-icons a:focus .social-icon,
  .social-icons a:focus-visible .social-icon {
    opacity: 1;
  }

  .social-icons a:focus,
  .social-icons a:focus-visible,
  .social-icons a:active {
    outline: none;
    box-shadow: none;
  }

  .link-button:active,
  .link-button:focus,
  .link-button:focus-visible {
    background: #ffffff;
    color: #000000;
    outline: none;
    box-shadow: none;
  }
}
