.game {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-align: left;
  background: #1c1926;
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.game:hover {
  transform: translateY(-3px);
  border-color: #7355a0;
}

.localized-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 3;
  padding: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, #7953aa99, transparent 35%), linear-gradient(145deg, #32234a, #171720);
}

.localized-cover::after {
  position: absolute;
  right: -28px;
  bottom: -45px;
  width: 120px;
  height: 120px;
  content: "";
  border: 24px solid #ffffff0d;
  border-radius: 50%;
}

.localized-cover span {
  align-self: flex-start;
  padding: 5px 9px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  border: 1px solid #ffffff24;
  border-radius: 999px;
}

.localized-cover strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(16px, 1.45vw, 23px);
  line-height: 1.2;
  text-wrap: balance;
}

.localized-cover small {
  position: relative;
  z-index: 1;
  color: #d4c5e9;
}

.localized-cover.type-1 { background: radial-gradient(circle at 80% 20%, #c54a7c99, transparent 35%), linear-gradient(145deg, #4c1f3a, #1a1520); }
.localized-cover.type-2 { background: radial-gradient(circle at 80% 20%, #1db4cf99, transparent 35%), linear-gradient(145deg, #123d52, #121a25); }
.localized-cover.type-4 { background: radial-gradient(circle at 80% 20%, #ef9d3f99, transparent 35%), linear-gradient(145deg, #57371b, #21170f); }
.localized-cover.type-5 { background: radial-gradient(circle at 80% 20%, #32bb7799, transparent 35%), linear-gradient(145deg, #174c35, #121e19); }
.localized-cover.type-6 { background: radial-gradient(circle at 80% 20%, #d8545499, transparent 35%), linear-gradient(145deg, #502323, #211414); }
.localized-cover.type-7 { background: radial-gradient(circle at 80% 20%, #3d81e899, transparent 35%), linear-gradient(145deg, #1a3157, #121722); }

.toast {
  position: fixed;
  z-index: 30;
  bottom: 30px;
  left: 50%;
  max-width: min(520px, calc(100vw - 32px));
  padding: 14px 18px;
  color: #fff;
  pointer-events: none;
  background: #211c2c;
  border: 1px solid #66527f;
  border-radius: 12px;
  box-shadow: 0 18px 50px #0008;
  opacity: 0;
  transform: translate(-50%, 18px);
  transition: 200ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.error-toast {
  background: #351e26;
  border-color: #a6535f;
}
