:root {
  --page: 430px;
  --content: 370px;
  --pad: 30px;
  --radius: 18px;
  --font-body: "Geist", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Unbounded", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --bg-outer: #0f1110;
  --bg-page: #0f1110;
  --bg-page-soft: #0f1110;
  --text-main: #f7f7fb;
  --text-muted: #c6cbdb;
  --accent: #ff2c82;
  --accent-strong: #ee1972;
  --accent-soft: #ff6ca8;
  --card-pink: #f35393;
  --card-pink-deep: #df3c83;
  --card-light: #f3ecf4;
  --ink-dark: #111018;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  line-height: 1.4;
  color: var(--text-main);
  background: var(--bg-outer);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

h1,
.formats__title,
.cta__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-style: normal;
  font-size: clamp(
    29px,
    calc(29px + (41.32 - 29) * ((100vw - 320px) / (430 - 320))),
    41.32px
  );
  line-height: 100%;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
}

a {
  color: inherit;
}

.page {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  min-height: 100dvh;
  overflow: clip;
  background-color: var(--bg-page);
}

.page__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page__ellipse {
  position: absolute;
  border-radius: 50%;
  --ellipse-drift-x: 0px;
  --ellipse-drift-y: 0px;
  --ellipse-scale: 1.015;
  --ellipse-duration: 30s;
  --ellipse-delay: 0s;
  background: radial-gradient(
    66.62% 66.62% at 13.14% 28.76%,
    #8534ff 0%,
    #f51467 45.86%,
    #d23968 77.35%,
    #f1769b 100%
  );
  opacity: 1;
  filter: blur(510px);
  transform: rotate(var(--ellipse-rotate, 0deg));
  transform-origin: center;
}

.page__ellipse--1 {
  width: 1021px;
  height: 1021px;
  top: 8%;
  left: -250%;
  --ellipse-rotate: 68.78deg;
  --ellipse-drift-x: 28px;
  --ellipse-drift-y: -16px;
  --ellipse-duration: 28s;
  --ellipse-delay: -9s;
}

.page__ellipse--2 {
  width: 1051px;
  height: 802px;
  top: 42%;
  right: -200%;
  --ellipse-rotate: -101.53deg;
  --ellipse-drift-x: -22px;
  --ellipse-drift-y: 14px;
  --ellipse-duration: 34s;
  --ellipse-delay: -5s;
}

.main {
  position: relative;
  z-index: 1;
}

.page__ellipse--3 {
  width: 799px;
  height: 528px;
  bottom: 12%;
  left: -100%;
  --ellipse-rotate: 69.19deg;
  --ellipse-drift-x: 24px;
  --ellipse-drift-y: -10px;
  --ellipse-duration: 31s;
  --ellipse-delay: -12s;
}

.section {
  position: relative;
}

.container {
  width: min(var(--content), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.page,
.container {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (prefers-reduced-motion: no-preference) {
  .page__ellipse {
    animation: ellipse-drift var(--ellipse-duration) ease-in-out infinite alternate;
    animation-delay: var(--ellipse-delay);
    will-change: transform, opacity;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page__ellipse {
    animation: none !important;
    transform: rotate(var(--ellipse-rotate, 0deg));
    opacity: 1;
  }
}

@keyframes ellipse-drift {
  0% {
    transform: translate3d(
        calc(var(--ellipse-drift-x) * -0.35),
        calc(var(--ellipse-drift-y) * -0.35),
        0
      )
      rotate(calc(var(--ellipse-rotate, 0deg) - 0.8deg)) scale(0.985);
    opacity: 0.92;
  }

  50% {
    transform: translate3d(0, 0, 0) rotate(var(--ellipse-rotate, 0deg))
      scale(1);
    opacity: 0.98;
  }

  100% {
    transform: translate3d(var(--ellipse-drift-x), var(--ellipse-drift-y), 0)
      rotate(calc(var(--ellipse-rotate, 0deg) + 0.8deg))
      scale(var(--ellipse-scale));
    opacity: 0.94;
  }
}

@media (min-width: 768px) {
  body {
    /* padding: 24px 0; */
  }

  .page {
    max-width: var(--page);
    border-radius: var(--radius);
    box-shadow:
      0 40px 72px rgba(0, 0, 0, 0.55),
      0 12px 24px rgba(0, 0, 0, 0.35);
    overflow: hidden;
  }
}
