html, body {
    padding: 0;
    margin: 0;
    height: auto;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background: rgb(235,235,255);
    background: #E0D5C2;
    min-height: calc(100 * var(--vh));
}

a {
    text-decoration: none;
    color: currentColor;
}

body {
    opacity: 0;
    transition: all 1s ease-out;
}

body.loaded {
    opacity: 1;
}

body.fixed {
    position: fixed;
    overflow: hidden;
}

body.index {
    height: 100%;
}

body.index p {
    text-align: center;
    font-weight: 300;
    margin-top: 20px;
    font-size: 1.1rem;
}

*:focus {outline:none !important}

.wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    min-height: 100vh;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

.container {
    max-width: 70%;
    box-sizing: border-box;
    -webkit-filter: drop-shadow(0px 0px 50px rgba(255,255,255,0.2));
    filter: drop-shadow(0px 0px 50px rgba(255,255,255,0.2));
}

.logo {
    background: linear-gradient(-45deg, #000, #66337B, #000, #66337B);
    background-size: 400% 400%;
    animation: gradient 25s ease infinite;
    width: 250px;
    height: 150px;
    position: relative;
    -webkit-mask-image: url(../img/1111.svg?v=3);
    mask-image: url(../img/1111.svg?v=3);
    -webkit-mask-size: 100%;
    max-width: 100%;
    padding-bottom: 156px;
    height: 0;
    transition: all 1s ease-out;
    -webkit-transition: all 1s ease-out;
    opacity: 1;
}

.logo-404 {
    font-size: 7rem;
    font-weight: bold;
    text-align: center;
}

img.site-bg {
    width: 100%;
    max-width: 1000px;
    display: block;
    margin: 0 auto;
}

.notices {
    display: flex;
    position: fixed;
    width: calc(100% - 60px);
    min-height: 100%;
    max-width: 500px;
    align-items: center;
    flex-direction: column;
    margin: 0 auto;
    top: 0;
    height: auto;
    left: 0;
    right: 0;
    top: 0;
    box-sizing: border-box;
    padding-top: 30px;
    z-index: 999;
}

.notice {
    width: 100%;
    background: rgba(255,255,255,0.7);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    cursor: pointer;
    box-sizing: border-box;
    margin-bottom: 25px;
    transition: all 1s ease-out;
    animation: bounceTop .5s normal forwards ease-in-out;
}

.notice.error:before {
    content: '';
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    background: transparent;
    z-index: -1;
    position: absolute;
    left: -5px;
    top: -5px;
    border: 5px solid #FF0000;
    border-radius: 15px;
    box-sizing: border-box;
    filter: blur(5px);
    opacity: 0.1;
}

.notice span {
    font-weight: 600;
    display: inline-block;
    width: 100%;
}

.notice a {
    color: #333;
}

.poster {
    width: 100%;
    min-height: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 15px;
    margin-top: 30px;
    overflow: hidden;
}

.poster:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.poster-img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    animation: zoomInZoomOut 120s;
    animation-duration: 120s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}

.poster h1 {
    color: #E0D5C2;
    z-index: 2;
    max-width: 600px;
    width: 100%;
    font-size: 2.5rem;
    mix-blend-mode: screen;
}

.poster p {
    padding: 0;
    color: #FFF;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    display: inline-block;
    margin: 0 auto;
}

.wrap.item-wrap {
    justify-content: inherit;
}

.item-logo {
    position: absolute;
    background-image: url(/assets/img/1111.svg?v=3);
    height: 35px;
    width: 200px;
    background-size: 45px;
    z-index: 3;
    background-color: #E0D5C2;
    background-position: center center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    padding: 10px 0;
    border-radius: 0 0 20px 20px;
    /* top: 30px; */
    cursor: pointer;
    border-top: none;
    box-shadow: 3px 7px 7px rgba(0,0,0,0.2);
    bottom: -34px;
}

.item-inner {
    padding: 0;
    font-size: 1.2rem;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 60px;
    padding-top: 30px;
}

.item-inner > img {
    display: block;
    max-width: 100%;
    margin: 15px auto;
}

.item-inner b:before {
    content: '';
    width: calc(100% + 6px);
    height: 100%;
    background: #fafafa;
    display: inline-block;
    position: absolute;
    left: -3px;
    top: 0;
    z-index: -1;
    transform: rotate(-1deg);
    padding: 0 3px;
    box-sizing: border-box;
}

.item-inner b:nth-child(odd):before {
    transform: rotate(1deg);
}

.item-inner b {
    font-weight: normal;
    position: relative;
    display: inline-block;
    z-index: 1;
    padding: 0 3px;
    text-align: center;
}


footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    background: #2F2F2F;
    color: #818181;
    flex-direction: column;
    padding: 0 0 30px 0;
}

footer p {
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
    margin-bottom: 15px;
    margin-top: 0;
    display: flex;
    gap: 30px;
}

footer p:last-child {
    margin-bottom: 0;
}

.flex-img:first-child {
    margin-top: 60px;
}

.flex-img > p {
    margin-top: 30px;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes bounceTop {
  0% { transform: translateY(-500px); }
  100% { transform: translateY(0); }
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.fliptime {
    animation: flip 5s;
    animation-duration: 5s;
    animation-timing-function: step-end;
    animation-iteration-count: infinite;
}

button.btn, a.btn {
    color: #FFF;
    width: 100%;
    display: inline-block;
    margin: 15px 0;
    background: #FE7B3C;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    max-width: 300px;
    border: none;
    font-size: 16px;
    box-sizing: border-box;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}

a.btn:last-child {
    margin-right: 0;
}

button.btn-ozon,
a.btn-ozon {
    background: #015BFF;
}

button.btn-wildberries,
a.btn-wildberries {
    background: #481173;
}

button.btn-ym,
a.btn-ym {
    background: #FFCC01;
    color: #000;
}

.flex-img {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 30px auto;
}

.flex-img > img:first-child {
    margin: 0 30px 0 0;
}

.flex-img > img:last-child {
    max-width: 40%;
}

.item-inner strong {
    font-weight: 500;
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
}

.flex-img:nth-child(even) {
    flex-direction: row-reverse;
}

.flex-img:nth-child(even) img {
    flex-direction: row-reverse;
}

.item-inner img {
    margin: 0 auto;
    display: block;
    max-width: 100%;
    margin: 60px auto;
}

.item-wrap:before {
    content: '';
    width: 100%;
    position: fixed;
    top: 0;
    height: 1px;
    background: rgba(0,0,0,0.2);
    left: 0;
}

.poster a.btn {
    z-index: 2;
    width: 90%;
    /* margin-top: 30px; */
    position: absolute;
    bottom: 60px;
}

img.dot{
    display: inline-block !important;
    margin: 0 !important;
    width: 20px;
}

.cards {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 200px;
    margin: 60px auto;
}

.cards .card {
    position: absolute;
    width: 134px;
    height: 189px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 15px;
    overflow: hidden;
}

.cards .card[data-n="1"] { background-image: url(/assets/img/hgscpm/c1.png); }
.cards .card[data-n="2"] { background-image: url(/assets/img/hgscpm/c2.png); }
.cards .card[data-n="3"] { background-image: url(/assets/img/hgscpm/c3.png); }
.cards .card[data-n="4"] { background-image: url(/assets/img/hgscpm/c4.png); }
.cards .card[data-n="5"] { background-image: url(/assets/img/hgscpm/c5.png); }
.cards .card[data-n="6"] { background-image: url(/assets/img/hgscpm/c6.png); }

.cards .card:first-child {
    box-shadow: 5px 5px 2px rgb(0 0 0 / 30%);
    transform: rotate(-5deg);
}

.included, 
.included .included-inner {
    display: flex;
    flex-direction: row;
    background: #f7f7f7;
    border-radius: 15px;
    padding: 30px;
    gap: 20px;
}

div.included {
    flex-direction: column;
    padding: 0;
    gap: 0 !important;
    border: 10px solid #F0F0F0;
}

.included-inner > div:nth-child(2) {
    font-weight: 500;
    font-size: 1rem;
}

.included ul {
    padding: 0;
    margin: 0 0 0 0;
    padding-left: 15px;
}

.included li {
    font-weight: normal;
    margin-bottom: 5px;
    list-style: circle;
}

.included-inner > div {
    flex: 1;
}

.included-inner div:nth-child(1) {
    font-size: 2rem;
    font-weight: 600;
    max-width: 150px;
    line-height: 30px;
}

.included-inner div:nth-child(2) {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    max-width: 150px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.included-inner div:nth-child(2) span {
    font-weight: 800;
    /* position: absolute; */
    /* bottom: 50%; */
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
}

img {
    opacity: 0;
}

.img-loaded {
    opacity: 1;
    -webkit-transition: opacity 2s linear;
}

*[data-bg] {
    -webkit-transition: background 0.5s linear;
    -moz-transition: background 0.5s linear;
    -o-transition: background 0.5s linear;
    transition: background 0.5s linear;
}

.menu.menu-main {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    left: 0;
    top: calc(-100% + 30px);
    background: #E0D5C2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
}

.menu-main a {
    font-size: 2rem;
    margin: 15px 0;
    font-weight: 400;
    width: 100%;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.menu-main a:focus {
  outline:none;
  box-shadow: none;
}

.transition {
    transition: all .5s ease-out;
}

.menu span {
    position: relative;
    margin-left: 10px;
}

.menu span:after {
    content: '';
    display: inline-block;
    background: #FFF;
    padding: 0 10px;
    position: absolute;
    left: -9px;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: skewX(-3deg) rotate(1deg);
}

a[href="/ozon/"] span { color: #FFF; }
a[href="/ozon/"] span:after {
    background-color: #015BFF;
}

a[href="/wb/"] span { color: #FFF; }
a[href="/wb/"] span:after {
    background-color: #481173;
}

a[href="/yandex/"] span { color: #000; }
a[href="/yandex/"] span:after {
    background-color: #FFCC01;
}

a[href="/"] span { color: #FFF; font-weight: bold; }
a[href="/"] span:after {
    background-color: #333;
}

.btn-rules {
    width: calc(33.3% - 10px) !important; 
    max-width: initial; 
    margin: 0; 
    line-height: 19.5px;
}

.menu-main a.menu-close {
    font-size: 3rem;
    position: relative;
}

a.btn-gray {
    background: transparent;
    color: #333;
    margin-bottom: 30px;
    border-radius: 50px;
    box-shadow: none;
    padding: 5px 0;
    font-weight: 400;
    border: 2px solid #CCC;
    margin-top: 0;
}

.footer-logo {
    color: #000;
    margin: 60px 0 30px;
    position: relative;
}

.footer-logo {
    width: auto;
    background: #f7f7f7;
    height: 100%;
    transform: skewY(-1deg);
    padding: 3px;
    padding: 5px 10px;
    font-weight: bold;
    display: inline-block;
}

span.emoji {
    font-size: 2rem;
}

.disabled {
    opacity: 0.3;
    pointer-events: none;
}

a.btn-buy {
    font-weight: 400;
    overflow: hidden;
}

span.badges {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 10px;
    width: 100%;
}

span.badge {
    display: inline-block;
    margin: 5px 0;
    background: #FFF;
    color: #333;
    padding: 3px 5px;
    transform: skewY(-1deg);
    font-size: 1rem;
    font-weight: 400;
}

.icon-specer {
    display: flex;
    width: 100%;
    margin-top: 30px;
    align-items: center;
    justify-content: center;
}

.icon {
    display: inline-block;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
}

.icon.star { background-image: url(/assets/img/hgscpm/dot4.png); }
.icon.mushroom { background-image: url(/assets/img/hgscpm/dot6.png); }
.icon.worm { background-image: url(/assets/img/hgscpm/dot3.png); }
.icon.shaka { background-image: url(/assets/img/rt/rt10.png); width: 32px; height: 32px; }

footer .icon {
    filter: grayscale(100);
    position: relative;
    margin-bottom: -5px;
    margin-right: 5px;
}

a.btn-buy:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url(/assets/img/fry-btn.png);
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
    animation: FryIn 5s;
    animation-duration: 5s;
    animation-timing-function: cubic-bezier(0.1, -0.6, 0.2, 0);
    animation-iteration-count: 1;
}

.rate {
    display: flex;
    margin: 30px auto;
    background: #f7f7f7;
    padding: 15px;
    border-radius: 15px;
    flex-direction: column;
    border: 10px solid #F0F0F0;
}

.rates {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rate-item {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.rate-item > span {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rate-item > span b {
    color: #999;
    padding: 0;
}

.rate-item > span b:before {
    display: none;
}

span[data-rate] {
    display: inline-block;
    background-image: url(/assets/img/hgscpm/dot4.png);
    background-size: contain;
    width: 125px;
    flex: none;
    margin-right: 10px;
    text-align: right;
    background-repeat: repeat-x;
    background-size: 25px;
    height: 25px;
    position: relative;
}

span[data-rate]:after {
    content: attr(data-rate);
    position: absolute;
    right: -35px;
    top: 1px;
    width: 25px;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    height: 25px;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
    font-size: 12px;
}

span[data-rate]:before {
    content: '';
    width: var(--gray);
    position: absolute;
    right: 0;
    height: 100%;
    filter: grayscale(1);
    background-image: url(/assets/img/hgscpm/dot4.png);
    background-size: 25px;
    background-repeat: repeat-x;
    background-position: right center;
}

.rate-item > span:nth-child(2) {
    font-size: 11px;
    text-align: right;
    color: #333;
}

a.menu-close:after {
    content: '';
    width: 250px;
    height: 250px;
    background-image: url(/assets/img/dog.png);
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: 50%;
    top: 50%;
    margin-left: -140px;
    margin-top: -168px;
    z-index: -1;
    opacity: 0;
    transition: all .3s ease-out;
}

.menu-main.to-close a {
    opacity: 0;
}

.menu-main.to-close a[href="/"],
.menu-main.to-close a[href="#"] {
    opacity: 1;
}

a.menu-close.active:after {
    opacity: 1;
}

@keyframes zoomInZoomOut {
  0% {
    transform: scale(1, 1) rotate(0);
  }
  50% {
    transform: scale(1.2, 1.2) rotate(-3deg);
  }
  100% {
    transform: scale(1, 1);
  }
}

@keyframes flip {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(-1, 1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes FryIn {
  0% {
    right: -100px;
  }
  100% {
    right: 0;
  }
}


@media screen and (max-width: 900px) {

    .item-inner {
        padding: 30px 30px 60px 30px;
    }

    .poster {
        border-radius: 0;
        margin-top: 0;
        min-height: calc(100 * var(--vh));
    }

    footer p {
        padding: 0 30px;
        flex-direction: column;
        gap: 10px;
    }

    .buttons {
        flex-direction: column;
    }

    .buttons .btn {
        max-width: inherit;
        margin: 0;
    }

    a.btn:last-child {
        margin-bottom: 0;
    }

    .mobile-column {
        flex-direction: column-reverse;
    }

    .flex-img.mobile-column > img {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    footer p span {
        display: inline-block;
        width: 100%;
        margin-bottom: 3px;
    }


    .poster a.btn {
        max-width: none;
    }

    .included .included-inner {
        flex-direction: column;
        padding: 20px;
    }

    .included-inner div {
        width: 100%;
        max-width: initial !important;
    }

    .included-inner div:nth-child(1) {
        text-align: center;
    }

    .included-inner div:nth-child(2) {
        height: 100px;
        flex: auto;
        margin: 15px auto;
    }

    .menu-main a {
        font-size: 1.4rem;
        margin: 10px 0;
        font-weight: 400;
        width: 100%;
        text-align: center;
    }

    .btn-rules {
        width: calc(100% - 30px) !important;
        margin: 0 auto !important;
    }

    .btn-dummy {
        display: none;
    }

    .included li {
        font-weight: normal;
        font-size: .9em;
        margin-bottom: 5px;
    }

    a.btn-gray {
        margin-bottom: 15px !important;
    }

    .menu.menu-main {
        top: -100%;
    }

    .img-bottom {
        transform: scale(1.5);
    }

}