      {{ range .ModelsConfig }}
                {{ $backendCfg := . }}
                {{ $cfg:= index $galleryConfig .Name}}
                <div class="group relative bg-gradient-to-br from-gray-800/90 to-gray-900/90 border border-gray-700/50 rounded-2xl overflow-hidden transition-all duration-500 hover:shadow-2xl hover:shadow-blue-500/10 hover:-translate-y-2 hover:border-blue-500/30">
                    <!-- Card Header -->
                    <div class="relative p-6 border-b border-gray-700/50">
     