.tile.visual-card {
  min-height: 0;
  aspect-ratio: 1672 / 941;
  padding: 0;
  border-color: rgba(242, 48, 143, .42);
  background: #100914;
  box-shadow: 0 0 24px rgba(242, 48, 143, .08);
}

.tile.category-art-card {
  isolation: isolate;
  min-height: 340px;
  border-color: rgba(98, 160, 255, .22);
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 48, 143, .22), transparent 36%),
    radial-gradient(circle at 20% 100%, rgba(98, 160, 255, .13), transparent 34%),
    linear-gradient(145deg, rgba(34, 22, 56, .98), rgba(18, 10, 29, .98));
}

.tile.category-art-card::before {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: 2;
  border: 1px solid rgba(242, 48, 143, .36);
  border-radius: 20px;
  opacity: .64;
  box-shadow: inset 0 0 28px rgba(242, 48, 143, .08), 0 0 26px rgba(242, 48, 143, .08);
  transition: opacity .35s ease, transform .35s ease, border-color .35s ease;
  pointer-events: none;
}

.tile.category-art-card::after {
  z-index: 4;
}

.tile.category-art-card .category-glow {
  position: absolute;
  inset: auto -12% -22% 38%;
  z-index: 0;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 48, 143, .26), rgba(98, 160, 255, .13) 42%, transparent 72%);
  filter: blur(14px);
  pointer-events: none;
}

.tile.category-art-card img,
.tile.category-art-card:hover img {
  top: 22px;
  right: 20px;
  z-index: 1;
  width: min(48%, 270px);
  height: calc(100% - 44px);
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  opacity: .9;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 18px 34px rgba(242, 48, 143, .2));
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 92%, transparent 100%);
}

.tile.category-art-card h2,
.tile.category-art-card p {
  z-index: 3;
  max-width: 54%;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}

.tile.category-art-card h2 {
  font-size: clamp(22px, 3vw, 38px);
  letter-spacing: .01em;
}

.tile.category-art-card p {
  font-size: 14px;
}

.tile.category-art-card:hover {
  border-color: rgba(242, 48, 143, .58);
  box-shadow: 0 24px 62px rgba(242, 48, 143, .15), 0 0 0 1px rgba(98, 160, 255, .12);
}

.tile.category-art-card:hover::before {
  opacity: 1;
  transform: scale(.985);
  border-color: rgba(242, 48, 143, .72);
}

.tile.category-art-card:hover .category-glow {
  background: radial-gradient(circle, rgba(242, 48, 143, .36), rgba(98, 160, 255, .18) 42%, transparent 72%);
}

.tile.category-art-card.sport-card img {
  object-fit: contain;
  object-position: center;
  padding: 12px;
  opacity: .98;
  mask-image: none;
  -webkit-mask-image: none;
}

.tile.category-art-card.velvet-card img,
.tile.category-art-card.marmur-card img,
.tile.category-art-card.inked-card img,
.tile.category-art-card.shiny-card img,
.tile.category-art-card.summer-card img {
  object-position: center;
}

.tile.category-art-card.lampas-card img {
  object-fit: contain;
  object-position: center;
  padding: 10px;
  mask-image: none;
  -webkit-mask-image: none;
}

.tile.visual-card::after {
  content: none;
}

.tile.visual-card img,
.tile.visual-card:hover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform .45s ease, filter .3s ease;
}

.tile.visual-card:hover {
  border-color: rgba(242, 48, 143, .8);
  box-shadow: 0 18px 45px rgba(242, 48, 143, .16);
}

.tile.visual-card:hover img {
  transform: scale(1.018);
  filter: brightness(1.04);
}

.tile.visual-card:focus-visible {
  outline: 3px solid #62a0ff;
  outline-offset: 4px;
}

@media (max-width: 450px) {
  .tile.category-art-card {
    min-height: 300px;
  }

  .tile.category-art-card::before {
    inset: 16px;
  }

  .tile.category-art-card img,
  .tile.category-art-card:hover img {
    top: 18px;
    right: 16px;
    width: 50%;
    height: 60%;
  }

  .tile.category-art-card h2,
  .tile.category-art-card p {
    max-width: 72%;
  }

  .tile.visual-card {
    min-height: 0;
  }

  .tile.visual-card img {
    width: 100%;
    height: 100%;
  }
}
