/* ==========================================================================
   PLATFORM MARQUEE TICKER (TRANSPARENT BG, NO BORDERS & BIGGER ICONS/FONT)
   ========================================================================== */

.platform-marquee-section {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    padding-top: 0.75rem;
    padding-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    user-select: none;
}

.marquee-mask {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
    will-change: transform;
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.platform-marquee-section:hover .marquee-track,
.platform-marquee-section:focus-within .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
    padding-right: 1.25rem;
    padding-top: 6px;
    padding-bottom: 6px;
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.5rem;
    min-width: 200px;
    height: 56px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 9999px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 220ms cubic-bezier(0.2, 0.9, 0.3, 1.2), 
                box-shadow 220ms cubic-bezier(0.2, 0.9, 0.3, 1.2), 
                border-color 200ms, 
                background-color 200ms;
    transform-origin: center center;
    white-space: nowrap;
    justify-content: center;
}

.platform-pill:hover {
    transform: scale(1.05);
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(32, 33, 36, 0.12);
    border-color: rgba(66, 133, 244, 0.5);
}

.platform-pill svg,
.platform-pill img {
    flex-shrink: 0;
    width: 36px !important;
    height: 36px !important;
    object-fit: contain;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
    .platform-pill:hover {
        transform: none;
    }
}
