.iridescence-container {
  width: 100%;
  height: 100%;
  position: relative;
}
.iridescence-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.phone-mockup {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.phone-mockup.is-lifted {
  transform: translateY(-18px) !important;
}

.faq-icon {
  transition: transform 0.2s ease;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--color-text-secondary, #a0a0a0);
}
.faq-item.is-open .faq-answer {
  display: block;
}

#footer-discord-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  padding: 6px;
  border-radius: 12px;
  background: #232323;
  border: 1px solid #303036;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  display: none;
  z-index: 40;
}
#footer-discord-menu.is-open {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#footer-discord-menu a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #ededed;
  text-decoration: none;
  white-space: nowrap;
}
#footer-discord-menu a:hover {
  background: #303036;
}

.changelog-tabs {
  position: relative;
}
.changelog-tabs button {
  position: relative;
  z-index: 1;
}
.changelog-tab-pill {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  border-radius: 6px;
  background: var(--color-bg-hover, #303036);
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}
.changelog-item {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(24px);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.changelog-item.is-in {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
.changelog-item.is-hidden {
  display: none;
}
.changelog-list.is-leaving .changelog-item.is-in {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(-8px);
  transition-delay: 0s !important;
  transition-duration: 0.28s;
}

.download-card-mobile {
  cursor: pointer;
}
.download-card-mobile [class*="group-hover"] {
  transform: none !important;
  transition: none !important;
}

html.is-phone .download-card-mobile,
html.is-phone .grid > :has([data-download-title="mobile"]),
html.is-phone a[data-open-qr="ios"],
html.is-phone a[data-open-qr="android"],
html.is-phone .js-store-row {
  display: none !important;
}
html.is-phone [data-cta-wallet] {
  width: 100% !important;
}
html.is-phone #download .grid {
  grid-template-columns: 1fr !important;
}

@media (max-width: 767px) {
  .download-card-mobile,
  .grid > :has([data-download-title="mobile"]),
  a[data-open-qr="ios"],
  a[data-open-qr="android"],
  .js-store-row {
    display: none !important;
  }
  [data-cta-wallet] {
    width: 100% !important;
  }
  #download .grid {
    grid-template-columns: 1fr !important;
  }
}

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

.qr-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(9, 9, 11, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.qr-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.qr-modal {
  position: relative;
  width: min(100%, 420px);
  padding: 28px 24px 24px;
  border-radius: 24px;
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  color: #ededed;
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.qr-overlay.is-open .qr-modal {
  transform: none;
}
.qr-modal h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.qr-modal p {
  margin: 0 0 20px;
  color: #a0a0a0;
  font-size: 0.9rem;
}
.qr-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.qr-grid figure {
  margin: 0;
}
.qr-grid img {
  width: 168px;
  height: 168px;
  padding: 10px;
  background: #fff;
  border-radius: 16px;
  display: block;
}
.qr-grid figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #c4c4c4;
}
.qr-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  font-size: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ededed;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}
.qr-close svg {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.qr-close:hover {
  background: rgba(255, 255, 255, 0.14);
}
