:root {
  color-scheme: dark;
  background: #000;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: #000;
}

body {
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: auto;
}

.landing-canvas {
  position: relative;
  width: min(100vw, calc(100svh * 16 / 9));
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  container-type: inline-size;
  isolation: isolate;
}

.identity {
  position: absolute;
  z-index: 10;
  top: 8.5%;
  left: 10.4%;
  line-height: 1;
  letter-spacing: 0.035em;
}

.identity-name {
  color: #f4f1e8;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 1.58cqw;
  font-weight: 700;
}

.identity-role {
  margin-top: 0.42cqw;
  color: #e7b52b;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 0.82cqw;
  font-weight: 700;
}

.hero-copy {
  position: absolute;
  z-index: 10;
  top: 8.4%;
  left: 43%;
  width: 30%;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-stretch: condensed;
  line-height: 0.99;
  letter-spacing: 0.015em;
}

.hero-copy h1 span,
.hero-copy h1 strong {
  display: block;
}

.hero-copy h1 span {
  color: #f2f0e9;
  font-size: 1.6cqw;
  font-weight: 700;
}

.hero-copy h1 strong {
  margin-top: 0.34cqw;
  color: #e5ae31;
  font-size: 2.05cqw;
  font-weight: 800;
  text-shadow: 0 0.12cqw 0 #684206;
}

.hero-copy p {
  margin: 0.68cqw 0 0;
  color: #d3d0c9;
  font-family: Arial, sans-serif;
  font-size: 0.65cqw;
  line-height: 1.42;
}

.profile-panel {
  position: absolute;
  z-index: 10;
  top: 26%;
  bottom: 8.3%;
  left: 10.3%;
  width: 14.3%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid rgba(210, 154, 37, 0.15);
}

.profile-photo-frame {
  width: 66%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0.18cqw solid #f4c34d;
  border-radius: 50%;
  box-shadow:
    0 0 0 0.14cqw #6c3d07,
    0 0 1.35cqw rgba(237, 169, 36, 0.48);
}

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  user-select: none;
}

.profile-stats {
  width: 67%;
  margin: 3.25cqw 0 0;
  padding: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
}

.profile-stats > div {
  padding: 0 0 1.45cqw;
  margin: 0 0 1.25cqw;
  border-bottom: 1px solid rgba(205, 145, 25, 0.32);
}

.profile-stats dt {
  color: #eab72f;
  font-size: 1.5cqw;
  font-weight: 800;
  line-height: 1;
}

.profile-stats dd {
  margin: 0.48cqw 0 0;
  color: #e1dfd9;
  font-size: 0.78cqw;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.social-links {
  display: flex;
  gap: 0.72cqw;
  margin-top: auto;
}

.social-links a {
  display: grid;
  width: 1.75cqw;
  height: 1.75cqw;
  place-items: center;
  opacity: 0.92;
  transition:
    opacity 120ms ease,
    transform 120ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  opacity: 1;
  transform: translateY(-0.14cqw);
  outline: none;
}

.social-links img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-cv-mark {
  display: grid;
  width: 84.375%;
  height: 84.375%;
  grid-template-columns: 1fr 0.7fr;
  place-items: center;
  overflow: hidden;
  padding: 0 10%;
  border-radius: 12%;
  background: #f5f5f2;
  color: #090a09;
  font-family: Arial, sans-serif;
  line-height: 1;
}

.social-cv-mark b {
  font-size: 0.5cqw;
  letter-spacing: -0.06em;
}

.social-cv-mark i {
  font-size: 0.78cqw;
  font-style: normal;
  font-weight: 900;
  transform: translateY(-0.03cqw);
}

.machine-stage {
  position: absolute;
  z-index: 2;
  top: 21.8%;
  left: 31.5%;
  width: 61%;
}

.assembly {
  position: relative;
  width: 100%;
  aspect-ratio: 1672 / 1034;
  overflow: hidden;
  background: #000;
}

.slot-contour {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}

.reels-window {
  position: absolute;
  z-index: 3;
  top: 22.3%;
  left: 7.2%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 72.6%;
  height: 52%;
  overflow: hidden;
  border-radius: 4.2% / 7%;
  background:
    radial-gradient(circle at 50% 48%, rgba(69, 50, 10, 0.2), transparent 66%),
    linear-gradient(180deg, #050605 0%, #0a0b09 47%, #030403 100%);
  box-shadow:
    inset 0 0 1.6cqw rgba(0, 0, 0, 0.96),
    inset 0 0 0 1px rgba(207, 149, 28, 0.22);
  perspective: 800px;
}

.reel {
  --reel-color: #f6c62f;
  position: relative;
  display: grid;
  grid-template-rows: 25% 50% 25%;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.56) 0%,
      rgba(255, 255, 255, 0.02) 17%,
      rgba(255, 255, 255, 0.035) 50%,
      rgba(0, 0, 0, 0.42) 100%
    );
  box-shadow:
    inset -0.28cqw 0 0 rgba(0, 0, 0, 0.8),
    inset 0.08cqw 0 0 rgba(255, 213, 96, 0.22);
}

.reel + .reel::before {
  content: "";
  position: absolute;
  z-index: 5;
  top: -3%;
  bottom: -3%;
  left: 0;
  width: 0.32cqw;
  transform: translateX(-50%);
  background:
    linear-gradient(
      90deg,
      #3a1b00 0%,
      #8c4a06 22%,
      #ffd66b 49%,
      #855006 68%,
      #1c0e00 100%
    );
  box-shadow:
    0 0 0.38cqw rgba(255, 192, 55, 0.55),
    0 0 0.8cqw rgba(0, 0, 0, 0.95);
}

.reel-index {
  display: none;
}

.reel-item {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  color: #f5f0df;
}

.reel-item img {
  display: block;
  width: 40%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  user-select: none;
}

.reel-item.is-ghost {
  opacity: 0.29;
  filter: blur(0.24cqw) saturate(0.68);
  transform: scale(0.86);
}

.reel-item.is-ghost:first-child {
  align-items: flex-end;
  padding-bottom: 3%;
}

.reel-item.is-ghost:nth-child(3) {
  align-items: flex-start;
  padding-top: 3%;
}

.reel-item.is-center {
  z-index: 2;
  flex-direction: column;
  gap: 0.18cqw;
  margin: -1px 1.5%;
  padding: 4% 4% 3%;
  border-top: 1px solid rgba(243, 194, 70, 0.28);
  border-bottom: 1px solid rgba(243, 194, 70, 0.25);
  border-radius: 7% / 9%;
  background:
    radial-gradient(
      circle at 50% 38%,
      color-mix(in srgb, var(--reel-color) 12%, transparent),
      transparent 48%
    ),
    linear-gradient(180deg, rgba(21, 23, 19, 0.96), rgba(5, 6, 5, 0.98));
  box-shadow:
    inset 0 0 1.1cqw rgba(0, 0, 0, 0.82),
    0 0 0.55cqw rgba(0, 0, 0, 0.78);
}

.reel-item.is-center img {
  width: 48%;
  max-height: 58%;
}

.reel-item.is-center > .reel-label {
  display: flex;
  flex-direction: column;
  min-height: 2.05em;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  color: #f2eddd;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 0.84cqw;
  font-weight: 800;
  line-height: 1.02;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0.06cqw 0 #000;
}

.reel-label > span {
  display: block;
  white-space: nowrap;
}

.reel.is-spinning {
  filter: saturate(1.25);
}

.reel.is-spinning .reel-item {
  animation: reel-motion 92ms linear infinite;
  filter: blur(0.32cqw) saturate(0.82);
  opacity: 0.6;
}

.reel.is-spinning::after {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0 3%,
      color-mix(in srgb, var(--reel-color) 12%, transparent) 4% 7%,
      transparent 9% 13%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55),
      transparent 22% 76%,
      rgba(0, 0, 0, 0.72)
    );
  opacity: 0.72;
  mix-blend-mode: screen;
  animation: motion-streaks 120ms linear infinite;
}

.reel.has-stopped {
  animation: reel-stop 360ms cubic-bezier(0.18, 0.9, 0.2, 1.2);
}

@keyframes reel-motion {
  from {
    transform: translateY(-12%);
  }
  to {
    transform: translateY(12%);
  }
}

@keyframes motion-streaks {
  from {
    transform: translateY(-9%);
  }
  to {
    transform: translateY(9%);
  }
}

@keyframes reel-stop {
  0% {
    transform: translateY(-7%);
    filter: blur(0.2cqw);
  }
  64% {
    transform: translateY(2.2%);
  }
  100% {
    transform: translateY(0);
    filter: blur(0);
  }
}

.achievement-readout {
  position: absolute;
  z-index: 6;
  top: 81.15%;
  left: 5.15%;
  display: grid;
  grid-template-columns: 35% minmax(0, 1fr);
  column-gap: 3%;
  width: 18.65%;
  height: 10.7%;
  align-items: center;
  padding: 0 4%;
  overflow: hidden;
  border-radius: 0.72cqw;
  background:
    radial-gradient(circle at 50% 0%, rgba(225, 163, 42, 0.04), transparent 58%),
    #030403;
  box-shadow: inset 0 0 0.95cqw rgba(0, 0, 0, 0.88);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.achievement-readout .achievement-count {
  color: #f5f0e7;
  font-size: 1.05cqw;
  font-weight: 700;
  text-align: left;
}

.achievement-readout > span {
  color: #d9a73b;
  font-size: 0.92cqw;
  font-weight: 700;
  letter-spacing: 0.012em;
  text-align: right;
}

.spin-button {
  position: absolute;
  z-index: 5;
  top: 76.6%;
  left: 27.35%;
  width: 33.95%;
  aspect-ratio: 568 / 150;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  cursor: pointer;
  background: transparent;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.spin-button:disabled {
  cursor: wait;
}

.assembly.is-spinning .spin-button {
  filter: saturate(1.2) brightness(1.05);
}

.button-state {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  transition: opacity 70ms linear;
}

.button-hover,
.button-pressed {
  opacity: 0;
}

.spin-button[data-state="hover"] .button-default,
.spin-button[data-state="pressed"] .button-default,
.spin-button:hover .button-default,
.spin-button:active .button-default {
  opacity: 0;
}

.spin-button[data-state="hover"] .button-hover,
.spin-button:hover .button-hover {
  opacity: 1;
}

.spin-button[data-state="pressed"] .button-hover,
.spin-button:active .button-hover {
  opacity: 0;
}

.spin-button[data-state="pressed"] .button-pressed,
.spin-button:active .button-pressed {
  opacity: 1;
}

.send-offer-hitarea {
  position: absolute;
  z-index: 6;
  top: 80.4%;
  left: 64.2%;
  width: 19.2%;
  height: 12%;
  border-radius: 0.8cqw;
  -webkit-tap-highlight-color: transparent;
}

.send-offer-hitarea::after {
  content: "";
  position: absolute;
  inset: 3%;
  border: 1px solid transparent;
  border-radius: 0.7cqw;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease;
}

.send-offer-hitarea:hover::after,
.send-offer-hitarea:focus-visible::after {
  border-color: rgba(252, 199, 70, 0.62);
  background: rgba(241, 178, 42, 0.06);
  box-shadow:
    inset 0 0 1.25cqw rgba(245, 179, 33, 0.14),
    0 0 0.8cqw rgba(245, 179, 33, 0.16);
  outline: none;
}

.win-modal {
  position: absolute;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 3.6cqw;
  visibility: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(146, 91, 11, 0.2), transparent 42%),
    rgba(0, 0, 0, 0.82);
  opacity: 0;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
  backdrop-filter: blur(0.55cqw);
}

.win-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.win-modal-backdrop {
  position: absolute;
  inset: 0;
}

.achievement-popup {
  position: relative;
  width: 49%;
  max-height: 92%;
  overflow: hidden auto;
  padding: 1.45cqw 1.65cqw 1.55cqw;
  border: 1px solid rgba(226, 168, 43, 0.82);
  border-radius: 1.05cqw;
  background:
    linear-gradient(
      145deg,
      rgba(255, 210, 99, 0.08),
      transparent 23% 74%,
      rgba(160, 96, 10, 0.08)
    ),
    linear-gradient(180deg, #0d0e0c 0%, #050604 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 160, 0.08),
    inset 0 0 2.6cqw rgba(0, 0, 0, 0.95),
    0 0 1.8cqw rgba(194, 124, 14, 0.24),
    0 2cqw 5cqw rgba(0, 0, 0, 0.92);
  text-align: center;
  transform: translateY(2cqw) scale(0.94);
  transition: transform 260ms cubic-bezier(0.2, 0.9, 0.24, 1.1);
}

.win-modal.is-open .achievement-popup {
  transform: translateY(0) scale(1);
}

.achievement-popup::before {
  content: "";
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffe19a, transparent);
  box-shadow: 0 0 1.2cqw #f0ae26;
}

.popup-close {
  position: absolute;
  z-index: 3;
  top: 0.72cqw;
  right: 0.82cqw;
  display: grid;
  width: 2cqw;
  aspect-ratio: 1;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(220, 162, 42, 0.68);
  border-radius: 50%;
  background: rgba(4, 5, 4, 0.92);
  color: #e5b446;
  font-family: Arial, sans-serif;
  font-size: 1.25cqw;
  line-height: 1;
  cursor: pointer;
  transition:
    color 120ms ease,
    background-color 120ms ease,
    transform 120ms ease;
}

.popup-close:hover,
.popup-close:focus-visible {
  background: #b87a0c;
  color: #fff;
  outline: none;
  transform: rotate(4deg) scale(1.06);
}

.popup-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55cqw;
  color: #edbd49;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 1.08cqw;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.popup-kicker span {
  font-size: 1.45cqw;
  filter: drop-shadow(0 0 0.45cqw rgba(241, 174, 34, 0.66));
}

.popup-title {
  margin: 0.78cqw 2cqw 0;
  color: #e4ac37;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: 2.05cqw;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.035em;
  text-shadow: 0 0.12cqw 0 #5d3804;
}

.popup-symbols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.52cqw;
  margin-top: 1.15cqw;
}

.popup-symbol {
  display: flex;
  min-width: 0;
  min-height: 6.4cqw;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.38cqw;
  padding: 0.55cqw 0.35cqw;
  border: 1px solid rgba(219, 162, 43, 0.38);
  border-radius: 0.62cqw;
  background:
    radial-gradient(
      circle at 50% 38%,
      color-mix(in srgb, var(--symbol-color) 13%, transparent),
      transparent 51%
    ),
    linear-gradient(180deg, rgba(22, 24, 20, 0.96), rgba(4, 5, 4, 0.98));
  box-shadow: inset 0 0 0.8cqw rgba(0, 0, 0, 0.82);
}

.popup-symbol img {
  display: block;
  width: 3.15cqw;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(
    0 0 0.45cqw color-mix(in srgb, var(--symbol-color) 48%, transparent)
  );
}

.popup-symbol span {
  display: -webkit-box;
  overflow: hidden;
  color: #e8e3d6;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 0.62cqw;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.popup-result {
  margin-top: 1.08cqw;
  padding: 0.82cqw 1.2cqw 0.9cqw;
  border: 1px solid rgba(225, 171, 56, 0.31);
  border-radius: 0.7cqw;
  background:
    linear-gradient(90deg, rgba(238, 180, 47, 0.035), transparent),
    #080907;
  text-align: left;
}

.popup-result-label {
  display: block;
  color: #d9a536;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 0.64cqw;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.popup-result p {
  margin: 0.35cqw 0 0;
  color: #f0eee8;
  font-family: Arial, sans-serif;
  font-size: 0.88cqw;
  line-height: 1.42;
}

.popup-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75cqw;
  align-items: center;
  margin-top: 0.9cqw;
  color: #e5e0d5;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 0.68cqw;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.popup-progress[hidden] {
  display: none;
}

.popup-progress-blocks {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.25cqw;
}

.popup-progress-blocks span {
  height: 0.82cqw;
  border: 1px solid rgba(222, 177, 72, 0.23);
  border-radius: 0.15cqw;
  background: #252622;
}

.popup-progress-blocks .is-unlocked {
  border-color: #ffd45d;
  background: linear-gradient(180deg, #f8cd49, #b77705);
  box-shadow: 0 0 0.42cqw rgba(244, 180, 31, 0.32);
}

.popup-progress strong {
  color: #f4f0e7;
  font-size: 0.95cqw;
  white-space: nowrap;
}

.popup-primary {
  width: 72%;
  min-height: 3.25cqw;
  margin-top: 1cqw;
  padding: 0.62cqw 1.4cqw;
  border: 1px solid #ffdc7d;
  border-radius: 0.5cqw;
  background:
    linear-gradient(180deg, rgba(255, 231, 153, 0.42), transparent 36%),
    linear-gradient(180deg, #dda22a, #9b5d04);
  box-shadow:
    inset 0 0 0 0.16cqw rgba(71, 36, 0, 0.44),
    0 0.45cqw 1.25cqw rgba(0, 0, 0, 0.52);
  color: #fff8e7;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 1.04cqw;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 0.1cqw 0 #624005;
  cursor: pointer;
  transition:
    filter 120ms ease,
    transform 90ms ease;
}

.popup-primary[hidden] {
  display: none;
}

.popup-offer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
  text-decoration: none;
}

.popup-primary:hover,
.popup-primary:focus-visible {
  filter: brightness(1.18) saturate(1.08);
  outline: none;
}

.popup-primary:active {
  transform: translateY(0.12cqw) scale(0.99);
  filter: brightness(0.94);
}

.achievement-popup.is-jackpot {
  width: 62%;
  border-color: #ffd765;
  background:
    radial-gradient(circle at 50% 12%, rgba(244, 185, 43, 0.24), transparent 34%),
    linear-gradient(180deg, #111108, #040503);
  box-shadow:
    inset 0 0 0 1px rgba(255, 234, 156, 0.18),
    0 0 3cqw rgba(231, 166, 31, 0.28),
    0 2cqw 5cqw rgba(0, 0, 0, 0.96);
}

.achievement-popup.is-jackpot .popup-title {
  font-size: 3.35cqw;
  background: linear-gradient(180deg, #fff2af 0%, #efb62e 58%, #9c6000 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: none;
}

.achievement-popup.is-jackpot .popup-result {
  text-align: center;
}

.achievement-popup.is-jackpot .popup-symbols {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.achievement-popup.is-jackpot .popup-symbol {
  min-height: 5.7cqw;
  padding-right: 0.2cqw;
  padding-left: 0.2cqw;
}

.achievement-popup.is-jackpot .popup-symbol img {
  display: none;
}

.achievement-popup.is-jackpot .popup-symbol::before {
  content: "";
  display: block;
  width: 2.65cqw;
  aspect-ratio: 1;
  background: var(--symbol-color);
  filter: drop-shadow(
    0 0 0.55cqw color-mix(in srgb, var(--symbol-color) 58%, transparent)
  );
  mask: var(--symbol-icon) center / contain no-repeat;
  -webkit-mask: var(--symbol-icon) center / contain no-repeat;
}

.achievement-popup.is-jackpot .popup-symbol span {
  font-size: 0.54cqw;
}

.achievement-popup.is-jackpot .popup-primary {
  background:
    linear-gradient(180deg, rgba(255, 240, 183, 0.52), transparent 36%),
    linear-gradient(180deg, #edb937, #a96805);
}

.gold-particle {
  --particle-x: 50%;
  --particle-delay: 0s;
  --particle-duration: 2s;
  position: absolute;
  z-index: 1;
  top: -4%;
  left: var(--particle-x);
  width: 0.32cqw;
  aspect-ratio: 1;
  border-radius: 18%;
  background: linear-gradient(145deg, #fff0a5, #ce8507);
  box-shadow: 0 0 0.45cqw rgba(237, 174, 34, 0.65);
  opacity: 0;
  pointer-events: none;
  animation: gold-fall var(--particle-duration) var(--particle-delay) ease-in
    forwards;
}

@keyframes gold-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -1cqw, 0) rotate(0);
  }
  12% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate3d(-2cqw, 38cqw, 0) rotate(430deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 760px) {
  body {
    display: block;
  }

  .landing-canvas {
    width: 100%;
    min-height: 100svh;
    aspect-ratio: auto;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 7vw 5vw 10vw;
    container-type: normal;
  }

  .identity,
  .hero-copy,
  .profile-panel,
  .machine-stage {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .identity-name {
    font-size: 6.5vw;
  }

  .identity-role {
    margin-top: 1.4vw;
    font-size: 3.5vw;
  }

  .hero-copy {
    margin-top: 10vw;
  }

  .hero-copy h1 span {
    font-size: 9vw;
  }

  .hero-copy h1 strong {
    margin-top: 1.8vw;
    font-size: 8.2vw;
  }

  .hero-copy p {
    margin-top: 4vw;
    font-size: 3.8vw;
  }

  .profile-panel {
    display: grid;
    grid-template-columns: 31vw 1fr;
    gap: 6vw;
    align-items: center;
    margin-top: 10vw;
    border-right: 0;
  }

  .profile-photo-frame {
    width: 31vw;
    border-width: 0.8vw;
  }

  .profile-stats {
    width: 100%;
    margin: 0;
  }

  .profile-stats > div {
    margin-bottom: 3.2vw;
    padding-bottom: 3.2vw;
  }

  .profile-stats dt {
    font-size: 6vw;
  }

  .profile-stats dd {
    margin-top: 1.2vw;
    font-size: 3.2vw;
  }

  .social-links {
    grid-column: 1 / -1;
    gap: 4vw;
    margin-top: 1vw;
  }

  .social-links a {
    width: 9vw;
    height: 9vw;
  }

  .machine-stage {
    width: 126%;
    margin-top: 4vw;
    margin-left: -13%;
  }

  .reel-item.is-center > .reel-label {
    font-size: 1.42vw;
  }

  .achievement-readout .achievement-count {
    font-size: 1.85vw;
  }

  .achievement-readout > span {
    font-size: 1.62vw;
  }

  .social-cv-mark b {
    font-size: 2.2vw;
  }

  .social-cv-mark i {
    font-size: 3.35vw;
  }

  .win-modal {
    position: fixed;
    padding: 5vw;
    backdrop-filter: blur(2.2vw);
  }

  .achievement-popup {
    width: 100%;
    max-height: 90svh;
    padding: 5.5vw 4vw 5vw;
    border-radius: 3vw;
  }

  .popup-close {
    top: 2.4vw;
    right: 2.5vw;
    width: 8vw;
    font-size: 5vw;
  }

  .popup-kicker {
    gap: 2vw;
    padding-right: 5vw;
    padding-left: 5vw;
    font-size: 3.4vw;
  }

  .popup-kicker span {
    font-size: 5vw;
  }

  .popup-title {
    margin-top: 3.2vw;
    font-size: 7vw;
  }

  .popup-symbols {
    grid-template-columns: repeat(5, minmax(14vw, 1fr));
    gap: 1.5vw;
    margin-top: 4vw;
    overflow-x: auto;
    padding-bottom: 1vw;
  }

  .popup-symbol {
    min-height: 25vw;
    gap: 1.4vw;
    padding: 2vw 1vw;
    border-radius: 2vw;
  }

  .popup-symbol img {
    width: 12vw;
  }

  .popup-symbol span {
    font-size: 2.3vw;
  }

  .popup-result {
    margin-top: 4vw;
    padding: 3vw;
    border-radius: 2vw;
  }

  .popup-result-label {
    font-size: 2.5vw;
  }

  .popup-result p {
    margin-top: 1.5vw;
    font-size: 3.45vw;
  }

  .popup-progress {
    gap: 2.2vw;
    margin-top: 3vw;
    font-size: 2.5vw;
  }

  .popup-progress-blocks {
    gap: 0.8vw;
  }

  .popup-progress-blocks span {
    height: 3vw;
    border-radius: 0.5vw;
  }

  .popup-progress strong {
    font-size: 3.3vw;
  }

  .popup-primary {
    width: 100%;
    min-height: 13vw;
    margin-top: 4vw;
    border-radius: 2vw;
    font-size: 4vw;
  }

  .achievement-popup.is-jackpot .popup-title {
    font-size: 12vw;
  }

  .achievement-popup.is-jackpot {
    width: 100%;
  }

  .achievement-popup.is-jackpot .popup-symbols {
    grid-template-columns: repeat(8, minmax(14vw, 1fr));
  }

  .achievement-popup.is-jackpot .popup-symbol {
    min-height: 25vw;
  }

  .achievement-popup.is-jackpot .popup-symbol img {
    display: none;
  }

  .achievement-popup.is-jackpot .popup-symbol::before {
    width: 12vw;
  }

  .achievement-popup.is-jackpot .popup-symbol span {
    font-size: 2.3vw;
  }
}
