/* KukuRUZA · the PLAY tile and the interactive cards share one motion. */
.activity-grid .vr-play-poster {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  min-height: clamp(220px, 22vw, 350px);
  padding: clamp(24px, 3.2vw, 48px);
  overflow: hidden;
  color: #fff;
  background: var(--blue, #1247c8);
  border: 2px solid var(--ink, #183050);
  border-radius: 18px;
  text-decoration: none;
}
.vr-play-poster .activity-vr-copy {padding: 0 44px 0 0;}
.vr-play-poster .activity-vr-copy h3 {
  font: 700 clamp(28px, 3vw, 46px)/1.1 'Golos Text', sans-serif;
  letter-spacing: -.035em;
}
.vr-play-poster .activity-vr-copy p {
  max-width: 24ch;
  margin-top: 12px;
  color: #fff;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.4;
}
.vr-play-poster .vr-open-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #fffaf0;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font: 700 20px/1 Arial, sans-serif;
}
.vr-poster-word {
  align-self: flex-end;
  margin: auto 2% 1% 0;
  color: var(--yellow, #ffd24a);
  font: 700 clamp(52px, 6.8vw, 104px)/.95 Magistral, 'Golos Text', sans-serif;
  letter-spacing: -.04em;
  transform: rotate(-8deg);
  white-space: nowrap;
}
.vr-poster-word::after {
  content: "";
  display: inline-block;
  margin-left: .08em;
  width: .46em;
  height: .49em;
  background: currentColor;
  vertical-align: .055em;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* A linked title also opens its card when the visitor clicks the surrounding space. */
.activity-row,
.news-section .news-item {position: relative;}
.activity-row .text-link::after,
.news-section .news-item h3 a::after {content: ""; position: absolute; inset: 0; z-index: 1;}
.news-section .news-item .text-link {position: relative; z-index: 2;}
.news-section .news-item {border-radius: 8px;}
.news-archive .news-card {border-radius: 12px;}
.news-archive .news-card > a {border-radius: inherit;}
.news-archive .news-card-copy {padding-inline: clamp(10px, 1.1vw, 18px);}
.article-adjacent > a {padding: 10px 14px; border-radius: 9px;}

/* The catalogue keeps its original game art. Colour identifies the area below the cover. */
#game-grid .game-card {
  --game-accent: #345fc0;
  --game-wash: #eff4fc;
  --game-edge: #c9d8f0;
  border-color: var(--game-edge);
}
#game-grid .game-card[data-categories~="beginner"] {
  --game-accent: #23746b;
  --game-wash: #eef7f3;
  --game-edge: #c0d9cd;
}
#game-grid .game-card[data-categories~="experience"] {
  --game-accent: #19768e;
  --game-wash: #edf7fa;
  --game-edge: #c1dce5;
}
#game-grid .game-card[data-categories~="horror"] {
  --game-accent: #71528b;
  --game-wash: #f5f0f7;
  --game-edge: #d9cce3;
}
#game-grid .game-cover {border: 0;}
#game-grid .game-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 42px;
  height: 7px;
  background: repeating-linear-gradient(120deg, var(--game-accent) 0 6px, var(--game-wash) 6px 9px);
  clip-path: polygon(5px 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
#game-grid .game-info {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  align-content: start;
  gap: 12px 9px;
  padding: 15px 17px;
  border-top: 3px solid var(--game-accent);
  background: var(--game-wash);
}
#game-grid .game-players {
  position: absolute;
  bottom: calc(100% + 11px);
  left: 13px;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid #ffffff80;
  border-radius: 20px;
  background: #172c4e;
  color: #fff;
  font: 600 12px/1.4 'Golos Text', sans-serif;
  letter-spacing: 0;
}
#game-grid .game-info h3 {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.16;
  text-wrap: wrap;
}
#game-grid .game-tags {
  margin: 0;
  min-height: 0;
  gap: 4px;
  align-self: center;
}
#game-grid .game-tags span {
  background: #fff;
  border: 1px solid var(--game-edge);
  color: #34465f;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11px;
  line-height: 1.5;
}
#game-grid .game-more {
  grid-column: 2;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--blue);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
}
#game-grid .game-more > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--game-edge);
  border-radius: 50%;
  background: #fff;
  font: 700 15px/1 Arial, sans-serif;
}

/* Detail pages echo the colour break on the catalogue cards. */
.game-page .game-facts {
  gap: 8px;
  border: 0;
  padding: 0;
  margin-block: 20px;
}
.game-page .game-facts > div {
  padding: 10px 13px;
  background: rgb(255 255 255 / 9%);
  border-inline-start: 3px solid var(--yellow);
  border-radius: 0 7px 7px 0;
}
.game-page .game-facts > div + div {border-inline-start-color: #67d4e6;}
.game-page .game-about {
  position: relative;
  padding: clamp(17px, 2vw, 28px);
  border-inline-start: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: #eff4fc;
}
.game-page .game-about::after {
  content: "";
  position: absolute;
  top: clamp(19px, 2.1vw, 31px);
  right: clamp(16px, 2vw, 28px);
  width: 36px;
  height: 10px;
  background: repeating-linear-gradient(120deg, transparent 0 4px, #a9c1ed 4px 8px);
  pointer-events: none;
}
.game-page .game-about h2 {padding-right: 44px; margin-bottom: 12px;}
.game-page :is(.game-trailer, .detail-gallery, .game-guide) {margin-top: clamp(24px, 3vw, 38px);}
@media (min-width: 760px) {
  .game-page .detail-body {padding-block: clamp(34px, 3.5vw, 54px); column-gap: clamp(30px, 5vw, 68px);}
}
@media (max-width: 740px) {
  .activity-grid .vr-play-poster {min-height: 210px;}
  .vr-play-poster .vr-open-arrow {width: 31px; height: 31px; top: 13px; right: 13px; font-size: 17px;}
  .vr-poster-word {font-size: clamp(51px, 10vw, 76px);}
}
@media (max-width: 360px) {
  #game-grid .game-info {padding: 12px; gap: 9px 6px;}
  #game-grid .game-more {gap: 3px;}
}

/* Move the whole interactive surface. Controls, text and the focus outline stay together. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.vr-play-poster, .activity-row, .news-item, .news-card, .game-card, .board-card, .related-game, .article-adjacent > a) {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }
  :is(.vr-play-poster, .activity-row, .news-item, .news-card, .game-card, .board-card, .related-game, .article-adjacent > a):hover {
    transform: translate(-2px, -3px);
    box-shadow: 4px 5px 0 var(--ink, #183050);
  }
  #game-grid .game-card:hover {border-color: var(--game-accent);}
}
:is(.vr-play-poster, .article-adjacent > a):focus-visible,
:is(.activity-row, .news-item, .news-card, .game-card, .board-card, .related-game):has(:focus-visible) {
  outline: 3px solid #0b578e;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce), (hover: none) {
  :is(.vr-play-poster, .activity-row, .news-item, .news-card, .game-card, .board-card, .related-game, .article-adjacent > a),
  #game-grid .game-cover img, .board-cover img {transition: none;}
  :is(.vr-play-poster, .activity-row, .news-item, .news-card, .game-card, .board-card, .related-game, .article-adjacent > a):hover,
  #game-grid .game-link:hover .game-cover img, .board-open:hover .board-cover img {transform: none; box-shadow: none;}
}
