/* LANDING PAGE LAYOUT AND ANIMATIONS */
:root {
  --animation-blur-start: rgba(34, 202, 173, 0.01);
  --animation-blur-end: rgba(34, 202, 173, 0.12);
  --animation-white-start: rgba(16, 18, 26, 0.9);
  --animation-white-end: rgba(16, 18, 26, 0);
  --animation-green: #22caad;
  --animation-shadow-strong: rgba(153, 94, 212, 0.4);
  --animation-shadow-soft: rgba(153, 94, 212, 0.18);
  --animation-shadow-white: rgba(255, 255, 255, 0.05);
}

.Animation.muted {
  --animation-blur-start: rgba(34, 202, 173, 0.05);
  --animation-blur-end: rgba(34, 202, 173, 0.10);
  --animation-white-start: #313649;
  --animation-white-end: rgba(49, 54, 73, 0);
  --animation-green: #212431;
  --animation-shadow-strong: rgba(153, 94, 212, 0.30);
  --animation-shadow-soft: rgba(153, 94, 212, 0.15);
  --animation-shadow-white: rgba(255, 255, 255, 0.05);
}

html:not(.Theme-night) .Animation.muted,
.Theme-night-toggle:not(:checked) ~ .Theme-content .Animation.muted {
  --animation-white-start: #e6e9f2;
  --animation-white-end: rgba(230, 233, 242, 0);
  --animation-green: #dfe3ee;
}

#landing-page {
  --animation-wrapper-start: rgba(0, 0, 0, 0.1);
  --animation-wrapper-end: rgba(0, 0, 0, 0);
  align-items: center;
  justify-content: center;
  gap: var(--style-gap-xxxl);
  overflow: hidden;
}

html.Theme-night #landing-page,
.Theme-night-toggle:checked ~ .Theme-content #landing-page {
  --animation-white-start: #FFFFFF;
  --animation-white-end: rgba(255, 255, 255, 0);
  --animation-wrapper-start: rgba(255, 255, 255, 0.1);
  --animation-wrapper-end: rgba(255, 255, 255, 0);
}

#landing-page .Panel {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  background: var(--gray-main);
}

#landing-page .Panel .Content-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--spacing16);
  width: 100%;
}

#landing-page .Panel .Content-left p {
  font-size: 16px;
  color: var(--gray-090);
}

#landing-page .Panel .Content-left .Button-wrapper {
  justify-content: center;
}

.Landing-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--spacing12);
  font-size: 4.5rem;
}

.Landing-logo-mark {
  width: 140px;
  max-width: 100%;
  height: auto;
  display: block;
  color: inherit;
}

.Landing-logo b {
  font-weight: var(--text-weight-normal);
  margin-right: var(--spacing4);
}

.Landing-logo > span:not(.Trademark) {
  font-weight: 300;
}

.Landing-logo .Trademark {
  font-size: 0.6em;
  vertical-align: super;
  line-height: 1;
  position: relative;
  top: 0.1em;
}

.Animation-picker {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing8);
  font-size: 0.875rem;
}

.Animation-picker select {
  padding: 0.4rem 0.6rem;
  border-radius: var(--style-corner-default);
  border: 1px solid var(--gray-060);
  background: transparent;
  color: inherit;
}

/* ANIMATION BASE */
.Animation {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transform: scale(1.5) translate(25%, 25%);
}

/* DATA-ANIMATION: SECURITY-MASTER */
.Animation.security-master {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
}

.Animation.security-master .Animation-shape-large {
  position: absolute;
  width: 60%;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(340deg, var(--animation-blur-start) -44.29%, var(--animation-blur-end) 86.52%);
  box-shadow: 0 -10px 10px 0 var(--animation-shadow-strong) inset,
    0 2px 6px 2px var(--animation-shadow-white) inset,
    10px 10px 23px 0 var(--animation-shadow-soft) inset;
  backdrop-filter: blur(10.5px);
  left: 20%;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.Animation.security-master .Animation-shape-green {
  position: absolute;
  width: 35%;
  height: 70%;
  border-radius: 0;
  background: var(--animation-green);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  right: 0;
  top: 15%;
  transform: translateY(-50%);
}

.Animation.security-master .Animation-shape-white {
  position: absolute;
  width: 35%;
  height: 70%;
  border-radius: 0;
  background: linear-gradient(90deg, var(--animation-white-start) 0%, var(--animation-white-end) 100%);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  left: 0;
  top: 15%;
  transform: translateY(-50%);
}

/* DATA-ANIMATION: DATONOMY */
.Animation.datonomy {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
}

.Animation.datonomy .Animation-shape-large {
  position: absolute;
  width: 87.5%;
  height: 100%;
  border-radius: 0;
  border-top-right-radius: 100% 100%;
  border-bottom-right-radius: 100% 100%;
  background: linear-gradient(340deg, var(--animation-blur-start) -44.29%, var(--animation-blur-end) 86.52%);
  box-shadow: 0 -10px 10px 0 var(--animation-shadow-strong) inset,
    0 2px 6px 2px var(--animation-shadow-white) inset,
    10px 10px 23px 0 var(--animation-shadow-soft) inset;
  backdrop-filter: blur(10.5px);
  right: 0;
  top: 0;
  transform: translateY(-50%);
}

.Animation.datonomy .Animation-shape-green {
  position: absolute;
  width: 75%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 0;
  background: var(--animation-green);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  left: 0;
  top: 12.5%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
}

.Animation.datonomy .Animation-shape-white {
  position: absolute;
  width: 37.5%;
  height: 37.5%;
  border-radius: 0;
  background: linear-gradient(315deg, var(--animation-white-end) 0.12%, var(--animation-white-start) 100.08%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  left: 0;
  top: 7.5%;
}

/* DATA-ANIMATION: PRICES */
.Animation.prices {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
}

.Animation.prices .Animation-shape-large {
  position: absolute;
  width: 75%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 0;
  background: linear-gradient(340deg, var(--animation-blur-start) -44.29%, var(--animation-blur-end) 86.52%);
  box-shadow: 0 -10px 10px 0 var(--animation-shadow-strong) inset,
    0 2px 6px 2px var(--animation-shadow-white) inset,
    10px 10px 23px 0 var(--animation-shadow-soft) inset;
  backdrop-filter: blur(10.5px);
  left: 12.5%;
  top: 12.5%;
  z-index: 2;
}

.Animation.prices .Animation-shape-green {
  position: absolute;
  width: 50%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 0;
  background: var(--animation-green);
  right: 0;
  top: 0;
}

.Animation.prices .Animation-shape-white {
  position: absolute;
  width: 50%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 0;
  background: linear-gradient(180deg, var(--animation-white-start) 0%, var(--animation-white-end) 102.34%);
  left: 0;
  bottom: 0;
  z-index: 1;
}

/* DATA-ANIMATION: MARKET-DATA-FEED */
.Animation.market-data-feed {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  --market-blur-x: 45%;
}

.Animation.market-data-feed .Animation-shape-large {
  position: absolute;
  width: 62.5%;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(340deg, var(--animation-blur-start) -44.29%, var(--animation-blur-end) 86.52%);
  box-shadow: 0 -10px 10px 0 var(--animation-shadow-strong) inset,
    0 2px 6px 2px var(--animation-shadow-white) inset,
    10px 10px 23px 0 var(--animation-shadow-soft) inset;
  backdrop-filter: blur(10.5px);
  left: 7.5%;
}

.Animation.market-data-feed .Animation-shape-green {
  position: absolute;
  width: 50%;
  height: 75%;
  border-radius: 0;
  background: var(--animation-green);
  right: 0;
  top: 12.5%;
}

.Animation.market-data-feed .Animation-shape-white {
  position: absolute;
  width: 25%;
  height: 50%;
  border-radius: 0;
  background: linear-gradient(180deg, var(--animation-white-start) 0%, var(--animation-white-end) 102.34%);
  left: 0;
  top: 25%;
}

/* DATA-ANIMATION: COVERAGE */
.Animation.coverage {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
}

.Animation.coverage .Animation-shape-large {
  position: absolute;
  width: 80%;
  aspect-ratio: 1 / 1;
  height: auto;
  top: 0;
  right: 0;
  border-radius: 0;
  background: linear-gradient(340deg, var(--animation-blur-start) -44.29%, var(--animation-blur-end) 86.52%);
  box-shadow: 0 -7.5px 7.5px 0 var(--animation-shadow-strong) inset,
    0 1.5px 4.5px 1.5px var(--animation-shadow-white) inset,
    7.5px 7.5px 17.25px 0 var(--animation-shadow-soft) inset;
  backdrop-filter: blur(7.875px);
  z-index: 2;
}

.Animation.coverage .Animation-shape-green {
  position: absolute;
  width: 40%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 0;
  background: var(--animation-green);
  left: 0;
  bottom: 0;
  top: auto;
  right: auto;
}

.Animation.coverage .Animation-shape-white {
  position: absolute;
  width: 20%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 0;
  background: linear-gradient(45deg, var(--animation-white-start) 3.5%, var(--animation-white-end) 100%);
  left: 10%;
  bottom: 10%;
  z-index: 1;
}

/* DATA-ANIMATION: INDEXES */
.Animation.indexes {
  --indexes-size: 100%;
  --indexes-half: 50%;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
}

.Animation.indexes .Animation-shape-large {
  position: absolute;
  inset: 0;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  background: linear-gradient(340deg, var(--animation-blur-start) -44.29%, var(--animation-blur-end) 86.52%);
  box-shadow: 0 -7.5px 7.5px 0 var(--animation-shadow-strong) inset,
    0 1.5px 4.5px 0 var(--animation-shadow-white) inset,
    7.5px 7.5px 17.25px 0 var(--animation-shadow-soft) inset;
  backdrop-filter: blur(7.875px);
}

.Animation.indexes .Animation-shape-white {
  position: absolute;
  width: var(--indexes-half);
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: linear-gradient(180deg, var(--animation-white-start) 0%, var(--animation-white-end) 102.34%);
  top: 0;
  left: 0;
}

.Animation.indexes .Animation-shape-green {
  position: absolute;
  width: var(--indexes-half);
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: var(--animation-green);
  clip-path: polygon(0 100%, 0 0, 100% 0);
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* DATA-ANIMATION: ATLAS (DEFAULT) */
.Animation.atlas {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
}

.Animation-shape-large,
.Animation-shape-white,
.Animation-shape-green {
  animation-name: animation-float;
  animation-duration: 16s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  will-change: transform;
}

.Animation.atlas .Animation-shape-large {
  animation-duration: 18s;
  animation-delay: -6s;
}

.Animation-shape-white {
  animation-duration: 16s;
  animation-delay: -12s;
}

.Animation-shape-green {
  animation-duration: 12s;
  animation-delay: -3s;
}

.Animation.atlas .Animation-shape-large {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(340deg, var(--animation-blur-start) -44.29%, var(--animation-blur-end) 86.52%);
  box-shadow:
    0 -10px 10px 0 var(--animation-shadow-strong) inset,
    0 2px 6px 2px var(--animation-shadow-white) inset,
    10px 10px 23px 0 var(--animation-shadow-soft) inset;
  -webkit-backdrop-filter: blur(10.5px);
  backdrop-filter: blur(10.5px);
}

.Animation.atlas .Animation-shape-white,
.Animation.atlas .Animation-shape-green {
  position: absolute;
  width: 50%;
  height: 50%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.Animation.atlas .Animation-shape-white {
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, var(--animation-white-start) 0%, var(--animation-white-end) 102.34%);
}

.Animation.atlas .Animation-shape-green {
  top: 0;
  right: 0;
  background: var(--animation-green);
}

@keyframes animation-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(.5rem, -1rem, 0) scale(1.03);
  }
  66% {
    transform: translate3d(-.75rem, -.75rem, 0) scale(0.97);
  }
  100% {
    transform: translate3d(-.25rem, -.5rem, 0) scale(1.01);
  }
}

/* PREVIEW PAGE */
body.AnimationPreview {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gray-main: transparent;
  --spacing8: 0.5rem;
  --spacing12: 0.75rem;
  --spacing16: 1rem;
  --style-gap-xxxl: 3rem;
  --text-size-l: 1.125rem;
  --style-corner-default: 0.5rem;
  --gray-060: rgba(255, 255, 255, 0.4);
}

body.AnimationPreview #landing-page {
  width: min(1200px, 92vw);
}

body.AnimationPreview #landing-page {
  --animation-white-start: #fff;
  --animation-white-end: rgba(255, 255, 255, 0);
}

/* body.AnimationPreview #landing-page .Panel .Wrapper {
  background: linear-gradient(270deg, #10121A 0%, rgba(16, 18, 26, 0.00) 100%);
} */
