.what-new-modal {
    position: relative;
    padding: 30px;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    padding: 0 70px;
    gap: 60px;
}

.what-new-slider {
    overflow: hidden;
    border-radius: 8px;
    cursor: grab;
    flex: 1;
}

.what-new-slider.dragging {
    cursor: grabbing;
    user-select: none;
}

.what-new-slider__track {
    display: flex;
    will-change: transform;
}

.what-new-slider__slide {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.what-new-slider__img {
    max-width: 870px;
    width: 100%;
    border-radius: 16px;
}

.what-new-slider__slide-container {
    max-width: 870px;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
}

.what-new-slider__iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.what-new-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.what-new-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background-color: var(--kit-palette-neutral-200);
    cursor: pointer;
    transition: background-color 0.2s;
}

.what-new-dot--active {
    background-color: var(--kit-palette-accent-200);
}

.what-new-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: var(--kit-palette-primary-500);
    margin-bottom: 8px;
}

.what-new-subtitle {
    font-size: 18px;
    line-height: 24px;
    color: var(--kit-palette-primary-500);
    margin-bottom: 0;
}

.what-new-notice {
    text-align: center;
    margin: 16px auto 0;
    background-color: var(--kit-palette-accent-100);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 12px;
    color: var(--kit-palette-primary-500);
    max-width: 870px;
}

.what-new-modal-window {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 100% !important;
}

.what-new-modal-window .modal-dialog {
    max-width: 1280px;
    width: 100%;
    margin: 1rem;
}

.what-new-modal-window .modal-content {
    border-radius: 24px;
}

.what-new-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    color: #000;
}

.what-new-content {
    text-align: center;
    margin-top: 16px;
    max-width: 870px;
    margin-left: auto;
    margin-right: auto;
}

.what-new-cta {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.what-new-modal-container {
    max-width: 1280px !important;
}

.what-new-modal-container .modal-content {
    border-radius: 24px !important;
}

.what-new-text {
    max-width: 870px;
}

.buttons-wrapper {
    gap: 16px;
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.what-new-modal .btn.btn-outline-primary {
    background-color: var(--kit-palette-neutral-0) !important;
    border-color: var(--kit-palette-primary-300) !important;
    color: var(--kit-palette-primary-200) !important;
    border-radius: 8px !important;
    width: fit-content;
}

.what-new-modal .buttons-wrapper .btn.btn-outline-primary:hover,
.what-new-modal .slider-wrapper .btn.btn-outline-primary:hover {
    background-color: var(--kit-palette-primary-100) !important;
    color: var(--kit-palette-primary-300) !important;
    border-color: var(--kit-palette-primary-300) !important;
}

.what-new-modal .btn.btn-success {
    background-color: var(--kit-palette-success-200) !important;
    border-color: var(--kit-palette-success-200) !important;
    color: var(--kit-palette-nav-static-0);
    border-radius: 8px !important;
    width: fit-content;
}

.what-new-modal .btn.btn-success:hover {
    background-color: var(--kit-palette-success-300) !important;
    border-color: var(--kit-palette-success-300) !important;
}

.what-new-modal .btn-close {
    font-size: 20px;
    top: 20px;
    right: 20px;
}

@media (width <= 768px) {
    .what-new-modal {
        padding: 16px;
    }

    .slider-wrapper {
        padding: 0 8px;
        gap: 8px;
    }

    .what-new-title {
        font-size: 18px;
        line-height: 24px;
    }

    .what-new-subtitle {
        font-size: 14px;
        line-height: 20px;
    }

    .buttons-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .what-new-modal-window .modal-dialog {
        margin: 0.5rem;
    }
}
