.osc-widget {
    position: relative;
    width: 100%;
}

.osc-widget .osc-swiper {
    overflow: hidden;
}

.osc-widget .swiper-wrapper {
    align-items: stretch;
}

.osc-widget .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.osc-widget.osc-initialized .swiper-slide {
    opacity: 0;
    visibility: hidden;
}

.osc-widget.osc-initialized .swiper-slide.swiper-slide-active,
.osc-widget:not(.osc-initialized) .swiper-slide:first-child {
    opacity: 1;
    visibility: visible;
}

.osc-widget .osc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    width: min(100%, 380px);
    min-height: 520px;
    padding: 48px 32px 32px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 42px;
    background: linear-gradient(180deg, rgba(41,34,65,0.92) 0%, rgba(24,22,31,0.96) 100%);
    text-decoration: none;
    overflow: hidden;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease, box-shadow 0.35s ease;
    box-sizing: border-box;
}

.osc-widget:not(.osc-initialized) .swiper-slide:first-child .osc-card,
.osc-widget .swiper-slide-active .osc-card {
    transform: scale(1) translateY(0);
    opacity: 1;
    animation: osc-fade-in-steps 0.8s both;
}

.osc-widget .swiper-slide-prev .osc-card,
.osc-widget .swiper-slide-next .osc-card {
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    animation: osc-fade-out-steps 0.8s both;
}

.osc-widget .swiper-slide-prev .osc-card {
    transform: scale(0.8) translateY(-20px);
}

.osc-widget .osc-card:hover {
    box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}

.osc-widget .osc-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.osc-widget .osc-image img,
.osc-widget .osc-image svg {
    width: 86px;
    height: 86px;
    object-fit: contain;
    display: block;
}

.osc-widget .osc-title {
    margin: 0;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
}

.osc-widget .osc-circle-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding-top: 36px;
}

.osc-widget .osc-circle {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background-color: currentColor;
    color: #7ec3ff;
    box-shadow: 0 0 32px currentColor;
    flex: 0 0 auto;
}

.osc-widget .osc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: nowrap;
}

.osc-widget .osc-counter {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
}

.osc-widget .osc-counter-current {
    color: #ffffff;
}

.osc-widget .osc-counter-total,
.osc-widget .osc-counter-sep {
    color: rgba(255,255,255,0.55);
}

.osc-widget .osc-nav {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
    flex-wrap: nowrap;
}

.osc-widget .osc-nav button {
    cursor: pointer;
    border: 0;
    background: transparent;
    color: #ffffff;
    padding: 8px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.osc-widget .osc-nav button:hover {
    transform: translateY(-1px);
}

.osc-widget .osc-nav button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.osc-widget .osc-nav button i,
.osc-widget .osc-nav button svg {
    width: 1em;
    height: 1em;
}

.osc-widget .swiper-fade .swiper-slide {
    pointer-events: none;
}

.osc-widget .swiper-fade .swiper-slide-active,
.osc-widget:not(.osc-initialized) .swiper-slide:first-child {
    pointer-events: auto;
}

@keyframes osc-fade-in-steps {
    0% { opacity: 0; }
    20% { opacity: 0.2; }
    40% { opacity: 0.4; }
    60% { opacity: 0.6; }
    80% { opacity: 0.8; }
    100% { opacity: 1; }
}

@keyframes osc-fade-out-steps {
    0% { opacity: 1; }
    20% { opacity: 0.8; }
    40% { opacity: 0.6; }
    60% { opacity: 0.4; }
    80% { opacity: 0.2; }
    100% { opacity: 0; }
}

@media (max-width: 767px) {
    .osc-widget .osc-footer {
        gap: 12px;
    }

    .osc-widget .osc-nav {
        gap: 6px;
    }
}
