.home-promos {
  /* Poster-lit dark face, borrowed from the promo title-cards
     (`.promo-card-stage` in promotions.css): no accent paint on the plate — the
     light comes from a top-left wash, a bottom accent bloom and a vignette. */
  --promo-surface:
    radial-gradient(120% 100% at 50% 38%, transparent 30%, var(--black-a60) 100%),
    radial-gradient(112% 92% at 72% 112%, color-mix(in srgb, var(--promo-wash, var(--accent)) 26%, transparent), transparent 62%),
    radial-gradient(80% 90% at 6% -6%, var(--white-a08), transparent 62%),
    linear-gradient(158deg, color-mix(in srgb, var(--promo-wash, var(--accent)) 10%, var(--panel-2)), var(--bg-deep));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(30%, 100px), 1fr));
  gap: 10px;
  max-width: 760px;
}

.home-promo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--bg);
  text-decoration: none;
}

.home-promo--tile {
  container-type: inline-size;
  aspect-ratio: 92 / 104;
  border-radius: var(--promo-card-radius, var(--r-xl));
  background: var(--promo-surface);
  color: var(--text);
  box-shadow: var(
    --promo-card-shadow,
    0 14px 34px -24px var(--black-a95),
    0 0 22px -10px var(--accent-a45)
  );
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.home-promo--tile::before {
  /* Slider'daki mascot diski ile AYNI is: sanatin arkasinda duran, bulanik
     kirmizi bir isik (slider.json: opacity .45 + blur(46px), dogrudan
     `var(--accent)`). Burada `--accent-a25` kullaniliyordu ama o token
     `--accent-tint`ten tureniyor ve bababet'te `--accent-tint: var(--white)`:
     kutucugun arkasindaki isik BEYAZDI, satiri gri ve slider'a yabanci
     birakiyordu. Disk artik sanatin boyunda ve dogrudan accent. */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8cqw;
  z-index: 0;
  width: 92cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  translate: -50% 0;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent) 45%, transparent) 0%,
    color-mix(in srgb, var(--accent) 26%, transparent) 42%,
    transparent 70%
  );
  animation: promo-backlight 7s ease-in-out infinite var(--sheen-delay, 0s);
  pointer-events: none;
}

.home-promo--tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--gold) 72%, var(--white)) 50%,
    transparent
  );
  opacity: 0.45;

  transition: opacity 0.18s ease;
  pointer-events: none;
}

.home-promo--tile:hover {
  transform: translateY(-3px);
  box-shadow:
    0 26px 46px -20px var(--black-a95),
    0 0 26px -10px var(--accent-a38);
}

.home-promo--tile:hover::before {
  animation-duration: 3.4s;
}

.home-promo--tile:hover::after {
  opacity: 0.9;
}

.home-promo--tile:active {
  transform: translateY(1px);
}

/* A slow theatre spotlight travels across the six cinematic entry cards. */
.home-promos--cinematic .home-promo-spot {
  position: absolute;
  top: -28%;
  left: -65%;
  z-index: 1;
  width: 48%;
  height: 155%;
  transform: rotate(12deg);
  transform-origin: 50% 0;
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgb(255 244 215 / .2), rgb(255 218 143 / .1) 52%, transparent 90%);
  filter: blur(5px);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  animation: home-stage-spot 8.5s ease-in-out infinite var(--sheen-delay, 0s);
}

@keyframes home-stage-spot {
  0%, 12% { left: -65%; opacity: 0; }
  22% { opacity: .38; }
  52% { opacity: .58; }
  78% { opacity: .3; }
  90%, 100% { left: 118%; opacity: 0; }
}

@keyframes promo-backlight {
  0%,
  100% {
    opacity: 0.4;
    scale: 0.9;
  }
  50% {
    opacity: 0.9;
    scale: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-promo--tile::before {
    animation: none;
    opacity: 0.7;
  }
  .home-promos--cinematic .home-promo-spot {
    animation: none;
    display: none;
  }
}

.home-promo--tile strong {
  position: relative;
  z-index: 2;
  display: block;
  padding: 12cqw 10cqw 0 11cqw;

  font-family: var(--font-serif);
  font-size: 10.5cqw;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;

  color: color-mix(in srgb, var(--gold) 30%, var(--white));
  text-shadow: 0 2px 10px var(--black-a95);
  transition: color 0.18s ease;
}

.home-promo--tile:hover strong {
  color: color-mix(in srgb, var(--gold) 55%, var(--white));
}

.home-promo-art {
  /* Tema geneli `--art-filter: saturate(.35)` ESKI kirmizi maskot renderlarini
     siyah-beyaza cekmek icin var. Bu satirin sanati (`home-tile-*`) zaten
     siyah-beyaz uretiliyor, filtre burada sadece tek kirmizi vurguyu oldurup
     kutucugu soluk birakiyordu -- o yuzden satir filtreyi kendisi iptal ediyor. */
  --art-filter: none;

  position: absolute;
  left: 50%;

  bottom: 4cqw;

  z-index: 1;
  width: auto;
  transform: translateX(-50%);
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 8px 20px var(--black-a45)) var(--art-filter, saturate(1));
}

/* No per-card pattern: the six tiles differ by artwork and label only. The bloom
   behind each runs out of step so the row never pulses as one block. */
.home-promo--slots { --sheen-delay: 0s; }
.home-promo--casino { --sheen-delay: 0.6s; }
.home-promo--sport { --sheen-delay: 1.2s; }
.home-promo--wheel { --sheen-delay: 1.8s; }
.home-promo--vip { --sheen-delay: 2.4s; }
.home-promo--bonus { --sheen-delay: 3s; }

.home-promo--slots .home-promo-art {
  height: 92cqw;
}

.home-promo--casino .home-promo-art {
  height: 78cqw;
}

.home-promo--sport .home-promo-art {
  height: 87cqw;
}

.home-promo--wheel .home-promo-art {
  height: 85cqw;
}

.home-promo--vip .home-promo-art {
  height: 84cqw;
}

.home-promo--bonus .home-promo-art {
  height: 84cqw;
}

/* Square cinematic PNGs share one frame, keeping the heading clear. */
.home-promos--cinematic .home-promo-art {
  width: 96cqw;
  height: 82cqw;
  bottom: 2cqw;
}

@media (max-width: 768px) {
  .home-promos {
    gap: 8px;
    max-width: 100%;
    margin: 10px auto 0;
  }
}
