/* Главная. Статичное состояние — для «лёгкого режима» и без JS; движение — motion.css. */
.portal {
  position: relative; min-height: min(100svh, 820px); display: grid; place-items: center;
  padding: calc(var(--bar-h) + 32px + env(safe-area-inset-top, 0px)) var(--gutter-r) 48px var(--gutter);
  background:
    radial-gradient(60% 45% at 50% 40%, var(--deep1) 0%, transparent 70%),
    radial-gradient(45% 35% at 75% 75%, var(--deep2) 0%, transparent 70%);
  overflow: hidden;
}
.portal__in { display: grid; justify-items: center; gap: 20px; text-align: center; }
.logo {
  font: 800 clamp(40px, 13vw, 120px)/1 var(--f-display); letter-spacing: .06em;
  background: linear-gradient(90deg, var(--cy), var(--mg)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.portal__tag { color: var(--dim); font-size: 18px; }

.stage { width: 150px; height: 150px; perspective: 700px; margin-bottom: 28px; }
.cube {
  --s: 150px; width: 100%; height: 100%; position: relative; transform-style: preserve-3d;
  transform: rotateX(-18deg) rotateY(32deg);
}
.cube i {
  position: absolute; inset: 0; overflow: hidden; background: #0b0d22;
  border: 1px solid rgba(62, 240, 255, .7); box-shadow: inset 0 0 22px rgba(62, 240, 255, .35);
}
.cube img { width: 100%; height: 100%; object-fit: cover; }
.cube i:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(2) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(3) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
@media (min-width: 900px) { .stage { width: 220px; height: 220px; margin-bottom: 48px; } .cube { --s: 220px; } }

/* Раскрытие — декоративная сцена, видна только в полном режиме (motion.css). */
.reveal { display: none; }

.games, .services, .about, .contacts { padding-block: 72px; }
.games .wrap, .services .wrap, .about .wrap, .contacts .wrap { display: grid; gap: 20px; }
.cards { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
  position: relative; display: grid; border-radius: var(--r); background: var(--panel);
  border: 1px solid var(--line); overflow: hidden; min-width: 0;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(62, 240, 255, .35), 0 14px 40px -12px rgba(255, 79, 176, .55);
  opacity: .7;
}
.card__media { display: block; overflow: hidden; aspect-ratio: 16 / 9; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 16px 18px 20px; display: grid; gap: 10px; min-width: 0; }
.card__title { font-weight: 800; font-size: 22px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__tag { color: var(--dim); }
.pfs { font-size: 14px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.pf { font-weight: 600; }
span.pf { color: var(--ink); }
.card__actions { margin-top: 4px; }
.play {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px;
  background: var(--cy); color: #04121a; font-weight: 700; text-decoration: none;
  box-shadow: 0 0 22px rgba(62, 240, 255, .45);
}
.play:hover { color: #04121a; }
.play[data-play-embed]::before { content: "▶"; margin-right: 8px; font-size: 12px; }
.play.soon { background: transparent; color: var(--dim); border: 1px dashed var(--dim); box-shadow: none; }

.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.offers li { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 8px; background: rgba(14, 16, 48, .6); }
.offers h3 { font-weight: 800; color: var(--cy); }
.services__note, .about p { color: var(--dim); }
.services .btn { justify-self: start; }
.about p { font-size: 18px; }
.contacts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 20px; font-weight: 600; }
.contacts__list a { overflow-wrap: anywhere; }
