* {
    box-sizing: border-box;
}

html,
body,
h1,
h2,
p,
ul,
ol,
li {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
    width: inherit;
}

html,
body {
    height: 100%;
    min-height: 100%;
    background-color: #14181B;
    color: #ffffff;
    font-family: "Segoe UI", "Cantarell", "Ubuntu", "Arial", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
    font-size: 14px;
}

header {
    display: flex;
    justify-content: space-between;
}

header .logo {
    background-image: url(../assets/logo.png);
    background-size: 100% auto;
    width: 192px;
    height: 40px;
    background-repeat: no-repeat;
    //cursor: pointer; TODO: return when popups are enabled
}

header .buttons {
    display: flex;
    gap: 8px;
    //cursor: pointer; TODO: return when popups are enabled
}

header .buttons .button {
    padding: 12px 16px;
    font-weight: bold;
    font-size: 14px;
    line-height: 18px;
    height: 40px;
    text-align: center;
    background: #1A57DF;
    border-radius: 4px;
    white-space: nowrap;
}

header .buttons .button.outline {
    background: none;
}

main .banner-wrap {
    background-image: url('../assets/banner.jpg');
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 16px 104px 32px;
}

main .banner {
    margin-top: 128px;
}

main .banner .content .title {
    width: 660px;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 64px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-transform: uppercase;
}

main .banner .content .title br {
    display: none;
}

main .banner .content .button {
    width: fit-content;
    margin: 16px 0 180px;
    padding: 16px 24px;
    background: #1A57DF;
    border-radius: 4px;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    text-transform: uppercase;
    color: #FFF;
    //cursor: pointer; TODO: return when popup enabled
}

main .banner .steps {
    display: flex;
    gap: 16px;
    justify-content: center;
}

main .banner .steps .step {
    display: flex;
    width: 400px;
    height: 128px;
    align-items: center;
    padding: 16px;
    background: #CAFF59;
    border-radius: 8px;
    gap: 16px;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #122857;
    text-align: center;
    // cursor: pointer; TODO: return when popups are enabled
}

main .banner .steps .step > div {
    width: 100%;
}

main .banner .steps .step-1 {
    background-image: url('../assets/step1.png');
    background-size: contain;
}

main .banner .steps .step-2 {
    background-image: url('../assets/step2.png');
    background-size: contain;
}

main .banner .steps .step-3 {
    background-image: url('../assets/step3.png');
    background-size: contain;
}

main .banner .steps .step .title {
    color: #0658DB;
}

main .banner .steps .step .title.huge {
    font-size: 40px;
    line-height: 40px;
}

main .events-wrap {
    padding: 0 104px;
}

main .events {
    color: #FFFFFF;
}

main .events .title {
    text-align: center;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 64px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

main .events #matches {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

main .events .match {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 72px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    //cursor: pointer; TODO: return when popups are enabled
}

main .events .match .title {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    text-transform: uppercase;
    opacity: 0.5;
    width: 130px;
    overflow: visible;
    white-space: nowrap;
}

main .events .match .date-mobile {
    display: none;
}

main .events .match .info {
    display: flex;
    gap: 24px;
    flex-grow: 1;
    justify-content: center;
}

main .events .match .info .team {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    flex-basis: 40%;
}

main .events .match .info .team:last-child {
    flex-direction: row-reverse;
}

main .events .match .info .date {
    width: 50px;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    opacity: 0.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

main .events .match .info .team img {
    width: 40px;
    height: 40px;
}

main .events .match .info .team img.default {
    opacity: 0.2;
}

main .events .match .button {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 10px 16px;
    color: #CAFF59;
}

main .events .match .info .team .name {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    text-transform: uppercase;
}

main .events .events-button {
    width: 100%;
    height: 48px;
    margin-top: 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    line-height: 48px;
    cursor: pointer;
}

main .events .events-text {
    padding: 32px 0 16px;
    text-align: center;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}

main .events .events-text * {
    opacity: 0.5;
}

main .events .events-text .caption {
    opacity: 1;
    font-family: 'Oswald';
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

main .divider {
    height: 1px;
    width: auto;
    background: #FFFFFF;
    opacity: 0.1;
}

main .android {
    margin: 16px auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../assets/android.png);
    width: 130px;
    height: 40px;
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 32px 104px;
    font-family: 'Segoe UI';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #FFFFFF;
}

footer .text {
    opacity: 0.5;
}

footer .responsibility {
    align-items: center;
    display: flex;
    gap: 8px;
}

footer .responsibility .ico {
    background-image: url(../assets/legal.png);
    background-size: 100%;
    width: 24px;
    height: 24px;
}

@media screen and (max-width: 1439px) {
    header .buttons .button.outline {
        display: none;
    }
    .mobile-bg {
        position: absolute;
        width: 100%;
        height: 200px;
        left: 0;
        top: 176px;
        background: linear-gradient(180deg, rgba(20, 24, 27, 0) 0, #14181B 100%);
    }

    header {
        padding: 8px;
        background: rgba(20, 24, 27, 0.7);
        backdrop-filter: blur(8px);
        top: 0;
        left: 0;
        width: 100%;
    }

    header .logo {
        background-position: 0 50%;
    }

    main .banner-wrap {
        background-image: url('../assets/banner_mobile.jpg');
        width: 100%;
        background-size: 100%;
        background-repeat: no-repeat;
        padding: 0;
        background-color: #0C207C;
    }

    main .banner {
        margin-top: 0;
        background: #14181B;
    }

    main .banner .content {
        margin: 320px 0 -148px;
    }

    main .banner .content .title {
        font-size: 26px;
        line-height: 32px;
        text-align: center;
        width: 100%;
        position: absolute;
        top: 234px;
    }

    main .banner .content .title br {
        display: block;
    }

    main .banner .content .button {
        width: auto;
        margin: 162px 16px;
        text-align: center;
    }

    main .banner .steps {
        flex-direction: column;
        padding: 16px;
        gap: 4px;
    }

    main .banner .steps .step {
        width: 100%;
        height: 86px;
        background-size: cover;
        display: flex;
        justify-content: center;
        border-radius: 4px;
    }

    main .banner .steps .step, main .banner .steps .step .title.huge {
        font-size: 22px;
        line-height: 24px;
    }

    main .events-wrap {
        padding: 0 16px;
    }

    main .events .title {
        font-size: 26px;
        line-height: 32px;
    }

    main .events .subtitle {
        font-size: 14px;
        line-height: 18px;
    }

    main .events #matches {
        margin-top: 16px;
    }

    main .events .match {
        flex-direction: column;
        padding: 16px;
        height: 100%;
    }

    main .events .match .title {
        width: 100%;
        font-size: 14px;
        line-height: 18px;
    }

    main .events .match .button, main .events .match .info .date {
        display: none;
    }

    main .events .match .date-mobile {
        display: flex;
        font-weight: 400;
        font-size: 12px;
        line-height: 16px;
        opacity: 0.5;
        margin-bottom: 8px;
        gap: 8px;
    }

    main .events .match .info {
        width: 100%;
        justify-content: space-between;
    }

    main .events .match .info .team {
        justify-content: start;
        flex-direction: row-reverse;
    }

    main .events .match .info .team:last-child {
        justify-content: end;
        flex-direction: row;
    }

    main .events .match .info .team .name {
        font-size: 14px;
        line-height: 18px;
    }

    main .divider {
        margin: 0 16px;
    }

    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 16px;
        gap: 12px;
    }
}
