/* Arcade / survival visual skin. Tokens + geometry + motion only.
   Does not change routes, forms, or checkout behaviour. */

@font-face {
  font-family: "Russo One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/russo-one-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Russo One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/russo-one-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Russo One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/russo-one-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Tektur";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/tektur-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Tektur";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/tektur-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Tektur";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/tektur-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --berda-font-display: "Russo One", "Tektur", "Segoe UI", sans-serif;
  --berda-font-sans: "Tektur", "Segoe UI", sans-serif;
  --berda-font-mono: "Tektur", ui-monospace, monospace;
  --font-geist-sans: "Tektur";
  --font-geist-mono: "Tektur";
  --play-yellow: #f8c544;
  --play-green: #3ecf6a;
  --play-red: #ff5a4d;
  --play-orange: #ff8a3d;
  --play-purple: #9b6dff;
  --play-cyan: #4ecbff;
  --play-ink: #081426;
  --radius: 0;
}

.arcade-ui {
  --radius: 0;
  font-family: var(--berda-font-sans);
  font-weight: 600;
  letter-spacing: 0.045em;
}

.arcade-ui,
.arcade-ui * {
  border-radius: 0 !important;
}

.arcade-ui :is(h1, h2, h3, h4, .font-display, .btn, .hero-title, .tariff-price, .damaged-text, .nav-link, .store-label, .account-btn, .player-chip) {
  font-family: var(--berda-font-display);
  font-weight: 400;
}

.arcade-ui .font-display {
  letter-spacing: 0.04em;
}

.arcade-ui :is(p, li, label, td, th, small, input, select, textarea, .bugs-notice, .bugs-notice-title, .bugs-create-text, .hero-tagline, .section-label) {
  font-family: var(--berda-font-sans);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.06em;
  overflow-wrap: break-word;
}

.arcade-ui footer p,
.arcade-ui footer a,
.arcade-ui footer li,
.arcade-ui .text-xs,
.arcade-ui .text-sm,
.arcade-ui [class*="text-[calc(0.6"],
.arcade-ui [class*="text-[0.6"] {
  font-family: var(--berda-font-sans);
  font-weight: 600;
  letter-spacing: 0.07em;
}

.arcade-ui .nav-link {
  letter-spacing: 0.1em;
  font-size: 0.68rem;
}

.arcade-ui .btn {
  border-radius: 0 !important;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-wrap: balance;
  box-shadow: 4px 4px 0 var(--play-ink);
}

.arcade-ui .btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--play-ink);
}

.arcade-ui .btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--play-ink);
}

.arcade-ui .btn-primary {
  border: 2px solid rgba(238, 246, 255, 0.28);
}

.arcade-ui .hero-kicker {
  color: var(--play-yellow);
}

.arcade-ui .hero-kicker-bar {
  background: var(--play-yellow);
  box-shadow: none;
}

.arcade-ui .hero-title {
  line-height: 0.94;
  letter-spacing: 0.02em;
}

.arcade-ui .hero-title-accent {
  color: var(--play-cyan);
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.94);
}

.arcade-ui .hero-highlights li {
  border: 2px solid rgba(78, 203, 255, 0.28);
  background: rgba(10, 24, 44, 0.55);
}

.arcade-ui .hero-highlights li:nth-child(2) {
  border-color: rgba(248, 197, 68, 0.4);
}

.arcade-ui .hero-highlights li:nth-child(3) {
  border-color: rgba(62, 207, 106, 0.4);
}

.arcade-ui .hero-highlights li::before {
  border-radius: 0 !important;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--play-yellow);
  box-shadow: none;
}

.arcade-ui .section-label {
  color: var(--play-cyan);
}

.arcade-ui #about {
  background:
    linear-gradient(180deg, rgba(8, 20, 38, 0.72), rgba(19, 39, 66, 0.15) 70%, transparent);
}

.arcade-ui #gameplay.section-band {
  background:
    radial-gradient(ellipse 70% 50% at 100% 10%, rgba(255, 138, 61, 0.1), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.05));
}

.arcade-ui #formats {
  background:
    radial-gradient(ellipse 60% 45% at 8% 20%, rgba(255, 90, 77, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 45% at 92% 30%, rgba(62, 207, 106, 0.08), transparent 55%);
}


.arcade-ui #tariffs {
  overflow: visible;
  background:
    radial-gradient(ellipse 55% 45% at 90% 0%, rgba(155, 109, 255, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(8, 16, 32, 0.35), rgba(255, 255, 255, 0.04));
}

.arcade-ui .tariff-grid {
  align-items: start;
  padding-top: 1.15rem;
}

@media (min-width: 1280px) {
  .arcade-ui .tariff-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.js-motion-ready .arcade-ui .tariff-card,
.js-motion-ready .arcade-ui .review-card,
.js-motion-ready .arcade-ui .gameplay-card,
.js-motion-ready .arcade-ui .tariff-badge {
  opacity: 1;
}

.arcade-ui #reviews {
  background: linear-gradient(180deg, rgba(33, 56, 87, 0.28), transparent 80%);
}

.arcade-ui #how {
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 138, 61, 0.1), transparent 60%);
}

.arcade-ui .overview-stat {
  border: 2px solid rgba(78, 203, 255, 0.22);
  box-shadow: 5px 5px 0 var(--play-ink);
  background: rgba(10, 28, 52, 0.55);
}

.arcade-ui .overview-stat:first-child {
  border-top: 6px solid var(--play-yellow);
}

.arcade-ui .overview-stat:last-child {
  border-top: 6px solid var(--play-green);
}

.arcade-ui .gameplay-card {
  box-shadow: 7px 7px 0 var(--play-ink);
  background:
    linear-gradient(180deg, rgba(33, 56, 87, 0.55), rgba(19, 39, 66, 0.72));
}

.arcade-ui .gameplay-card:nth-of-type(4n + 1) {
  border-top: 6px solid var(--play-orange);
}

.arcade-ui .gameplay-card:nth-of-type(4n + 2) {
  border-left: 6px solid var(--play-cyan);
}

.arcade-ui .gameplay-card:nth-of-type(4n + 3) {
  border-top: 6px solid var(--play-green);
}

.arcade-ui .gameplay-card:nth-of-type(4n + 4) {
  border-left: 6px solid var(--play-purple);
}

.arcade-ui .community-join-card {
  border: 2px solid rgba(78, 203, 255, 0.45);
  box-shadow: 6px 6px 0 var(--play-ink);
}

.arcade-ui .community-join-card.is-telegram {
  border-top: 6px solid var(--play-cyan);
}

.arcade-ui .community-join-card.is-vk {
  border-top: 6px solid #4c84bd;
  border-color: rgba(76, 132, 189, 0.55);
}

.arcade-ui .community-join-cta {
  box-shadow: 0 4px 0 0 rgba(4, 12, 24, 0.55);
}

.arcade-ui .community-join-card:active .community-join-cta {
  box-shadow: 0 1px 0 0 rgba(4, 12, 24, 0.55);
}

.arcade-ui .tariff-card {
  overflow: visible;
  border: 2px solid rgba(76, 132, 189, 0.35);
  box-shadow: 6px 6px 0 var(--play-ink);
}

.arcade-ui .tariff-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: var(--play-cyan);
}

.arcade-ui .tariff-card:nth-child(1)::before { background: var(--play-cyan); }
.arcade-ui .tariff-card:nth-child(2)::before { background: var(--play-green); }
.arcade-ui .tariff-card:nth-child(3)::before { background: var(--play-purple); }
.arcade-ui .tariff-card:nth-child(4)::before { background: var(--play-yellow); }
.arcade-ui .tariff-card:nth-child(5)::before { background: var(--play-orange, #ff8a3d); }

.arcade-ui .tariff-card-best {
  border-color: rgba(248, 197, 68, 0.55);
}

.arcade-ui .tariff-card-featured {
  border-color: rgba(155, 109, 255, 0.55);
}

.arcade-ui .tariff-price {
  color: var(--play-yellow);
}

.arcade-ui .tariff-badge {
  top: -0.72rem;
  z-index: 2;
  white-space: nowrap;
  box-shadow: 3px 3px 0 var(--play-ink);
}

.arcade-ui .tariff-card.has-badge {
  padding-top: 1.5rem;
}

.arcade-ui .tariff-term {
  margin: 0;
  color: var(--play-cyan);
  font-family: var(--berda-font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.arcade-ui .tariff-step-1 .tariff-term { font-size: 1.05rem; }
.arcade-ui .tariff-step-2 .tariff-term { font-size: 1.22rem; }
.arcade-ui .tariff-step-3 .tariff-term { font-size: 1.42rem; }
.arcade-ui .tariff-step-4 .tariff-term { font-size: 1.68rem; }
.arcade-ui .tariff-step-5 .tariff-term { font-size: 1.82rem; }

@media (min-width: 1024px) {
  .arcade-ui .tariff-step-1 { min-height: 22.5rem; }
  .arcade-ui .tariff-step-2 { min-height: 25rem; }
  .arcade-ui .tariff-step-3 { min-height: 27.5rem; }
  .arcade-ui .tariff-step-4 { min-height: 30.5rem; }
  .arcade-ui .tariff-step-5 { min-height: 32.5rem; }
}

.arcade-ui .tariff-badge-icon {
  width: 1rem;
  height: 1rem;
  animation: tariff-badge-wiggle 3.6s ease-in-out infinite;
}

.arcade-ui .tariff-badge-ice .tariff-badge-icon {
  animation-name: tariff-badge-bob;
}

.arcade-ui .tariff-perk-icon {
  perspective: 32px;
}

.arcade-ui .tariff-perk-icon-coin svg {
  animation: tariff-coin-flip 2.8s ease-in-out infinite;
  transform-origin: center;
}

.arcade-ui .tariff-perk-icon-save svg {
  animation: tariff-save-pop 2.1s ease-in-out infinite;
  transform-origin: center;
}

.arcade-ui .tariff-perk-icon-ice svg {
  animation: tariff-ice-spin 7s linear infinite;
  transform-origin: center;
}

@keyframes tariff-badge-wiggle {
  0%, 78%, 100% { transform: rotate(0) scale(1); }
  84% { transform: rotate(12deg) scale(1.14); }
  90% { transform: rotate(-10deg) scale(1.08); }
}

@keyframes tariff-badge-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes tariff-coin-flip {
  0%, 58%, 100% { transform: rotateY(0deg); }
  72% { transform: rotateY(180deg); }
  86% { transform: rotateY(360deg); }
}

@keyframes tariff-save-pop {
  0%, 100% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-2px) scale(1.16); }
}

@keyframes tariff-ice-spin {
  to { transform: rotate(360deg); }
}

.arcade-ui .review-card {
  overflow: hidden;
  border: 2px solid rgba(76, 132, 189, 0.28);
  box-shadow: 5px 5px 0 var(--play-ink);
}

.arcade-ui .review-card.is-player {
  border-color: rgba(78, 203, 255, 0.42);
}

.arcade-ui .review-card.is-blogger {
  border-color: rgba(255, 138, 61, 0.5);
}

.arcade-ui .review-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: var(--play-cyan);
}

.arcade-ui .review-card.is-blogger::before {
  background: var(--play-orange);
}

.arcade-ui .review-card-foot {
  margin-top: auto;
  border-top: 2px solid rgba(78, 203, 255, 0.18);
  background: rgba(8, 20, 38, 0.35);
}

.arcade-ui .review-card.is-blogger .review-card-foot {
  border-top-color: rgba(255, 138, 61, 0.22);
}

.arcade-ui .review-summary-card {
  border: 2px solid rgba(78, 203, 255, 0.38);
  box-shadow: 5px 5px 0 var(--play-ink);
}

.arcade-ui .reviews-home-kicker.is-player {
  color: var(--play-cyan);
}

.arcade-ui .reviews-home-kicker.is-blogger {
  color: var(--play-orange);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .arcade-ui .text-grad,
  .arcade-ui .section-label:not(a):not(.formats-label),
  .arcade-ui .how-journey-label,
  .arcade-ui .reviews-home-kicker,
  .arcade-ui .hero-kicker-line,
  .arcade-ui .hero-tagline,
  .arcade-ui .tariff-price,
  .arcade-ui .tariff-term,
  .arcade-ui .how-journey-number,
  .arcade-ui .formats-vs,
  .arcade-ui .community-join-copy strong,
  .arcade-ui .how-journey-card h3,
  .arcade-ui .how-path-title,
  .arcade-ui .how-path-num,
  .arcade-ui .how-path-free,
  .arcade-ui .how-path-or,
  .arcade-ui .gameplay-copy h3,
  .arcade-ui .reviews-cta h2,
  .arcade-ui .reviews-home-title,
  .arcade-ui .review-score-value,
  .arcade-ui [data-faq-trigger] .font-display,
  .arcade-ui main h1.font-display,
  .arcade-ui main h2.font-display:not(.formats-title) {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  /* Close-shade pairs: light → dark of the same hue. Mixed rainbow stays on #formats. */
  .arcade-ui .section-label:not(a):not(.formats-label),
  .arcade-ui .how-journey-label,
  .arcade-ui .reviews-home-kicker.is-player,
  .arcade-ui .tariff-term {
    background-image: linear-gradient(180deg, #b8f0ff 0%, #3aa8d6 100%);
  }

  .arcade-ui .section-label.text-sand-200 {
    background-image: linear-gradient(180deg, #fff4dc 0%, #d4b06a 100%);
  }

  .arcade-ui main h1.font-display,
  .arcade-ui main h2.font-display:not(.formats-title):not(.reviews-home-title),
  .arcade-ui .hero-tagline,
  .arcade-ui .community-join-copy strong,
  .arcade-ui .gameplay-copy h3,
  .arcade-ui .how-journey-card h3,
  .arcade-ui .how-path-title,
  .arcade-ui .how-path-or,
  .arcade-ui .reviews-cta h2,
  .arcade-ui [data-faq-trigger] .font-display {
    background-image: linear-gradient(180deg, #ffffff 8%, #b7d3ee 100%);
  }

  .arcade-ui .reviews-home-title {
    background-image: linear-gradient(180deg, #ffffff 0%, #7ec8ff 100%);
  }

  .arcade-ui .review-score-value {
    background-image: linear-gradient(180deg, #c4f2ff 0%, #3eb6e4 100%);
  }

  .arcade-ui .tariff-price,
  .arcade-ui .formats-vs {
    background-image: linear-gradient(180deg, #ffe9a8 0%, #e09418 100%);
  }

  .arcade-ui .hero-kicker-line {
    background-image: linear-gradient(90deg, #ffffff 0%, #f8c544 42%, #4ecbff 100%);
  }

  .arcade-ui .how-journey-number,
  .arcade-ui .how-path-num,
  .arcade-ui .reviews-home-kicker.is-blogger {
    background-image: linear-gradient(180deg, #ffd2a0 0%, #f06a20 100%);
  }

  .arcade-ui .how-path-free {
    background-image: linear-gradient(180deg, #b8ffd0 0%, #2fbf62 100%);
  }
}

.arcade-ui .how-journey-card {
  border: 2px solid rgba(255, 138, 61, 0.28);
  box-shadow: 5px 5px 0 var(--play-ink);
}

.arcade-ui .how-journey-number {
  color: var(--play-orange);
}

.how-path-kicker {
  display: flex;
  justify-content: center;
  margin: 0 0 0.7rem;
  color: var(--play-orange);
}

.how-path-kicker svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(90deg);
}

.how-path {
  display: grid;
  grid-template-columns: minmax(11rem, 0.9fr) auto minmax(0, 1.7fr) auto minmax(11rem, 0.9fr);
  gap: 0.7rem 0.55rem;
  align-items: stretch;
  margin-top: 2.6rem;
}

.how-path-step,
.how-path-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 28, 52, 0.92), rgba(8, 16, 32, 0.96));
  box-shadow: 5px 5px 0 var(--play-ink);
}

.how-path-step {
  padding: 0.7rem 0.7rem 1.15rem;
  border: 2px solid rgba(78, 203, 255, 0.38);
}

.how-path-card {
  padding: 0.55rem 0.55rem 1rem;
}

.how-path-card.is-paid {
  border: 3px solid var(--play-orange);
}

.how-path-card.is-trial {
  border: 3px solid var(--play-green);
}

.how-path-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  gap: 0.42rem;
  padding: 0 0.45rem;
  text-align: center;
}

.how-path-free {
  color: var(--play-green);
}

.how-path-thumb,
.how-path-media {
  position: relative;
  overflow: hidden;
  background: #07111f;
}

.how-path-thumb {
  aspect-ratio: 1;
  margin-bottom: 0.85rem;
}

.how-path-media {
  aspect-ratio: 16 / 11;
  margin-bottom: 0.85rem;
}

.how-path-thumb img,
.how-path-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-path-num {
  display: block;
  color: var(--play-orange);
  font-family: var(--berda-font-display);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.how-path-title {
  margin: 0;
  color: #fff;
  font-family: var(--berda-font-display);
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.how-path-copy p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.how-path-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: stretch;
  min-width: 0;
}

.how-path-or {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  color: #fff;
  font-family: var(--berda-font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.how-path-or::before,
.how-path-or::after {
  content: "";
  width: 1px;
  flex: 1 1 auto;
  min-height: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.42), transparent);
}

.how-path-chevron {
  display: grid;
  place-items: center;
  color: var(--play-cyan);
}

.how-path-chevron svg {
  width: 1.15rem;
  height: 2.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-path-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 0.35rem;
  width: 100%;
  margin-top: auto;
  padding: 0.7rem 0.85rem;
  border: 2px solid transparent;
  box-sizing: border-box;
  font-family: var(--berda-font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.how-path-btn span {
  font-size: 1.15rem;
  line-height: 1;
}

.how-path-btn.is-paid {
  margin-top: auto;
  border-color: var(--play-orange);
  background: rgba(255, 138, 61, 0.12);
  color: #fff;
}

.how-path-btn.is-trial {
  margin-top: auto;
  background: var(--play-green);
  color: #07111f;
}

.how-path-crosshair {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--play-orange);
  pointer-events: none;
}

.how-path-crosshair svg {
  width: 4.4rem;
  height: 4.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  filter: drop-shadow(0 0 10px rgba(255, 138, 61, 0.55));
}

.how-clock,
.how-clock-badge {
  position: absolute;
  pointer-events: none;
}

.how-clock {
  left: 50%;
  top: 50%;
  width: 5.4rem;
  height: 5.4rem;
  transform: translate(-50%, -50%);
  color: var(--play-green);
  animation: how-clock-glow 2.4s ease-in-out infinite;
}

.how-clock svg,
.how-clock-badge svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.how-clock-dial {
  fill: rgba(7, 17, 31, 0.55);
}

.how-clock-hand {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: how-clock-spin 8s linear infinite;
}

.how-clock-badge .how-clock-hand {
  animation-duration: 8s;
}

.how-clock-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-top: 0.15rem;
  color: #fff;
  font-family: var(--berda-font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(62, 207, 106, 0.65);
}

.how-clock-badge {
  top: 0.45rem;
  right: 0.45rem;
  width: 1.85rem;
  height: 1.85rem;
  color: var(--play-green);
  filter: drop-shadow(0 0 8px rgba(62, 207, 106, 0.55));
}

@keyframes how-clock-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes how-clock-glow {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(62, 207, 106, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(62, 207, 106, 0.95));
  }
}

@media (max-width: 1100px) {
  .how-path {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .how-path-chevron {
    transform: rotate(90deg);
    height: 1.4rem;
  }

  .how-path-step,
  .how-path-card {
    max-width: 28rem;
    margin-inline: auto;
    width: 100%;
  }

  .how-path-choice {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .how-path-or {
    flex-direction: row;
    width: min(16rem, 100%);
  }

  .how-path-or::before,
  .how-path-or::after {
    width: auto;
    height: 1px;
    flex: 1;
    min-height: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  }
}

.arcade-ui .terminal-panel {
  border: 2px solid rgba(76, 132, 189, 0.28);
  box-shadow: 4px 4px 0 var(--play-ink);
}

.arcade-ui .comparison-status-good {
  color: var(--play-green);
}

.arcade-ui .comparison-status-danger {
  color: var(--play-red);
}

.arcade-ui .final-cta {
  border: 2px solid rgba(248, 197, 68, 0.35);
  box-shadow: 8px 8px 0 var(--play-ink);
}

.arcade-ui .media-partner-hero {
  border: 2px solid rgba(155, 109, 255, 0.28);
  box-shadow: 8px 8px 0 var(--play-ink);
}

.arcade-ui .account-btn,
.arcade-ui .store-label,
.arcade-ui .player-chip {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.arcade-ui .offer-card {
  border: 2px solid rgba(76, 132, 189, 0.32) !important;
  box-shadow: 6px 6px 0 var(--play-ink);
}

.arcade-ui .offer-card:nth-child(3n + 1) {
  border-top: 6px solid var(--play-yellow) !important;
}

.arcade-ui .offer-card:nth-child(3n + 2) {
  border-top: 6px solid var(--play-cyan) !important;
}

.arcade-ui .offer-card:nth-child(3n + 3) {
  border-top: 6px solid var(--play-purple) !important;
}

.float-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.float-field--shell {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.float-icon {
  position: absolute;
  width: var(--s, 72px);
  height: var(--s, 72px);
  opacity: 0.18;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: brightness(0.58) saturate(0.72);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

@media (prefers-reduced-motion: no-preference) {
  .float-icon.float-fly {
    animation-name: float-fly;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }

  .float-icon.float-pulse {
    animation-name: float-pulse;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }

  .float-icon.float-drift {
    animation-name: float-drift;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }

  .float-icon.float-swoop {
    animation-name: float-swoop;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }

  .float-icon.float-spin {
    animation-name: float-spin;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }

  .float-icon.float-bob {
    animation-name: float-bob;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }

  .arcade-ui .tariff-card:hover,
  .arcade-ui .review-card:hover,
  .arcade-ui .gameplay-card:hover,
  .arcade-ui .community-join-card:hover,
  .arcade-ui .offer-card:hover {
    transform: translate(-3px, -3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-field {
    display: none;
  }
}

@keyframes float-fly {
  0% { transform: translate3d(0, 0, 0) rotate(-4deg); }
  50% { transform: translate3d(28px, -42px, 0) rotate(8deg); }
  100% { transform: translate3d(-18px, 22px, 0) rotate(-6deg); }
}

@keyframes float-pulse {
  0%, 100% { transform: scale(0.86) rotate(-3deg); }
  50% { transform: scale(1.14) rotate(4deg); }
}

@keyframes float-drift {
  0% { transform: translate3d(0, 0, 0) rotate(6deg); }
  40% { transform: translate3d(-36px, 18px, 0) rotate(-10deg); }
  100% { transform: translate3d(16px, -24px, 0) rotate(8deg); }
}

@keyframes float-swoop {
  0% { transform: translate3d(0, 0, 0) scale(0.92) rotate(-8deg); }
  55% { transform: translate3d(40px, 36px, 0) scale(1.08) rotate(12deg); }
  100% { transform: translate3d(-24px, -14px, 0) scale(0.96) rotate(-4deg); }
}

@keyframes float-spin {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(12px, -16px, 0) rotate(180deg); }
  100% { transform: translate3d(0, 0, 0) rotate(360deg); }
}

@keyframes float-bob {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1) rotate(-2deg); }
  50% { transform: translate3d(8px, -28px, 0) scale(1.12) rotate(5deg); }
}

@media (max-width: 767px) {
  .arcade-ui .hero-title {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
    line-height: 1;
  }

  .arcade-ui .btn {
    font-size: 0.72rem;
    padding-inline: 1rem;
  }

  .arcade-ui .tariff-price {
    font-size: 2.2rem;
  }
}

/* ── Play formats: free vs Premium.
   Mixed yellow/cyan title gradients stay on this section. */

.formats-label {
  color: var(--play-cyan);
}

.formats-title {
  color: #fff;
  line-height: 1.08;
}

.formats-text {
  color: var(--muted);
  max-width: 40rem;
}

.formats-text-accent {
  color: var(--play-yellow);
}

.formats-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.formats-brand {
  display: none;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: #d6e7ff;
  font-family: var(--berda-font-display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}

.formats-brand img {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
}

@media (min-width: 768px) {
  .formats-brand {
    display: flex;
    flex: none;
    margin-top: 0.35rem;
  }
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .arcade-ui .formats-section .formats-label {
    background-image: linear-gradient(90deg, #9be7ff 0%, #4ecbff 70%, #f8c544 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .arcade-ui .formats-section .formats-title {
    background-image: linear-gradient(90deg, #f6e7b2 0%, #ffffff 38%, #b8f4ff 72%, #f8c544 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.formats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.9rem 0.75rem;
  align-items: stretch;
}

.formats-vs {
  align-self: center;
  z-index: 2;
}

.formats-vs {
  margin: 0;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--play-yellow);
  background: rgba(8, 20, 38, 0.92);
  color: var(--play-yellow);
  font-family: var(--berda-font-display);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1;
  box-shadow: 0 0 18px rgba(248, 197, 68, 0.28);
}

.arcade-ui .formats-vs {
  font-family: var(--berda-font-display);
  font-weight: 400;
}

.formats-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.2rem 1.15rem;
  border: 1px solid var(--line);
  background: rgba(8, 18, 34, 0.78);
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.formats-card.is-free {
  border-color: rgba(255, 90, 77, 0.55);
  box-shadow: 0 0 22px rgba(255, 90, 77, 0.16), inset 0 0 28px rgba(255, 90, 77, 0.05);
}

.formats-card.is-premium {
  border-color: rgba(93, 255, 154, 0.48);
  box-shadow: 0 0 22px rgba(62, 207, 106, 0.16), inset 0 0 28px rgba(62, 207, 106, 0.05);
}

@media (hover: hover) and (pointer: fine) {
  .formats-card.is-free:hover {
    border-color: rgba(255, 120, 110, 0.9);
    box-shadow: 0 0 38px rgba(255, 90, 77, 0.38), inset 0 0 32px rgba(255, 90, 77, 0.08);
    transform: translateY(-2px);
  }

  .formats-card.is-premium:hover {
    border-color: rgba(120, 255, 170, 0.85);
    box-shadow: 0 0 38px rgba(62, 207, 106, 0.38), inset 0 0 32px rgba(62, 207, 106, 0.08);
    transform: translateY(-2px);
  }
}

.formats-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.formats-card-mark {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  flex: none;
  place-items: center;
  border: 1px solid currentColor;
}

.formats-card-mark svg,
.formats-cell-icon svg,
.formats-punch-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.formats-card.is-free .formats-card-mark { color: #ff8a7a; }
.formats-card.is-premium .formats-card-mark { color: #5dff9a; }

.formats-card-title {
  margin: 0;
  font-family: var(--berda-font-display);
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.formats-card.is-free .formats-card-title { color: #ffb3ab; }
.formats-card.is-premium .formats-card-title { color: #93e9ae; }

.formats-free-grid,
.formats-premium-list {
  display: grid;
  gap: 0.55rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.formats-free-grid {
  grid-template-columns: 1fr 1fr;
}

.formats-cell.is-wide {
  grid-column: 1 / -1;
}

.formats-premium-list {
  grid-template-columns: minmax(0, 1fr);
}

.formats-cell {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(214, 231, 255, 0.08);
  background: rgba(6, 14, 28, 0.55);
}

.formats-card.is-free .formats-cell {
  border-color: rgba(255, 90, 77, 0.16);
}

.formats-card.is-premium .formats-cell {
  border-color: rgba(62, 207, 106, 0.16);
}

.formats-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.1) 48%, transparent 68%);
  transform: translateX(-130%);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .formats-cell:hover::after {
    animation: formats-sweep 0.7s ease;
  }

  .formats-cell:hover .formats-cell-icon {
    animation: formats-icon-bounce 0.45s ease;
  }

  .formats-cell:hover {
    transform: translateY(-1px);
  }
}

.formats-cell-icon {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
  place-items: center;
}

.formats-card.is-free .formats-cell-icon { color: #ff8a7a; }
.formats-card.is-premium .formats-cell-icon { color: #5dff9a; }

.formats-cell-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.formats-cell-copy strong {
  color: #eef6ff;
  font-family: var(--berda-font-display);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.formats-card.is-premium .formats-cell-copy strong {
  color: #93e9ae;
}

.formats-cell-copy span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.formats-note {
  margin-top: auto;
  padding-top: 1.05rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.formats-card.is-premium .formats-note {
  color: rgba(147, 233, 174, 0.78);
}

.formats-punch {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 1.45rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(78, 203, 255, 0.38);
  background: rgba(8, 28, 52, 0.72);
  color: var(--color-sand-200, #d6e7ff);
  font-size: 1rem;
  line-height: 1.55;
  box-shadow: 0 0 22px rgba(78, 203, 255, 0.12);
}

.formats-punch-icon {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
  margin-top: 0.12rem;
  color: var(--play-cyan);
}

.formats-punch-copy .is-free { color: #ff8a7a; }
.formats-punch-copy .is-premium { color: #5dff9a; }

.js-motion-ready .formats-section:not(.is-visible) .formats-card,
.js-motion-ready .formats-section:not(.is-visible) .formats-vs,
.js-motion-ready .formats-section:not(.is-visible) .formats-punch {
  opacity: 0;
}

.formats-section.is-visible .formats-card.is-free {
  animation: formats-in-left 0.78s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.formats-section.is-visible .formats-card.is-premium {
  animation: formats-in-right 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.08s backwards;
}

.formats-section.is-visible .formats-vs {
  animation: formats-vs-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.28s both;
}

.formats-section.is-visible .formats-cell {
  animation: formats-cell-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(0.32s + var(--i, 0) * 0.07s);
}

.formats-section.is-visible .formats-punch {
  animation: formats-punch-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

.formats-section.is-visible .formats-title {
  animation: formats-title-shimmer 9s ease-in-out infinite;
}

@keyframes formats-in-left {
  from { opacity: 0; transform: translateX(-36px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes formats-in-right {
  from { opacity: 0; transform: translateX(36px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes formats-vs-pop {
  0% { opacity: 0; transform: scale(0.4); }
  70% { opacity: 1; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes formats-cell-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes formats-punch-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes formats-sweep {
  to { transform: translateX(130%); }
}

@keyframes formats-icon-bounce {
  0% { transform: translateY(0); }
  40% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

@keyframes formats-title-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (max-width: 767px) {
  .formats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .formats-vs {
    justify-self: center;
  }

  .formats-section.is-visible .formats-card.is-free,
  .formats-section.is-visible .formats-card.is-premium {
    animation-name: formats-cell-in;
  }
}

/* Auth pages give the drifting icons a tall stage of their own; the form sits above them. */
.auth-float-stage {
  min-height: 70vh;
  isolation: isolate;
}

.auth-float-stage > .float-field {
  z-index: -1;
}

/* ── Game-feel layer: block buttons, XP scroll bar, toasts ─────────────────────
   Everything here is transform/opacity only — no canvas, no particle engine. */

/* Hard bottom edge so a button reads as a solid block; 0 blur, so it is an edge, not a glow. */
.arcade-ui .btn-primary,
.arcade-ui .btn-access,
.arcade-ui .btn-download,
.arcade-ui .tariff-cta {
  box-shadow: 0 4px 0 0 rgba(4, 12, 24, 0.55);
}

/* Touch has no hover, so :active carries the whole press on phones. */
.arcade-ui .btn-primary:active,
.arcade-ui .btn-access:active,
.arcade-ui .btn-download:active,
.arcade-ui .tariff-cta:active {
  box-shadow: 0 1px 0 0 rgba(4, 12, 24, 0.55);
}

.xp-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  background: rgba(8, 20, 38, 0.55);
  pointer-events: none;
}

.xp-bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background:
    repeating-linear-gradient(90deg, var(--play-cyan) 0 10px, rgba(78, 203, 255, 0.55) 10px 14px);
  will-change: transform;
}

.fx-toasts {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 65;
  display: grid;
  gap: 0.5rem;
  pointer-events: none;
}

.fx-toast {
  display: grid;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--play-yellow);
  border-left: 5px solid var(--play-yellow);
  background: rgba(8, 20, 38, 0.94);
}

.fx-toast-label {
  color: var(--play-yellow);
  font-family: var(--berda-font-display);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fx-toast-text {
  margin-top: 0.15rem;
  color: var(--color-milk-100, #eef6ff);
  font-family: var(--berda-font-display);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

@media (max-width: 767px) {
  /* Sits above the sticky buy bar instead of covering it. */
  .fx-toasts {
    right: 1rem;
    bottom: 5.2rem;
    left: 1rem;
  }

  .fx-toast-text {
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xp-bar {
    display: none;
  }

  .how-clock,
  .how-clock-hand,
  .how-clock-badge .how-clock-hand,
  .how-clock-ring,
  .arcade-ui .tariff-badge-icon,
  .arcade-ui .tariff-perk-icon-coin svg,
  .arcade-ui .tariff-perk-icon-save svg,
  .arcade-ui .tariff-perk-icon-ice svg,
  .formats-section.is-visible .formats-card.is-free,
  .formats-section.is-visible .formats-card.is-premium,
  .formats-section.is-visible .formats-vs,
  .formats-section.is-visible .formats-cell,
  .formats-section.is-visible .formats-punch,
  .formats-section.is-visible .formats-title {
    animation: none !important;
  }

  .js-motion-ready .formats-section:not(.is-visible) .formats-card,
  .js-motion-ready .formats-section:not(.is-visible) .formats-vs,
  .js-motion-ready .formats-section:not(.is-visible) .formats-punch {
    opacity: 1;
  }
}

.arcade-ui .mpa-perk-img,
.arcade-ui .mpa-steps li.mpa-step-card span.mpa-step-img {
  border-radius: 0;
  background: #081426;
  border: 1px solid rgba(76, 132, 189, 0.28);
}

.arcade-ui .mpa-perk-img img,
.arcade-ui .mpa-steps li.mpa-step-card span.mpa-step-img img {
  transform: none;
}

.arcade-ui .mpa-steps li.mpa-step-card .mpa-step-sub {
  display: block;
  width: auto;
  height: auto;
  border: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.arcade-ui .maf-label {
  align-items: center;
}

.arcade-ui .maf-label-icon {
  flex: none;
}

