.mobile-menu {
    display: none;
}

@media screen and (max-width: 767px) {
    body {
        font-size: 18px;
        line-height: 22px;
    }

    #lineage2 {
        --header-height: 56px;
    }

    .header {
        grid-template-columns: 1fr auto;
        padding: 0 20px;
        z-index: 200;
    }

    .header .header__countdown,
    .header .header__publish,
    .header .header__rules {
        display: none;
    }

    .header__logo img {
        height: 22px;
    }

    .header__burger {
        display: inline-flex;
        align-items: center;
        position: relative;
        height: 20px;
        padding-right: 30px;

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

        cursor: pointer;
        user-select: none;
    }

    .header__burger::before,
    .header__burger::after {
        content: '';
        position: absolute;
        right: 0;
        display: inline-flex;
        width: 20px;
        height: 2px;
        background: #FFFFFF;
    }

    .header__burger::before {
        top: 6px;
    }

    .header__burger::after {
        top: 12px;
    }

    .header.menuopened .header__burger::before,
    .header.menuopened .header__burger::after {
        top: 9px;
    }

    .header.menuopened .header__burger::before {
        transform: rotate(45deg);
    }

    .header.menuopened .header__burger::after {
        transform: rotate(-45deg);
    }

    .mobile-menu.visible {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;

        padding: 60px 0;
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 190;

        background: #22262A;
    }

    .mobile-menu a,
    .mobile-menu button {
        display: flex;
        padding: 0;

        font-family: Impact, "Fjalla One", "Arial Black", sans-serif;
        font-size: 24px;
        font-weight: 400;
        line-height: 72px;
        letter-spacing: .5px;
        text-decoration: none;
        color: #FFFFFF;

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

    .paginator {
        display: none;
    }

    .pages__page {
        min-height: auto;
        padding: 76px 20px 40px 20px;
        overflow: hidden;
    }

    .pages .pages__page-content {
        max-width: 480px;
        padding: 0;
        align-items: center;
        justify-content: flex-start;
    }

    .pages .pages__page-bigtitle {
        margin-bottom: 20px;
        font-size: 20px;
        line-height: 26px;
    }

    .pages .pages__page-content p {
        width: 100%;
        max-width: none;
    }

    .button-chevron {
        --u: .841px;

        width: auto;
        min-width: 255px;
        padding: 0 40px;
    }

    .button-chevron__label {
        font-size: 26px;
    }

    .parallax-img {
        --bg-offset: 0px;
    }

    .parallax-img:not(.parallax-img-1):not(.parallax-img-4) {
        display: none;
    }

    .parallax-img-4 {
        transform: none;
        background-position: 72% bottom;
        background-size: auto 75%;
    }

    .phoneloading.pages__page-1:not(.parallax):not(.animated) > div,
    .phoneloading.pages__page-1:not(.parallax):not(.animated) .logo,
    .phoneloading.pages__page-1:not(.parallax):not(.animated) .pages__page-content {
        opacity: 0;
    }

    .pages__page-1 {
        min-height: 100vh;
        padding: 50px 20px 120px 20px;
    }

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

    .pages__page-1 .pages__page-content {
        width: 100%;
        max-width: 100%;
        margin: 0;

        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr auto;
        justify-items: center;
    }

    .pages__page-1 .logo {
        width: 193px;
        height: 30px;
        margin: 0;
    }

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

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

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

    .pages__page-1 .pages__page-content > :nth-child(3) {
        align-self: end;
    }

    .pages__page-1 .pages__page-content p {
        max-width: 420px;
        margin: 0;
    }

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

    .hero-rules {
        margin-top: 20px;
        font-size: 22px;
        line-height: 22px;
    }

    .button-next {
        bottom: 44px;
    }

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

    .streamer__avatar {
        margin-bottom: 16px;
    }

    .streamer .pages__page-bigtitle {
        margin-bottom: 12px;
        font-size: 24px;
        line-height: 30px;
    }

    .streamer p {
        font-size: 18px;
        line-height: 22px;
    }

    .consultants {
        margin-top: 40px;
    }

    .consultants__title {
        margin-bottom: 20px;
        font-size: 20px;
        line-height: 26px;
    }

    .consultants__list {
        gap: 20px;
    }

    .consultants__avatar {
        width: 90px;
        height: 90px;
        margin-bottom: 12px;
    }

    .consultants__name {
        font-size: 16px;
        line-height: 22px;
    }

    .pages__page-4 {
        display: flex;
        flex-direction: column;
        min-height: calc(100vh - var(--footer-height, 0px));
    }

    .pages .pages__page-4 .pages__page-content {
        justify-content: center;
    }

    .guides {
        gap: 16px;
        margin-top: 24px;
        width: calc(100% - 24px);
    }

    .guides--scroll {
        max-height: 452px;
        padding-right: 12px;
    }

    .guides__item {
        flex: 0 0 100%;
        min-width: 0;
    }

    .guides__card {
        height: 160px;
    }

    .guides__card span {
        font-size: 24px;
        line-height: 30px;
    }

    .guides__author {
        height: 44px;
        margin-top: 8px;
        font-size: 16px;
        line-height: 22px;
    }

    .guides__placeholder {
        margin-top: 24px;
    }

    .guides__link {
        margin-top: 20px;
        font-size: 16px;
        line-height: 22px;
    }

    .rules {
        padding: 0;
    }

    .rules__window {
        max-height: 100%;
        height: 100%;
        padding: 56px 8px 20px 20px;
        border: 0;
        border-radius: 0;
    }

    .rules__scroll {
        padding-right: 12px;
    }

    .rules__title {
        font-size: 26px;
        line-height: 32px;
    }

    .rules__subtitle {
        margin-bottom: 24px;
        font-size: 18px;
        line-height: 24px;
    }

    .rules__section {
        margin: 24px 0 12px 0;
        font-size: 17px;
        line-height: 22px;
    }

    .rules__scroll p,
    .rules__scroll li {
        font-size: 16px;
        line-height: 22px;
    }

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

    .footer {
        height: auto;
        padding: 22px;
    }

    .footer > div {
        grid-template-columns: 1fr;
        grid-row-gap: 32px;
        max-width: none;
        height: auto;
    }

    .footer > div > :nth-child(1) {
        order: 2;
    }

    .footer > div > :nth-child(2) {
        order: 1;
    }

    .footer > div > :nth-child(3) {
        order: 3;
    }

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

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

    .footer :nth-child(3) {
        margin-left: 0;
        text-align: center;
    }

    .footer :nth-child(3):after {
        content: '18+';
        display: flex;
        margin: 20px auto 0 auto;
    }
}
