@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik+Glitch&display=swap');
:root {
    font-family: "Inter";
    font-size: 16px;
    --gradient: linear-gradient(to bottom right, #EBB462, #F04555);
    --text-1: #eeeeee;
    --text-2: #cccccc;
    --text-3: #aaaaaa;
    --section-bg: #232323;
    --light-section-bg: #343434;
    --dark-section-bg: #1c1c1c;
    --main-bg: #171718;
    color: var(--text-1);
    --shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

  }

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    flex-shrink: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  background: var(--main-bg);
  overflow: hidden;
  background: black;
}


.intro-animation {
    position: fixed;
    inset: 0;
    height: 100vh;
    width: 100vw;
    display: none;
    place-content: center;
    background: black;
    z-index: 10;
}
.intro-animation.active {
    display: grid;
}

.intro-animation > canvas {
    width: 100vmin;
    height: 100vmin;
}


.loop-animation {
    position: fixed;
    inset: 0;
    height: 100vh;
    width: 100vw;
    display: grid;
    place-content: center;
    z-index: 5;
    padding-bottom: 8rem;
}

.loop-animation > canvas {
    width: 100vmin;
    height: 100vmin;
}


.reveal-animation {
    position: fixed;
    inset: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    z-index: 9;
}
.reveal-animation > .column {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.reveal-animation > .column > div {
    flex-grow: 1;
    background: var(--color);
    transition: transform 1000ms cubic-bezier(0.16, 1, 0.3, 1) calc(50ms * var(--anim-index))
}
.reveal-animation.gradient > .column > div {
    background: linear-gradient(to bottom,
        var(--color-1) calc(-100% * var(--index)),
        var(--color-2) calc(900% - 100% * var(--index))
    );
}



.reveal-animation.reveal > .column:first-child > div {
    transform: translateX(-100%);
}
.reveal-animation.reveal > .column:last-child > div {
    transform: translateX(100%);
}



.pixel-animation {
    position: fixed;
    inset: 0;
    height: 100vh;
    width: 100vw;
    z-index: 9;
    pointer-events: none;
}
.pixel-animation > canvas {
    position: absolute;
    inset: calc(50% - 50vmax) 0 0 calc(50% - 50vmax);
    width: 100vmax;
    height: 100vmax;
    image-rendering: pixelated;
    transform: scale(1.1);
}




.main-page {
    display: flex;
    justify-content: center;
    align-items: end;
    width: 100vw;
    height: 100vh;
    position: relative;
    isolation: isolate;
}

.main-page-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 6rem;
}
.main-page-stats > .stat-card {
    z-index: -1;
    background: var(--gradient);
    width: 18rem;
    height: 6.5rem;
    border-radius: 0.75rem;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.main-page-stats > .stat-card:after {
    content: "";
    position: absolute;
    inset: 0.125rem;
    background: var(--section-bg);
    border-radius: 0.625rem;
    z-index: -1;
    box-shadow: inset 0 0rem 0.5rem rgba(0,0,0,0.4);
}
.main-page-stats > .stat-card:before {
    content: "";
    position: absolute;
    inset: 0.125rem;
    background: var(--gradient);
    z-index: -2;
    filter: blur(0.75rem);
    opacity: 0.5;
}

.main-page-stats > .stat-card > .title {
    font-weight: 500;
    opacity: 0.75;
    transform: translateY(0.125rem);
}


.main-page-stats > .stat-card > .count {
    color: transparent;
    background: var(--gradient);
    background-clip: text;
    font-size: 3rem;
    font-weight: 400;
    font-family: "Rubik Glitch";
}