/* Adapted from SITE_ETALON/perabetcasinos.com.zip, css/site.css. Motion and states retained. */
/* Illustrated games: source motion and colored depth with PeraBet cut corners. */
.featured-games {
  margin: 18px 0 42px;
}
.featured-games__title {
  margin: 0 0 8px;
  color: var(--navy);
  font:
    800 clamp(22px, 2.2vw, 30px) / 1.2 Montserrat,
    Inter,
    sans-serif;
  letter-spacing: -0.035em;
}
.featured-games__track {
  display: grid;
  grid-template-columns: repeat(7, minmax(140px, 1fr));
  align-items: start;
  gap: 20px 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 2px 19px;
  scrollbar-width: thin;
  scrollbar-color: #9fb6d7 transparent;
}
.featured-games__track:focus-visible {
  outline-offset: -2px;
}
.featured-game {
  --game-depth: #752d9e;
  --game-fade: #7430aee6;
  position: relative;
  width: 100%;
  aspect-ratio: 163 / 227;
  margin: 0;
  color: #fff;
  isolation: isolate;
  filter: drop-shadow(0 6px 7px #050d2073);
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.featured-game::before,
.featured-game__face {
  clip-path: polygon(
    0 0,
    calc(100% - 19px) 0,
    100% 19px,
    100% 100%,
    11px 100%,
    0 calc(100% - 11px)
  );
}
.featured-game::before {
  position: absolute;
  inset: 0;
  background: var(--game-depth);
  content: "";
}
.featured-game__face {
  margin: 0;
  position: absolute;
  inset: 0 0 8px;
  overflow: hidden;
  background: #223969;
}
.featured-game__art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-game__kind {
  position: absolute;
  top: 9px;
  left: 7px;
  padding: 5px 7px;
  background: #b817d0;
  clip-path: polygon(
    0 0,
    calc(100% - 5px) 0,
    100% 5px,
    100% 100%,
    5px 100%,
    0 calc(100% - 5px)
  );
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.featured-game__caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  height: 58%;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(transparent, var(--game-fade) 82%);
  text-align: center;
  text-transform: uppercase;
}
.featured-game__line {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-shadow: 0 1px 3px #0713278c;
}
.featured-game__line--first {
  font-size: clamp(15px, 1.35vw, 20px);
}
.featured-game__provider {
  padding: 6px 3px 9px;
  font-size: 7px;
  font-weight: 700;
  line-height: 1.1;
  opacity: 0.86;
}
.featured-game__play {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.featured-game__button {
  display: grid;
  min-width: 76px;
  min-height: 52px;
  place-items: center;
  padding: 12px 18px;
  background: linear-gradient(155deg, #4dbdf9, #225cf1 68%, #1745c5);
  clip-path: polygon(
    0 0,
    calc(100% - 13px) 0,
    100% 13px,
    100% 100%,
    9px 100%,
    0 calc(100% - 9px)
  );
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 200ms ease,
    transform 240ms ease;
}
.featured-game__play:focus-visible {
  outline: 2px solid #8bdfff;
  outline-offset: -3px;
}
.featured-game:focus-within {
  transform: translateY(-10px);
}
.featured-game:focus-within .featured-game__button {
  opacity: 1;
  transform: scale(1);
}
.featured-game--sweet-bonanza-1000-dice {
  --game-depth: #9c1133;
  --game-fade: #8e1738e6;
}
.featured-game--wisdom-of-athena-1000 {
  --game-depth: #2c4d81;
  --game-fade: #325d9be6;
}
.featured-game--gates-of-olympus-1000 {
  --game-depth: #17358e;
  --game-fade: #183d8de6;
}
.featured-game--lucky-tiger-1000 {
  --game-depth: #1d5d9b;
  --game-fade: #245a9ce6;
}
.featured-game--sugar-rush-1000 {
  --game-depth: #852180;
  --game-fade: #8b1f89e6;
}
.featured-game--big-bass-bonanza-1000 {
  --game-depth: #176777;
  --game-fade: #136a83e6;
}
.featured-game--perabet-rush-1000 {
  --game-depth: #126963;
  --game-fade: #0e666be6;
}
.featured-game--20-golden-fruits {
  --game-depth: #325a14;
  --game-fade: #3e611ee6;
}
.featured-game--40-power-joker {
  --game-depth: #4b153f;
  --game-fade: #581353e6;
}
.featured-game--gates-of-perabet-1000 {
  --game-depth: #246f4c;
  --game-fade: #2d7a4ae6;
}
.featured-game--perabet-bonanza {
  --game-depth: #186546;
  --game-fade: #1d7c4ee6;
}
.featured-game--starlight-princess {
  --game-depth: #543477;
  --game-fade: #594180e6;
}
.featured-game--sugar-rush-super-scatter {
  --game-depth: #721b86;
  --game-fade: #76229ae6;
}
@media (hover: hover) and (pointer: fine) {
  .featured-game:hover {
    transform: translateY(-10px);
  }
  .featured-game:hover .featured-game__button {
    opacity: 1;
    transform: scale(1);
  }
}
@media (hover: none) {
  .featured-game__button {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 680px) {
  .featured-games {
    margin-top: 30px;
    padding-inline: 12px;
  }
  .featured-games__track {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-socials a {
    transition: none;
  }
  .footer-socials a:hover {
    transform: none;
  }
  .featured-game,
  .featured-game__button {
    transition: none;
  }
  .featured-game:hover,
  .featured-game:focus-within {
    transform: none;
  }
}
