html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    scrollbar-width: none;
}

body {
    font-family: "Cormorant Garamond", "Segoe UI";
    font-size: 24px;
    font-weight: 400;
    line-height: 29px;

    background: #22262A;
    color: #A6ADB4;

    position: relative;
}

body.disablescrolling {
    height: 100vh;
    overflow: hidden;
}

::-webkit-scrollbar {
    display: none;
}

* {
    box-sizing: border-box;
}

#lineage2 {
    --header-height: 80px;

    height: 100%;
}

/* PRELOADER */
.preloader {
    --promo-unit: calc(var(--vh, 1vh) * 100 / 1080);

    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 200;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #16161A;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    opacity: 1;
    visibility: visible;
    transition: opacity .3s ease-in-out, visibility 0s;
}

.preloader--hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease-in-out, visibility 0s .3s;
}

.preloader__emblem {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--promo-unit) * 400);
    height: calc(var(--promo-unit) * 401);
}

.preloader__sun-mask {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;

    -webkit-mask-image: linear-gradient(180deg, #000, #0000 60%);
    mask-image: linear-gradient(180deg, #000, #0000 60%);
}

.preloader__sun {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: center center;
    animation: preloaderSun 10s linear infinite;
}

@keyframes preloaderSun {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(1turn);
    }
}

.preloader__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: calc(var(--promo-unit) * 300);
    transform: translate(-50%, -50%);
}

.preloader__title {
    position: absolute;
    bottom: calc(var(--promo-unit) * 430);
    left: 50%;
    transform: translateX(-50%);

    font-family: Impact, "Fjalla One", "Arial Black", sans-serif;
    font-size: calc(var(--promo-unit) * 29);
    letter-spacing: calc(var(--promo-unit) * 2);
    text-transform: uppercase;
    color: #FFFFFF;
}

/* BUTTON-NEXT */
.button-next {
    position: absolute;
    left: 50%;
    bottom: 60px;
    transform: translateX(-50%);
    z-index: 15;
    cursor: pointer;

    display: none;
}

.pages .button-next {
    display: none;
}

.button-next:hover svg rect,
.button-next:hover svg path {
    stroke: #FFFFFF;
}

.button-next::after {
    content: attr(title);
    font-size: 16px;
    display: flex;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
}

.button-next:hover::after {
    color: #FFFFFF;
}

.button-next {
    animation: button-next 500ms alternate infinite linear;
}

@keyframes button-next {
    from {
        transform: translate(-50%, 0px);
    }
    to {
        transform: translate(-50%, -20px);
    }
}

/* PAGINATOR */
.paginator {
    display: grid;
    grid-template-columns: 30px;
    grid-template-rows: repeat(auto-fill, 30px);
    grid-row-gap: 10px;
    justify-content: center;

    visibility: hidden;
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    z-index: 100;
    will-change: transform;
}

.paginator .paginator__page {
    display: flex;
    width: 30px;
    height: 30px;
    padding: 7px;
    border-radius: 50%;
    z-index: 5;
    cursor: pointer;
}

.paginator .paginator__page div {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #8D97A1;
}

.paginator .paginator__page:hover div {
    background-color: #FFFFFF;
}

.paginator .paginator__page-current div {
    background-color: #FFFFFF;
}

.paginator .paginator__label {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: 1px solid #FFFFFF;
    z-index: 3;
}

.animated.paginator {
    visibility: visible;
}

.animated.paginator .paginator__label {
    transition: transform .5s ease-in-out;
}

/* RULES */
.overlay,
.rules {
    position: fixed;
    z-index: 1000;
    transition: opacity .5s ease-in-out, visibility 0s .5s;

    left: 0;
    top: 0;
    right: 0;
    bottom: 0;

    opacity: 0;
    visibility: hidden;
}

.overlay {
    background: RGBA(0, 0, 0, .5);
}

.rules {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.overlay.visible,
.rules.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity .5s ease-in-out, visibility 0s;
}

.rules__window {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1180px;
    max-height: 100%;
    padding: 48px 24px 48px 48px;

    background: #16161A;
    border: 1px solid #2E2E3A;
    border-radius: 8px;
    box-shadow: 0 24px 64px 0 RGBA(0, 0, 0, .5);
}

.rules__scroll {
    flex: 1 1 auto;
    min-height: 0;
    padding-right: 32px;
    overflow-y: auto;
}

@supports not (-moz-appearance: none) {
    .rules__scroll::-webkit-scrollbar {
        display: block;
        width: 4px;
    }

    .rules__scroll::-webkit-scrollbar-track {
        background-color: RGBA(255, 255, 255, .08);
        border-radius: 2px;
    }

    .rules__scroll::-webkit-scrollbar-thumb {
        background-color: #FFFFFF;
        border-radius: 2px;
    }

    .rules__scroll::-webkit-scrollbar-button {
        display: none;
    }
}

.rules__title {
    font-family: Impact, "Fjalla One", "Arial Black", sans-serif;
    font-size: 40px;
    line-height: 48px;
    text-align: center;
    color: #FFFFFF;
}

.rules__subtitle {
    margin-bottom: 40px;

    font-family: Impact, "Fjalla One", "Arial Black", sans-serif;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    color: #FFFFFF;
}

.rules__section {
    margin: 40px 0 20px 0;

    font-family: Impact, "Fjalla One", "Arial Black", sans-serif;
    font-size: 20px;
    line-height: 26px;
    color: #FFFFFF;
}

.rules__scroll p {
    margin: 0 0 20px 0;
    font-size: 20px;
    line-height: 28px;
    color: #A6ADB4;
}

.rules__scroll ul {
    margin: 0 0 20px 0;
    padding-left: 28px;
}

.rules__scroll li {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 28px;
    color: #A6ADB4;
}

.rules__scroll strong {
    font-weight: 600;
    color: #C8CFD8;
}

.rules__scroll a {
    color: #C8CFD8;
    text-decoration: underline;
}

.rules__scroll a:hover {
    color: #FFFFFF;
}

.rules__outro {
    margin-top: 40px;
    font-weight: 600;
    color: #C8CFD8 !important;
}

.rules__footer {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}


/* HEADER */
.header {
    display: grid;
    grid-template-columns: auto auto auto 1fr;
    grid-column-gap: 20px;
    padding: 0 40px;
    align-items: center;
    height: var(--header-height);

    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 20;

    background: #16161A;
    border-bottom: 1px solid #2E2E3A;
    box-shadow: 0 8px 24px 0 RGBA(0, 0, 0, .25);
}

.header.absolute {
    position: absolute;
}

.header a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    color: #FFFFFF;
}

.header__logo img {
    height: 34px;
}

.header__countdown {
    font-size: 20px;
    line-height: 26px;
    text-align: right;
    color: #A6ADB4;
}

.header__publish,
.header__rules {
    padding: 0 20px;
    height: 42px;

    font-family: Impact, "Fjalla One", "Arial Black", sans-serif;
    font-size: 18px;
    line-height: 42px;
    letter-spacing: .5px;
    color: #FFFFFF;

    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.header__publish {
    margin-left: 12px;
    background: #7976D3;
}

.header__rules {
    background: RGBA(255, 255, 255, .09);
}

.header__publish:hover {
    background: #908DE4;
}

.header__rules:hover {
    background: RGBA(255, 255, 255, .16);
}

.header__burger {
    display: none;
}

/* FOOTER */
.footer {
    height: 130px;
    background: #171515;
    border-top: 1px solid #7976D3;
}

.footer > div {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-column-gap: 40px;
    align-items: center;
    max-width: 1280px;
    height: 130px;
    margin: 0 auto;
}

.footer > div > * {
    text-align: center;
}

.footer :nth-child(1) img {
    height: 40px;
}

.footer :nth-child(2) svg {
    height: 43px;
}

.footer :nth-child(3) {
    margin-left: auto;

    font-family: "Open Sans", "Segoe UI";
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    color: #FFFFFF;
}

.footer :nth-child(3):after {
    content: '18+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 25px;

    min-width: 36px;
    width: 36px;
    height: 36px;
    font-weight: 700;
    font-size: 14px;

    border: 2px solid #FFFFFF;
    border-radius: 50%;
}

/* PAGES */
.pages {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;

    background-attachment: fixed;
    background-position: center top, center var(--header-height);
    background-size: auto, cover;
    background-repeat: repeat-y, no-repeat;
}

.pages__page {
    overflow: hidden;
    padding: 104px 24px 24px 24px;
    position: relative;
    min-height: max(100vh, 900px);

    background-size: cover;
    background-position: top center;

    /*border-bottom: 1px solid #4D120E;*/
}

.pages__page-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;

    background-position: center top;
    background-size: auto;
    background-repeat: repeat-y;
}

.pages__page-content {
    max-width: 1280px;
    height: 100%;
    min-height: 100%;
    margin: 0 auto;
    padding: 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    position: relative;
    z-index: 10;

    --scroll-percent: 0%;
    transition: transform .05s linear;
    transform: translateY(var(--scroll-percent));
}

.pages__page-bigtitle {
    margin-bottom: 30px;

    font-family: Impact, "Fjalla One", "Arial Black", sans-serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 54px;
    letter-spacing: .5px;
    text-align: center;
    color: #FFFFFF;
}

.pages__page-title {
    margin-bottom: 30px;

    font-family: Impact, "Fjalla One", "Arial Black", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 43px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
}

.pages__page-content p {
    margin: 0 0 20px 0;
    padding: 0;
    text-align: center;
    color: #A6ADB4;
}

/* PAGE 1 */
.pages__page-1 {
    padding-top: 24px;
    padding-bottom: 124px;
    background-color: #22262A;
    overflow: hidden;
}

.pages__page-1::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;

    background: linear-gradient(to bottom, RGBA(23, 23, 23, 0.65) 20%, #171717 100%);
}

.parallax.pages__page-1 > div,
.parallax.pages__page-1 .logo,
.parallax.pages__page-1 .pages__page-content > div {
    transition: transform .3s linear;
}

.animated.pages__page-1 > div,
.animated.pages__page-1 .logo,
.animated.pages__page-1 .pages__page-content > div {
    transition: transform 1.5s ease-in-out, opacity 1.5s ease-in-out, filter 1.5s ease-in-out;
}

.pages__page-1:not(.loading) > div,
.pages__page-1:not(.loading) .logo,
.pages__page-1:not(.loading) .pages__page-content > div {
    opacity: 1;
    filter: none;
    transform: scale(1);
}

.loading.parallax-img {
    transform: scale(1.2);
}

.parallax-img {
    --bg-offset: -40px;
    position: absolute;
    left: var(--bg-offset);
    top: 0;
    right: var(--bg-offset);
    bottom: 0;
    z-index: 3;

    background-size: cover;
    background-position: top center;
}

.parallax-img-2 {
    background-position: bottom center;
}

.parallax-img-3 {
    width: 900px;
    height: 900px;
    position: absolute;
    left: calc(50% - 98px / 2);
    top: 50px;
    right: auto;
    bottom: auto;
    z-index: 3;
}

.parallax-img-4 {
    transform: translateX(150px);
    background-position: 70% bottom;
    background-size: 92vw auto;
    background-repeat: no-repeat;
}

.loading.pages__page-1 .pages__page-content > div {
    opacity: 0;
}

.loading.pages__page-1 .pages__page-content > div:not(:first-child) {
    transform: translateY(100px);
}

.loading.pages__page-1 .pages__page-overlay {
    opacity: 0;
}

.loading .parallax-img-1 {
    opacity: 0;
    transform: scale(1.2) translateY(-50px);
}

.loading .parallax-img-2 {
    opacity: 0;
    transform: scale(1.3);
    filter: blur(6px);
}

.loading .parallax-img-3 {
    opacity: 0;
    transform: scale(1.1) translateX(-75px);
}

.loading .parallax-img-4 {
    opacity: 0;
}

.pages__page-1 .pages__page-content {
    --hero-figure-left: calc(43.8vw + 166px);
    --hero-figure-gap: 24px;
    --hero-text-left-min: 124px;
    --hero-text-right: calc(var(--hero-figure-left) - var(--hero-figure-gap));

    width: min(760px, calc(var(--hero-text-right) - var(--hero-text-left-min)));
    max-width: 100%;
    margin: 0 calc(100vw - 24px - var(--hero-text-right)) 0 auto;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.parallax.pages__page-1 .button-next {
    display: flex;
}

.pages__page-1 .logo {
    display: flex;
    width: 300px;
    height: 47px;
    margin: 0 0 40px 0;
}

.pages__page-1 .pages__page-title {
    margin: 0 0 30px 0;
}

.pages__page-1 .pages__page-title :nth-child(1) {
    font-size: 64px;
    line-height: 72px;
}

.pages__page-1 .pages__page-title :nth-child(2) {
    font-size: 40px;
    line-height: 48px;
}

.pages__page-1 .pages__page-content p {
    width: 560px;
    max-width: 100%;
}

.pages__page-1 .button-chevron {
    margin-top: 40px;
}

.hero-rules {
    display: block;
    margin: 26px auto 0;
    padding: 0;

    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    line-height: 24px;
    color: #A6ADB4;
    text-decoration: underline;
    text-underline-offset: 3px;

    background: none;
    border: 0;
    cursor: pointer;
}

.hero-rules:hover {
    color: #FFFFFF;
}

/* PAGE 2 */
.pages__page-2 .pages__page-bigtitle {
    max-width: 875px;
}

.pages__page-2 .pages__page-content p {
    width: 820px;
    max-width: 100%;
}

.pages__page-2 .pages__page-outro {
    margin-top: 20px;
    color: #C8CFD8;
}

/* BUTTON WITH CHEVRONS */
.button-chevron {
    --u: 0.912px;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--u) * 307);
    height: calc(var(--u) * 77);
    overflow: hidden;

    background: #313133;
    border: 2px solid #7976D3;
    border-radius: calc(var(--u) * 160);
    text-decoration: none;
    cursor: pointer;
}

.button-chevron:hover {
    border-color: #A7A4F0;
}

.button-chevron__label {
    position: relative;
    z-index: 2;

    font-family: Impact, "Fjalla One", "Arial Black", sans-serif;
    font-size: calc(var(--u) * 40);
    line-height: 1;
    letter-spacing: calc(var(--u) * 1);
    text-transform: uppercase;
    white-space: nowrap;
    color: RGBA(235, 245, 255, .7);
}

.button-chevron:hover .button-chevron__label {
    color: #FFFFFF;
}

.button-chevron__arrow {
    position: absolute;
    top: calc(var(--u) * 1.38);
    z-index: 1;
    width: calc(var(--u) * 142.5);
    height: calc(var(--u) * 70.24);
    overflow: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.button-chevron__arrow-left {
    left: calc(var(--u) * -28);
}

.button-chevron__arrow-right {
    right: calc(var(--u) * -28);
}

.button-chevron:hover .button-chevron__arrow {
    visibility: hidden;
    opacity: 0;
}

.button-chevron__arrow i {
    position: absolute;
    top: 0;
    width: calc(var(--u) * 45.31);
    height: calc(var(--u) * 70.24);

    background: #B7B3FF;
    opacity: .03;
    animation: chevronGlow 5.12s ease-in-out infinite;
    animation-delay: calc(5.12s / 25.6 * var(--i));
}

.button-chevron__arrow-right i {
    right: calc(var(--u) * 27.73 * var(--i));
    clip-path: polygon(100% 0, 61.17% 0, 0 50%, 61.17% 100%, 100% 100%, 44.88% 50%);
}

.button-chevron__arrow-left i {
    left: calc(var(--u) * 27.73 * var(--i));
    clip-path: polygon(0 0, 38.83% 0, 100% 50%, 38.83% 100%, 0 100%, 55.12% 50%);
}

@keyframes chevronGlow {
    0% { opacity: .03; }
    3% { opacity: .3; }
    6% { opacity: .03; }
    100% { opacity: .03; }
}

/* PAGE 3, STREAMERS */
.pages__page-3 .pages__page-content {
    justify-content: center;
}

.streamers__title {
    margin-bottom: 60px;
    font-size: 33px;
    line-height: 38px;
}

.streamer {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 880px;
}

.streamer__avatar {
    display: flex;
    width: 130px;
    height: 130px;
    margin-bottom: 24px;
    overflow: hidden;

    border: 3px solid #7976D3;
    border-radius: 50%;
}

.streamer__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.streamer__avatar:hover {
    border-color: #A7A4F0;
}

.streamer .pages__page-bigtitle {
    margin-bottom: 20px;
    font-size: 32px;
    line-height: 38px;
}

.streamer p {
    max-width: 760px;
    font-size: 22px;
    line-height: 27px;
}

.streamer .button-chevron {
    margin-top: 20px;
}

.consultants {
    margin-top: 60px;
    text-align: center;
}

.consultants__title {
    margin-bottom: 32px;

    font-family: Impact, "Fjalla One", "Arial Black", sans-serif;
    font-size: 26px;
    line-height: 32px;
    color: #FFFFFF;
}

.consultants__list {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 120px;
}

.consultants__avatar {
    display: flex;
    width: 114px;
    height: 114px;
    margin-bottom: 16px;
    overflow: hidden;

    border: 3px solid #7976D3;
    border-radius: 50%;
}

.consultants__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a.consultants__avatar:hover {
    border-color: #A7A4F0;
}

.consultants__name {
    font-size: 20px;
    line-height: 26px;
    color: #C8CFD8;
}

/* PAGE 4, GUIDES */
.pages__page-4 .pages__page-content {
    justify-content: center;
}

.guides__intro {
    max-width: 780px;
}

.guides {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
    max-width: 1180px;
    margin-top: 40px;
}

.guides--scroll {
    max-height: 472px;
    padding-right: 16px;
    overflow-x: hidden;
    overflow-y: auto;
}

@supports not (-moz-appearance: none) {
    .guides--scroll::-webkit-scrollbar {
        display: block;
        width: 4px;
    }

    .guides--scroll::-webkit-scrollbar-track {
        background-color: RGBA(255, 255, 255, .08);
        border-radius: 2px;
    }

    .guides--scroll::-webkit-scrollbar-thumb {
        background-color: #FFFFFF;
        border-radius: 2px;
    }

    .guides--scroll::-webkit-scrollbar-button {
        display: none;
    }
}

.guides__item {
    flex: 1 1 calc(25% - 18px);
    min-width: 240px;
}

.guides__card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    padding: 16px;

    background-position: center;
    background-size: cover;
    border: 1px solid #7976D3;
    border-radius: 4px;
    text-decoration: none;
    transition: box-shadow .2s ease;
}

.guides__card span {
    font-family: Impact, "Fjalla One", "Arial Black", sans-serif;
    font-size: 28px;
    line-height: 34px;
    text-align: center;
    color: #FFFFFF;
}

.guides__card:hover {
    box-shadow: inset 0 0 0 1000px RGBA(121, 118, 211, .72);
}

.guides__author {
    display: -webkit-box;
    height: 52px;
    margin-top: 12px;
    overflow: hidden;

    font-size: 20px;
    line-height: 26px;
    text-align: center;
    word-break: break-word;
    color: #A6ADB4;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.guides__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 780px;
    margin-top: 40px;
    text-align: center;
}

.guides__placeholder .button-chevron {
    margin-top: 8px;
}

.guides__link {
    margin-top: 24px;
    font-size: 20px;
    line-height: 26px;
    color: #A6ADB4;
    text-decoration: underline;
}

.guides__link:hover {
    color: #FFFFFF;
}
