* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
}

body {
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1920px;
    width: 100%;
    height: 60px;
    background: #133895;
    overflow: hidden;
    z-index: 1;
    background-image: url("./images/red-gradient.png");
    background-repeat: no-repeat;
    background-position: right;
    background-size: 48% 100%;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 34vw;
    height: 80px;
    background: linear-gradient(-90deg, rgba(0, 23, 81, 0) 0%, #001751 48.08%);
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
    z-index: 0;
}

.banner-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    z-index: 1000;
}

/* Левый блок */
.left-block {
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 3;
}

.ball-block {
    display: flex;
    align-items: center;
    width: 13.9vw;
    height: 160px;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: smooth-circle-reverse;
    animation-duration: 5.5s;
    animation-delay: 0s;
}

.ball {
    background-image: url("./images/volleyball.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-left: 2.1vw;
    margin-right: 2.1vw;
    height: 100%;
}

.logo {
    width: 115px;
    margin-bottom: 0.2vw;
}

.logo-subtext {
    font-size: 9px;
    color: #FFF;
    font-weight: 400;
    letter-spacing: 0.16vw;
    font-family: 'Roboto', 'Arial', sans-serif;
    white-space: nowrap;
}

/* Центральный блок */
.center-block {
    display: flex;
    align-items: center;
    position: relative;
    height: 50px;
    /* overflow: hidden; */
    z-index: 2;
}

.center-right-block {
    display: flex;
    align-items: center;
    margin-left: -10.1vw;
    padding-right: 0.5vw;
    height: 50px;
    background: #0d3a66;
    border-radius: 0.7vw;
    z-index: 1;
}

.center-left-block {
    background-image: url("./images/soccer.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 15vw;
    height: 160px;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: smooth-circle;
    animation-duration: 5.5s;
    animation-delay: 0s;
}

.ball-top {
    position: absolute;
    top: -3vw;
    left: 26.3vw;
    width: 6vw;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: smooth-circle-reverse;
    animation-duration: 5.5s;
    animation-delay: 0s;
}

.ball-bottom {
    position: absolute;
    display: none;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: smooth-circle;
    animation-duration: 5.5s;
    animation-delay: 0s;
}

@keyframes smooth-circle {
  0% {
        transform: rotate(180deg) translateX(14px) rotate(-180deg) scale(1)
    }

    50% {
        transform: rotate(360deg) translateX(14px) rotate(-360deg) scale(1.08)
    }

    100% {
        transform: rotate(540deg) translateX(14px) rotate(-540deg) scale(1)
    }
}

@keyframes smooth-circle-reverse {
   0% {
        transform: rotate(-180deg) translateX(14px) rotate(180deg) scale(1)
    }

    50% {
        transform: rotate(-360deg) translateX(14px) rotate(360deg) scale(1.08)
    }

    100% {
        transform: rotate(-540deg) translateX(14px) rotate(540deg) scale(1)
    }
}

.text-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 22.2vw;
    height: 100%;
}

.text-slide {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    /*margin-left: 1vw;*/
    width: 100%;
    height: 100%;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 1.85vw;
    color: #82B6FF;
    white-space: nowrap;
    letter-spacing: 0.02vw;
    line-height: 1;
    opacity: 0;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.text-slide-1-container {
    flex-direction: column;
}

.text-slide-1-container--desktop {
    display: none;
}

.text-slide-1-container--mobile {
    display: flex;
    width: 80%;
    text-align: center;
}

.sum {
    display: inline-block;
    margin-right: 0.7vw;
    color: #FFF;
    font-size: 3.2vw;
    font-weight: 900;
    letter-spacing: -0.12vw;
}

.sum-text-container {
    display: none;
    flex-direction: column;
    font-size: 1.3vw;
    line-height: 1.1;
}

.text-slide-2 {
    display: none;
}

.text-1 {
   animation-name: text1-animation;
}

.text-2 {
    animation-name: text2-animation;
}

@keyframes text1-animation {
  0%, 42.85% { /* 3 секунды показа (42.85% от 7 секунд) */
    transform: translateY(0);
    opacity: 1;
  }
  50% { /* 0.5 секунды смены - уходит вниз */
    transform: translateY(100%);
    opacity: 0;
  }
  50.01%, 92.85% { /* 3 секунды скрыт */
    transform: translateY(100%);
    opacity: 0;
  }
  92.86% { /* Начинает появляться сверху */
    transform: translateY(-100%);
    opacity: 0;
  }
  100% { /* Занимает свою позицию */
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes text2-animation {
  0%, 42.85% { /* Скрыт сверху */
    transform: translateY(-100%);
    opacity: 0;
  }
  42.86% { /* Начинает появляться */
    transform: translateY(-100%);
    opacity: 0;
  }
  50% { /* Занимает позицию */
    transform: translateY(0);
    opacity: 1;
  }
  50.01%, 92.85% { /* 3 секунды показа */
    transform: translateY(0);
    opacity: 1;
  }
  100% { /* Уходит вниз */
    transform: translateY(100%);
    opacity: 0;
  }
}

.bonus-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #EE1103;
    color: #FFF;
    border: none;
    padding: 0.8vw 3vw;
    border-radius: 0.7vw;
    font-weight: 700;
    font-size: 1.5vw;
    letter-spacing: 0.01vw;
    white-space: nowrap;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 800;
    text-decoration: none;
    transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
    animation: bonus-pulse 1.2s ease-in-out infinite;
}

@keyframes bonus-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.bonus-button:hover {
    box-shadow:
    0 0 5px #EE1103,
    inset 0 0 5px #EE1103,
    0 0 20px #EE1103,
    inset 0 0 20px #EE1103;
}

.bonus-button:active {
    transform: scale(0.95);
}

/* Правый блок*/
.right-block {
    position: relative;
    align-items: center;
    justify-content: end;
    display: flex;
    margin-left: auto;
    width: 29vw;
    height: 80px;
}

.right-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 28.5vw;
    height: 100%;
}

.right-image {
    position: absolute;
    right: -3%;
    top: -200%;
    width: 100%;
    display: block;
    z-index: 1;
}

.right-image.img-1 {
    animation: smooth-circle 5.5s ease-in-out infinite;
}


.rotate-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: -1.2vw;
    transform: rotate(-90deg);
    transform-origin: center;
    line-height: 1.4;
    z-index: 2;
}

.rotate-text {
    display: inline-block;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 8px;
    width: 100%;
    height: 100%;
    color: #FFF;
    white-space: nowrap;
    letter-spacing: 0.02vw;
    text-align: center;
}

/* Mobile-first breakpoints */
.banner {
    max-width: 320px;
    background-image: url("./images/red-gradient-320.png");
}

.left-block {
    height: 100%;
    padding: 0;
}

.ball-block {
    display: none;
}

.logo-text {
    justify-content: flex-start;
    height: 100%;
    margin-top: 13vw;
    margin-left: 4.3vw;
    margin-right: 0;
}

.logo {
    width: 33.5vw;
    margin-bottom: 1.8vw;
}

.logo-subtext {
    font-size: 9px;
    letter-spacing: 0.35vw;
}

.center-block {
    overflow: visible;
    padding-left: 4.6vw;
}

.center-left-block {
    position: absolute;
    top: auto;
    bottom: -4vw;
    left: -10vw;
    width: 35vw;
    height: 20vw;
    background-position: top;
}

.center-right-block {
    flex-direction: column;
    height: 50px;
    margin-left: -0.7vw;
    padding-right: 1vw;
    padding-left: 1vw;
    padding-bottom: 1.1vw;
    border-radius: 3.2vw;
}

.text-container {
    width: 46.9vw;
    height: 17.5vw;
}

.text-slide {
    justify-content: flex-start;
    /*margin-left: 4.2vw;*/
    padding-left: 0;
    font-size: 2.6vw;
    line-height: 1;
    letter-spacing: 0.03vw;
}

.text-slide-1 {
    font-size: 4.3vw;
}

.text-slide-1-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 4.5vw;
    line-height: 1;
}

.text-slide-2-container {
    display: flex;
    justify-content: center;
    margin: 0;
    gap: 8px;
}

.text-slide-2 {
    font-size: 4.7vw;
}

.bonus-button {
    width: 43.3vw;
    height: 12.7vw;
    margin-left: 0;
    padding: 0.8vw;
    border-radius: 2vw;
    font-size: 4vw;
    white-space: pre-wrap;
}

.sum {
    margin: 0;
    font-size: 27px;
    letter-spacing: -0.4vw;
}

.sum-text-container {
    flex-direction: row;
}

.sum-text {
    display: inline-block;
    font-size: 3.4vw;
}

.ball-top {
    top: -6vw;
    left: 30.6vw;
    width: 17.6vw;
}

.ball-bottom {
    display: none;
    bottom: 5vw;
    left: -31.4vw;
    width: 9.5vw;
}

.right-image-wrapper {
    display: none;
}

.right-block {
    width: 9vw;
}

.right-image {
    display: none;
}

.rotate-text-container {
    margin-right: -5.5vw;
    line-height: 1.1;
}

.rotate-text {
    font-size: 8px;
}

@media (min-width: 320px) {
    .banner {
        max-width: 570px;
        background-image: url("./images/red-gradient-570.png");
    }

    .logo-text {
        justify-content: center;
        margin-top: 0;
        margin-left: 3.1vw;
        margin-right: 4.6vw;
    }

    .logo {
        width: 115px;
        margin-bottom: 1vw;
    }

    .logo-subtext {
        font-size: 9px;
        letter-spacing: 0.37vw;
    }

    .center-block {
        padding-left: 0;
    }

    .center-left-block {
        top: 9vw;
        bottom: auto;
        left: -1.5vw;
        width: 25vw;
        height: 25vw;
        background-position: bottom;
    }

    .text-container {
        width: auto;
        height: 17.5vw;
    }

    .text-slide {
        letter-spacing: -0.02vw;
    }

    .text-slide-1 {
        font-size: inherit;
    }

    .text-slide-1-container {
        font-size: 4.3vw;
        line-height: 0.9;
    }

    .bonus-button {
        height: auto;
        padding: 1.6vw 0;
        font-size: 14px;
    }

    .sum {
        margin-left: -1vw;
        margin-right: 2.5vw;
        font-size: 20px;
    }

    .sum-text-container {
        flex-direction: column;
    }

    .sum-text {
        font-size: 3.1vw;
        letter-spacing: 0.15vw;
    }

    .ball-top {
        display: none;
        top: -5vw;
        left: 48.6vw;
        width: 9.5vw;
    }

    .ball-bottom {
        display: inline-block;
        bottom: 16vw;
        left: -1.4vw;
        width: 16vw;
    }

    .right-block {
        width: 6vw;
    }

    .rotate-text-container {
        margin-right: -3.8vw;
        line-height: 1.2;
    }
}

@media (min-width: 570px) {
    .banner {
        max-width: 768px;
        background-image: url("./images/red-gradient-768.png");
    }

    .sum-text-container {
        display: flex;
        flex-direction: column;
    }

    .text-slide-1-container--mobile {
        display: none;
    }

    .text-slide-1-container--desktop {
        display: flex;
        flex-direction: column;

    }

    .logo-text {
        margin-left: 2.4vw;
        margin-right: 2vw;
    }

    .logo {
        /*width: 20.9vw;*/
    }

    .logo-subtext {
        font-size: 9px;
        letter-spacing: 0.38vw;
    }

    .center-left-block {
        position: static;
        top: auto;
        bottom: auto;
        left: auto;
        width: 21vw;
        height: 160px;
        background-position: center;
    }

    .center-right-block {
        flex-direction: row;
        margin-left: -15vw;
        padding: 1vw;
        border-radius: 0.9vw;
    }

    .text-container {
        width: 38.6vw;
    }

    .text-slide {
        /*margin-left: 2.2vw;*/
        letter-spacing: 0.01vw;
    }

    .text-slide-1 {
        display: inline-block;
    }

    .text-slide-1-container {
        font-size: 3.1vw;
        line-height: normal;
    }

    .bonus-button {
        width: 115px;
        padding: 0.5vw 0;
        margin-left: 1vw;
        border-radius: 1.6vw;
        font-size: 14px;
    }

    .sum {
        margin-left: 0;
        margin-right: 1.4vw;
        font-size: 5.1vw;
        letter-spacing: -0.13vw;
    }

    .sum-text {
        font-size: 2.4vw;
        letter-spacing: normal;
    }

    .ball-top {
        display: block;
        top: -9.3vw;
        left: 33vw;
        width: 13.6vw;
    }

    .ball-bottom {
        bottom: -3vw;
        left: auto;
        right: 22vw;
        width: 7vw;
    }

    .right-block {
        width: 4vw;
    }

    .rotate-text-container {
        margin-right: -3.2vw;
    }
}

@media (min-width: 768px) {
    .banner {
        max-width: 1024px;
        background-image: url("./images/red-gradient-1024.png");
    }

    .logo-text {
        margin-left: 1.7vw;
        margin-right: 4vw;
    }

    .logo {
        /*width: 15.7vw;*/
        margin-bottom: 0.9vw;
    }

    .logo-subtext {
        font-size: 9px;
        letter-spacing: 0.41vw;
    }

    .center-left-block {
        width: 22vw;
    }

    .center-right-block {
        flex-direction: row;
        margin-left: -11.3vw;
        padding: 1vw;
    }

    .text-container {
        width: 290px;
        height: 100%;
    }

    .text-slide {
        /*margin-left: 1vw;*/
        /*padding-left: 1.4vw;*/
    }

    .text-slide-1-container {
        align-items: initial;
        justify-content: initial;
        font-size: 20px;
    }

    .bonus-button {
        margin-left: 0;
        padding: 0.6vw 4vw;
        border-radius: 0.8vw;
        font-size: 14px;
    }

    .sum {
        margin-left: -1.2vw;
        margin-right: 2vw;
        font-size: 35px;
        letter-spacing: -0.4vw;
    }

    .sum-text {
        font-size: 2.5vw;
    }

    .ball-top {
        top: -4.2vw;
        left: 28.8vw;
        width: 9vw;
    }

    .ball-bottom {
        bottom: -2vw;
        right: -4vw;
        width: 8vw;
    }

    .rotate-text-container {
        margin-right: -2.2vw;
    }

    .rotate-text {
        /*font-size: 1.1vw;*/
    }
}

@media (min-width: 1024px) {
    .banner {
        max-width: 1366px;
        background-image: url("./images/red-gradient-1366.png");
    }

    .logo-text {
        justify-content: center;
        margin: 0 1.7vw 0 1.5vw;
    }

    .logo {
        /*width: 13.7vw;*/
        margin-bottom: 0.2vw;
    }

    .logo-subtext {
        font-size: 9px;
        letter-spacing: 0.35vw;
    }

    .center-left-block {
        width: 15.9vw;
    }

    .center-right-block {
        margin-left: -2.5vw;
        padding-right: 0.7vw;
        border-radius: 0.7vw;
    }

    .text-container {
        width: 270px;
        height: 100%;
    }

    .text-slide {
        /*justify-content: center;*/
        padding-left: 0;
    }

    .bonus-button {
        /*width: 16.8vw;*/
        padding: 0.3vw 1.5vw;
        border-radius: 0.7vw;
        /*font-size: 1.6vw;*/
        letter-spacing: 0.15vw;
        white-space: pre-wrap;
    }

    .sum {
        margin-right: 1vw;
        font-size: 35px;
        letter-spacing: -0.15vw;
    }

    .sum-text {
        font-size: 1.9vw;
    }

    .ball-top {
        left: 34.6vw;
        width: 8vw;
    }

    .ball-bottom {
        right: -16vw;
    }

    .right-image-wrapper {
        display: block;
        width: 44.5vw;
    }

    .right-block {
        width: 29vw;
    }

    .rotate-text-container {
        margin-right: -1.7vw;
    }

    .rotate-text {
        font-size: 0.8vw;
    }
}

@media (min-width: 1200px) {
    .right-image-wrapper {
        width: 38.5vw;
    }
}

@media (min-width: 1366px) {
    .banner {
        max-width: 1920px;
        background-image: url("./images/red-gradient.png");
    }

    .ball-bottom {
        display: none;
    }
    .logo-text {
        margin-left: 4.1vw;
        margin-right: 1vw;
    }

    .logo {
        /*width: 150px;*/
    }

    .logo-subtext {
        font-size: 9px;
        letter-spacing: 0.16vw;
    }

    .sum-text-container {
        flex-direction: row;
        gap: 3px;
    }

    .text-slide-1-container--desktop {
        display: flex;
        flex-direction: row;

    }

    .center-left-block {
        width: 15vw;
    }

    .center-right-block {
        height: 50px;
        margin-left: -1.1vw;
        padding: 0.5vw;
    }

    .text-container {
        width: 450px;
    }

    .text-slide {
        justify-content: flex-start;
        margin-left: 1vw;
        font-size: 1.85vw;
        letter-spacing: 0.02vw;
    }

    .bonus-button {
        width: auto;
        padding: 0.5vw 3vw;
        font-size: 20px;
        letter-spacing: 0.01vw;
        white-space: nowrap;
    }

    .sum {
        margin-left: 0;
        margin-right: 4px;
        font-size: 50px;
        letter-spacing: -0.12vw;
    }

    .sum-text {
        font-size: inherit;
    }

    .ball-top {
        top: -3vw;
        left: 26.3vw;
        width: 6vw;
    }

    .right-image-wrapper {
        width: 23.5vw;
        height: 100%;
    }

    .right-image {
        display: block;
    }

    .rotate-text-container {
        margin-right: -0.8vw;
        line-height: 1.4;
    }

    .rotate-text {
        font-size: 8px;
    }
}

@media (min-width: 1550px) {
    .right-image-wrapper {
        width: 22.5vw;
    }
}

@media (min-width: 1790px) {
    .right-image-wrapper {
        width: 22.5vw;
    }

    .ball-block {
        display: flex;
    }
}

@media (min-width: 1921px) {

    /* Левый блок */
    .ball-block {
        width: 265px;
    }

    .logo-text {
        margin-left: 41px;
        margin-right: 25px;
    }

    .logo {
        /*width: 189px;*/
        margin-bottom: 2px;
    }

    .logo-subtext {
        font-size: 9px;
        letter-spacing: 5px;
    }

    /* Центральный блок */
    .center-right-block {
        position: relative;
        margin-left: -124px;
        padding-right: 10px;
        height: 50px;
        border-radius: 11px;
    }

    .center-left-block {
        width: 225px;
    }

    .ball-bottom {
        position: absolute;
        bottom: 0;
        left: 90px;
        width: 38px;
    }

    .text-container {
        width: 430px;
        height: 90px;
    }

    .text-slide {
        font-size: 36px;
        letter-spacing: 0;
    }

    .sum {
        margin-left: 10px;
        margin-right: 15px;
        font-size: 62px;
        letter-spacing: -4px;
    }

    .sum-text {
        font-size: 27px;
    }

    .bonus-button {
        padding: 16px 55px;
        border-radius: 10px;
        font-size: 24px;
        letter-spacing: 1px;
    }

    /* Правый блок*/
    .right-block {
        width: 480px;
        height: 80px;
    }

    .right-image-wrapper {
        width: 560px;
        height: 100%;
    }

    .right-image {
        width: 100%;
        height: 100%;
    }

    .right-gradient {
        width: 1030px;
    }

    .rotate-text-container {
        position: absolute;
        top: 49px;
        right: -1px;
        line-height: 1.1;
    }

    .rotate-text {
        font-size: 8px;
        letter-spacing: 1px;
    }
}
