#banner {
    width: 100%;
    overflow: hidden;
    position: relative;
}

#banner .snow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.snowflakes {
    position: absolute;
    top: -10px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    filter: blur(0.3px);
    z-index: 4;
}

@keyframes snow-fall {
    to {
        transform: translateY(var(--fall-distance));
    }
}


.banner_bot {
    width: 100%;
    height: 136px;
    background: #120017;
}

.banner_wrapper {
    position: relative;
    background-image: url(../assets/banner.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top;
    aspect-ratio: 1920 / 1138;
    width: 100%;
    overflow: hidden;
}

.magnifier {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    pointer-events: none;
    display: none;
    background-repeat: no-repeat;
    background-size: 300%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.banner_but {
    border-radius: 100px;
    padding: 3px;
    background: linear-gradient(180deg, #FF001E 0%, #C60017 100%);
    cursor: pointer;
}

.start_but {
    border-radius: 100px;
    background: linear-gradient(0deg, #FF001E 0%, #C60017 100%);
    padding: 13px 39px;

    color: #FFF;
    text-align: center;
    font-size: 22px;
    line-height: normal;
    letter-spacing: 0.66px;
    text-transform: uppercase;
}

.banner_content {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.banner_content::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 465px;
    background: linear-gradient(180deg, #ffffff00 0%, #FFF 100%);
    pointer-events: none;
    z-index: 1;
    left: 0;
    bottom: -15px;
}

.banner_content::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 330px;
    background: url(../assets/snow1.png) bottom / contain no-repeat;
    pointer-events: none;
    bottom: 0;
    left: -0;
    z-index: 0;
}

.banner_text {
    width: 100%;
    max-width: 857px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0 15px;
    position: relative;
    z-index: 2;
    gap: 16px;
}

.banner_text::before {
    content: '';
    position: absolute;
    top: -90px;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1074px;
    background: radial-gradient(50% 50% at 50% 50%, #FFF 0%, #ffffff00 100%),
        radial-gradient(50% 50% at 50% 50%, #FFF 0%, #ffffff00 100%),
        radial-gradient(50% 50% at 50% 50%, #FFF 0%, #ffffff00 100%);
    pointer-events: none;
    z-index: -1;
}

.banner_title {
    color: #FF001E;
    text-align: center;
    font-family: 'Ramillas Bold';
    font-size: 64px;
    line-height: 110%;
    letter-spacing: -0.64px;
    position: relative;
    z-index: 1;
}

.banner_after {
    text-align: center;
    color: #12161D;
    font-size: 24px;
    line-height: 130%;
    padding-bottom: 15px;
}

.banner_online {
    color: #12161D;
    text-align: center;
    font-size: 18px;
    line-height: 130%;
    padding: 20px 10px 10px;
    position: relative;
}

.banner_online span {
    color: #4C8DF5;
}

.banner_online::before {
    content: '';
    position: absolute;
    bottom: 16px;
    left: -17px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28CF7B;
    box-shadow: #ADFFD6 0px 0px 0px 5px;
    animation: blink 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes blink {
    0% {
        box-shadow: 0 0 0 0 #adffd6cc;
    }

    50% {
        box-shadow: 0 0 0 5px #adffd6;
    }

    100% {
        box-shadow: 0 0 0 0 #adffd600;
    }
}

.pig_collector {
    display: flex;
    width: 109px;
    padding: 12px 0;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    border-radius: 13px;
    background: #ffffffa3;
    position: fixed;
    bottom: 70px;
    right: 35px;
    z-index: 100;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pig_collector:hover {
    transform: scale(1.03);
}

.pig_number {
    color: #12161D;
    text-align: center;
    font-family: "Ramillas Bold";
    font-size: 29px;
    line-height: 100%;
    letter-spacing: -0.29px;
    text-transform: uppercase;
}

.pig_img {
    width: 78px;
    aspect-ratio: 1/1;
    background: url(../assets/pig.png) center / contain no-repeat;
    position: relative;
}

.pig_check {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    aspect-ratio: 1/1;
    background: url(../assets/last.svg) center / contain no-repeat;
    opacity: 0;
}

.zoom {
    display: flex;
    width: fit-content;
    justify-content: center;
    align-items: center;
    gap: 26px;
    font-family: 'Caveat';
    position: fixed;
    right: 36px;
    bottom: 287px;
    color: #204888;
    z-index: 5;
    text-align: right;
    font-size: 28px;
    line-height: 100%;
}

.hover-area::after {
    opacity: 0;
    transition: opacity 0.3s ease;
    content: 'Рассмотри эту красоту поближе';
    width: 190px;
    display: block;
    position: absolute;
    left: -215px;
    top: 0;
}

.hover-area {
    border-radius: 7px;
    background: #ffffffa3;
    width: 64px;
    aspect-ratio: 1/1;
    padding: 7px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hover-area::before {
    content: '';
    background: url(../assets/binoculars.svg) center / contain no-repeat;
    width: 37px;
    aspect-ratio: 1/1;
    display: block;
}

.hover-area:hover::after {
    opacity: 1;
}

@media (min-width: 2230px) {
    .banner_content::before {
        height: 650px;
    }
}

@media (min-width: 1921px) {
    .banner_content::before {
        height: 455px;
        background: linear-gradient(180deg, #ffffff00 0%, #FFF 100%), linear-gradient(180deg, #ffffff00 0%, #FFF 100%), linear-gradient(180deg, #ffffff00 0%, #FFF 100%);
    }
}

@media (max-width: 1800px) {
    .banner_title {
        font-size: 48px;
        line-height: 110%;
        letter-spacing: -0.48px;
    }

    .banner_after {
        font-size: 20px;
        line-height: 130%;
    }

    .banner_text {
        max-width: 639px;
    }

    .banner_wrapper {
        aspect-ratio: 1920 / 1200;
    }
}

@media (max-width: 1400px) {
    .banner_wrapper {
        aspect-ratio: 1090 / 785;
    }

    .banner_content::before {
        bottom: 170px;
    }
}


@media (max-width: 1000px) {

    .zoom {
        display: none;
    }

    .banner_title {
        font-size: 28px;
        line-height: 110%;
        letter-spacing: -0.28px;
    }

    .banner_after {
        font-size: 14px;
        line-height: 130%;
        padding-bottom: 10px;
    }

    .banner_text {
        max-width: 341px;
        gap: 12px;
    }

    .start_but {
        font-size: 14px;
        line-height: normal;
        letter-spacing: 0.42px;
        padding: 8px 22px;
    }

    .banner_but:hover {
        background: linear-gradient(180deg, #FF9D00 0%, #C66300 100%);
    }

    .start_but:hover {
        background: linear-gradient(0deg, #FF9D00 0%, #C66300 100%);
    }

    .banner_online {
        font-size: 14px;
        line-height: 120%;
        padding: 8px 10px 10px;
    }

    .banner_wrapper {
        aspect-ratio: 1024 / 700;
    }

    .banner_content::before {
        bottom: 70px;
    }

    .banner_content::after {
        height: 300px;
        bottom: -15px;
    }
}

@media (max-width: 870px) {
    .banner_wrapper {
        height: 785px;
    }

    .banner_wrapper {
        position: relative;
        background-image: url(../assets/banner.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: bottom;
        aspect-ratio: 1920 / 1138;
        width: 100%;
        overflow: hidden;
    }

    .banner_content::before {
        bottom: 0;
    }
}

@media (max-width:550px) {
    .banner_wrapper {
        position: relative;
        background-image: url(../assets/banner_mini.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
        aspect-ratio: 1920 / 1138;
        width: 100%;
        overflow: hidden;
    }

    .pig_collector {
        width: 70px;
        gap: 8px;
        bottom: 20px;
        right: 8px;
    }

    .pig_img {
        width: 50px;
    }

    .pig_number {
        font-size: 16px;
    }

    .pig_check {
        width: 16px;
    }
}