@import url('https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body,
.choice-container {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.choice-container {
    position: relative;
    background-image: url('img/bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 8vh 0;
    z-index: 4;
    pointer-events: none;
}

.hero-container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    z-index: 1;
}

.hero-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.logo {
    flex-shrink: 0;
    width: 140px;
    height: 53px;
    background-image: url('img/logo.svg');
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: auto;
}

.title {
    margin: 0;
    font-family: "Arsenal", sans-serif;
    font-size: 84px;
    font-weight: 700;
    text-align: center;
    font-style: normal;
    text-transform: uppercase;
    color: #282828;
    pointer-events: none;
}

.tip,
.tip > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.tip > div {
    flex-direction: row;
}

.tip > div:before {
    content: "";
    position: relative;
    top: -3px;
    width: 45px;
    height: 45px;
    background-image: url('img/cursor.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.tip span {
    font-family: "Arsenal", sans-serif;
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    font-style: normal;
    color: #282828;
}

.tip > div > span {
    font-size: 36px;
}

.tip > span {
    font-size: 21px;
}

.choice {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#zenit, #spartak {
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.spartak,
.zenit {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    pointer-events: none;
    z-index: 3;
    filter: grayscale(1);
    transition: filter 0.2s ease;
}

.spartak .club img {
    filter: opacity(0.6);
    transition: filter 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .spartak-hover .spartak .club img {
        filter: opacity(1);
    }

    .spartak-hover .spartak .btn {
        background-color: #C8102E;
    }

    .spartak-hover .spartak,
    .zenit-hover .zenit{
        filter: none;
    }

    .zenit-hover #zenit:hover, .spartak-hover #spartak:hover {
        opacity: 1;
        cursor: pointer;
    }
}

.spartak-choice-made .spartak,
.zenit-choice-made .zenit {
    filter: none!important;
}

.spartak-choice-made .spartak .btn {
    background-color: #C8102E;
}

.spartak-choice-made .spartak .club img {
    filter: opacity(1);
}

.spartak-choice-made #spartak,
.zenit-choice-made #zenit {
    opacity: 1!important;
}

.spartak-choice-made #spartak,
.spartak-choice-made #zenit,
.zenit-choice-made #spartak,
.zenit-choice-made #zenit {
    cursor: default;
}



.spartak {
    left: 0;
}

.zenit {
    right: 0;
}

.club {
    position: absolute;
    top: 65%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.spartak > img,
.zenit > img {
    position: absolute;
}

.spartak > img:nth-last-of-type(1) {
    top: 70%;
    left: 0%;
    width: 30%;
    transform: rotate(-25deg);
}

.spartak > img:nth-last-of-type(2) {
    top: 35%;
    left: 75%;
    width: 13%;
    transform: rotate(20deg);
}

.spartak > img:nth-last-of-type(3) {
    top: 0;
    left: 0;
    width: 35%;
    transform: rotate(-20deg);
}

.zenit > img:nth-last-of-type(1) {
    top: 80%;
    left: 55%;
    width: 30%;
    transform: rotate(-25deg);
}

.zenit > img:nth-last-of-type(2) {
    top: 5%;
    left: 70%;
    width: 40%;
    transform: rotate(70deg);
}

.zenit > img:nth-last-of-type(3) {
    top: 70%;
    left: 0%;
    width: 20%;
    transform: rotate(-25deg);
}

.club img {
    position: absolute;
    bottom: calc(100% + 20px);
    width: 350px;
}

@media (min-width: 1921px) {
    .club img {
        width: 450px;
    }
}

.divider {
    position: absolute;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.divider-line {
    z-index: 2;
}

.divider svg {
    position: absolute;
    left: 60%;
    transform: translateX(-50%);
}


svg {
    display: block;
    height: 100%;
    width: auto;
    pointer-events: none;
    /* cursor: pointer; */
}

svg path {
    pointer-events: auto;
}

.btn {
    font-family: "Arsenal", sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    font-style: normal;
    color: #ffffff;
    padding: 8px 24px 10px;
    border: none;
    border-radius: 12px;
    white-space: nowrap;
}

.spartak .btn {
    background-color: #009EE1;
    /* background-color: #C8102E; */
}

.zenit .btn {
    background-color: #009EE1;
}

.footer {
    position: relative;
    padding: 24px;
    z-index: 10;
}

.footer-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    height: 100%;
    width: 100%;
    background-image: url(img/divider-footer.svg);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateX(-50%);
}

.footer p {
    margin: 0;
    font-family: "Arsenal", sans-serif;
    font-size: 10px;
    font-weight: 400;
    text-align: left;
    font-style: normal;
    color: #282828;
}

.popup-container {
    position: fixed;
    overflow: hidden;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(40, 40, 40, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.popup-container.close {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.popup-container.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.popup {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    background-image: url('img/popup-bg.png');
    background-size: cover;
    background-position: center;
    padding: 36px;
    border-radius: 20px;
    overflow: hidden;
}

.popup::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
}

.popup .popup-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.popup .logo {
    margin-bottom: 65px;
}

.popup span {
    font-family: "Arsenal", sans-serif;
    text-align: center;
    font-style: normal;
    text-transform: uppercase;
}

.popup .message {
    margin-bottom: 24px;
    font-size: 52px;
    font-weight: 700;
}

.popup .results-date {
    margin-bottom: 24px;
    font-size: 35px;
    font-weight: 700;
    color: #df2328;
}

.popup .call {
    margin-bottom: 35px;
    font-size: 24px;
    font-weight: 400;
}

.popup .sharing-title {
    display: block;
    margin-bottom: 20px;
    font-family: "Arsenal", sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.popup .sharing .ya-share2 {
    display: flex;
    justify-content: center;
}

.popup .sharing .ya-share2 .ya-share2__list.ya-share2__list_direction_horizontal > .ya-share2__item {
    margin: 2px 20px 0 0;
}

.popup .sharing .ya-share2__container_shape_round.ya-share2__container_size_l .ya-share2__badge .ya-share2__icon:not(.ya-share2__icon_messenger-contact):not(.ya-share2__icon_more):not(.ya-share2__icon_copy) {
    background-size: 24px 24px;
}

.popup .sharing .ya-share2__container_size_l .ya-share2__badge .ya-share2__icon {
    height: 32px;
    width: 32px;
}

.popup .popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

.popup .popup-close::before,
.popup .popup-close::after {
    content: '';
    position: absolute;
    height: 1px;
    width: 12px;
    background-color: #282828;
    border-radius: 2px;
}

.popup .popup-close::before {
    transform: rotate(45deg);
}

.popup .popup-close::after {
    transform: rotate(-45deg);
}

@media (max-width: 1600px) {
    .title {
        font-size: 57px;
    }

    .tip {
        gap: 8px;
    }

    .tip > div:before {
        width: 20px;
        height: 20px;
    }

    .tip > div > span {
        font-size: 24px;
    }

    .tip > span {
        font-size: 18px;
    }
}

/* @media (max-width: 1400px) {
    .spartak .club {
        top: 45%;
        left: 50%;
    }

    .zenit .club {
        top: 65%;
        left: 50%;
    }
} */

@media (max-width: 1200px) {
    .club img {
        width: 220px;
    }
}

@media (max-width: 1024px) {
    .title {
        font-size: 46px;
    }

    .btn {
        font-size: 16px;
    }

    .divider svg {
        left: 65%;
    }

    /* .hero {
        padding: 5% 0 10%;
    } */
}

@media (max-width: 960px) {
    .title {
        font-size: 32px;
    }

    .spartak .club {
        top: 45%;
    }

    .zenit .club {
        top: 70%;
    }

    .spartak > img:nth-last-of-type(1) {
        top: 55%;
    }

    .zenit > img:nth-last-of-type(1) {
        top: 75%;
    }
}

@media (max-width: 960px) and (max-height: 600px) and (orientation: landscape) {
    html, body, .choice-container {
        height: 150vh;
    }

    .hero {
        padding: 4vh 0;
    }

    .title {
        font-size: 26px;
    }

    .hero-container {
        justify-content: flex-start;
        gap: 12px;
    }

    .hero-header {
        gap: 12px;
    }

    .club img {
        width: 200px;
    }

    .divider svg {
        left: 60%;
    }

    .spartak .club {
        left: 25%;
        transform: translate(-25%, -50%);
    }

    .zenit .club {
        right: 25%;
        left: auto;
        transform: translate(25%, -50%);
    }

    .tip {
        gap: 8px;
    }

    .tip > div:before {
        width: 19px;
        height: 15px;
        top: 0;
        background-image: url('img/tap.png');
    }

    .tip > div > span {
        font-size: 14px;
    }

    .tip > span {
        font-size: 12px;
    }

    .logo {
        height: 28px;
        width: 75px;
    }

    .footer .logo {
        height: 31px;
        width: 82px;
    }

    .popup {
        padding: 24px;
    }

    .popup .logo {
        margin-bottom: 35px;
    }

    .popup .message {
        margin-bottom: 20px;
        font-size: 36px;
    }

    .popup .results-date {
        margin-bottom: 20px;
        font-size: 19px;
    }

    .popup .call {
        margin-bottom: 22px;
        font-size: 12px;
    }
}

@media (max-width: 680px) {
    .divider {
        transform: translateX(5%);
    }

    .club {
        transform: translate(-25%, -50%);
    }

    .spartak .club {
        top: 80%;
        left: 25%;
    }

    .zenit .club {
        top: 68%;
        left: 25%;
    }
}


@media (max-width: 576px) {
    .hero {
        padding: 24px 0;
    }

    .title {
        font-size: 26px;
    }

    .hero-container {
        justify-content: flex-start;
        gap: 12px;
    }

    .hero-header {
        gap: 12px;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: -6%;
        left: 50%;
        height: 100%;
        width: 100%;
        background-image: url(img/divider-header.svg);
        background-position: top center;
        background-size: 300%;
        background-repeat: no-repeat;
        transform: translateX(-50%);
    }

    .tip {
        gap: 8px;
    }

    .tip > div:before {
        width: 19px;
        height: 15px;
        top: 0;
        background-image: url('img/tap.png');
    }

    .tip > div > span {
        font-size: 14px;
    }

    .tip > span {
        position: absolute;
        bottom: 5px;
        left: 20px;
        font-size: 12px;
    }

    .logo {
        height: 28px;
        width: 75px;
    }
    .footer .logo {
        height: 31px;
        width: 82px;
    }

    .choice {
        bottom: 0;
        top: auto;
        height: calc(100% - 150px);
    }

    .divider svg {
        transform: translateX(-50%) scale(1.2);
    }

    .spartak,
    .zenit {
        width: 100%;
        height: 50%;
        z-index: 1;
    }

    .spartak {
        top: 0;
        bottom: auto;
    }

    .spartak > img:nth-last-of-type(1) {
        top: 70%;
    }

    .spartak > img:nth-last-of-type(3) {
        top: 0;
        left: 10%;
    }

    .zenit > img:nth-last-of-type(2) {
        top: 15%;
    }

    .zenit > img:nth-last-of-type(3) {
        top: 45%;
        left: 5%;
    }

    .zenit {
        top: auto;
        bottom: 0;
    }

    .club {
        top: 75%;
        gap: 4px;
        transform: translate(-50%, -50%);
    }

    .club img {
        width: 200px;
    }

    .spartak .club,
    .zenit .club {
        /* top: 50%; */
        left: 50%;
    }

    .divider {
        transform: rotate(30deg) translateX(20%);
    }


    .footer::before {
        top: -20%;
    }

    .popup-container {
        padding: 16px;
    }

    .popup .logo {
        margin-bottom: 51px;
    }

    .popup .message {
        margin-bottom: 20px;
        font-size: 36px;
    }

    .popup .results-date {
        margin-bottom: 20px;
        font-size: 19px;
    }

    .popup .call {
        margin-bottom: 22px;
        font-size: 12px;
    }

    .popup .sharing-title {
        font-size: 14px;
    }
}

@media (max-width: 576px) and (max-height: 750px) {
    .club img {
        width: 140px;
    }
}
/*
@media (max-width: 576px) and (max-height: 650px) {
    .club img {
        width: 70%;
    }
} */

/* @media (max-height: 760px) {
    .spartak .club,
    .zenit .club {
        top: 55%;
    }
} */

@media (max-height: 450px) and (orientation: landscape) {
    .spartak .club {
        top: 60%;
    }

    .zenit .club {
        top: 60%;
        left: auto;
    }
}
