:root {
  color-scheme: dark;
  --page-bg: #050814;
  --header-bg: #030711;
  --text: #f7f8ff;
  --muted: #aab0c1;
  --soft: #778097;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .17);
  --pink: #ff4f96;
  --pink-strong: #f0337a;
  --pink-deep: #c81761;
  --violet: #9d31ff;
  --blue: #16a7ff;
  --green: #39ba37;
  --content-gutter: 64px;
  --content: min(1408px, calc(100vw - (var(--content-gutter) * 2)));
  --hero-height: 516px;
  --machine-max-width: 790px;
  --machine-ratio: 790 / 376;
  --machine-badge-width: 292px;
  --machine-badge-top: -60px;
  --machine-window-inline: clamp(18px, 6.85%, 54px);
  --machine-window-top: 23.9%;
  --machine-window-bottom: 11.2%;
  --mini-track-gap: clamp(8px, 1.8vw, 14px);
  --mini-track-pad-x: clamp(10px, 2.6vw, 20px);
  --mini-track-pad-top: clamp(8px, 1.6vw, 12px);
  --mini-track-pad-bottom: clamp(10px, 2.3vw, 18px);
  --mini-card-width: clamp(132px, 31%, 214px);
  --mini-selector-width: clamp(132px, 35%, 232px);
  --mini-edge-fade: clamp(28px, 13%, 90px);
  --mini-card-year-size: clamp(14px, 1.45vw, 19px);
  --mini-card-name-size: clamp(12px, 1.28vw, 17px);
  --mini-card-rarity-size: clamp(12px, 1.28vw, 17px);
  font-family: var(--font-ui);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-ui);
  font-feature-settings: "liga" 1, "calt" 1;
  font-optical-sizing: auto;
  font-synthesis: none;
  background-color: var(--page-bg);
  background:
    radial-gradient(circle at 78% 32%, rgba(255, 79, 150, .14), transparent 30rem),
    linear-gradient(180deg, #070a16 0%, #020712 58%, #030817 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

svg {
  display: block;
}

.site-header {
  position: relative;
  z-index: 20;
  height: 92px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(3, 7, 17, .96);
}

.header-inner {
  width: var(--content);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(430px, 1fr) 256px;
  align-items: center;
  gap: 22px;
}

.brand {
  display: grid;
  grid-template-columns: 94px 1fr;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.brand-mark {
  width: 94px;
  height: 44px;
  fill: #fff;
  filter: drop-shadow(0 10px 20px rgba(255, 255, 255, .08));
}

.brand-text {
  display: grid;
  gap: 0;
  font-size: 22px;
  line-height: .96;
  font-weight: 900;
  font-style: italic;
  text-shadow: 0 7px 20px rgba(0, 0, 0, .45);
}

.brand-text span:nth-child(3) {
  color: var(--pink);
  font-size: 17px;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 43px;
  height: 100%;
  font-size: 14px;
  font-weight: 900;
  color: rgba(255, 255, 255, .78);
}

.primary-nav a {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  outline: none;
  transition: color .18s ease;
}

.primary-nav a:not(.nav-disabled):hover,
.primary-nav a.active {
  color: var(--pink);
}

.primary-nav a.active::after {
  content: "";
  position: absolute;
  left: -15px;
  right: -15px;
  bottom: 21px;
  height: 1px;
  background: var(--pink);
  box-shadow: 0 0 12px rgba(255, 79, 150, .8);
}

.primary-nav a.nav-disabled {
  color: rgba(154, 162, 183, .48);
  cursor: default;
}

.primary-nav a.nav-disabled:hover {
  color: rgba(190, 197, 212, .72);
}

.primary-nav a.nav-disabled::before {
  content: attr(data-coming-soon);
  position: absolute;
  left: 50%;
  top: calc(100% - 18px);
  z-index: 30;
  min-width: 112px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  background: rgba(10, 15, 28, .96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .42);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
}

.primary-nav a.nav-disabled:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 19px;
}

.profile-button {
  position: relative;
  width: 50px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: transparent;
  color: rgba(154, 162, 183, .48);
  cursor: default;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.profile-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.profile-button:hover,
.profile-button:focus-visible {
  border-color: rgba(190, 197, 212, .2);
  background: rgba(190, 197, 212, .06);
  color: rgba(190, 197, 212, .72);
}

.profile-button::before {
  content: attr(data-coming-soon);
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  min-width: 112px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  background: rgba(10, 15, 28, .96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .42);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
}

.profile-button:hover::before,
.profile-button:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.spin-now,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  background: linear-gradient(180deg, #f03b82 0%, #df246e 100%);
  box-shadow:
    0 12px 30px rgba(223, 36, 110, .34),
    inset 0 1px 0 rgba(255, 255, 255, .24);
  color: #fff;
  font-weight: 900;
  transition: transform .18s ease, filter .18s ease;
}

/* Temporarily hidden while the header action set is being refined. */
.spin-now {
  display: none;
}

.spin-now:hover,
.primary-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.spin-now {
  width: 144px;
  min-height: 46px;
  font-size: 14px;
}

.spin-now svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.site-main {
  position: relative;
}

.page-panel[hidden] {
  display: none;
}

.home-page {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: var(--hero-height);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse at 62% 16%, rgba(255, 73, 164, .34), transparent 24rem),
    radial-gradient(ellipse at 56% 62%, rgba(255, 42, 142, .18), transparent 32rem),
    radial-gradient(ellipse at 18% 44%, rgba(83, 31, 112, .52), transparent 38rem),
    linear-gradient(180deg, #10112a 0%, #150d27 45%, #080813 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -2;
  height: 245px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 8, 20, .48) 24%, rgba(3, 7, 17, .95) 100%),
    radial-gradient(ellipse at 32% 80%, rgba(255, 51, 136, .24), transparent 24rem);
}

.hero-inner {
  position: relative;
  width: var(--content);
  min-height: var(--hero-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 39% 61%;
}

.hero-inner::before,
.hero-inner::after {
  content: "";
  position: absolute;
  left: calc((100vw - var(--content)) / -2);
  right: calc((100vw - var(--content)) / -2);
  z-index: -1;
  pointer-events: none;
}

.hero-inner::before {
  top: 18px;
  height: 250px;
  background:
    linear-gradient(145deg, transparent 0 8%, #050712 8.2% 17%, transparent 17.2%),
    linear-gradient(154deg, transparent 0 16%, rgba(4, 7, 18, .94) 16.2% 28%, transparent 28.2%),
    linear-gradient(164deg, transparent 0 27%, rgba(5, 8, 20, .86) 27.2% 41%, transparent 41.2%),
    linear-gradient(14deg, transparent 0 78%, rgba(5, 8, 20, .94) 78.2% 100%);
  opacity: .95;
}

.hero-inner::after {
  bottom: 0;
  height: 205px;
  background:
    radial-gradient(ellipse at 24% 77%, rgba(255, 64, 145, .3), transparent 20rem),
    linear-gradient(180deg, transparent 0%, rgba(5, 8, 20, .8) 58%, #050814 100%);
}

.hero-copy {
  position: relative;
  z-index: 5;
  align-self: start;
  padding-top: 103px;
  max-width: 500px;
}

.hero-copy h1 {
  margin: 0;
  display: grid;
  gap: 0;
  font-size: clamp(48px, 4.5vw, 66px);
  line-height: .96;
  font-weight: 900;
  font-style: italic;
  text-shadow: 0 7px 20px rgba(0, 0, 0, .45);
}

.hero-copy h1 span:nth-child(2) {
  color: var(--pink);
  text-shadow:
    0 10px 24px rgba(255, 45, 132, .38),
    0 1px 0 rgba(255, 255, 255, .15);
}

.hero-copy p {
  max-width: 455px;
  margin: 20px 0 0;
  color: #c0c5d1;
  font-size: 19px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 29px;
}

.primary-button {
  width: 216px;
  min-height: 56px;
  padding: 0 22px;
  font-size: 15px;
}

.primary-button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #b8bdca;
  font-size: 13px;
  font-weight: 900;
}

.text-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.text-link:hover {
  color: #fff;
}

.wheel-showcase {
  position: relative;
  min-height: var(--hero-height);
}

.spin-machine {
  position: absolute;
  right: 0;
  top: 78px;
  width: min(var(--machine-max-width), 100%);
  aspect-ratio: var(--machine-ratio);
  height: auto;
  border: 1px solid rgba(184, 218, 255, .18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .11), transparent 17%),
    linear-gradient(90deg, #070712 0%, #14121d 8%, #05060d 10%, #191522 50%, #05060d 90%, #14121d 92%, #070712 100%);
  box-shadow:
    0 32px 70px rgba(0, 0, 0, .72),
    0 0 65px rgba(255, 52, 159, .22),
    inset 0 0 0 8px rgba(0, 0, 0, .3);
  transform: perspective(900px) rotateX(1deg);
}

.spin-machine::before {
  content: "";
  position: absolute;
  left: clamp(10px, 2.1%, 16px);
  right: clamp(10px, 2.1%, 16px);
  top: 4.8%;
  height: 13.8%;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 79, 150, .95) 16%, transparent 25% 73%, rgba(255, 79, 150, .95) 82%, transparent),
    linear-gradient(180deg, #11101a, #05050b);
  box-shadow: inset 0 -12px 24px rgba(0, 0, 0, .55);
}

.spin-machine::after {
  content: "";
  position: absolute;
  inset: 15.4% 1.8% 4.8%;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .76), transparent 8% 92%, rgba(0, 0, 0, .76)),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .32));
  box-shadow:
    inset 0 0 35px rgba(0, 0, 0, .7),
    inset 0 0 0 8px rgba(0, 0, 0, .32);
}

.machine-light {
  position: absolute;
  z-index: 2;
  top: 9.6%;
  width: clamp(28px, 5.6%, 44px);
  height: clamp(6px, 1.2%, 9px);
  border-radius: 999px;
  background: #ff4f96;
  box-shadow: 0 0 22px rgba(255, 79, 150, .95);
}

.machine-light-left {
  left: 18.4%;
}

.machine-light-right {
  right: 18.4%;
}

.mini-wheel-window {
  position: absolute;
  z-index: 3;
  left: var(--machine-window-inline);
  right: var(--machine-window-inline);
  top: var(--machine-window-top);
  bottom: var(--machine-window-bottom);
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82), transparent 11% 89%, rgba(0, 0, 0, .82)),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(8, 10, 24, .6));
  box-shadow:
    inset 0 0 34px rgba(0, 0, 0, .76),
    0 0 42px rgba(255, 79, 150, .22);
}

.mini-wheel-window::before,
.mini-wheel-window::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: var(--mini-edge-fade);
  pointer-events: none;
}

.mini-wheel-window::before {
  left: 0;
  background: linear-gradient(90deg, rgba(3, 5, 14, .95), transparent);
}

.mini-wheel-window::after {
  right: 0;
  background: linear-gradient(270deg, rgba(3, 5, 14, .95), transparent);
}

.mini-wheel-selector {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: -8px;
  bottom: -8px;
  width: var(--mini-selector-width);
  transform: translateX(-50%);
  border: 3px solid rgba(255, 186, 255, .7);
  border-radius: 7px;
  box-shadow:
    0 0 34px rgba(255, 79, 150, .72),
    inset 0 0 26px rgba(255, 79, 150, .24);
  pointer-events: none;
}

.mini-wheel-track {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: var(--mini-track-gap);
  padding: var(--mini-track-pad-top) var(--mini-track-pad-x) var(--mini-track-pad-bottom);
  will-change: transform;
  transition: transform .82s cubic-bezier(.11, .78, .16, 1);
}

.mini-wheel-track.no-transition {
  transition: none;
}

.mini-wheel-card {
  position: relative;
  flex: 0 0 var(--mini-card-width);
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  justify-items: center;
  overflow: hidden;
  padding-top: clamp(8px, 2.2vw, 14px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 5px;
  color: #fff;
  opacity: .55;
  transform: scale(.92);
  background:
    radial-gradient(ellipse at 50% 58%, rgba(255, 255, 255, .2), transparent 55%),
    linear-gradient(180deg, #3925d7 0%, #6730df 50%, #aa22e0 100%);
  box-shadow:
    inset 0 0 34px rgba(0, 0, 0, .22),
    0 16px 34px rgba(0, 0, 0, .36);
  transition: transform .82s cubic-bezier(.11, .78, .16, 1), opacity .82s ease, filter .82s ease;
}

.mini-wheel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .08) 0 12%, transparent 12% 18%, rgba(255, 255, 255, .05) 18% 30%, transparent 30% 100%);
  background-size: 42px 100%;
  opacity: .62;
}

.mini-wheel-card.is-active {
  z-index: 3;
  opacity: 1;
  transform: scale(1);
  filter: saturate(1.08) brightness(1.05);
  box-shadow:
    0 0 0 3px rgba(255, 186, 255, .46),
    0 0 38px rgba(180, 65, 255, .76),
    inset 0 0 38px rgba(255, 255, 255, .08);
}

.mini-wheel-card.rarity-legendary {
  background:
    radial-gradient(ellipse at 50% 58%, rgba(255, 255, 255, .18), transparent 55%),
    linear-gradient(180deg, #b35f08 0%, #d28b10 50%, #ffb22c 100%);
}

.mini-wheel-card.rarity-rare {
  background:
    radial-gradient(ellipse at 50% 58%, rgba(255, 255, 255, .18), transparent 55%),
    linear-gradient(180deg, #0f76cc 0%, #178ee9 48%, #2fc6ff 100%);
}

.mini-wheel-card span,
.mini-wheel-card strong,
.mini-wheel-card img,
.mini-wheel-card em {
  position: relative;
  z-index: 2;
}

.mini-wheel-card span {
  font-size: var(--mini-card-year-size);
  line-height: 1;
  font-weight: 900;
}

.mini-wheel-card strong {
  margin-top: 2px;
  text-align: center;
  font-size: var(--mini-card-name-size);
  line-height: 1.08;
  font-weight: 900;
}

.mini-wheel-card img {
  align-self: end;
  width: 96%;
  max-height: min(48%, 112px);
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .54));
}

.mini-wheel-card em {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: clamp(24px, 14%, 34px);
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(132, 18, 197, .88));
  color: rgba(255, 255, 255, .88);
  font-style: normal;
  font-size: var(--mini-card-rarity-size);
  line-height: 1;
  font-weight: 900;
}

.mini-wheel-card.rarity-legendary em {
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(171, 87, 2, .9));
}

.mini-wheel-card.rarity-rare em {
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(14, 100, 178, .9));
}

.wheel-badge {
  position: absolute;
  z-index: 8;
  top: var(--machine-badge-top);
  left: 50%;
  width: var(--machine-badge-width);
  aspect-ratio: 292 / 142;
  height: auto;
  transform: translateX(-50%);
  color: #fff;
  pointer-events: none;
}

.badge-ring {
  /* Temporarily hidden while the hero badge treatment is being refined. */
  display: none;
  position: absolute;
  left: 50%;
  top: 0;
  width: 140px;
  height: 140px;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 58%, rgba(55, 93, 176, .72) 0 34%, transparent 35%),
    radial-gradient(circle, transparent 0 54%, #fff 55% 60%, transparent 61%),
    conic-gradient(from -18deg, #ff4f96 0 24%, #7439f2 24% 52%, #1b74d8 52% 76%, #ff4f96 76% 100%);
  border: 6px solid rgba(255, 255, 255, .94);
  box-shadow:
    0 0 0 11px rgba(255, 79, 150, .16),
    0 0 34px rgba(255, 79, 150, .82),
    inset 0 0 24px rgba(0, 0, 0, .34);
}

.badge-ring::before {
  content: "";
  position: absolute;
  inset: -19px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 0, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 100% 50%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 50% 100%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 0 50%, #fff 0 4px, transparent 5px);
  filter: drop-shadow(0 0 8px #ff4f96);
}

.wheel-badge span,
.wheel-badge strong {
  position: absolute;
  left: 50%;
  z-index: 2;
  isolation: isolate;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  background: transparent;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.wheel-badge span::before,
.wheel-badge strong::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: skew(-4deg);
  transform-origin: center;
  background: rgba(7, 10, 22, .88);
  border: 2px solid rgba(255, 79, 150, .82);
  box-shadow:
    0 0 20px rgba(255, 79, 150, .55),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.wheel-badge span {
  top: 31.7%;
  width: 55.5%;
  height: 24%;
  font-size: clamp(15px, 1.45vw, 21px);
  line-height: 1;
}

.wheel-badge strong {
  top: 53.5%;
  width: 91.8%;
  height: 33.8%;
  font-size: clamp(23px, 2.2vw, 32px);
  line-height: 1;
}

.hero-arrow {
  position: absolute;
  z-index: 9;
  top: calc(var(--machine-window-top) + ((100% - var(--machine-window-top) - var(--machine-window-bottom)) / 2));
  width: 58px;
  height: 78px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
  transform: translateY(-50%);
}

.hero-arrow span {
  display: block;
  width: 0;
  height: 0;
  filter:
    drop-shadow(0 0 8px rgba(255, 79, 150, .95))
    drop-shadow(0 0 15px rgba(255, 255, 255, .6));
}

.hero-arrow-left {
  left: -48px;
}

.hero-arrow-left span {
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 44px solid #fff;
}

.hero-arrow-right {
  right: -48px;
}

.hero-arrow-right span {
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-right: 44px solid #fff;
}

.stats-strip {
  width: var(--content);
  min-height: 118px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(20, 27, 45, .88), rgba(10, 15, 28, .84)),
    radial-gradient(circle at 10% 0, rgba(255, 79, 150, .12), transparent 24rem);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px);
}

.stat-item {
  min-width: 0;
  height: 72px;
  display: grid;
  grid-template-columns: 75px 1fr;
  align-items: center;
  padding: 0 32px;
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: var(--pink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(255, 79, 150, .42));
}

.stat-item strong {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
}

.stat-item span {
  display: block;
  margin-top: 8px;
  color: #9aa2b7;
  font-size: 14px;
  font-weight: 800;
}

.feature-grid {
  width: var(--content);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 164px;
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 28px;
  padding: 29px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(20, 27, 47, .74), rgba(9, 15, 31, .82)),
    radial-gradient(circle at 12% 0, rgba(255, 79, 150, .09), transparent 18rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.feature-icon {
  width: 100px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 79, 150, .28), transparent 64%),
    linear-gradient(135deg, rgba(255, 79, 150, .24), rgba(58, 20, 77, .75));
}

.feature-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: var(--pink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(255, 79, 150, .44));
}

.feature-card h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
}

.feature-card p {
  max-width: 285px;
  margin: 13px 0 0;
  color: #aab0c1;
  font-size: 16px;
  line-height: 1.45;
}

.site-footer {
  width: var(--content);
  margin: 27px auto 22px;
  text-align: center;
  color: #878fa3;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #8a91a4;
  transition: color .18s ease, transform .18s ease;
}

.socials a[aria-disabled="true"] {
  color: rgba(138, 145, 164, .42);
  cursor: not-allowed;
}

.socials a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.socials a[aria-disabled="true"]:hover {
  color: rgba(138, 145, 164, .42);
  transform: none;
}

.socials svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 1180px) {
  :root {
    --content-gutter: 24px;
    --machine-ratio: 790 / 376;
    --machine-badge-width: clamp(220px, 32vw, 292px);
    --machine-badge-top: clamp(-60px, -5.1vw, -42px);
    --mini-card-width: clamp(148px, 28vw, 214px);
    --mini-selector-width: clamp(156px, 31vw, 232px);
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    grid-template-columns: 70px 1fr;
    gap: 10px;
  }

  .brand-mark {
    width: 70px;
  }

  .brand-text {
    font-size: 18px;
  }

  .brand-text span:nth-child(3) {
    font-size: 14px;
  }

  .primary-nav {
    gap: 22px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      radial-gradient(ellipse at 68% 14%, rgba(255, 73, 164, .28), transparent 22rem),
      radial-gradient(ellipse at 58% 62%, rgba(255, 42, 142, .14), transparent 28rem),
      radial-gradient(ellipse at 18% 38%, rgba(83, 31, 112, .42), transparent 32rem),
      linear-gradient(180deg, #10112a 0%, #130c24 48%, #080813 100%);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 32px;
  }

  .hero-copy {
    max-width: 600px;
    padding-top: 58px;
  }

  .wheel-showcase {
    min-height: auto;
    display: grid;
    place-items: center;
    margin-top: 22px;
    padding-top: clamp(62px, 8vw, 78px);
  }

  .spin-machine {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: min(100%, var(--machine-max-width));
    transform: perspective(900px) rotateX(1deg);
  }

  .wheel-badge {
    aspect-ratio: 292 / 142;
    height: auto;
  }

  .hero-arrow {
    display: none;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 0;
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --content-gutter: 16px;
    --machine-ratio: 1.82 / 1;
    --machine-badge-width: clamp(190px, 40vw, 240px);
    --machine-badge-top: clamp(-48px, -6.6vw, -34px);
    --machine-window-inline: clamp(16px, 6.2%, 34px);
    --machine-window-top: 24%;
    --machine-window-bottom: 9.5%;
    --mini-track-gap: clamp(8px, 2vw, 12px);
    --mini-track-pad-x: clamp(9px, 2.4vw, 14px);
    --mini-card-width: clamp(126px, 24vw, 174px);
    --mini-selector-width: clamp(128px, 25vw, 180px);
    --mini-edge-fade: clamp(24px, 10%, 52px);
    --mini-card-year-size: clamp(14px, 2.1vw, 17px);
    --mini-card-name-size: clamp(12px, 1.95vw, 15px);
    --mini-card-rarity-size: clamp(12px, 1.9vw, 15px);
  }

  .site-header {
    height: auto;
  }

  .header-inner {
    min-height: 92px;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 14px 0;
  }

  .primary-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: flex-start;
    order: 3;
    height: 44px;
    gap: 10px;
    overflow-x: auto;
    font-size: 12px;
  }

  .primary-nav a {
    height: 44px;
    min-width: fit-content;
    padding: 0 6px;
  }

  .primary-nav a.active::after {
    bottom: 4px;
  }

  .primary-nav a.nav-disabled::before {
    top: 39px;
  }

  .spin-now {
    width: 132px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 10.8vw, 58px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .wheel-showcase {
    padding-top: clamp(56px, 9vw, 70px);
  }

  .spin-machine {
    width: 100%;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stat-item,
  .stat-item:nth-child(2),
  .stat-item:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .feature-card {
    grid-template-columns: 82px 1fr;
    gap: 20px;
    padding: 22px;
  }

  .feature-icon {
    width: 82px;
    height: 84px;
  }

  .feature-icon svg {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 520px) {
  :root {
    --machine-ratio: 1.58 / 1;
    --machine-badge-width: clamp(170px, 48vw, 202px);
    --machine-badge-top: clamp(-42px, -8vw, -30px);
    --machine-window-inline: clamp(14px, 5.3%, 22px);
    --machine-window-top: 25.2%;
    --machine-window-bottom: 8.6%;
    --mini-track-gap: 8px;
    --mini-track-pad-x: 8px;
    --mini-track-pad-top: 8px;
    --mini-track-pad-bottom: 10px;
    --mini-card-width: clamp(112px, 34vw, 148px);
    --mini-selector-width: clamp(118px, 36vw, 152px);
    --mini-edge-fade: 26px;
    --mini-card-year-size: clamp(12px, 3.3vw, 15px);
    --mini-card-name-size: clamp(10px, 2.9vw, 13px);
    --mini-card-rarity-size: clamp(11px, 3vw, 13px);
  }

  .brand {
    grid-template-columns: 56px 1fr;
  }

  .brand-mark {
    width: 56px;
  }

  .brand-text {
    font-size: 15px;
  }

  .brand-text span:nth-child(3) {
    font-size: 12px;
  }

  .spin-now {
    width: 50px;
  }

  .spin-now span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .hero-copy {
    padding-top: 32px;
  }

  .hero::before {
    background:
      radial-gradient(ellipse at 82% 11%, rgba(255, 73, 164, .18), transparent 15rem),
      radial-gradient(ellipse at 44% 62%, rgba(255, 42, 142, .09), transparent 19rem),
      radial-gradient(ellipse at 18% 24%, rgba(83, 31, 112, .34), transparent 22rem),
      linear-gradient(180deg, #101128 0%, #100b20 48%, #070812 100%);
  }

  .hero::after {
    height: 198px;
    background:
      linear-gradient(180deg, transparent 0%, rgba(5, 8, 20, .58) 22%, rgba(3, 7, 17, .96) 100%),
      radial-gradient(ellipse at 50% 82%, rgba(255, 51, 136, .12), transparent 16rem);
  }

  .hero-inner::before {
    height: 188px;
    opacity: .9;
  }

  .hero-inner::after {
    height: 160px;
    background:
      radial-gradient(ellipse at 45% 76%, rgba(255, 64, 145, .14), transparent 14rem),
      linear-gradient(180deg, transparent 0%, rgba(5, 8, 20, .82) 58%, #050814 100%);
  }

  .hero-copy h1 {
    font-size: clamp(36px, 10.2vw, 48px);
  }

  .hero-copy p {
    font-size: 16px;
  }

  .primary-button {
    width: 100%;
  }

  .text-link {
    width: 100%;
    justify-content: center;
  }

  .wheel-showcase {
    padding-top: 54px;
  }

  .spin-machine {
    width: 100%;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }
}
