.slider-wrapper {
    width: 80%;
    margin-inline: auto;
    position: relative;
    display: flex;
}

.swiper {
    padding: 20px 10px 56px !important;
}

.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.swiper-slide-thumb-active .card,
.card:hover {
    transform: translateY(-4px);
}

.card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #c5cfe8;
}

.card-body {
    padding: 20px 22px 22px;
}

.badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.badge-designer {
    background: #fde8f0;
    color: #d63a7a;
}

.badge-developer {
    background: #eef0fd;
    color: #5b6cf5;
}

.badge-marketer {
    background: #fef3e2;
    color: #d98412;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    line-height: 1.45;
    margin-bottom: 0;
    text-align: center;
    margin-top: 40px;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #4a6cf7;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
    color: #4a6cf7;
}

.swiper-slide-active .arrow-btn {
    background: #4a6cf7;
    color: #fff;
}

.arrow-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.swiper-button-prev,
.swiper-button-next {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(90, 110, 180, 0.15);
    color: #4a6cf7 !important;
    top: 42% !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 16px !important;
    font-weight: 900;
}

.swiper-button-prev {
    left: -100px !important;
}

.swiper-button-next {
    right: -100px !important;
}

.card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    opacity: 0;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 640px) {
    .card-title {
        font-size: 18px;
    }

    .swiper-button-prev {
        left: -25px !important;
    }

    .swiper-button-next {
        right: -25px !important;
    }
}

.mobile-div {
    position: absolute;
    height: 80%;
    width: 150px;
    top: 0;
    left: 50%;
    translate: -50%;
    z-index: 10;
    background-color: white;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-div::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 3px;
    background: linear-gradient(90deg, #03ab69, #2ec0d9);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
    clip-path: polygon(
            100% 0%,
            100% 100%,
            0% 100%,
            0% calc(100% - 3px),
            calc(100% - 3px) calc(100% - 3px),
            calc(100% - 3px) 0%
    );
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #03ab69, #2ec0d9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.play-btn:hover {
    transform: scale(1.08);
    opacity: 0.9;
}

.play-btn svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.btn-shadow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: white;
    border: none;
    cursor: pointer;
    background-image: linear-gradient(90deg, #03ab69 0%, #2ec0d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.swiper-button-prev.btn-shadow {
    box-shadow: inset 2px -4px 4px rgba(0, 0, 0, 0.15), 6px 6px 8px rgba(0, 0, 0, 0.18);
}

.swiper-button-next.btn-shadow {
    box-shadow: inset -2px -4px 4px rgba(0, 0, 0, 0.15), 6px 6px 8px rgba(0, 0, 0, 0.18);
}