:root {
  --ink: #170c20;
  --ink-soft: #2a1237;
  --pink: #ff3b9d;
  --pink-dark: #d91f7c;
  --violet: #7c3aed;
  --members-blue: #4ec1ea;
  --members-blue-hover: #35b2df;
  --blush: #fff3fa;
  --white: #ffffff;
  --muted: #c9b8d0;
  --display: "Arial Black", Arial, Helvetica, sans-serif;
  --body: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
p,
figure {
  margin: 0;
}

body {
  min-width: 320px;
  color: var(--white);
  background: var(--ink);
  font-family: var(--body);
  letter-spacing: 0;
}

img,
picture,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a,
button,
input {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--violet);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 72px;
  padding: 14px 18px;
  color: var(--white);
}

.header-social {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(23, 12, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.header-social svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.creator-hero {
  position: relative;
  min-height: 620px;
  height: 100svh;
  max-height: 920px;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.creator-hero__media,
.creator-hero__media img,
.creator-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.creator-hero__media img {
  object-fit: cover;
  object-position: 43% 42%;
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.03);
  transform-origin: center center;
}

.creator-hero__shade {
  z-index: 1;
  background: rgba(17, 6, 24, 0.36);
}

.creator-hero__content {
  position: absolute;
  right: 18px;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 18px;
  z-index: 2;
  display: grid;
  justify-items: start;
  max-width: 720px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.creator-hero__eyebrow {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.creator-hero h1 {
  max-width: 100%;
  font-family: var(--display);
  font-size: clamp(35px, 11.5vw, 104px);
  line-height: 0.83;
  overflow-wrap: anywhere;
}

.creator-hero__handle {
  margin: 13px 0 20px;
  font-size: 15px;
  font-weight: 800;
}

.primary-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: min(100%, 380px);
  min-height: 60px;
  padding: 15px 16px 15px 20px;
  color: var(--ink);
  background: var(--members-blue);
  border: 2px solid var(--white);
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--violet);
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.primary-action__age {
  display: grid;
  place-items: center;
  width: 38px;
  height: 30px;
  color: var(--pink);
  background: var(--white);
  border-radius: 5px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 900;
}

.featured {
  padding: 62px 18px 72px;
  color: var(--ink);
  background: var(--blush);
}

.section-heading {
  display: grid;
  gap: 5px;
  margin: 0 auto 24px;
  width: min(100%, 1160px);
}

.section-heading p {
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 900;
}

.section-heading h2 {
  font-family: var(--display);
  font-size: clamp(36px, 12vw, 72px);
  line-height: 0.95;
}

.featured-grid {
  display: grid;
  gap: 14px;
  margin: 0 auto;
  width: min(100%, 1160px);
}

.feature-link {
  position: relative;
  display: block;
  min-height: 470px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-soft);
  border: 2px solid var(--ink);
  border-radius: 8px;
  text-decoration: none;
}

.feature-link picture,
.feature-link img {
  width: 100%;
  height: 100%;
}

.feature-link picture {
  position: absolute;
  inset: 0;
}

.feature-link img {
  object-fit: cover;
  filter: saturate(1.03) contrast(1.03);
}

.feature-link--members img {
  object-position: 50% 48%;
}

.feature-link--instagram img {
  object-position: 50% 34%;
}

.feature-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 108px;
  background: rgba(23, 12, 32, 0.8);
}

.feature-link__label {
  position: absolute;
  right: 18px;
  bottom: 20px;
  left: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-link__label svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.feature-link__label strong {
  font-family: var(--display);
  font-size: 28px;
}

.find-me {
  padding: 64px 18px 72px;
  background: var(--ink);
}

.section-heading--dark {
  color: var(--white);
}

.section-heading--dark p {
  color: #ff8fc7;
}

.platform-list {
  display: grid;
  gap: 10px;
  margin: 0 auto;
  width: min(100%, 760px);
}

.platform-link {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  align-items: center;
  min-height: 72px;
  padding: 11px 14px;
  color: var(--ink);
  background: var(--blush);
  border: 2px solid var(--pink);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.platform-link__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--violet);
  border-radius: 50%;
}

.platform-link__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.platform-link strong {
  min-width: 0;
  padding: 0 12px;
  font-family: var(--display);
  font-size: 19px;
  overflow-wrap: anywhere;
}

.platform-link__arrow {
  font-family: var(--display);
  font-size: 22px;
  text-align: center;
}

.final-action {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 54px 18px;
  background: var(--violet);
}

.primary-action--final {
  width: min(100%, 520px);
  min-height: 70px;
  font-size: 27px;
  box-shadow: 6px 6px 0 var(--ink);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  min-height: 94px;
  padding: 24px 18px;
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.site-footer strong {
  font-family: var(--display);
  font-size: 17px;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.confirm-page,
.depart-page,
.dialog-preview {
  min-height: 100svh;
  color: var(--white);
  background: var(--ink);
}

.confirm-page,
.depart-page {
  display: grid;
  place-items: center;
  padding: 14px;
}

.confirm-room,
.depart-room {
  width: min(100%, 560px);
  max-height: calc(100svh - 28px);
  padding: 24px 20px;
  overflow-y: auto;
  color: var(--ink);
  background: var(--blush);
  border: 3px solid var(--pink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--violet);
}

.confirm-room__code,
.depart-room > p:first-child {
  margin-bottom: 8px;
  color: var(--pink-dark);
  font-size: 11px;
  font-weight: 900;
}

.confirm-room h1,
.confirm-dialog h2,
.depart-room h1 {
  max-width: 12ch;
  font-family: var(--display);
  font-size: clamp(34px, 11vw, 52px);
  line-height: 0.96;
}

.confirm-room__intro,
.depart-room p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.4;
}

.confirm-error {
  margin-top: 12px;
  padding: 10px;
  color: var(--white);
  background: var(--pink-dark);
  border-radius: 5px;
  font-weight: 800;
}

.confirm-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.confirm-choice {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 44px;
  cursor: pointer;
}

.confirm-choice input {
  appearance: none;
  width: 40px;
  height: 40px;
  margin: 0;
  background: var(--white);
  border: 3px solid var(--violet);
  border-radius: 7px;
}

.confirm-choice input:checked {
  background: var(--pink);
  box-shadow: inset 0 0 0 8px var(--white);
}

.confirm-choice span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.confirm-form button,
.depart-room a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--pink);
  border: 0;
  border-radius: 8px;
  font-family: var(--display);
  font-size: 19px;
  text-decoration: none;
  cursor: pointer;
}

.confirm-form > a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.confirm-dialog {
  width: min(calc(100% - 20px), 560px);
  max-height: calc(100svh - 20px);
  padding: 0;
  overflow: visible;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.confirm-dialog::backdrop {
  background: rgba(23, 12, 32, 0.88);
  backdrop-filter: blur(6px);
}

.confirm-dialog__paper {
  position: relative;
  max-height: calc(100svh - 20px);
  padding: 24px 20px 20px;
  overflow-y: auto;
  background: var(--blush);
  border: 3px solid var(--pink);
  border-radius: 8px;
  box-shadow: 7px 7px 0 var(--violet);
}

.confirm-dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--violet);
  border-radius: 50%;
  font-weight: 900;
  cursor: pointer;
}

.confirm-dialog .confirm-room__code {
  padding-right: 46px;
}

.depart-room a {
  margin-top: 20px;
}

@media (hover: hover) {
  .primary-action:hover {
    background: var(--members-blue-hover);
    box-shadow: 8px 8px 0 var(--violet);
    transform: translate(-2px, -2px);
  }

  .feature-link:hover img {
    transform: scale(1.02);
  }

  .feature-link img {
    transition: transform 240ms ease;
  }

  .platform-link:hover {
    color: var(--white);
    background: var(--pink-dark);
    border-color: var(--white);
    transform: translateX(4px);
  }
}

@media (min-width: 760px) {
  .site-header {
    min-height: 86px;
    padding: 18px 5vw;
  }

  .creator-hero__media img {
    object-position: 50% 18%;
    transform: none;
  }

  .creator-hero__shade {
    background: rgba(17, 6, 24, 0.29);
  }

  .creator-hero__content {
    bottom: 7vh;
    left: 5vw;
  }

  .creator-hero h1 {
    font-size: clamp(72px, 8vw, 108px);
  }

  .featured,
  .find-me {
    padding: 88px 5vw 96px;
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-link {
    min-height: 650px;
  }

  .feature-link__label strong {
    font-size: 34px;
  }

  .platform-link {
    min-height: 82px;
    padding: 14px 18px;
  }

  .platform-link strong {
    font-size: 23px;
  }

  .site-footer {
    padding: 28px 5vw;
  }
}

@media (min-width: 1100px) {
  .creator-hero__media img {
    object-position: 50% 18%;
  }

  .creator-hero__content {
    left: 7vw;
  }

  .section-heading,
  .featured-grid {
    width: min(100%, 1240px);
  }
}

@media (max-height: 650px) {
  .creator-hero {
    min-height: 560px;
  }

  .creator-hero__content {
    bottom: 16px;
  }

  .creator-hero h1 {
    font-size: 35px;
  }

  .creator-hero__handle {
    margin: 8px 0 12px;
  }

  .primary-action {
    min-height: 54px;
  }

  .confirm-dialog__paper,
  .confirm-room {
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .confirm-room h1,
  .confirm-dialog h2 {
    font-size: 32px;
  }

  .confirm-form {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .creator-hero__content {
    animation: hero-copy-in 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .confirm-dialog[open] .confirm-dialog__paper {
    animation: dialog-in 180ms ease-out both;
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .primary-action,
  .platform-link,
  .confirm-form button,
  .depart-room a {
    border: 2px solid ButtonText;
  }

  .confirm-choice input {
    appearance: auto;
  }
}
