/* WIFHOOD — dark, degen-premium + iOS glass */

:root {
  --bg: #0a0a0a;
  --surface: rgba(28, 28, 30, 0.58);
  --surface-strong: rgba(28, 28, 30, 0.76);
  --surface-hover: rgba(44, 44, 48, 0.68);
  --text: #f5f5f3;
  --muted: #8c8c88;
  --dim: #585854;
  --green: #00c805;
  --red: #ff3434;
  --border: rgba(255, 255, 255, 0.14);
  --border-soft: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 12px 38px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --glass-blur: 22px;
  --glass-pill: 999px;
  --glass-radius: 22px;
  --max: 720px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 4%, rgba(0, 200, 5, 0.11), transparent 25rem),
    radial-gradient(circle at 92% 74%, rgba(255, 52, 52, 0.055), transparent 22rem),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--green);
  color: var(--bg);
}

/* NAV */
.nav-shell {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 12px 0;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: min(calc(100% - 0px), 760px);
  min-height: 54px;
  margin: 0 auto;
  padding: 0.45rem 0.52rem 0.45rem 1rem;
  border: 0.5px solid var(--border);
  border-radius: var(--glass-pill);
  background: var(--surface-strong);
  -webkit-backdrop-filter: saturate(180%) blur(var(--glass-blur));
  backdrop-filter: saturate(180%) blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
}

.logo {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 0 20px rgba(0, 200, 5, 0.35);
}

.nav-links {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 0.18rem;
}

.nav-chip {
  padding: 0.42rem 0.72rem;
  border-radius: var(--glass-pill);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 160ms ease, color 160ms ease, transform 120ms ease;
}

.nav-chip:hover,
.nav-chip:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.nav-chip:active {
  transform: scale(0.96);
}

.nav-socials {
  display: flex;
  flex: 0 0 auto;
  gap: 0.32rem;
  margin-left: auto;
}

.icon-btn {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  border-color: rgba(0, 200, 5, 0.42);
  background: rgba(0, 200, 5, 0.13);
  color: var(--green);
}

.icon-btn:active {
  transform: scale(0.93);
}

@media (min-width: 640px) {
  .nav-links {
    display: flex;
  }

  .nav-socials {
    margin-left: 0;
  }
}

/* HERO */
.hero {
  display: flex;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.2rem 1.25rem 3.2rem;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ticker-pill,
.section-label,
.section-note,
.progress-label,
.footer-tagline,
.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.ticker-pill {
  margin: 0 0 1.4rem;
  padding: 0.42rem 0.92rem;
  border: 0.5px solid rgba(0, 200, 5, 0.35);
  border-radius: var(--glass-pill);
  background: rgba(0, 200, 5, 0.11);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 6px 22px rgba(0, 0, 0, 0.25);
  color: var(--green);
}

.hero-image-wrap {
  position: relative;
  z-index: 1;
  width: min(340px, 82vw);
  aspect-ratio: 0.78;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  inset: 22% 8% -8%;
  border-radius: 50%;
  background: rgba(0, 200, 5, 0.25);
  filter: blur(44px);
  opacity: 0.62;
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border: 0.5px solid var(--border);
  border-radius: 18px;
  background: #0d0d0d;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-title {
  margin-top: 1.6rem;
  font-size: clamp(1.9rem, 6vw, 2.75rem);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.accent {
  color: var(--green);
}

.status-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 320px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: 0.58rem 1rem;
  border: 0.5px solid rgba(255, 80, 80, 0.4);
  border-radius: var(--glass-pill);
  background: rgba(255, 45, 45, 0.13);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 0 26px rgba(255, 52, 52, 0.33), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  color: #ff7474;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 9px var(--red);
  animation: blink 1.45s ease-in-out infinite;
}

@keyframes blink {
  50% {
    opacity: 0.28;
  }
}

.progress-wrap {
  width: min(320px, 78vw);
  margin-top: 0.8rem;
}

.progress-bar {
  height: 4px;
  overflow: hidden;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--glass-pill);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  transition: width 300ms ease;
}

.progress-label {
  margin: 0.48rem 0 0;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.03em;
}

/* SECTIONS */
.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 3.1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.section-label {
  margin: 0 0 0.9rem;
  color: var(--green);
  text-transform: uppercase;
}

.section-heading {
  margin: 0;
  font-size: clamp(1.65rem, 5vw, 2.35rem);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-note {
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  letter-spacing: 0;
  font-weight: 600;
}

/* MISSION */
.mission-copy {
  display: flex;
  width: 100%;
  margin: 1.5rem 0 0;
  padding: 1.45rem;
  flex-direction: column;
  gap: 0.75rem;
  border: 0.5px solid var(--border);
  border-radius: var(--glass-radius);
  background: var(--surface);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--glass-shadow);
}

.mission-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.5vw, 1.12rem);
  font-weight: 500;
  line-height: 1.48;
}

.mission-copy p:nth-child(2) {
  color: var(--text);
  font-weight: 700;
}

.mission-line {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 0.85rem;
  padding: 0.82rem 1rem;
  border: 0.5px solid var(--border-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: 0.74rem;
  font-weight: 750;
}

.mission-line span {
  color: var(--muted);
  text-decoration: line-through;
}

.mission-line strong {
  color: var(--green);
}

/* LORE */
.lore-card {
  margin-top: 1.5rem;
  background: var(--surface);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 0.5px solid var(--border);
  border-radius: var(--glass-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--glass-shadow);
}

.lore-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.lore-proof {
  margin: 0.35rem 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.lore-proof-img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: 16px;
  border: 0.5px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  object-fit: cover;
}

.lore-proof-caption {
  margin: 0;
}

.lore-source {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 0.55rem 0.75rem;
  border-radius: var(--glass-pill);
  background: rgba(28, 28, 30, 0.55);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border: 0.5px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  color: rgba(255, 255, 255, 0.85);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.lore-source:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(40, 40, 44, 0.65);
  color: #fff;
}

.lore-source-x {
  flex-shrink: 0;
  color: #fff;
}

.lore-source-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  flex: 1;
  text-align: left;
}

.lore-source-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  font-family: var(--font-mono);
}

.lore-source-handle {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lore-source-verify {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.3rem 0.55rem;
  border-radius: var(--glass-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.lore-source:hover .lore-source-verify {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.lore-mission {
  color: var(--text);
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.lore-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lore-list li {
  font-weight: 600;
  color: var(--text);
  padding-left: 1rem;
  position: relative;
}

.lore-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--green);
}

.lore-destiny {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-top: 0.25rem;
}

.lore-end {
  font-size: 0.9rem;
  color: var(--dim);
}

/* RAIDS — full-row buttons */
.raid-list {
  display: grid;
  gap: 0.72rem;
  margin-top: 1.5rem;
}

.raid-message {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  width: 100%;
  padding: 0.95rem 0.95rem 0.95rem 1.1rem;
  border: 0.5px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 120ms ease;
}

.raid-message:hover,
.raid-message:focus-visible {
  border-color: rgba(255, 255, 255, 0.24);
  background: var(--surface-hover);
  outline: none;
}

.raid-message:active {
  transform: scale(0.985);
}

.raid-message span {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.raid-message b {
  align-self: center;
  padding: 0.53rem 0.85rem;
  border: 0.5px solid rgba(0, 200, 5, 0.42);
  border-radius: var(--glass-pill);
  background: rgba(0, 200, 5, 0.19);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 16px rgba(0, 200, 5, 0.11);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.raid-message.copied b {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

/* CA */
.ca-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.45rem;
  padding: 1rem 1rem 1rem 1.2rem;
  border: 0.5px solid var(--border);
  border-radius: var(--glass-radius);
  background: var(--surface);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--glass-shadow);
}

.ca-address {
  overflow-wrap: anywhere;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 2.2vw, 0.82rem);
  line-height: 1.45;
}

.copy-btn {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 0.95rem;
  border: 0.5px solid rgba(0, 200, 5, 0.46);
  border-radius: var(--glass-pill);
  background: rgba(0, 200, 5, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 5px 18px rgba(0, 200, 5, 0.12);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 160ms ease, transform 120ms ease;
}

.copy-btn:hover,
.copy-btn:focus-visible {
  background: rgba(0, 200, 5, 0.35);
}

.copy-btn:active {
  transform: scale(0.96);
}

.copy-btn.copied {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.ca-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--dim);
}

/* SOCIALS */
.social-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.social-card {
  display: flex;
  min-height: 112px;
  padding: 1.25rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  border: 0.5px solid var(--border);
  border-radius: var(--glass-radius);
  background: var(--surface);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: var(--glass-shadow);
  color: rgba(255, 255, 255, 0.72);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease;
}

.social-card:hover,
.social-card:focus-visible {
  border-color: rgba(0, 200, 5, 0.4);
  background: rgba(0, 200, 5, 0.1);
  color: var(--green);
}

.social-card:active {
  transform: scale(0.98);
}

.social-card strong {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

/* GALLERY */
.gallery-scroll {
  display: flex;
  gap: 0.82rem;
  margin-top: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.7rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: #383838 transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
  height: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: #383838;
  border-radius: 999px;
}

.gallery-card {
  position: relative;
  display: block;
  flex: 0 0 min(240px, 70vw);
  aspect-ratio: 5 / 6;
  overflow: hidden;
  padding: 1.1rem;
  border: 0.5px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 9px 28px rgba(0, 0, 0, 0.36);
  color: var(--text);
  scroll-snap-align: start;
}

.gallery-card.tweet-meme {
  flex-basis: min(300px, 82vw);
  aspect-ratio: 1;
}

.gallery-card.tweet-meme img {
  object-position: center;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 44%);
  pointer-events: none;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 320ms ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.gallery-card span,
.gallery-card b,
.gallery-card i {
  position: relative;
  z-index: 2;
}

.gallery-card span {
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.gallery-card b {
  position: absolute;
  left: 1.1rem;
  bottom: 1.05rem;
  font-size: 1.45rem;
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 850;
}

.gallery-card i {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  color: var(--green);
  font-size: 1.2rem;
  font-style: normal;
}

/* FOOTER */
.footer {
  display: flex;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 2.2rem 1.25rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
}

.footer-wordmark {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-tagline {
  color: var(--muted);
  letter-spacing: 0.06em;
}

.footer-meta {
  color: var(--dim);
  letter-spacing: 0.06em;
  font-weight: 650;
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: rgba(28, 28, 30, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.35rem;
  border-radius: var(--glass-pill);
  border: 0.5px solid var(--border);
  box-shadow: var(--glass-shadow);
  z-index: 200;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.1), opacity 0.25s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

button:focus:not(:focus-visible) {
  outline: none;
}

@media (max-width: 620px) {
  .section-head {
    display: block;
  }

  .section-note {
    max-width: none;
    margin-top: 0.7rem;
  }

  .mission-line {
    flex-direction: column;
    gap: 0.42rem;
  }
}

@media (max-width: 440px) {
  .hero {
    padding-top: 1.7rem;
  }

  .section {
    padding-top: 2.7rem;
    padding-bottom: 2.7rem;
  }

  .raid-message {
    grid-template-columns: 1fr;
  }

  .raid-message b {
    width: fit-content;
  }

  .ca-box {
    align-items: stretch;
    flex-direction: column;
  }

  .ca-box .copy-btn {
    width: fit-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .status-dot {
    animation: none;
  }
}
