.r2m-platform-scroller-widget {
    --r2m-gap: 18px;
    color: #fff;
    width: 100%;
}
.r2m-platform-heading {
    margin: 0 0 18px;
    text-align: center;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
}
.r2m-platform-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}
.r2m-platform-scroller {
    display: flex;
    gap: var(--r2m-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    padding: 2px 2px 8px;
}
.r2m-platform-scroller::-webkit-scrollbar { display: none; }
.r2m-platform-card {
    position: relative;
    flex: 0 0 calc((100% - (var(--r2m-gap) * 4)) / 5);
    min-width: 0;
    display: block;
    text-decoration: none !important;
    color: inherit;
    background: #151515;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    padding: 12px 12px 14px;
    scroll-snap-align: start;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.r2m-platform-card::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 2px;
    opacity: 0;
    background: #ff7900;
    transition: opacity .25s ease;
}
.r2m-platform-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,121,0,.75);
    box-shadow: 0 16px 34px rgba(0,0,0,.35), 0 0 22px rgba(255,121,0,.12);
}
.r2m-platform-card:hover::after { opacity: 1; }
.r2m-platform-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    border-radius: 7px;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(255,121,0,.13), rgba(255,255,255,.04) 38%, rgba(0,0,0,.25));
}
.r2m-platform-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease, opacity .3s ease;
}
.r2m-platform-card:hover img { transform: scale(1.045); opacity: .82; }
.r2m-platform-title {
    display: block;
    margin-top: 12px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.22;
}
.r2m-platform-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    color: #fff;
    background: rgba(0,0,0,.68);
    font-size: 13px;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
}
.r2m-platform-card:hover .r2m-platform-overlay { opacity: 1; transform: translateY(0); }
.r2m-platform-placeholder {
    width: 82%;
    height: 72%;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.16);
    background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,121,0,.12));
}
.r2m-platform-arrow {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    z-index: 2;
}
.r2m-platform-arrow:hover {
    color: #ff7900;
    border-color: #ff7900;
    background: rgba(255,121,0,.08);
}
.r2m-platform-arrow:disabled { opacity: .3; cursor: not-allowed; }

@media (max-width: 1024px) {
    .r2m-platform-card { flex-basis: calc((100% - (var(--r2m-gap) * 2)) / 3); }
}
@media (max-width: 767px) {
    .r2m-platform-shell { gap: 8px; }
    .r2m-platform-arrow { display: none; }
    .r2m-mobile-scroll .r2m-platform-card { flex-basis: 82%; }
    .r2m-mobile-stack .r2m-platform-scroller {
        display: grid;
        grid-template-columns: 1fr;
        overflow: visible;
        scroll-snap-type: none;
    }
    .r2m-mobile-stack .r2m-platform-card { flex-basis: auto; }
}
