:root {
  --bg-top: #ffe6fb;
  --bg-bottom: #f3eaff;
  --pink: #ff73cf;
  --purple: #9463ff;
  --ink: #4f2d7f;
  --white: #fffaff;
  --shadow: 0 24px 60px rgba(145, 99, 255, 0.26);
  --font-body: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 115, 207, 0.35), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(148, 99, 255, 0.3), transparent 22%),
    radial-gradient(circle at 75% 78%, rgba(255, 188, 236, 0.4), transparent 18%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
}

body::before {
  width: 18rem;
  height: 18rem;
  left: -5rem;
  bottom: -2rem;
  background: rgba(255, 115, 207, 0.18);
}

body::after {
  width: 20rem;
  height: 20rem;
  right: -5rem;
  top: -2rem;
  background: rgba(148, 99, 255, 0.16);
}

.portal {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  width: min(100% - 2rem, 32rem);
  padding: 2.5rem 1.5rem;
}

.portal__mark {
  width: clamp(84px, 16vw, 128px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(145, 99, 255, 0.16));
}

.portal__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 22rem);
  min-height: 64px;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  box-shadow: var(--shadow);
  color: var(--white);
  font-size: clamp(1.05rem, 2.8vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.portal__link:hover,
.portal__link:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 28px 70px rgba(145, 99, 255, 0.32);
}

.portal__link:focus-visible {
  outline: 3px solid rgba(255, 115, 207, 0.28);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  body::before,
  body::after {
    display: none;
  }

  .portal {
    width: min(100% - 1.25rem, 30rem);
    padding-inline: 0.75rem;
  }

  .portal__link {
    width: 100%;
  }
}
