/* Cam kategori şeridi — slider üstü (ucuzgames fp-catglass) */
.fp-catglass-wrap {
  position: relative;
  z-index: 3;
  margin: 18px auto 18px;
  padding-top: 10px;
  padding-bottom: 6px;
}
.home-hero-grid .fp-catglass-wrap {
  margin-top: 20px;
  margin-bottom: 20px;
}
.fp-catglass {
  position: relative;
  width: 100%;
}
.fp-catglass__row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 9px;
  overflow-x: auto;
  padding: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fp-catglass__row::-webkit-scrollbar {
  display: none;
}
.fp-catglass__pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 6px 16px 6px 7px;
  border-radius: 999px;
  text-decoration: none !important;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07));
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  backdrop-filter: blur(8px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 8px rgba(10, 12, 24, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}
.fp-catglass__pill:nth-child(7n + 1) {
  background: linear-gradient(135deg, rgba(108, 128, 255, 0.6), rgba(158, 88, 242, 0.44));
  border-color: rgba(180, 165, 255, 0.58);
}
.fp-catglass__pill:nth-child(7n + 2) {
  background: linear-gradient(135deg, rgba(30, 206, 209, 0.6), rgba(44, 138, 224, 0.44));
  border-color: rgba(140, 224, 240, 0.58);
}
.fp-catglass__pill:nth-child(7n + 3) {
  background: linear-gradient(135deg, rgba(248, 150, 58, 0.6), rgba(238, 86, 86, 0.44));
  border-color: rgba(252, 196, 146, 0.58);
}
.fp-catglass__pill:nth-child(7n + 4) {
  background: linear-gradient(135deg, rgba(238, 66, 130, 0.6), rgba(150, 60, 214, 0.44));
  border-color: rgba(246, 158, 206, 0.58);
}
.fp-catglass__pill:nth-child(7n + 5) {
  background: linear-gradient(135deg, rgba(66, 208, 124, 0.6), rgba(26, 178, 168, 0.44));
  border-color: rgba(154, 236, 184, 0.58);
}
.fp-catglass__pill:nth-child(7n + 6) {
  background: linear-gradient(135deg, rgba(58, 140, 252, 0.6), rgba(108, 110, 250, 0.44));
  border-color: rgba(154, 192, 255, 0.58);
}
.fp-catglass__pill:nth-child(7n + 7) {
  background: linear-gradient(135deg, rgba(252, 196, 58, 0.6), rgba(240, 132, 48, 0.44));
  border-color: rgba(253, 220, 154, 0.58);
}
.fp-catglass__pill.fp-catglass__pill--custom {
  background: linear-gradient(135deg, var(--cgc1), var(--cgc2));
  border-color: var(--cgbc);
}
.fp-catglass__pill:hover,
.fp-catglass__pill:focus-visible {
  filter: brightness(1.22) saturate(1.12);
  box-shadow: 0 6px 14px rgba(10, 12, 24, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  outline: none;
  transform: translateY(-2px);
  color: #fff !important;
}
.fp-catglass__disc {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fp-catglass__disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fp-catglass__label {
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(8, 10, 20, 0.28);
}
.fp-catglass__pill:hover .fp-catglass__disc,
.fp-catglass__pill:focus-visible .fp-catglass__disc {
  transform: scale(1.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.fp-catglass__pill:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 1px 4px rgba(10, 12, 24, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.fp-catglass__pill:focus-visible {
  box-shadow:
    0 0 0 2px rgba(10, 12, 24, 0.55),
    0 0 0 4px rgba(150, 165, 255, 0.85),
    0 6px 14px rgba(10, 12, 24, 0.3);
}
@keyframes fpCatGlassIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fp-catglass__pill {
  animation: fpCatGlassIn 0.42s cubic-bezier(0.22, 0.8, 0.28, 1) backwards;
}
.fp-catglass__pill:nth-child(1) { animation-delay: 0.03s; }
.fp-catglass__pill:nth-child(2) { animation-delay: 0.07s; }
.fp-catglass__pill:nth-child(3) { animation-delay: 0.11s; }
.fp-catglass__pill:nth-child(4) { animation-delay: 0.15s; }
.fp-catglass__pill:nth-child(5) { animation-delay: 0.19s; }
.fp-catglass__pill:nth-child(6) { animation-delay: 0.23s; }
.fp-catglass__pill:nth-child(7) { animation-delay: 0.27s; }
.fp-catglass__pill:nth-child(n + 8) { animation-delay: 0.31s; }
.fp-catglass__row.is-scrollable {
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 34px);
  mask-image: linear-gradient(to left, transparent 0, #000 34px);
}
.fp-catglass__row.is-scrollable.is-at-end {
  -webkit-mask-image: none;
  mask-image: none;
}
@media (prefers-reduced-motion: reduce) {
  .fp-catglass__pill {
    animation: none;
    transition: none;
  }
  .fp-catglass__pill:hover,
  .fp-catglass__pill:focus-visible {
    transform: none;
  }
  .fp-catglass__disc {
    transition: none;
  }
  .fp-catglass__pill:hover .fp-catglass__disc,
  .fp-catglass__pill:focus-visible .fp-catglass__disc {
    transform: none;
  }
}
@media (max-width: 768px) {
  /* Full-bleed kaydırma: container padding’i kesmesin */
  .fp-catglass-wrap.container,
  .fp-catglass-wrap {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 12px !important;
    margin-bottom: 14px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 4px;
    padding-bottom: 4px;
    overflow: visible;
  }

  .home-hero-grid .fp-catglass-wrap {
    margin-top: 12px !important;
    margin-bottom: 14px !important;
  }

  .fp-catglass {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .fp-catglass__row {
    gap: 8px;
    padding: 4px 16px 10px;
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .fp-catglass__row.is-scrollable {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 32px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 32px), transparent 100%);
  }

  .fp-catglass__row.is-scrollable.is-at-end {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .fp-catglass__pill {
    min-height: 36px;
    padding: 5px 12px 5px 5px;
    scroll-snap-align: start;
    flex: 0 0 auto;
  }

  .fp-catglass__label {
    font-size: 12px;
  }

  .fp-catglass__disc {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 991.98px) {
  .section.home-hero-grid,
  .home-hero-grid {
    overflow-x: clip;
    max-width: 100%;
  }

  .section.home-hero-grid > .container {
    overflow-x: visible;
    max-width: 100%;
  }
}
