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

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}

button {
    border: none;
    cursor: pointer;
    background-color: transparent;
}

a {
    text-decoration: none;
}

/**/

.body {
    font-family: "Roboto", sans-serif;
    background-color: #1e1450;
}

.wrapper {
    max-width: 1200px;
    width: 100%;
    padding: 0 10px;
    margin: 0 auto;
}

/**/

.container {
    display: flex;
    width: 100%;
    min-height: 100%;
}

.main {
    overflow: auto;
    width: 100%;
    /*width: calc(100% - 58px);*/
}

/**/

.nav {
    padding: 12px 3px;
    background-color: #382873;
    min-height: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    position: relative;
    z-index: 10;
    width: 50px;
    transition: 0.3s;
}

.nav.active {
    width: 150px;
}

.nav .menu,
.header .menu {
    background-color: rgb(25,30,35);
    height: 40px;
    width: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
}

.header .menu {
    display: none;
}

.nav .menu svg,
.header .menu svg {
    width: 100%;
    height: 100%;
    color: #FFFFFF;
}

.nav .menu svg:nth-child(2) {
    display: none;
}

.nav .group {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row-gap: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav .group.active {
    align-items: flex-start;
}

.nav .group a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    grid-column-gap: 10px;
    transition: 0.3s;
    height: 32px;
}

.nav .group a:hover {
    opacity: 0.6;
    transform: scale(1.03);
}

.nav .group span {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    padding-right: 0;
    display: block;
    opacity: 0; /* Прозрачность */
    width: 0; /* Высота: элемент скрыт */
    overflow: hidden;
    transition: opacity 0.5s ease, width 0.5s ease;
}

.nav .group.active span {
    opacity: 1;
    width: auto;
    padding-right: 14px;
}

.nav .group img {
    height: 32px;
    width: 32px;
}

.nav .group:nth-child(4) {
    border-bottom: none;
}

/**/

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #463297;
    padding: 6px 24px;
}

.header .buttonGroup {
    display: flex;
    grid-column-gap: 10px;
    margin-right: 80px;
}

.header .buttonGroup a {
    padding: 13px 17px;
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    color: #FFFFFF;
    border-radius: 8px;
    height: 44px;
    box-shadow: 0 0 3px #313539;
    transition: 0.3s;
}

.header .buttonGroup a:hover {
    transform: scale(1.03);
    opacity: 0.6;
}

.header .buttonGroup a:nth-child(1) {
    border: 1px solid rgb(190,185,255);
    color: rgb(190,185,255);
}

.header .buttonGroup a:nth-child(2) {
    background-color: rgb(255,220,65);
    color: #000000;
}

/**/

.main .content {
    padding: 24px 12px;
}

/**/

.carousel {

}

.carousel .item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    padding: 24px;
    border-radius: 12px;
    height: 270px;
    transition: background-size 0.3s ease;
}

.carousel .item:hover {
    background-size: 110%;
}

.carousel .item .top h2 {
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.carousel .item .top p {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #FFFFFF;
    margin-top: 18px;
    margin-bottom: auto;
}

.carousel .item .bottom p {
    margin-top: 8px;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
}

.carousel .item1 {
    background-image: url('../img/image1.webp');
}

.carousel .item2 {
    background-image: url('../img/image2.webp');
}

.carousel .item3 {
    background-image: url('../img/image3.webp');
}

/**/

.benefits {
    margin-top: 24px;
}

.benefits .item {
    border-radius: 12px;
    padding: 8px 8px 12px 16px;
    background-color: rgb(55,40,115);
}

.benefits .label {
    margin-left: auto;
    width: fit-content;
    font-weight: 400;
    font-size: 10px;
    line-height: 14px;
    padding: 0 8px;
    height: 16px;
    border-radius: 4px;
    color: #FFFFFF;
    background: rgb(255,100,165);
}

.benefits .value {
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    color: #FFFFFF;
}

.benefits .tag {
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    color: #FFFFFF;
}

/**/

.brands {
    margin-top: 40px;
}

.brands .owl-stage {
    display: flex;
    align-items: center;
}

.brands .item {
    display: flex;
    justify-content: center;
}

.brands img {
    height: 28px;
    width: auto!important;
    opacity: 0.6!important;
}

/**/

.jungle {
    margin-top: 40px;
}

.jungle .item {
    border-radius: 12px;
    padding: 72px 8px 24px;
    background-color: rgb(55,48,115);
    position: relative;
    min-height: 175px;
}

.jungle .item .image {
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    animation: upAndDownFirst 3s infinite;
}

.jungle .owl-item {
    margin-top: 40px;
}

.jungle .owl-item:nth-child(2n) .image {
    animation: upAndDownSecond 3s infinite;
}

@keyframes upAndDownFirst {
    0% {
        top: -35px;
    }
    50% {
        top: -25px;
    }
    100% {
        top: -35px;
    }
}

@keyframes upAndDownSecond {
    0% {
        top: -25px;
    }
    50% {
        top: -35px;
    }
    100% {
        top: -25px;
    }
}

.jungle .item .image img {
    height: 80px;
    width: 80px;
}

.jungle .item h4 {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    text-align: center;
}

.jungle .item p {
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    color: #FFFFFF;
    text-align: center;
    margin-top: 15px;
}

/*.jungle .owl-carousel img {
    border-radius: 20px;
    transition: 0.3s;
}

.jungle .owl-carousel img:hover {
    opacity: 0.6;
}*/

/**/

.sport {
    margin-top: 40px;
}

.sport h2 {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #FFFFFF;
}

.sport .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    margin-top: 20px;
    grid-column-gap: 6px;
    grid-row-gap: 6px;
}

.sport .grid .item img {
    height: 88px;
    width: 88px;
}

.sport .grid .item {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: rgb(35, 40, 45);
    border: 1px solid rgba(255,255,255,0.1);
    height: 185px;
    transition: 0.3s;
}

.sport .grid .item:hover {
    opacity: 0.6;
}

.sport .grid .item span {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
}

/**/

.owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column-gap: 10px;
    margin-top: 20px;
}

.owl-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: #FFFFFF;
    opacity: 0.5;
    transition: 0.3s;
}

.owl-dot.active {
    opacity: 1;
}

/* Info content */
.info-section {
    display: flex;
    align-items: center;
    padding: 24px;
    border-radius: 12px;
    max-width: 1200px;
    margin: 24px auto;
    background-color: rgb(55, 40, 115); /* Matches general site theme */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.info-section:hover {
    transform: scale(1.03);
    background-color: rgb(65, 50, 125); /* Matches hover effect of site */
}

.info-bar {
    width: 8px;
    height: auto;
    background-color: rgb(255, 90, 165); /* Updated accent color */
    margin-right: 16px;
    border-radius: 4px;
}

.info-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: rgb(190, 185, 255); /* Matches text highlight */
}

.info-content p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

@media screen and (max-width: 1024px) {
    .info-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .info-bar {
        width: 100%;
        height: 6px;
        margin: 0 0 12px 0;
    }
}

@media screen and (max-width: 1224px) {
    .carousel .item {
        height: 220px;
    }
}

@media screen and (max-width: 1024px) {
    .sport .grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 525px) {
    .sport .grid {
        grid-template-columns: 1fr 1fr;
    }

    .header .buttonGroup {
        margin-right: 0;
    }

    .carousel .item .bottom p {
        font-size: 18px;
    }

    .header .logo img {
        height: 28px;
    }

    .sport .grid .item img {
        height: 64px;
        width: 64px;
    }

    .benefits .value {
        font-size: 16px;
    }

    .nav .menu {
        height: 30px;
        width: 30px;
    }

    .nav .group img {
        height: 21px;
        width: 21px;
    }

    .main {
        /*width: calc(100% - 48px);*/
    }

    .carousel .item {
        height: 190px;
    }

    .carousel .item .top p {
        margin-top: 8px;
    }

    .header {
        padding: 6px 12px;
    }

    /**/

    .nav {
        position: fixed;
        left: -100%;
        transition: 0.3s;
    }

    .nav.active {
        left: 0%;
    }

    .header {
        justify-content: flex-start;
    }

    .header .logo {
        margin-left: 10px;
    }

    .header .menu {
        display: block;
    }

    .header .buttonGroup {
        margin-left: auto;
        grid-column-gap: 5px;
    }

    .nav .menu svg:nth-child(1) {
        display: none;
    }

    .nav .menu svg:nth-child(2) {
        display: block;
    }
}

@media screen and (max-width: 425px) {
    .sport .grid .item {
        height: 165px;
    }

    .header .buttonGroup a {
        height: auto;
        padding: 10px;
    }
}

@media screen and (max-width: 375px) {
    .sport .grid .item {
        height: 145px;
    }

    .nav .menu, .header .menu {
        height: 30px;
        width: 30px;
    }
}


