.moemen-logo-cloud {
    --mlc-slides: 5;
    --mlc-gap: 20px;
    --mlc-speed: 24s;
    --mlc-item-width: 200px;
    --mlc-fade-color: #fff;
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #111827;
}

.moemen-logo-cloud__inner {
    width: 100%;
    margin: 0 auto;
}

.moemen-logo-cloud__header {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.moemen-logo-cloud__heading {
    margin: 0;
    font-size: clamp(24px, 4vw, 44px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.moemen-logo-cloud__description {
    margin: 14px auto 0;
    max-width: 620px;
    font-size: 16px;
    line-height: 1.7;
}

.moemen-logo-cloud__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: default;
    touch-action: pan-y;
}

.moemen-logo-cloud--draggable .moemen-logo-cloud__viewport {
    cursor: grab;
}

.moemen-logo-cloud--dragging .moemen-logo-cloud__viewport {
    cursor: grabbing;
}

.moemen-logo-cloud__track {
    display: flex;
    align-items: stretch;
    width: max-content;
    gap: var(--mlc-gap);
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.moemen-logo-cloud--marquee .moemen-logo-cloud__track {
    animation: moemen-logo-cloud-scroll var(--mlc-speed) linear infinite;
}

.moemen-logo-cloud[data-mlc-direction="right"].moemen-logo-cloud--marquee .moemen-logo-cloud__track {
    animation-direction: reverse;
}

.moemen-logo-cloud--pause-hover:hover .moemen-logo-cloud__track,
.moemen-logo-cloud--dragging .moemen-logo-cloud__track {
    animation-play-state: paused;
}

.moemen-logo-cloud__set {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: var(--mlc-gap);
}

.moemen-logo-cloud__item {
    flex: 0 0 var(--mlc-item-width);
    width: var(--mlc-item-width);
    min-width: 120px;
    max-width: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 28px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.06);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.moemen-logo-cloud__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.11);
}

.moemen-logo-cloud__link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.moemen-logo-cloud__logo {
    display: block;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    transition: filter .3s ease, opacity .3s ease, transform .3s ease;
    pointer-events: none;
    user-select: none;
}

.moemen-logo-cloud--grayscale .moemen-logo-cloud__logo {
    filter: grayscale(1);
    opacity: .68;
}

.moemen-logo-cloud--grayscale .moemen-logo-cloud__item:hover .moemen-logo-cloud__logo {
    filter: grayscale(0);
    opacity: 1;
}

.moemen-logo-cloud--fade .moemen-logo-cloud__viewport::before,
.moemen-logo-cloud--fade .moemen-logo-cloud__viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 5;
    width: min(16vw, 150px);
    pointer-events: none;
}

.moemen-logo-cloud--fade .moemen-logo-cloud__viewport::before {
    left: 0;
    background: linear-gradient(90deg, var(--mlc-fade-color), rgba(255,255,255,0));
}

.moemen-logo-cloud--fade .moemen-logo-cloud__viewport::after {
    right: 0;
    background: linear-gradient(270deg, var(--mlc-fade-color), rgba(255,255,255,0));
}

@keyframes moemen-logo-cloud-scroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(calc(-50% - (var(--mlc-gap) / 2)), 0, 0); }
}

@media (max-width: 767px) {
    .moemen-logo-cloud__header { margin-bottom: 24px; }
    .moemen-logo-cloud__item { padding: 16px 18px; min-width: 120px; }
}
