/* MASTER IT TCG — shared experience layer */
:root {
  --bg: #05050a;
  --panel: rgba(14, 15, 24, 0.72);
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #f8f8fb;
  --muted: #a4a7b4;
  --muted-2: #d9dbe3;
  --blue: #5672ff;
  --blue-bright: #8ea0ff;
  --violet: #a86dff;
  --gold: #f1c75b;
  --max: 1240px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-padding-top: 112px;
}

body {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(circle at 78% -8%, rgba(111, 75, 255, 0.22), transparent 30rem),
    radial-gradient(circle at -10% 28%, rgba(48, 82, 255, 0.11), transparent 32rem),
    #05050a;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

::selection {
  color: #fff;
  background: rgba(86, 114, 255, 0.65);
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a,
button {
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease,
    transform 220ms var(--ease-out);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(142, 160, 255, 0.72);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  background: #151827;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1001;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--gold));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.cursor-aura {
  position: fixed;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(91, 111, 255, 0.12), transparent 68%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 500ms ease;
}

body.has-pointer .cursor-aura {
  opacity: 1;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: rgba(13, 14, 22, 0.74);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  color: #10111a;
  background: #fff;
  transform: translateY(-3px);
}

.shell,
.nav-inner {
  width: min(calc(100% - 48px), var(--max));
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 100;
  width: min(calc(100% - 28px), 1280px);
  margin: 14px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(7, 8, 13, 0.58);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(20px) saturate(140%);
  transition:
    background 300ms ease,
    box-shadow 300ms ease,
    border-color 300ms ease,
    transform 300ms var(--ease-out);
}

.nav.is-scrolled {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(7, 8, 13, 0.82);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.nav-inner {
  min-height: 74px;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.account-menu {
  position: relative;
  flex: 0 0 auto;
}

.brand img,
.brand-desktop-logo {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.nav-links a,
.back-link {
  position: relative;
}

.nav-links a:not(.account-link)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 260ms var(--ease-out);
}

.nav-links a:not(.account-link):hover::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.account-link,
.waitlist-link,
.btn-primary,
.button,
button:not(.btn-secondary):not(.btn-danger):not(.back-to-top):not(.account-action):not(.catalog-card):not(.card-preview-close):not(.card-preview-dismiss) {
  overflow: hidden;
  border-color: rgba(159, 173, 255, 0.24);
  background: linear-gradient(135deg, #4967ff 0%, #7355f7 100%);
  box-shadow:
    0 14px 34px rgba(63, 83, 234, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.account-link:hover,
.waitlist-link:hover,
.btn-primary:hover,
.button:hover,
button:not(.btn-secondary):not(.btn-danger):not(.back-to-top):not(.account-action):not(.catalog-card):not(.card-preview-close):not(.card-preview-dismiss):hover {
  box-shadow:
    0 18px 46px rgba(76, 92, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transform: translateY(-2px);
}

.account-link {
  min-height: 48px;
  gap: 9px;
  padding: 5px 14px 5px 7px;
  border: 1px solid rgba(159, 173, 255, 0.24);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.account-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: rgba(5, 7, 18, 0.28);
}

.account-avatar svg,
.profile-mark svg {
  width: 19px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-initial {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.account-chevron {
  width: 17px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 250ms var(--ease-out);
}

.account-menu.is-open .account-chevron {
  transform: rotate(180deg);
}

.account-menu.is-open .account-link {
  box-shadow:
    0 18px 46px rgba(76, 92, 255, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.account-popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 250;
  width: min(390px, calc(100vw - 28px));
  max-height: min(690px, calc(100vh - 116px));
  overflow-y: auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(101, 84, 235, 0.2), transparent 36%),
    rgba(8, 9, 16, 0.94);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(26px) saturate(140%);
  transform-origin: 90% 0;
  animation: account-popover-in 260ms var(--ease-out) both;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

@keyframes account-popover-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.account-popover-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-mark {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(144, 158, 255, 0.25);
  border-radius: 15px;
  color: #c9d0ff;
  background: linear-gradient(145deg, rgba(90, 111, 255, 0.2), rgba(130, 73, 221, 0.12));
}

.account-kicker {
  margin: 0 0 4px;
  color: #9da8e9;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.account-popover-head h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.account-intro {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.account-popover .form-row {
  margin-bottom: 12px;
}

.account-popover .input {
  min-height: 48px;
  border-radius: 14px;
}

.account-submit {
  width: 100%;
  min-height: 49px;
  margin-top: 3px;
  border-radius: 14px;
}

.profile-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.035);
}

.profile-avatar {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(150, 163, 255, 0.26);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #536eff, #8051ed);
  box-shadow: 0 10px 24px rgba(63, 80, 219, 0.26);
  font-weight: 900;
  text-transform: uppercase;
}

.profile-copy {
  min-width: 0;
}

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

.profile-copy span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.profile-copy strong {
  overflow: hidden;
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-status {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.09), 0 0 16px rgba(74, 222, 128, 0.4);
}

.account-action-list {
  display: grid;
  gap: 6px;
}

.account-action {
  width: 100%;
  min-height: 59px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: #e9eaf0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.account-action:hover {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  transform: translateX(2px);
}

.account-action svg {
  width: 21px;
  stroke: #aeb8f4;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-action span,
.account-action strong,
.account-action small {
  display: block;
}

.account-action strong {
  margin-bottom: 3px;
  font-size: 0.84rem;
}

.account-action small {
  color: var(--muted);
  font-size: 0.71rem;
}

.account-action.danger {
  color: #ffc3c3;
}

.account-action.danger svg {
  stroke: #ff9292;
}

.account-action.danger:hover {
  border-color: rgba(248, 113, 113, 0.16);
  background: rgba(248, 113, 113, 0.07);
}

.account-status {
  min-height: 0;
  padding: 10px 12px;
  margin-top: 14px;
  border-radius: 13px;
  font-size: 0.78rem;
}

.account-note {
  margin: 11px 2px 0;
  color: #737887;
  font-size: 0.68rem;
  line-height: 1.5;
}

.btn-secondary,
.back-link {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover,
.back-link:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero {
  position: relative;
}

body[data-page="home"] .hero,
body[data-page="waitlist"] .hero {
  min-height: calc(100svh - 104px);
  display: grid;
  align-items: center;
  padding: clamp(58px, 8vw, 108px) 0 clamp(48px, 7vw, 84px);
}

.eyebrow {
  gap: 9px;
  width: fit-content;
  border-color: rgba(143, 159, 255, 0.2);
  color: #cbd2ff;
  background: rgba(91, 110, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  content: "";
  background: #9aabff;
  box-shadow: 0 0 0 5px rgba(111, 133, 255, 0.1), 0 0 18px #7d92ff;
}

h1,
.section-header h2 {
  text-wrap: balance;
}

h1 {
  font-weight: 860;
  letter-spacing: -0.065em;
}

body[data-page="home"] h1,
body[data-page="waitlist"] h1 {
  max-width: 10.5ch;
  font-size: clamp(3.6rem, 7.2vw, 7.1rem);
  line-height: 0.89;
  background: linear-gradient(112deg, #ffffff 15%, #d5d9ff 52%, #8ea0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy,
.intro {
  max-width: 65ch;
  color: #afb2c1;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.72;
}

.hero-grid {
  gap: clamp(42px, 7vw, 90px);
}

.hero-actions .btn {
  min-height: 56px;
  padding-inline: 24px;
  border-radius: 999px;
}

.nav-store-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #090a0f;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 850;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.nav-store-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.nav-store-link:hover {
  color: #090a0f;
  background: #f0f1f5;
  transform: translateY(-2px);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 9px 20px 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 15px;
  color: #fff;
  background: #050507;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.app-store-badge svg {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  fill: currentColor;
}

.app-store-badge span {
  display: grid;
  gap: 1px;
  text-align: left;
}

.app-store-badge small {
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.01em;
}

.app-store-badge strong {
  font-size: 1.38rem;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.app-store-badge:hover {
  border-color: rgba(255, 255, 255, 0.52);
  color: #fff;
  background: #111218;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.38),
    0 0 0 4px rgba(142, 160, 255, 0.08);
  transform: translateY(-3px);
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 8px;
  color: #d9dbe3;
  font-size: 0.92rem;
  font-weight: 780;
}

.hero-text-link span {
  transition: transform 220ms var(--ease-out);
}

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

.hero-text-link:hover span {
  transform: translateX(4px);
}

.app-store-proof {
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-top: 22px;
  color: #c7cad5;
}

.app-store-proof:not([hidden]) {
  display: flex;
}

.app-store-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.app-store-proof p {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.74rem;
}

.app-store-proof strong {
  color: #fff;
  font-size: 0.86rem;
}

.app-store-proof a {
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 780;
}

.app-store-reviews {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 5vw, 72px);
  margin-top: 8px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 30px;
  background:
    radial-gradient(circle at 5% 10%, rgba(112, 84, 255, 0.18), transparent 32%),
    rgba(11, 12, 19, 0.7);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.app-store-reviews[hidden] {
  display: none;
}

.review-kicker {
  color: var(--blue-bright);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-store-reviews-intro h2 {
  margin: 12px 0 20px;
  max-width: 8ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.app-store-reviews-intro a {
  color: #dfe2ff;
  font-size: 0.86rem;
  font-weight: 800;
}

.app-store-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.app-store-review-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.app-store-review-card:first-child:last-child {
  grid-column: 1 / -1;
}

.review-stars {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.app-store-review-card blockquote {
  margin: 0 0 24px;
  color: #f0f1f7;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  font-weight: 650;
  line-height: 1.55;
}

.app-store-review-card figcaption {
  display: grid;
  gap: 3px;
  margin-top: auto;
  color: #797d8b;
  font-size: 0.72rem;
}

.app-store-review-card figcaption strong {
  color: #c8cad3;
  font-size: 0.78rem;
}

.hero-highlights,
.hero-points {
  margin-top: 42px;
  border-top-color: rgba(255, 255, 255, 0.1);
}

.hero-highlight,
.hero-point {
  position: relative;
  padding-top: 22px;
}

.hero-highlight h3,
.hero-point h3 {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card,
.form-card {
  position: relative;
  isolation: isolate;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 20%), rgba(109, 94, 255, 0.25), transparent 32%),
    linear-gradient(145deg, rgba(27, 25, 50, 0.92), rgba(8, 9, 15, 0.95));
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(130, 145, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
}

.hero-card::before,
.form-card::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  content: "";
  background: linear-gradient(135deg, rgba(172, 181, 255, 0.45), transparent 35%, rgba(169, 95, 255, 0.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.hero-card-inner,
.form-card-inner {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 12, 0.78);
  box-shadow: inset 0 1px 24px rgba(255, 255, 255, 0.025);
  transform-style: preserve-3d;
  transition: transform 450ms var(--ease-out);
}

.hero-card-top {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.17), transparent 28%),
    linear-gradient(135deg, #6c48c7, #37306f);
}

.hero-card-top::after {
  position: absolute;
  right: -35px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.03), 0 0 0 52px rgba(255, 255, 255, 0.02);
}

.catalog-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  color: #ebe7ff;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-label i,
.catalog-foot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8effb0;
  box-shadow: 0 0 0 5px rgba(91, 255, 142, 0.1), 0 0 16px rgba(91, 255, 142, 0.5);
}

.hero-card-top .catalog-count {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(9, 6, 23, 0.18);
  font-size: 0.67rem;
  font-weight: 800;
}

.card-showcase {
  display: grid;
  gap: 9px;
}

.catalog-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 98px;
  padding: 7px 14px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  color: inherit;
  background:
    linear-gradient(100deg, rgba(95, 109, 255, 0.055), transparent 32%),
    rgba(255, 255, 255, 0.018);
  box-shadow: none;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  transition:
    border-color 240ms ease,
    background 240ms ease,
    transform 240ms var(--ease-out);
}

.catalog-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(133, 151, 255, 0.08), transparent 70%);
  transform: translateX(-45%);
  transition: opacity 260ms ease, transform 500ms var(--ease-out);
}

.catalog-card:hover {
  border-color: rgba(146, 159, 255, 0.22);
  background:
    linear-gradient(100deg, rgba(95, 109, 255, 0.085), transparent 38%),
    rgba(255, 255, 255, 0.04);
  transform: translateX(4px);
}

.catalog-card:hover::after {
  opacity: 1;
  transform: translateX(45%);
}

.catalog-card img {
  width: 62px;
  height: auto;
  aspect-ratio: 5 / 7;
  object-fit: contain;
  object-position: center;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background:
    linear-gradient(145deg, rgba(93, 111, 255, 0.22), rgba(140, 75, 210, 0.08)),
    #090a11;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(117, 133, 255, 0.05);
}

.catalog-card-copy {
  min-width: 0;
}

.catalog-card-copy strong,
.catalog-card-copy span,
.catalog-card-copy small {
  display: block;
}

.catalog-card-copy strong {
  overflow: hidden;
  margin-bottom: 5px;
  color: #f5f5f8;
  font-size: 0.94rem;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-card-copy span {
  overflow: hidden;
  margin-bottom: 7px;
  color: #979baa;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-card-copy small {
  width: fit-content;
  padding: 3px 7px;
  border: 1px solid rgba(140, 153, 255, 0.14);
  border-radius: 999px;
  color: #aeb9ff;
  background: rgba(83, 105, 255, 0.08);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body.card-preview-open {
  overflow: hidden;
}

.card-preview-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 46%, rgba(86, 76, 194, 0.14), transparent 36rem),
    rgba(3, 4, 9, 0.62);
}

.card-preview-dialog::backdrop {
  background: rgba(1, 2, 6, 0.78);
  backdrop-filter: blur(18px) saturate(115%);
}

.card-preview-dialog[open] {
  animation: preview-dialog-in 280ms ease both;
}

@keyframes preview-dialog-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.card-preview-shell {
  position: relative;
  width: min(calc(100% - 36px), 880px);
  min-height: 100%;
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 48px 0;
}

.card-preview-panel {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(290px, 1fr) minmax(230px, 0.72fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 12%, rgba(102, 86, 236, 0.18), transparent 34%),
    rgba(10, 11, 19, 0.91);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(26px);
}

.card-preview-close {
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #e9eaf0;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}

.card-preview-close:hover {
  color: #11121a;
  background: #fff;
  transform: rotate(5deg) scale(1.04);
}

.card-preview-stage {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  perspective: 1200px;
}

.card-preview-art {
  --glare-x: 50%;
  --glare-y: 45%;
  position: relative;
  isolation: isolate;
  width: min(100%, 350px);
  aspect-ratio: 5 / 7;
  border-radius: 20px;
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg) scale(1);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 500ms var(--ease-out), filter 300ms ease;
  filter: drop-shadow(0 32px 38px rgba(0, 0, 0, 0.52));
}

.card-preview-art::before {
  position: absolute;
  inset: -10px;
  z-index: -1;
  border: 1px solid rgba(143, 157, 255, 0.18);
  border-radius: 27px;
  content: "";
  background: linear-gradient(145deg, rgba(95, 112, 255, 0.13), rgba(139, 71, 221, 0.05));
  box-shadow: 0 0 70px rgba(79, 91, 238, 0.16);
  transform: translateZ(-12px);
}

.card-preview-art::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  content: "";
  opacity: 0.72;
  background:
    radial-gradient(circle at var(--glare-x) var(--glare-y), rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(115deg, transparent 25%, rgba(91, 219, 255, 0.14) 42%, rgba(200, 117, 255, 0.17) 54%, transparent 70%);
  background-size: 100% 100%, 220% 220%;
  background-position: center, var(--glare-x) var(--glare-y);
  mix-blend-mode: screen;
  transition: opacity 280ms ease;
}

.card-preview-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
  background: #080910;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateZ(1px);
}

.card-preview-copy {
  min-width: 0;
  padding-right: 10px;
}

.card-preview-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #aab5ff;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.card-preview-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: #8effb0;
  box-shadow: 0 0 14px rgba(91, 255, 142, 0.55);
}

.card-preview-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.card-preview-detail {
  margin: 0 0 16px;
  color: #a8abb8;
  font-size: 1rem;
  line-height: 1.55;
}

.card-preview-rarity {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(139, 153, 255, 0.2);
  border-radius: 999px;
  color: #c2caff;
  background: rgba(83, 105, 255, 0.1);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-preview-hint {
  margin: 28px 0 0;
  color: #777b89;
  font-size: 0.76rem;
  line-height: 1.55;
}

.card-preview-dismiss {
  min-height: 46px;
  margin-top: 24px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: #f2f2f5;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
}

.card-preview-dismiss:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.catalog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 5px 0;
  color: #6f7483;
  font-size: 0.62rem;
}

.catalog-foot span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.catalog-foot i {
  width: 5px;
  height: 5px;
}

.mock-row {
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: border-color 240ms ease, background 240ms ease, transform 240ms var(--ease-out);
}

.mock-row:hover {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  transform: translateX(4px);
}

.mock-thumb {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(93, 111, 255, 0.3), rgba(140, 75, 210, 0.08));
}

.mock-thumb::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.mock-line {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045));
}

.section {
  padding: clamp(64px, 9vw, 118px) 0;
}

.section-header {
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section-header h2 {
  max-width: 14ch;
  font-size: clamp(2.7rem, 5.5vw, 5.3rem);
  font-weight: 820;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.section-header p {
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.75;
}

.features-grid,
.story-grid,
.account-grid,
.info-grid {
  gap: 16px;
  border: 0;
}

.feature-card,
.panel,
.info-card,
.support-box,
.content .section,
body[data-page="status"] .card,
body[data-page="status"] main.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(98, 115, 255, 0.1), transparent 35%),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.feature-card,
.info-card {
  padding: clamp(26px, 3.2vw, 42px);
}

.feature-card + .feature-card,
.panel + .panel {
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding-left: clamp(26px, 3.2vw, 42px);
}

.feature-card:hover,
.info-card:hover {
  border-color: rgba(146, 159, 255, 0.25);
  transform: translateY(-6px);
}

.feature-icon-frame {
  transition: transform 500ms var(--ease-out);
}

.feature-card:hover .feature-icon-frame {
  transform: rotate(-3deg) scale(1.05);
}

.feature-icon-frame img {
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.27);
}

.panel {
  padding: clamp(28px, 3.4vw, 44px);
}

.support-box {
  padding: clamp(30px, 4vw, 50px);
}

.panel h3,
.feature-card h3,
.info-card h3,
.support-box h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  letter-spacing: -0.025em;
}

.input,
.select,
.textarea {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(2, 3, 8, 0.65);
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(115, 137, 255, 0.78);
  background: rgba(8, 9, 17, 0.9);
  box-shadow: 0 0 0 4px rgba(86, 114, 255, 0.12);
}

.status,
.message,
.next-card {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.2);
}

.inline-link,
.content a {
  color: #9eaeff;
  text-decoration-color: rgba(158, 174, 255, 0.35);
  text-underline-offset: 4px;
}

footer {
  padding-bottom: 54px;
}

.footer-line,
.divider {
  opacity: 0.7;
}

/* Legal and utility pages */
body[data-page="legal"] .hero,
body[data-page="reset"] .hero {
  padding: clamp(64px, 10vw, 124px) 0 46px;
}

body[data-page="legal"] h1,
body[data-page="reset"] h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: 0.9;
  background: linear-gradient(112deg, #fff, #c9d0ff 72%, #8ea0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body[data-page="legal"] .content {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin-inline: auto;
}

body[data-page="legal"] .content .section {
  padding: clamp(26px, 4vw, 42px);
}

body[data-page="legal"] .content .section h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  letter-spacing: -0.035em;
}

body[data-page="legal"] .content p,
body[data-page="legal"] .content li {
  color: #b4b7c3;
  line-height: 1.82;
}

body[data-page="legal"] .content strong {
  color: #f3f3f7;
}

body[data-page="reset"] .card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

body[data-page="status"] {
  isolation: isolate;
}

body[data-page="status"]::after {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: -1;
  width: 52rem;
  height: 52rem;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(89, 78, 220, 0.18), transparent 66%);
  transform: translate(-50%, -50%);
}

body[data-page="status"] .logo {
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 70px rgba(83, 104, 255, 0.15);
}

body[data-page="status"] h1 {
  text-wrap: balance;
}

@media (min-width: 1101px) {
  body[data-page="home"] .features-grid,
  body[data-page="waitlist"] .info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="home"] .story-grid,
  body[data-page="home"] .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .shell,
  .nav-inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    top: 8px;
    width: min(calc(100% - 16px), 1280px);
    margin-top: 8px;
    border-radius: 18px;
  }

  .nav-inner {
    padding-block: 10px;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-store-link {
    min-height: 42px;
    padding-inline: 13px;
  }

  body[data-page="home"] .hero,
  body[data-page="waitlist"] .hero {
    min-height: auto;
    padding-top: 58px;
  }

  body[data-page="home"] h1,
  body[data-page="waitlist"] h1 {
    font-size: clamp(3.25rem, 15vw, 5.2rem);
  }

  .section {
    padding: 70px 0;
  }

  .section-header h2 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .features-grid,
  .story-grid,
  .account-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .app-store-reviews {
    grid-template-columns: 1fr;
  }

  .app-store-reviews-intro h2 {
    max-width: none;
  }

  .feature-card,
  .feature-card + .feature-card,
  .panel,
  .panel + .panel,
  .info-card {
    padding: 28px;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }

  .card-preview-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card-preview-art {
    width: min(72vw, 300px);
  }

  .card-preview-copy {
    padding: 0;
    text-align: center;
  }

  .card-preview-kicker,
  .card-preview-rarity {
    margin-inline: auto;
  }

  .card-preview-hint {
    margin-top: 18px;
  }
}

@media (max-width: 560px) {
  .nav-actions > .nav-links {
    display: none;
  }

  .account-link {
    min-height: 44px;
    padding: 4px 11px 4px 5px;
  }

  .nav-store-link {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

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

  .app-store-badge {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-text-link {
    width: 100%;
    min-height: 42px;
    justify-content: center;
  }

  .app-store-proof:not([hidden]) {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .app-store-proof a {
    width: 100%;
  }

  .app-store-reviews {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .app-store-review-grid {
    grid-template-columns: 1fr;
  }

  .account-avatar {
    width: 34px;
    height: 34px;
  }

  .account-popover {
    position: fixed;
    top: 76px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100svh - 90px);
    padding: 18px;
  }

  body[data-page="legal"] .nav-inner,
  body[data-page="reset"] .nav-inner {
    flex-direction: row;
    align-items: center;
  }

  body[data-page="legal"] .brand img,
  body[data-page="reset"] .brand img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    object-position: left;
    border-radius: 13px;
  }

  .back-link {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.85rem;
  }

  .hero-highlights,
  .hero-points {
    margin-top: 32px;
  }

  .hero-card-top {
    padding: 22px 18px;
  }

  .hero-card-top .catalog-count {
    display: none;
  }

  .catalog-card {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 90px;
    gap: 12px;
  }

  .catalog-card img {
    width: 56px;
    height: auto;
  }

  .card-preview-shell {
    width: min(calc(100% - 20px), 880px);
    padding: 18px 0;
  }

  .card-preview-panel {
    gap: 18px;
    padding: 54px 20px 24px;
    border-radius: 26px;
  }

  .card-preview-stage {
    padding: 6px;
  }

  .card-preview-art {
    width: min(62vw, 240px);
    border-radius: 15px;
  }

  .card-preview-copy h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .card-preview-hint {
    display: none;
  }

  .feature-card,
  .feature-card + .feature-card,
  .panel,
  .panel + .panel,
  .info-card,
  .support-box,
  body[data-page="legal"] .content .section {
    padding: 24px;
  }

  body[data-page="legal"] h1,
  body[data-page="reset"] h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .cursor-aura {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cursor-aura {
    display: none;
  }
}
