/* Styles for the application cards carousel */
#kitsSwiper {
  overflow: visible;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  scrollbar-width: none; /* hide scrollbar in Firefox */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}





#kitsSwiper::-webkit-scrollbar {
  display: none; /* hide scrollbar in WebKit browsers */
}

.swiper-slide {
  opacity: 0.55;
  width: 260px; /* fit within parent card without clipping */
  margin: 0 auto;
}

.swiper-slide-prev,
.swiper-slide-next {
  opacity: 0.85;
}

.swiper-slide-active {
  opacity: 1;
}

.card-modern {
  background: linear-gradient(180deg, #0a0f1a 0%, #000000 100%);
  color: #e5e7eb;
  border-radius: 16px;
  width: 100%;
  min-width: 240px;
  max-width: 260px;
  min-height: 300px; /* slightly shorter to avoid clipping */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.12);
  box-shadow: 0 10px 24px rgba(2,6,23,0.35);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.swiper-slide-prev .card-modern,
.swiper-slide-next .card-modern {
  filter: brightness(0.88) saturate(0.95);
}

.swiper-slide-active .card-modern {
  transform: scale(1.03);
  box-shadow: 0 16px 36px rgba(59,130,246,0.38);
}

.app-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.app-icon {
  flex: 0 0 50%;
  width: 100%;
  height: 50%;
  overflow: hidden;
  position: relative;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

.app-content {
  flex: 1 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding: 16px;
}

.app-title {
  font-weight: 700;
  letter-spacing: .2px;
  margin: 4px 0 8px;
  color: #e5e7eb;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}


.install-btn {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 0.5rem 0;
  font-weight: 600;
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(90deg,#3b82f6,#2563eb);
  color: #fff;
  text-decoration: none;
}

.install-btn:hover:not(:disabled) {
  filter: brightness(1.07);
}

.install-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
}

.info-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  opacity: 0;
  transition: opacity .2s ease;
}

.app-item:hover .info-overlay {
  opacity: 1;
}

