@font-face {
  font-family: "PhantomCash";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://phantom.com/_web_platform_assets/fonts/PhantomCash-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Phantom";
  font-style: normal;
  font-weight: 350;
  font-display: swap;
  src: url("https://phantom.com/_web_platform_assets/fonts/Phantom-Book.woff2") format("woff2");
}

@font-face {
  font-family: "Phantom";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://phantom.com/_web_platform_assets/fonts/Phantom-Bold.woff2") format("woff2");
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: #d5d1ff;
  overflow-x: clip;
  overflow: hidden;
}

.screenreader-only,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hix4pg0.hix4pg2 {
  padding-top: 56px;
}

@media (max-width: 767px) {
  .hix4pg0.hix4pg2 {
    padding-top: 0;
  }
}

._2990bm2 {
  opacity: 0;
  pointer-events: none;
}

._2990bm4 {
  z-index: 8;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: opacity, transform;
}

._2990bm8 {
  position: relative;
  z-index: 9;
  pointer-events: auto;
}

._2990bm8 .wallet-cta--hero {
  pointer-events: auto;
}

._2990bm5 {
  min-height: clamp(280px, 46vh, 420px);
  align-items: center;
  justify-content: center;
}

._2990bm7 {
  flex-shrink: 0;
  transform: translate3d(0, 0, 0);
}

/* заголовок: оригинальная SVG-обводка без PhantomCash ghost-лигатур */
._2990bm7 ._2990bmd {
  font-family: "Phantom", "Arial Rounded MT Bold", Arial, sans-serif;
  font-weight: 700;
  font-size: 88px;
  width: 62%;
  z-index: 2;
  overflow: visible;
  font-feature-settings: "liga" 0, "clig" 0, "calt" 0;
  filter: drop-shadow(0 4px 0 rgba(42, 34, 64, 0.2)) drop-shadow(0 10px 22px rgba(60, 49, 91, 0.14));
}

._2990bm7 ._2990bme {
  stroke: #fffef7;
  stroke-width: 30;
  stroke-linejoin: round;
  stroke-linecap: round;
  paint-order: stroke fill;
  fill: #3c315b;
}

._2990bm7 ._2990bmf {
  font-family: "Phantom", "Arial Rounded MT Bold", Arial, sans-serif;
  font-weight: 700;
  font-feature-settings: "liga" 0, "clig" 0, "calt" 0;
}

@media (max-width: 767px) {
  ._2990bm0,
  ._2990bm1,
  ._2990bm2,
  ._2990bmi {
    min-height: 100svh;
  }

  ._2990bm3 {
    width: 250%;
    top: 30%;
    left: -100%;
  }

  ._2990bm5,
  ._2990bm8 {
    justify-content: center;
  }

  ._2990bm5 {
    gap: 16px;
  }

  ._2990bm6 {
    flex: 0.68;
  }

  ._2990bm7 {
    flex: 0.72;
    transform: translateY(5vh);
  }

  ._2990bm8 {
    flex: 0.62;
  }

  ._2990bm7 ._2990bmd._2990bmg {
    display: none;
  }

  ._2990bm7 ._2990bmd._2990bmh {
    width: min(78vw, 280px);
    font-size: clamp(50px, 15.8vw, 64px);
  }

  ._2990bm7 ._2990bme {
    stroke-width: clamp(16px, 4.8vw, 20px);
  }
}

@media (max-width: 639px) {
  ._2990bm7 ._2990bmd._2990bmh {
    width: min(80vw, 275px);
  }
}

@media (max-width: 460px) {
  ._2990bm7 ._2990bmd._2990bmh {
    width: min(82vw, 265px);
    font-size: clamp(46px, 14.8vw, 58px);
  }

  ._2990bm5 {
    gap: 12px;
  }

  ._2990bm6 {
    flex: 0.64;
  }

  ._2990bm7 {
    transform: translateY(6vh);
  }
}

@media (max-width: 340px) {
  ._2990bm7 ._2990bmd._2990bmh {
    width: 84vw;
    font-size: 44px;
  }
}

@media (min-width: 768px) {
  ._2990bm7 ._2990bmd._2990bmh {
    display: none;
  }
}

._2990bm1 .o7h7fp0 {
  opacity: 0;
  transform-origin: center center;
  will-change: transform, opacity;
  transition: opacity 0.35s ease;
}

._2990bm1.is-layout-ready .o7h7fp0 {
  opacity: 1;
}

._2990bm3 {
  transform-origin: center center;
  will-change: transform;
}

._2990bm1 .o7h7fp0:has(._1m3u8dd0),
._2990bm1 .o7h7fp0:has(.hero-plaque) {
  z-index: 7;
}

.hero-plaque {
  display: block;
  line-height: 0;
}

.hero-plaque img {
  display: block;
  width: 100%;
  height: auto;
}

._2990bmc {
  display: none;
}

.o7h7fp0:has(.i93sse0) {
  display: block;
  pointer-events: none;
  transform-origin: center center;
  will-change: opacity, transform;
}

.i93sse0,
.i93sse1 {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.i93sse0 canvas {
  display: none;
}

.i93sse0::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #efff3d;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 10px rgba(239, 255, 61, 0.75));
}

.i93sse0::after {
  content: "";
  position: absolute;
  inset: 34%;
  border-radius: 999px;
  background: #fff9a8;
  box-shadow: 0 0 18px rgba(239, 255, 61, 0.85);
}

.h8gnci6 {
  display: flex;
  align-items: center;
  gap: 6px;
}

.h8gnci6 img {
  width: 24px;
  height: 24px;
}

._1m3u8dd0 {
  height: auto;
}

._15a5ke96,
._15a5ke97 {
  transition: opacity 0.15s linear;
}

@media (max-width: 767px) {
  ._1wpz8pu0 { display: none !important; }
  ._1bmu6ky0 {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    display: flex !important;
    justify-content: flex-start !important;
    padding: 20px 22px 0 !important;
    background: transparent !important;
    pointer-events: none;
  }

  ._1bmu6ky2 {
    pointer-events: auto;
  }

  ._1bmu6ky1,
  ._1bmu6ky0 ._1bmu6ky1,
  ._1bmu6ky0 a._1vlvc8w0,
  ._1bmu6ky0 a._1vlvc8w1,
  ._1bmu6ky0 button._1anyiet0,
  ._1bmu6ky1 ._1vlvc8w0,
  ._1bmu6ky1 ._1anyiet0 {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (min-width: 768px) {
  ._1bmu6ky0 { display: none !important; }

  header button._1anyiet0,
  header ._1anyiet0[aria-controls="mobile-nav"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.wallet-cta {
  position: fixed;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  background: #f0ff2f;
  color: #16151d;
  font-family: "Phantom", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.wallet-cta.is-visible {
  display: inline-flex;
}

@media (min-width: 768px) {
  .wallet-cta,
  .wallet-cta.is-visible,
  .wallet-cta--hero {
    display: none !important;
  }
}

.wallet-cta--hero {
  position: static;
  transform: none;
  margin-top: 8px;
  padding: 12px 22px;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(60, 49, 91, 0.18);
}

@media (max-width: 767px) {
  .wallet-cta--hero {
    display: none !important;
  }
}

.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(60, 49, 91, 0.28);
  backdrop-filter: blur(12px);
}

.wallet-modal.is-open {
  display: flex;
}

.wallet-modal__sheet {
  width: min(100%, 340px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 14px 14px 12px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 28px 90px rgba(60, 49, 91, 0.22);
  backdrop-filter: blur(6px);
}

.wallet-modal__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-bottom: 12px;
}

.wallet-modal__header .wallet-modal__title {
  padding: 0 36px;
}

.wallet-modal__brand {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: center;
  margin: 2px 2px 12px;
  padding: 8px 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(213, 209, 255, 0.56) 0%, rgba(255, 253, 248, 0.9) 100%);
  box-shadow: inset 0 0 0 1px rgba(60, 49, 91, 0.06);
}

.wallet-modal__brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px rgba(60, 49, 91, 0.06);
}

.wallet-modal__brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(60, 49, 91, 0.12);
}

.wallet-modal__brand-kicker {
  color: rgba(60, 49, 91, 0.62);
  font-family: "Phantom", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.wallet-modal__brand-title {
  margin-top: 2px;
  color: #3c315b;
  font-family: "Phantom", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}

.wallet-modal__title {
  margin: 0;
  color: #3c315b;
  font-family: "Phantom", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.wallet-modal__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(60, 49, 91, 0.55);
  cursor: pointer;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.22s ease,
    color 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.wallet-modal__close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

@media (hover: hover) {
  .wallet-modal__close:hover {
    background: rgba(60, 49, 91, 0.07);
    color: rgba(60, 49, 91, 0.78);
  }
}

.wallet-modal__close:active {
  transform: translateY(-50%) scale(0.9);
}

.wallet-modal__hint {
  margin: 0 0 14px;
  padding: 0 6px;
  color: rgba(60, 49, 91, 0.68);
  font-family: "Phantom", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.wallet-modal__wallets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 6px;
  margin-bottom: 14px;
  padding: 2px 0;
}

.wallet-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-tap-highlight-color: transparent;
}

.wallet-option__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 56px;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.wallet-option:focus-visible {
  outline: none;
}

.wallet-option:focus-visible .wallet-option__icon {
  box-shadow: 0 0 0 2px rgba(91, 108, 255, 0.45);
}

@media (hover: hover) {
  .wallet-option:hover {
    transform: translateY(-2px);
  }
}

.wallet-option:active {
  transform: scale(0.98);
}

.wallet-option:active .wallet-option__icon {
  transform: scale(0.96);
}

.wallet-option__icon {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: 0 6px 16px rgba(60, 49, 91, 0.12);
  transition:
    box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.wallet-option__logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.wallet-option__name {
  color: #3c315b;
  font-family: "Phantom", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
}

.wallet-option.is-selected .wallet-option__icon {
  transform: scale(1.03);
  box-shadow:
    0 0 0 2px rgba(171, 159, 242, 0.65),
    0 8px 20px rgba(91, 108, 255, 0.2);
}

.wallet-option.is-selected .wallet-option__name {
  color: #2f2648;
}

.wallet-modal__wallets::after {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  margin: 2px 4px 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(60, 49, 91, 0.12) 50%,
    transparent 100%
  );
}

.wallet-modal__walletconnect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  border: 1px solid rgba(60, 49, 91, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(236, 232, 255, 0.88);
  color: #3c315b;
  font-family: "Phantom", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.24s ease,
    box-shadow 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.24s ease;
}

.wallet-modal__walletconnect-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  line-height: 0;
}

.wallet-modal__walletconnect-mark {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(60, 49, 91, 0.12);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.wallet-modal__walletconnect-label {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: inherit;
}

@media (hover: hover) {
  .wallet-modal__walletconnect:hover {
    background: rgba(228, 223, 255, 0.98);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      0 8px 20px rgba(60, 49, 91, 0.08);
  }
}

.wallet-modal__walletconnect.is-selected {
  background: rgba(228, 223, 255, 0.98);
  border-color: rgba(171, 159, 242, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 0 2px rgba(171, 159, 242, 0.42),
    0 6px 18px rgba(91, 108, 255, 0.12);
}

.wallet-modal__walletconnect:active {
  transform: scale(0.985);
}

.wallet-modal__walletconnect:active .wallet-modal__walletconnect-mark {
  transform: scale(0.94);
}

.wallet-modal.is-open .wallet-modal__sheet {
  animation: wallet-sheet-in 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes wallet-sheet-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.walletconnect-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(60, 49, 91, 0.32);
  backdrop-filter: blur(12px);
}

.walletconnect-modal.is-open {
  display: flex;
}

.walletconnect-modal__sheet {
  width: min(100%, 360px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 24px 70px rgba(60, 49, 91, 0.18);
}

.walletconnect-modal__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.walletconnect-modal__title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.walletconnect-modal__title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.walletconnect-modal__title-icon .wallet-modal__walletconnect-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.walletconnect-modal__title {
  margin: 0;
  color: #3c315b;
  font-family: "Phantom", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
}

.walletconnect-modal__hint {
  margin: 0 0 16px;
  color: rgba(60, 49, 91, 0.72);
  font-family: "Phantom", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.walletconnect-modal__qr {
  width: min(100%, 220px);
  aspect-ratio: 1;
  margin: 0 auto 16px;
  border-radius: 20px;
  background:
    linear-gradient(90deg, #111 10%, transparent 10%) 0 0 / 14px 14px,
    linear-gradient(#111 10%, transparent 10%) 0 0 / 14px 14px,
    #fff;
  box-shadow: inset 0 0 0 1px rgba(60, 49, 91, 0.08);
}

.walletconnect-modal__action {
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #6b7bff 0%, #5b6cff 100%);
  color: #ffffff;
  font-family: "Phantom", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.wallet-modal__footer {
  margin: 12px 0 0;
  color: rgba(60, 49, 91, 0.45);
  font-family: "Phantom", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 767px) {
  .wallet-cta:not(.wallet-cta--hero).is-visible {
    display: inline-flex;
  }
}
