/* Get Boba Token (coded) */

.get-boba-hero {
  --get-boba-top-space: clamp(28px, 5vw, 64px);
  --get-boba-bottom-space: clamp(48px, 6vw, 84px);
  padding-top: calc(var(--header-bottom) + var(--get-boba-top-space));
  padding-bottom: var(--get-boba-bottom-space);
  overflow: hidden;
  background: #fff;
}

.get-boba-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--get-boba-hero-art);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 100dvh;
  pointer-events: none;
  z-index: 0;
}

.get-boba-hero__inner {
  position: relative;
  z-index: 1;
}

.get-boba-hero__stage {
  min-height: calc(100dvh - var(--header-bottom) - var(--get-boba-top-space) - var(--get-boba-bottom-space));
  display: flex;
  align-items: center;
}

.get-boba-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding-bottom: clamp(12px, 2vw, 28px);
}

.get-boba-hero__mobile-art {
  display: none;
}

.get-boba-hero__title {
  margin: 0;
  max-width: 10ch;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(32px, 4.1vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.get-boba-hero__body {
  margin: 18px 0 0;
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
}

.get-boba-actions__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-top: clamp(34px, 5vw, 52px);
  width: min(100%, 1180px);
}

.get-boba-action-card {
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 24px 18px 20px;
  border-radius: 32px;
  background: #f5f5f5;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  border: none;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, box-shadow;
}

.get-boba-action-card:hover,
.get-boba-action-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.get-boba-action-card__media {
  display: flex;
  flex: 0 0 104px;
  width: 100%;
  min-height: 104px;
  align-items: center;
  justify-content: center;
}

.get-boba-action-card__media img {
  display: block;
  width: auto;
  max-width: 118px;
  max-height: 88px;
  object-fit: contain;
}

.get-boba-action-card__title {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 2.8em;
  margin-top: 4px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.22;
  text-align: center;
}

@media (max-width: 1200px) {
  .get-boba-hero::after {
    background-size: auto min(92dvh, 860px);
    background-position: right bottom;
  }

  .get-boba-actions__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .get-boba-hero {
    --get-boba-top-space: 18px;
    --get-boba-bottom-space: 42px;
    padding-top: calc(var(--header-bottom) + var(--get-boba-top-space));
    padding-bottom: var(--get-boba-bottom-space);
  }

  .get-boba-hero::after {
    display: none;
  }

  .get-boba-hero__mobile-art {
    display: none;
  }

  .get-boba-hero__stage,
  .get-boba-hero__copy {
    min-height: 0;
  }

  .get-boba-hero__copy {
    align-items: center;
    text-align: center;
    padding-bottom: 0;
  }

  .get-boba-hero__title {
    max-width: none;
    font-size: clamp(36px, 12vw, 50px);
    text-align: center;
  }

  .get-boba-hero__body {
    max-width: 30ch;
    font-size: 15px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .get-boba-actions__grid {
    width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 640px) {
  .get-boba-actions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .get-boba-action-card {
    width: 100%;
    min-width: 0;
    min-height: 165px;
    padding: 0;
    border-radius: 24px;
    display: block;
    position: relative;
    justify-self: stretch;
    align-self: stretch;
    overflow: hidden;
  }

  .get-boba-action-card__media {
    position: absolute;
    top: 14%;
    left: 50%;
    width: 66.6667%;
    min-height: 0;
    height: auto;
    margin: 0;
    transform: translate(-50%, -10%);
    display: block;
  }

  .get-boba-action-card__media img {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
  }

  .get-boba-action-card__title {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 8px;
    font-size: 13px;
    line-height: 1.22;
    min-height: 0;
    text-align: center;
    margin: 0;
  }

  .get-boba-action-card__title.is-two-lines {
    bottom: 10px;
  }

  .get-boba-action-card:hover,
  .get-boba-action-card:focus-visible {
    transform: none;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .get-boba-action-card {
    transition: none;
  }
}
