@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

:root {
    --primary-color: #6C00FF;
    --secondary-color: #01FFC2;
    --text-color: #ffffff;
    --background-color: #14013299;
    --background-gradient: linear-gradient(180deg, #140132 -37.94%, #300560 39.8%, #6800BA 100%), #FFFFFF;
    --button-bg: #01FFC2;
    --button-text: #000000;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: Montserrat, Arial, sans-serif;
    color: var(--text-color);
}


.page {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100dvh;
    margin: 0;

    background: var(--background-gradient);
    overflow: hidden;
}

.page::before {
    content: '';
    display: none;
    position: absolute;
    bottom: 150px;
    left: 0;
    width: 329px;
    height: 343px;
    background-image: url("../img/bg/bg-left-desktop.png");
    background-image: image-set(
            url("../img/bg/bg-left-desktop.png") 1x,
            url("../img/bg/bg-left-desktop@2x.png") 2x
    );
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
    @media screen and (min-width: 768px) {
        display: block;
    }
}

.page::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 209px;
    height: 318px;
    background-image: url("../img/bg/bg-right-mobile.png");
    background-image: image-set(
            url("../img/bg/bg-right-mobile.png") 1x,
            url("../img/bg/bg-right-mobile@2x.png") 2x
    );
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
    @media screen and (min-width: 768px) {
        bottom: 70px;
        width: 271px;
        height: 408px;
        background-image: url("../img/bg/bg-right-desktop.png");
        background-image: image-set(
                url("../img/bg/bg-right-desktop.png") 1x,
                url("../img/bg/bg-right-desktop@2x.png") 2x
        );
    }
}

.header {
    width: 100%;
    height: 76px;
    padding: 16px 10px;
    @media screen and (min-width: 768px) {
        height: 114px;
        padding: 30px 40px;
    }
}

.header__container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rates {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.rates__link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.rates__picture {
    width: 54px;
    height: 54px;
}

.rates__img {
    display: block;
    width: 100%;
    height: 100%;
}

.rates__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 10px;
}

.rates__info {
    display: flex;
    align-items: center;
    color: white;
}

.rates__currency,
.rates__count {
    line-height: 200%;
    letter-spacing: 0.08em;
}

.rates__picture {
    width: 18px;
    height: 18px;
}

/* Медиа-запрос для скрытия на планшетах */
@media (max-width: 768px) {
    .header__rates {
        display: none;
    }
}

.header__logo svg {
    width: 39px;
    height: 30px;
    @media screen and (min-width: 768px) {
        width: 56px;
        height: 43px;
    }
}

.main {
    position: relative;
    width: 100%;
    flex: 1;
    padding-top: 10px;
    @media screen and (min-width: 768px) {
        padding-top: 139px;
    }
}

.prize__container {
    width: 300px;
    margin: 0 auto;

    @media screen and (min-width: 768px) {
        width: 100%;
    }
}

.prize {
    position: relative;
    display: none;
    width: 100%;
    margin: 0 auto;

    @media screen and (min-width: 768px) {
        width: 480px;
        height: 292px;
        padding: 128px 30px 30px;
        margin: 0 auto;
        border-radius: 40px;
        background: var(--background-color);
        backdrop-filter: blur(3px);
    }
}

.prize--visible {
    display: block;
}

.prize__image {
    position: relative;
    width: 253px;
    height: 217px;
    margin: 0 auto;
    background: var(--background-color);
    border-radius: 40px;

    @media screen and (min-width: 768px) {
        position: absolute;
        top: -109px;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(134.59deg, #6800BA 0.72%, #230145 55.73%, #3D0398 99.97%), rgba(20, 1, 50, 0.6);
    }
}

.prize__image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 195px;
    height: 195px;
    z-index: 1;
}

.prize__image::before {
    content: '';
    display: none;
    border-radius: 50%;

    position: absolute;
    left: 61px;
    bottom: 10px;
    width: 125px;
    height: 125px;

    background: #FF00E1;
    filter: blur(53px);

    @media screen and (min-width: 768px) {
        display: block;
    }
}

.prize__title {
    padding-top: 20px;
    font-weight: 900;
    font-size: 30px;
    line-height: 120%;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;


    @media screen and (min-width: 768px) {
        padding-top: 0;
        letter-spacing: 0.08em;
    }
}

.prize__subtitle {
    margin-top: 4px;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;

    @media screen and (min-width: 768px) {
        margin-top: 2px;
    }
}

.prize__button {
    display: block;
    min-width: 220px;
    height: 52px;
    padding: 20px 40px;
    margin: 40px auto 0;

    background: var(--button-bg);
    border: none;
    border-radius: 50vh;

    color: var(--button-text);
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;

    cursor: pointer;


    @media screen and (min-width: 768px) {
        margin: 20px auto 0;
        padding: 18px 36px;
        font-size: 12px;
        line-height: 16px;
    }

}

.footer {
    width: 100%;
    padding: 30px 20px;

    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0.08em;
    color: var(--text-color);

    @media screen and (min-width: 768px) {
        padding: 20px;
    }
}

.footer__wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;

    @media screen and (min-width: 768px) {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
}

.footer__right, .footer__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;

    @media screen and (min-width: 768px) {
        display: block;
        gap: 0;
    }
}

.footer__logo-img {
    width: 32px;
    height: 25px;
    color: inherit;

    @media screen and (min-width: 768px) {
        width: 30px;
        height: 24px;
    }
}

.footer__nav {
    display: flex;
    gap: 10px 20px;
    flex-wrap: wrap;
}


.footer__copyright {
    text-transform: uppercase;
}

.footer__nav-link {
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    letter-spacing: 0.04em;


    @media screen and (min-width: 768px) {
        font-weight: 700;
        text-transform: uppercase;
    }
}

.socials__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;

    @media screen and (min-width: 768px) {
        justify-content: flex-end;
    }
}


.socials__item-img {
    width: 30px;
    height: 30px;
}

