/* Skyy Coin — /coin */

.skyy-coin-page {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.92);
  padding:
    max(12px, env(safe-area-inset-top))
    max(12px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom))
    max(12px, env(safe-area-inset-left));
}

.skyy-coin-page[hidden] {
  display: none !important;
}

.skyy-coin-page__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(48, 22, 58, 0.55) 0%, transparent 52%),
    linear-gradient(160deg, #0a0812 0%, #120818 42%, #081018 100%);
}

.skyy-coin-page__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
  pointer-events: none;
}

.skyy-coin-page__orb--1 {
  top: -12%;
  left: 8%;
  width: min(72vw, 520px);
  height: min(72vw, 520px);
  background: radial-gradient(circle, hsla(312, 82%, 58%, 0.42) 0%, transparent 68%);
  animation: skyyCoinOrb1 22s ease-in-out infinite;
}

.skyy-coin-page__orb--2 {
  bottom: -18%;
  right: -6%;
  width: min(68vw, 480px);
  height: min(68vw, 480px);
  background: radial-gradient(circle, hsla(248, 78%, 54%, 0.34) 0%, transparent 70%);
  animation: skyyCoinOrb2 28s ease-in-out infinite;
}

.skyy-coin-page__orb--3 {
  top: 38%;
  left: 42%;
  width: min(58vw, 420px);
  height: min(58vw, 420px);
  background: radial-gradient(circle, hsla(188, 72%, 46%, 0.22) 0%, transparent 72%);
  animation: skyyCoinOrb3 32s ease-in-out infinite;
}

@keyframes skyyCoinOrb1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(12vw, 8vh) scale(1.08);
  }
  66% {
    transform: translate(-6vw, 14vh) scale(0.94);
  }
}

@keyframes skyyCoinOrb2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(-14vw, -10vh) scale(1.06);
  }
  70% {
    transform: translate(8vw, -6vh) scale(0.96);
  }
}

@keyframes skyyCoinOrb3 {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate(calc(-50% + 10vw), calc(-50% - 8vh)) scale(1.12);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skyy-coin-page__orb {
    animation: none;
  }

  .skyy-coin-page__backdrop {
    background:
      radial-gradient(circle at 22% 28%, hsla(300, 58%, 42%, 0.22) 0%, transparent 46%),
      radial-gradient(circle at 78% 72%, hsla(230, 62%, 38%, 0.18) 0%, transparent 48%),
      linear-gradient(160deg, #0a0812 0%, #120818 42%, #081018 100%);
  }
}

.skyy-coin-page__back {
  position: fixed;
  top: max(16px, env(safe-area-inset-top, 0px));
  left: max(16px, env(safe-area-inset-left, 0px));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.skyy-coin-page__back:hover,
.skyy-coin-page__back:focus-visible {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

.skyy-coin-page__frame {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  flex-shrink: 0;
  margin: auto;
}

.skyy-coin-page__compose {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.skyy-coin-page__cloud {
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin-bottom: 2px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.24));
}

.skyy-coin-page__symbol {
  margin: 0;
  font-size: clamp(1.85rem, 6.5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.skyy-coin-page__name {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.skyy-coin-page__tagline {
  margin: 0 0 8px;
  max-width: 24ch;
  font-size: 0.94rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.68);
}

.skyy-coin-page__mint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 12, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.skyy-coin-mint__value {
  flex: 1 1 160px;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
  word-break: break-all;
  text-align: left;
}

.skyy-coin-mint__copy {
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.skyy-coin-mint__copy:hover,
.skyy-coin-mint__copy:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.skyy-coin-mint__copy.is-copied {
  border-color: rgba(134, 239, 172, 0.35);
  color: #bbf7d0;
}

.skyy-coin-page__destinations {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 2px;
}

.skyy-coin-dest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.skyy-coin-dest__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 5px;
}

.skyy-coin-dest.is-link {
  flex: 1 1 calc(50% - 4px);
  min-width: min(100%, 148px);
}

.skyy-coin-dest.is-link:hover,
.skyy-coin-dest.is-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.skyy-coin-dest.is-disabled {
  opacity: 0.72;
  cursor: default;
}

.skyy-coin-dest__label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.skyy-coin-dest__meta {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 420px) {
  .skyy-coin-dest.is-link {
    flex: 1 1 100%;
  }

  .skyy-coin-page__cloud {
    width: 48px;
    height: 48px;
  }
}

@media (max-height: 680px) {
  .skyy-coin-page__compose {
    gap: 5px;
  }

  .skyy-coin-page__cloud {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }

  .skyy-coin-page__tagline {
    margin-bottom: 6px;
  }
}
