/* Sezar Casino görsel paketinden uyarlanan hareket kuralları (shared/reference/hareket.css). Yerleşim ve renk ayarları style.css içindedir. */
/* /tr/ sayfasındaki imgShine renk değerleri ve süreleri. */
@keyframes imgShine {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3) saturate(1.1); }
}

.sdr-image-bc {
  animation: imgShine 4s ease-in-out infinite;
}

.product-banner-container-bc .product-banner-img-bc {
  animation: imgShine 3.5s ease-in-out infinite;
}

.product-banner-container-bc > :nth-child(2) .product-banner-img-bc { animation-delay: 0.7s; }
.product-banner-container-bc > :nth-child(3) .product-banner-img-bc { animation-delay: 1.4s; }
.product-banner-container-bc > :nth-child(4) .product-banner-img-bc { animation-delay: 2.1s; }
.product-banner-container-bc > :nth-child(5) .product-banner-img-bc { animation-delay: 2.8s; }

/* /tr/promotions/all üzerindeki kartın tarayıcıda hesaplanan değerleri. */
.promotionCard {
  position: relative;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.promotionCard__media {
  position: relative;
}

.promotionCard__media::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-color: white;
  opacity: 0;
  transition: opacity 240ms ease;
}

.promotionCard__image {
  display: block;
  width: 100%;
}

.sliderContent .horizontalSliderElem {
  transition: all 0.3s ease;
}

.sliderContent .horizontalSliderImg {
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .product-banner-container-bc > :hover .product-banner-img-bc {
    animation: imgShine 1.5s ease-in-out infinite;
  }

  .promotionCard:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(243, 222, 181, 0.32);
  }

  .promotionCard:hover .promotionCard__media::before {
    opacity: 0.08;
  }

  .sliderContent .horizontalSliderElem:hover {
    background: rgba(201, 169, 110, 0.1);
    border-color: rgba(201, 169, 110, 0.3);
    box-shadow: 0 2px 10px rgba(201, 169, 110, 0.12);
    transform: translateY(-2px);
  }

  .sliderContent .horizontalSliderElem:hover .horizontalSliderImg {
    filter: brightness(1.1);
  }
}

/* Bağımsız slayt uygulamasının yerleşimi. */
[data-sezar-slider] { position: relative; }
[data-slides] {
  display: grid;
  overflow: hidden;
  touch-action: pan-y;
  border-radius: 10px;
}
[data-slides] > * { grid-area: 1 / 1; min-width: 0; }
[data-slides] > [hidden] { display: none; }
[data-slides] img { display: block; width: 100%; }
[data-sezar-slider] > button,
[data-sezar-slider] > output {
  position: absolute;
  border: 0;
  border-radius: 100px;
  background: rgb(0 0 0 / 60%);
  color: white;
}
[data-sezar-slider] > button {
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  cursor: pointer;
  font: 24px/1 sans-serif;
}
[data-geri] { inset-inline-start: 10px; }
[data-ileri] { inset-inline-end: 10px; }
[data-sezar-slider] > output {
  bottom: 8px;
  inset-inline-end: 12px;
  padding: 3px 8px;
  font: 12px/1.3 sans-serif;
}
@media (hover: none) and (pointer: coarse) {
  [data-sezar-slider] > button { display: none; }
  [data-slides] { border-radius: 12px; }
  .sdr-image-bc, .product-banner-container-bc .product-banner-img-bc { animation: none; }
  .tab-nav-item-bc:nth-child(3) .tab-nav-icon-bc {
    animation: glow 2.5s ease-in-out infinite;
  }
}
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(201, 169, 110, 0.3)); }
  50% { filter: drop-shadow(0 0 12px rgba(243, 222, 181, 0.5)); }
}
@media (prefers-reduced-motion: reduce) {
  .sdr-image-bc,
  .tab-nav-item-bc:nth-child(3) .tab-nav-icon-bc,
  .product-banner-container-bc .product-banner-img-bc { animation: none !important; }
  .promotionCard,
  .promotionCard__media::before,
  .sliderContent .horizontalSliderElem,
  .sliderContent .horizontalSliderImg { transition: none; }
}
