@font-face {
  font-family: "UNDERRATED";
  font-weight: 800;
  src: url("fonts/UNDERRATED-UltraBold.woff2") format("woff2");
}

@font-face {
  font-family: "Crossten Soft";
  font-weight: 700;
  src: url("fonts/CrosstenSoft-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 100 1000;
  src: url("fonts/DMSans-Variable.woff2") format("woff2");
}

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

body {
  min-width: 332px;
  background: #000000;
}

/* Page frame: 332px min, 1680px max */
.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-width: 332px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 440px 0 32px;
  overflow: hidden;
  background: #000000;
}

/* Background image: fades in once it has loaded */
.background {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1680px;
  height: 592px;
  overflow: hidden;
  transform: translateX(-50%);
  opacity: 0;
}

.background.is-loaded {
  animation: background-fade-in 1.5s linear 0.25s forwards;
}

.background img {
  display: block;
  width: 100%;
  height: 100%;
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(849.86px 452.96px at 840px 213.04px, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
}

@keyframes background-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Title */
.title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 304px;
  overflow: clip;
  word-break: break-word;
}

.title__name {
  font-family: "UNDERRATED", sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: normal;
  color: #f1f1f1;
  white-space: nowrap;
}

.title__description {
  min-width: 100%;
  width: min-content;
  font-family: "Crossten Soft", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: #b2b2b2;
}

/* Links */
.links {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.streamings {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0 16px;
}

.social-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 0 64px;
}

/* Link card: shared by every button. Active (default) */
.link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(120px);
  backdrop-filter: blur(120px);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

/* Link card: Hover (desktop) / pressed (mobile) */
.link-card:active {
  background: rgba(255, 255, 255, 0.06);
}

.link-card:active > * {
  opacity: 0.8;
}

@media (hover: hover) {
  .link-card:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .link-card:hover > * {
    opacity: 0.8;
  }
}

/* Link card: Inactive */
.link-card.is-inactive {
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.link-card.is-inactive > * {
  opacity: 0.48;
}

/* Streaming card */
.streaming-card {
  width: 100%;
  max-width: 496px;
  height: 64px;
  padding: 0 8px;
  border-radius: 1000px;
}

.streaming-card__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.streaming-card__title {
  font-family: "Crossten Soft", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 28px;
  letter-spacing: -0.3px;
  text-align: center;
  color: #ffffff;
  white-space: nowrap;
  word-break: break-word;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.streaming-card__description {
  display: flex;
  align-items: center;
  gap: 5px;
}

.streaming-card__icon {
  display: block;
  height: 12px;
}

.streaming-card__icon--square { width: 12px; }
.streaming-card__icon--narrow { width: 10px; }

.streaming-card__description-text {
  display: flex;
  align-items: center;
  gap: 4px;
}

.streaming-card__description-text p {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 28px;
  letter-spacing: -0.26px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  word-break: break-word;
  font-variation-settings: "opsz" 14;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.streaming-card__bullet {
  width: 3px;
  height: 3px;
  border-radius: 10000px;
  background: rgba(255, 255, 255, 0.72);
}

/* Social media card */
.sm-card {
  flex: 1 0 0;
  min-width: 60px;
  max-width: 68px;
  height: 44px;
  border-radius: 16px;
}

.sm-card img {
  display: block;
}
