.game-arcade {
  --arcade-mint: #a0f3d9;
  width: min(1260px, calc(100% - clamp(28px, 8vw, 100px)));
  margin: clamp(44px, 7vw, 100px) auto;
  overflow: hidden;
  border-radius: clamp(18px, 3vw, 30px);
  color: #fbf7ff;
  font-family: Outfit, system-ui, sans-serif;
}
.game-arcade .game-arcade-scene {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  justify-items: end;
  min-height: clamp(320px, 34vw, 450px);
}
.game-arcade .game-arcade-art {
  --art-position: 72%;
  position: absolute;
  inset: 0;
  z-index: -2;
  container-type: size;
  overflow: hidden;
  transform: scaleX(-1);
}
.game-arcade .game-arcade-image {
  position: absolute;
  top: 50%;
  left: var(--art-position);
  width: max(100%, calc(100cqh * 1600 / 593));
  aspect-ratio: 1600 / 593;
  translate: calc(-1 * var(--art-position)) -50%;
}
.game-arcade .game-arcade-image img {
  display: block;
  width: 100%;
  height: 100%;
  mask-image: linear-gradient(#000 91%, transparent);
}
.game-arcade .game-arcade-crt {
  position: absolute;
  top: 13.5%;
  left: 54.6%;
  width: 21.8%;
  height: 45%;
  overflow: hidden;
  clip-path: polygon(15% 9%, 86% 1%, 94% 4%, 98% 12%, 100% 27%, 97% 70%, 93% 88%, 87% 96%, 16% 99%, 5% 94%, 1% 85%, 1% 61%, 4% 35%, 8% 19%);
  background: radial-gradient(ellipse at center, #54efc919, transparent 75%);
  color: #b3ffe2;
}
.game-arcade .game-arcade-crt::before {
  position: absolute;
  inset: 13% auto 13% 50%;
  border-left: 1px dashed #aeffe744;
  content: "";
}
.game-arcade .game-arcade-crt::after {
  position: absolute;
  inset: -30% 0 100%;
  background: linear-gradient(transparent, #7cffe64a, transparent);
  animation: arcade-scan 5s linear infinite;
  content: "";
}
.game-arcade .game-arcade-paddle,
.game-arcade .game-arcade-ball {
  position: absolute;
  top: 26%;
  translate: -50% -50%;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 0 0 8px #81ffcfbd;
}
.game-arcade .game-arcade-paddle { width: 2.1%; height: 18%; }
.game-arcade .game-arcade-paddle--left {
  left: 17%;
  animation: arcade-left-paddle 6.8s ease-in-out infinite;
}
.game-arcade .game-arcade-paddle--right {
  top: 67%;
  left: 83%;
  color: #f2b7ff;
  box-shadow: 0 0 8px #ed9cffa1;
  animation: arcade-right-paddle 6.8s ease-in-out infinite;
}
.game-arcade .game-arcade-ball {
  left: 19%;
  width: 3.2%;
  aspect-ratio: 1;
  animation: arcade-ball 6.8s linear infinite;
}
@keyframes arcade-ball {
  0%, 100% { left: 19%; top: 26%; }
  24% { left: 81%; top: 67%; }
  50% { left: 19%; top: 54%; }
  76% { left: 81%; top: 30%; }
}
@keyframes arcade-left-paddle {
  0%, 100% { top: 26%; }
  50% { top: 54%; }
}
@keyframes arcade-right-paddle {
  0%, 24%, 100% { top: 67%; }
  76% { top: 30%; }
}
@keyframes arcade-scan {
  0% { transform: translateY(0); opacity: 0; }
  18%, 70% { opacity: .55; }
  100% { transform: translateY(435%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .game-arcade .game-arcade-crt::after,
  .game-arcade .game-arcade-paddle,
  .game-arcade .game-arcade-ball { animation: none; }
}
.game-arcade .game-arcade-copy {
  box-sizing: border-box;
  display: grid;
  justify-items: start;
  gap: 22px;
  width: min(49%, 545px);
  padding: clamp(24px, 4vw, 60px) clamp(16px, 3vw, 48px) clamp(24px, 4vw, 60px) clamp(22px, 3.3vw, 48px);
}
.game-arcade #game-arcade-title {
  margin: 0;
  color: #fbf7ff;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.04;
  text-wrap: balance;
}
.game-arcade #game-arcade-title em { color: var(--arcade-mint); font-style: normal; }
.game-arcade #game-arcade-title::after {
  display: block;
  width: min(105px, 65%);
  height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--arcade-mint) 64%, #a0f3d900);
  content: "";
}
.game-arcade .game-arcade-all {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid #adf5de;
  border-radius: 10px;
  background: var(--arcade-mint);
  color: #142d28;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, box-shadow .18s ease;
}
.game-arcade .game-arcade-all:hover { background: #c5fce9; box-shadow: 0 0 22px #94f4d555; }
.game-arcade .game-arcade-games {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(8px, 2vw, 28px);
  border-top: 1px solid #f2d9ff2e;
}
.game-arcade .game-arcade-games a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 1.1vw, 15px);
  min-height: 72px;
  padding: 10px clamp(8px, 1.2vw, 18px);
  color: #f1e9f7;
  font-size: clamp(13px, 1.25vw, 17px);
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: color .18s ease;
}
.game-arcade .game-arcade-games a:is(:hover, :focus-visible) { color: var(--arcade-mint); }
.game-arcade .game-arcade-icon { display: block; width: 34px; height: 34px; object-fit: contain; }
.game-arcade .game-arcade-arrow { color: #bba8ca; font-size: 16px; transition: transform .18s ease, color .18s ease; }
.game-arcade .game-arcade-games a:is(:hover, :focus-visible) .game-arcade-arrow { color: var(--arcade-mint); transform: translate(2px, -2px); }
.game-arcade a:focus-visible { outline: 2px solid #d4fced; outline-offset: -4px; }

@media (max-width: 920px) {
  .game-arcade .game-arcade-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .game-arcade .game-arcade-scene { --arcade-art-height: clamp(165px, 54vw, 285px); min-height: 0; justify-items: stretch; padding-top: calc(var(--arcade-art-height) + 10px); }
  .game-arcade .game-arcade-art { bottom: auto; height: var(--arcade-art-height); transform: none; --art-position: 92%; }
  .game-arcade .game-arcade-copy { width: auto; gap: 16px; padding: 0 20px 22px; }
  .game-arcade #game-arcade-title { font-size: clamp(34px, 9vw, 49px); }
  .game-arcade .game-arcade-all { min-height: 42px; font-size: 13px; }
  .game-arcade .game-arcade-games a { min-height: 65px; padding-inline: 10px; gap: 7px; }
  .game-arcade .game-arcade-icon { width: 26px; height: 26px; }
  .game-arcade .game-arcade-arrow { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .game-arcade .game-arcade-all, .game-arcade .game-arcade-games a, .game-arcade .game-arcade-arrow { transition: none; }
  .game-arcade .game-arcade-games a:hover .game-arcade-arrow { transform: none; }
}
