@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

html, body {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  height: 100%;
  height: -webkit-fill-available;
  overflow: hidden;
  background: #0a282c;
}

body {
  margin: 0;
  font-family: "Rubik", sans-serif;
  color: #FFF;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

:root {
  --font-size-base: 12px;
  --width-unit: 0.5vw;
  --height-unit: 0.5vh;
  --aspect-unit: var(--width-unit);
  --min-font-size: 16px;
  --max-font-size: 24px;
}

@media (max-aspect-ratio: 1/1) {
  :root {
    --aspect-unit: var(--height-unit);
  }
}

@media (min-aspect-ratio: 1/1) {
  :root {
    --aspect-unit: var(--width-unit);
  }
}

h2 {
  font-size: clamp(var(--min-font-size), calc(var(--font-size-base) + 6 * var(--aspect-unit)), 96px);
}

.content-text p {
  font-size: clamp(var(--min-font-size), calc(var(--font-size-base) + 0.5 * var(--aspect-unit)), var(--max-font-size));
}

button {
  font-size: clamp(var(--min-font-size), calc(var(--font-size-base) + 0.3 * var(--aspect-unit)), var(--max-font-size));
}

.content-text-features h3 {
  font-size: clamp(var(--min-font-size), calc(var(--font-size-base) + 0.45 * var(--aspect-unit)), var(--max-font-size));
}

.content-text-features p {
  font-size: clamp(var(--min-font-size), calc(var(--font-size-base) + 0.1 * var(--aspect-unit)), var(--max-font-size));
}

/* @media (max-aspect-ratio: 3/4) {
  h2 {
    font-size: calc(var(--font-size-base) + 3 * var(--aspect-unit));
  }
}

@media (min-aspect-ratio: 16/9) {
  h2 {
    font-size: calc(var(--font-size-base) + 2 * var(--aspect-unit));
  }
} */

mark {
  background: none;
  color: #FFCC00;
  font-weight: 500;
}

#root {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: calc(var(--vh, 1vh) * 100);
  min-height: 100vh;
  min-height: -webkit-fill-available;
  position: relative;
}

h1 {
  position: relative;
  font-weight: 100;
  /* font-size: clamp(4rem, 8vw + 1rem, 14rem); */
  z-index: 1;
  margin: 0;
}

h2, h3 {
  margin: 0;
  font-weight: 100;
}

h2 {
  width: 130%;
  font-weight: 500;
  text-transform: uppercase;
  /* font-size: clamp(2rem, 0.5vw + 3rem, 4rem); */
  z-index: 1;
  margin: 0;
  background-clip: text;
}

.text-0 h2 mark {
  /* background: linear-gradient(to right, #ffffff, #f8b4ba); */
  color: #ff006e;
  /* -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; */
}

.text-0 .button {
  border-color: #ff006e;
  box-shadow: 0 0 20px 0 rgba(255, 0, 111, 0.3);
}

/* .text-0 .button svg {
  fill: #ff006e;
} */

.text-1 h2 mark {
  /* background: linear-gradient(to right, #ffffff, #faf3bc); */
  color: #ffcc00;
  /* -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; */
}

.text-1 .button {
  border-color: #ffcc00;
  box-shadow: 0 0 20px 0 rgba(255, 204, 0, 0.3);
}

/* .text-1 .button svg {
  fill: #ffcc00;
} */

.text-2 h2 mark {
  /* background: linear-gradient(to right, #ffffff, #e3bcf5); */
  color: #ae00ff;
  /* -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; */
}

.text-2 .button {
  border-color: #c039ff;
  box-shadow: 0 0 20px 0 rgba(192, 57, 255, 0.3);
}

/* .text-2 .button svg {
  fill: #c039ff;
} */

.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  height: 100%;
}

.content-inner {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1600px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0px 15rem 20px 2rem;
  gap: 2rem;
  box-sizing: border-box;
}

.content-footer {
  height: 20%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-text {
  position: relative;
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 3;
  border-radius: 1rem;
  padding: 3rem 0 2rem 2rem;
  height: fit-content;
}

.content-text p {
  font-weight: 200;
  /* font-size: clamp(0.8rem, 0.5vw + 1rem, 1.5rem); */
}

.content-text-features {
  /* width: 70%; */
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.content-text-features h3 {
  font-weight: 100;
  /* font-size: clamp(1.2rem, 0.5vw + 0.7rem, 2rem); */
  padding: 0;
  margin: 0.5rem 0 0 0;
}

.content-text-features p {
  /* font-size: clamp(0.8rem, 0.5vw + 0.5rem, 1.15rem); */
  font-weight: 200;
  padding: 0;
  margin: 0;
}

.characters-container {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 80vh;
  max-height: 700px;
  display: flex;
  align-items: center;
  z-index: 3;
}

.characters-container img.character {
  height: 100%;
  width: auto;
  position: absolute;
  right: 0;
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}

.characters-container img.character.active {
  opacity: 1;
  transform: translateX(0);
}

.phone-container {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/2;
  border-radius: 65px;
}

.phone-container .bottom {
  position: absolute;
  top: -60vh;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translateX(-50%);
  height: 160vh;
}

.phone-container img.frame {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: 1;
}

.logo-container {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 100%;
  height: 15%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container img {
  height: 100%;
  width: auto;
  max-height: 300px;
}

.top {
    position: absolute;
    height: 100vh;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: transparent;
    background: radial-gradient(circle, rgba(8, 224, 195, 0.25) 10%, transparent 70%);
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
}

.middle {
    position: absolute;
    height: 100vh;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: transparent;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.35) 10%, transparent 70%);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.bottom {
    position: absolute;
    height: 200vh;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: transparent;
    background: radial-gradient(circle, rgba(152, 8, 224, 0.45) 10%, transparent 70%);
    right: 25%;
    bottom: 0;
    transform: translate(60%, 50%);
    z-index: -1;
}

.circle {
  display: block;
  position: absolute;
  height: 100vh;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0) 80%);
  z-index: 0;
}

a {
  text-decoration: none;
  color: #FFF;
  font-weight: 100;
  /* font-size: clamp(1rem, 0.2vw + 1rem, 4rem); */
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
}

.tg-link {
  display: flex;
  align-items: center;
  gap: 1rem;
}

button.button {
  color: #FFF;
  background: transparent;
  padding: 1rem 3rem;
  border: 3px solid #FFF;
  border-radius: 0.5rem;
  cursor: pointer;
  text-transform: uppercase;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.button svg {
  fill: #FFF;
}

.text {
  width: calc(100% - 10rem);
  display: none;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  pointer-events: none;
  height: fit-content;
}

.text.active {
  opacity: 1;
  display: block;
  /* transform: translate-50%, 0); */
  pointer-events: auto;
}

.text-2 {
  opacity: 0;
}

@media (max-height: 1000px) {
  .logo-container {
    height: 10%;
    padding: 0;
  }
  .content {
    gap: 0;
    height: 100%;
    box-sizing: border-box;
  }
  .text {
    height: 600px;
  }
}

@media (max-aspect-ratio: 1/1) {
  h2 {
    width: 100%;
    /* font-size: 20px; */
  }

  .logo-container {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 13%;
    z-index: 1000;
    padding: 0;
  }

  .content {
    gap: 0;
    position: relative;
    padding: 0;
  }

  .content-inner {
    gap: 1rem;
    height: 100%;
    padding: calc(env(safe-area-inset-top) + 50px) calc(env(safe-area-inset-right) + 20px) calc(env(safe-area-inset-bottom) + 60px) calc(env(safe-area-inset-left) + 20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .phone-container {
    position: absolute;
    top: 20px;
    flex: 1;
    height: 70vh;
    min-height: 0;
  }

  .content-text {
    position: absolute;
    bottom: 20px;
    padding: 0 20px;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: fit-content;
    min-height: 30%;
    flex-grow: 0;
  }

  .content-text p {
    padding: 20px 0;
    margin: 0;
    max-width: 700px;
  }

  .content-text-features {
    display: none;
  }
  
  .content-footer {
    height: 10%;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
  }

  button.button {
    position: relative;
    width: 100%;
    padding: 1rem 0rem 1rem 0;
    margin-top: 0;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    font-size: clamp(12px, calc(var(--font-size-base) + 0.5 * var(--aspect-unit)), 24px);
  }

  button.button svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .characters-container {
    height: 60vh;
    width: 100%;
  }

  .text {
    width: 100%;
    box-sizing: border-box;
    height: fit-content;
  }

  .text h2 {
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5),
                 1px -1px 0 rgba(0, 0, 0, 0.5),
                 -1px 1px 0 rgba(0, 0, 0, 0.5),
                 1px 1px 0 rgba(0, 0, 0, 0.5),
                 2px 2px 4px rgba(0, 0, 0, 0.3);
  }

  .text p {
    padding: 5px 20px;
    margin: 10px 0;
    text-shadow: -3px -3px 4px rgba(0, 0, 0, 0.5),
                 3px -3px 4px rgba(0, 0, 0, 0.5),
                 -3px 3px 4px rgba(0, 0, 0, 0.5),
                 3px 3px 4px rgba(0, 0, 0, 0.5),
                 4px 4px 8px rgba(0, 0, 0, 0.4);
  }
}

.gradient-0 .bottom {
    background: radial-gradient(circle, rgba(255, 0, 111, 0.15) 5%, transparent 50%)
}

.gradient-1 .bottom {
    background: radial-gradient(circle, rgba(224, 152, 8, 0.15) 5%, transparent 50%)
}

.gradient-2 .bottom {
    background: radial-gradient(circle, rgba(152, 8, 224, 0.15) 5%, transparent 50%)
}

@media screen and (orientation: landscape) and (max-width: 900px) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    height: 100vw;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}