/* The original React navigation remains in its tree, but is not interactive. */
[data-testid="cu-navigation"] { display: none !important; }
/* The site banner is mirrored above the native header instead. */
#__next aside[data-testid="cu-page-banner"] { display: none !important; }
/* Keep the inherited React footer mounted, but show only real site destinations. */
#__next [data-testid="bottom-navigation"] { display: none !important; }
.raydium-site-banner { position: relative; z-index: 10002; }
.raydium-site-banner a { color: inherit; text-decoration: none; }

/* Run the original text shimmer continuously, including on touch devices. */
.raydium-site-banner .CuPageBanner_bannerText__zj_D_ p {
  background: var(--shimmer-gradient);
  background-color: var(--shimmer-text-color);
  background-position: 200% 0;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 200% 100%;
  background-repeat: no-repeat;
  -webkit-text-fill-color: transparent;
  animation: raydium-banner-shimmer 3s ease-out infinite;
}
@keyframes raydium-banner-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .raydium-site-banner .CuPageBanner_bannerText__zj_D_ p {
    animation: none !important;
    background: none !important;
    -webkit-text-fill-color: currentColor;
  }
}

.raydium-landing-header {
  position: sticky;
  top: 0;
  z-index: 10001;
  background: rgb(255 255 255 / .94);
  backdrop-filter: blur(10px);
  color: #1a1a1a;
  font: 500 14px/1.4 "Inter Variable", Inter, ui-sans-serif, system-ui, sans-serif;
}
.raydium-landing-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1120px;
  height: 64px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.raydium-landing-header a { color: inherit; text-decoration: none; }
.raydium-landing-logo {
  display: flex;
  align-items: center;
  flex: 0 0 110px;
  height: 36px;
}
.raydium-landing-logo img { display: block; width: 99px; height: auto; }
.raydium-landing-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 24px;
}
.raydium-landing-links a { white-space: nowrap; padding: 10px 0; transition: color .15s; }
.raydium-landing-links a:hover,
.raydium-landing-mobile nav a:hover { color: #7357f6; }
.raydium-landing-header .raydium-landing-cta {
  padding: 8px 14px;
  border-radius: 10px;
  background: #1a1a1a;
  color: white;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s;
}
.raydium-landing-header .raydium-landing-cta:hover { background: #5d3bd4; }
.raydium-landing-header :is(a, summary):focus-visible { outline: 2px solid #7357f6; outline-offset: 4px; border-radius: 6px; }
.raydium-landing-mobile { display: none; }
[id^="stack-"] { scroll-margin-top: 72px; }

/* The supplied teams section is desktop-only; do not offer a dead mobile link. */
@media (max-width: 900px) {
  .raydium-landing-mobile a[href="#stack-teams"] { display: none; }
}

@media (max-width: 1050px) {
  .raydium-landing-header-inner { gap: 8px; }
  .raydium-landing-logo { margin-right: auto; }
  .raydium-landing-links { display: none; }
  .raydium-landing-mobile { display: block; }
  .raydium-landing-mobile summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    list-style: none;
  }
  .raydium-landing-mobile summary::-webkit-details-marker { display: none; }
  .raydium-landing-mobile[open] summary { color: #7357f6; }
  .raydium-landing-mobile nav {
    position: absolute;
    top: 60px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 2px;
    padding: 8px;
    border: 1px solid #eceaf1;
    border-radius: 14px;
    background: white;
    box-shadow: 0 16px 40px rgb(16 12 36 / .12);
  }
  .raydium-landing-mobile nav a { display: block; padding: 13px 14px; border-radius: 8px; }
  .raydium-landing-mobile nav a:hover { background: #f7f5ff; }
}
