/* Блок главного баннера */
.main-banner {
    position: relative;
    margin: 20px;
    background-color: #000;
    border-radius: 20px;
    overflow: hidden;
    height: calc(100svh - 140px);
    min-height: 700px;
}

.main-banner__logo {
    width: auto;
    max-height: 700px;
    aspect-ratio: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    perspective: 1000px;
    opacity: 0;
    animation:  .1s logoAnimationContainer .5s ease-in-out forwards;
}

.main-banner__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: rotateY(90deg);
    transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
    transform-style: preserve-3d;
    animation: 1s logoAnimation .5s ease-in-out forwards;
}

.main-banner__content {
    min-width: 665px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    color: #EFEFEF;
    text-transform: uppercase;

    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 20px;

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    padding: 36px 90px 60px;

    z-index: 4;
    overflow: hidden;
    opacity: 0;
    animation: 1s logoContent 1.5s ease-in-out forwards;
}

.main-banner__subtitle {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.5;
}

.main-banner__title {
    font-size: 40px;
    font-weight: 400;
    text-align: center;
}

.main-banner__list {
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.main-banner__list li {
    font-size: 20px;
    opacity: 0.5;
    transition: opacity 0.8s cubic-bezier(.2,.8,.2,1);
}

.main-banner__list li.active {
    opacity: 1;
}

.main-banner__note {
    max-width: 210px;
    position: absolute;
    left: 20px;
    bottom: 20px;
    color: #EFEFEF;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.2;
}

.main-banner__comet {
    position: absolute;
    top: 180px;
    right: 300px;
    z-index: 2;
    opacity: 0;
    transform: translate(-120vw, 20vh) scale(0.3);
    animation: cometAnimation 2.4s cubic-bezier(.2,.8,.2,1) forwards;
}

.main-banner__image {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.main-banner__svg {
    display: block;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.main-banner__image--first {
    top: 15%;
    left: 10%;
    width: 80%;
    animation: starsFirstAnimation 6s ease-in-out infinite;
}

.main-banner__image--second {
    top: 10%;
    left: 15%;
    width: 80%;
    opacity: 0.2;
    animation: starsSecondAnimation 6s ease-in-out infinite;
}

@keyframes logoAnimationContainer {
    to {
        opacity: 1;
    }
}

@keyframes logoAnimation {
    to {
        transform: rotateY(0deg);
    }
}

@keyframes logoContent {
    to {
        opacity: 1;
    }
}

@keyframes cometAnimation {
    0% {
        transform: translate(-120vw, 20vh) scale(0.3);
        opacity: 0;
    }

    60% {
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

@keyframes starsFirstAnimation {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@keyframes starsSecondAnimation {
    0% {
        opacity: 0.2;
    }
    25% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 0;
    }
    100% {
        opacity: 0.2;
    }
}

@media (max-width: 768px) {
    /* Блок главного баннера */
    .main-banner {
        margin: 10px;
        margin-bottom: 0;
        border-radius: 12px;
        overflow: hidden;
        height: calc(100svh - 135px);
    }

    .main-banner__logo {
        max-height: 360px;
    }

    .main-banner__content {
        min-width: 0;
        max-width: 420px;
        top: auto;
        left: 10px;
        right: 10px;
        bottom: 85px;
        transform: none;
        gap: 16px;
        padding: 40px 10px;
        margin: 0 auto;
    }

    .main-banner__title {
        font-size: 28px;
    }

    .main-banner__list {
        max-width: 330px;
    }

    .main-banner__list li {
        font-size: 14px;
    }

    .main-banner__list li.active {
        font-weight: 700;
        opacity: 1;
    }

    .main-banner__note {
        display: none;
    }

    .main-banner__comet {
        max-width: 315px;
        top: 60px;
        right: 35px;
    }
}