:root {
  --pink: #FF007A;
  --deep-pink: #b4005c;
  --lime: #C3F53C;
  --robinhood: #C3F53C;
  --uniswap: #FF007A;
  --night: #120b35;
  --ink: #151113;
  --cream: #fff4d3;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  border-bottom: 2px solid var(--cream);
  padding: 10px clamp(16px, 3vw, 46px);
  color: var(--cream);
  background: var(--night);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 900 clamp(1.15rem, 1.6vw, 1.45rem) Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wordmark img {
  width: 44px;
  height: 44px;
  border: 2px solid var(--cream);
  border-radius: 6px;
  object-fit: cover;
}

.site-nav nav,
.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
}

.site-nav nav {
  justify-content: center;
}

.site-nav nav a,
.nav-actions a {
  font: 800 clamp(.95rem, 1.3vw, 1.15rem) "Courier New", monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.site-nav nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}

.site-nav nav a:hover,
.site-nav nav a:focus-visible {
  color: var(--lime);
  border-color: var(--pink);
  outline: none;
}

.nav-actions {
  justify-content: flex-end;
}

.nav-wallet-link {
  appearance: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 18px;
  border: 2px solid var(--lime);
  border-radius: 999px;
  color: var(--ink);
  font: 900 clamp(.8rem, 1.1vw, .95rem) Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(195, 245, 60, .18);
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
  cursor: pointer;
}

.nav-wallet-link:hover {
  transform: translateY(-2px);
  background: #d4ff5c;
  border-color: #d4ff5c;
}

.nav-wallet-link.is-connected {
  color: var(--cream);
  background: transparent;
  border-color: var(--cream);
  box-shadow: 0 0 0 4px rgba(255, 244, 211, .12);
}

.nav-wallet-link.is-connected:hover {
  color: var(--ink);
  background: var(--pink);
  border-color: var(--pink);
}

.opensea-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 13px;
  border: 2px solid #2081E2;
  border-radius: 999px;
  color: #fff;
  font: 900 .75rem Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #2081E2;
  box-shadow: 0 0 0 3px rgba(32, 129, 226, .2);
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.opensea-link:hover {
  transform: translateY(-2px);
  background: #1a6fc7;
  border-color: #1a6fc7;
}

.opensea-link img {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.mobile-quick-nav {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  border-bottom: 2px solid var(--cream);
  color: var(--cream);
  background: var(--night);
}

.mobile-quick-nav a {
  display: grid;
  place-items: center;
  min-height: 52px;
  border-right: 1px solid rgba(255, 244, 211, .24);
  font: 800 clamp(.85rem, 3.2vw, 1rem) "Courier New", monospace;
  text-transform: uppercase;
}

.mobile-quick-nav a:last-child {
  border-right: 0;
}

.mobile-quick-nav a:active {
  color: var(--ink);
  background: var(--lime);
}

@media(max-width: 1050px) {
  .site-nav {
    grid-template-columns: auto 1fr;
  }
  .site-nav > nav {
    display: none;
  }
  .mobile-quick-nav {
    display: grid;
  }
}

@media(max-width: 780px) {
  .site-nav {
    position: relative;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 14px;
  }
  .nav-actions a:not(.opensea-link):not(.nav-wallet-link) {
    display: none;
  }
  .nav-actions {
    gap: 10px;
  }
  .opensea-link {
    padding: 7px 13px;
    font-size: .8rem;
  }
  .opensea-link img {
    width: 18px;
    height: 18px;
  }
  .nav-wallet-link {
    padding: 8px 14px;
    font-size: .8rem;
  }
  .wordmark {
    font-size: 1.15rem;
  }
  .wordmark img {
    width: 36px;
    height: 36px;
  }
}

/* Wallet selector modal */
.froghood-wallet-selector {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 6, 17, .82);
  backdrop-filter: blur(4px);
}

.wallet-selector-sheet {
  width: min(100%, 420px);
  max-height: min(90vh, 600px);
  overflow: auto;
  padding: 28px;
  border: 2px solid var(--cream);
  background: var(--night);
  box-shadow: 12px 12px 0 var(--pink);
}

.wallet-selector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.wallet-selector-head h2 {
  margin: 0;
  font: 900 1.6rem/1 Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
}

.wallet-selector-close {
  appearance: none;
  width: 40px;
  height: 40px;
  border: 2px solid var(--cream);
  color: var(--cream);
  font: 900 1.4rem/1 Arial, sans-serif;
  background: transparent;
  cursor: pointer;
}

.wallet-selector-close:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.wallet-selector-list {
  display: grid;
  gap: 10px;
}

.wallet-selector-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--line);
  color: var(--cream);
  font: 900 1rem Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
  text-align: left;
  background: #080611;
  cursor: pointer;
  transition: transform .15s, border-color .15s, background-color .15s;
}

.wallet-selector-option:hover,
.wallet-selector-option:focus {
  transform: translateX(4px);
  border-color: var(--lime);
  background: rgba(195, 245, 60, .08);
  outline: none;
}

.wallet-selector-option img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
}

.wallet-selector-option[href] {
  text-decoration: none;
}

.wallet-selector-tag {
  margin-left: auto;
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 700 .65rem/1 "Courier New", monospace;
  text-transform: uppercase;
}

.wallet-selector-fallback {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--ink);
  font: 900 .75rem/1 "Courier New", monospace;
  background: var(--cream);
}

.wallet-selector-note {
  margin: 18px 0 0;
  color: var(--muted);
  font: .82rem/1.5 Georgia, serif;
}

@media (max-width: 480px) {
  .froghood-wallet-selector {
    align-items: end;
    padding: 0;
    background: rgba(8, 6, 17, .9);
  }
  .wallet-selector-sheet {
    width: 100%;
    max-height: 80vh;
    border-bottom: none;
    box-shadow: none;
  }
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  transition: top 0.2s;
  font: 800 .9rem "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.skip-link:focus {
  top: 0;
}
