/**
 * About Axionova Page
 * Axionova UI Plugin
 *
 * Token set / structural conventions match the other standalone page bundles
 * (see featured.css, security.css) so this page reads as part of the same
 * site rather than a one-off design.
 */

:root {
  --axnv-bg: #020816;
  --axnv-bg-soft: #031126;
  --axnv-card: rgba(255, 255, 255, 0.065);
  --axnv-card-strong: rgba(255, 255, 255, 0.1);
  --axnv-border: rgba(255, 255, 255, 0.12);
  --axnv-border-strong: rgba(87, 211, 255, 0.35);
  --axnv-text: #f5f8ff;
  --axnv-muted: #aab7cf;
  --axnv-muted-2: #7f8aa3;
  --axnv-primary: #42d9ff;
  --axnv-secondary: #8b5cf6;
  --axnv-accent: #19f5b8;
  --axnv-radius-sm: 14px;
  --axnv-radius-md: 22px;
  --axnv-radius-lg: 34px;
  --axnv-max: 1180px;
}

.axnv-about-page {
  position: relative;
  overflow-x: hidden;
  background: var(--axnv-bg);
  color: var(--axnv-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.axnv-about-page a {
  color: inherit;
}

.axnv-about-container {
  width: min(100% - 40px, var(--axnv-max));
  margin: 0 auto;
}

.axnv-about-narrow {
  width: min(100% - 40px, 780px);
}

.axnv-about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--axnv-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.axnv-about-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--axnv-primary), var(--axnv-secondary));
}

/* =========================
   HERO
========================= */

.axnv-about-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(36, 230, 255, 0.16), transparent 34%),
    radial-gradient(circle at 18% 22%, rgba(10, 98, 255, 0.16), transparent 28%),
    radial-gradient(circle at 82% 28%, rgba(108, 92, 255, 0.12), transparent 30%),
    linear-gradient(180deg, var(--axnv-bg) 0%, var(--axnv-bg-soft) 44%, var(--axnv-bg) 100%);
}

.axnv-about-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.axnv-about-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(44px);
  opacity: 0.38;
  pointer-events: none;
}

.axnv-about-orb-one {
  top: 8%;
  right: -150px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(36, 230, 255, 0.24), transparent 68%);
}

.axnv-about-orb-two {
  bottom: -60px;
  left: -140px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(10, 98, 255, 0.26), transparent 70%);
}

.axnv-about-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.axnv-about-hero-copy h1 {
  margin: 18px 0 20px;
  color: var(--axnv-text);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.axnv-about-hero-copy p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--axnv-muted);
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  line-height: 1.75;
}

.axnv-about-hero-copy strong {
  color: var(--axnv-text);
}

.axnv-about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

/* .axio-btn / .axio-btn-primary ship globally (site header CSS); this page's
   own bundle doesn't pull in home.css, so the secondary variant is defined
   here to match this page's palette (same pattern as game-info.css). */
.axio-btn-secondary {
  background: var(--axnv-card-strong);
  border: 1px solid var(--axnv-border-strong);
  color: var(--axnv-text) !important;
}

.axio-btn-secondary:hover {
  background: rgba(66, 232, 255, 0.1);
  border-color: var(--axnv-primary);
}

/* =========================
   SECTIONS
========================= */

.axnv-about-section {
  position: relative;
  padding: 80px 0;
}

.axnv-about-section-alt {
  background-color: var(--axnv-bg-soft);
}

.axnv-about-section-heading {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.axnv-about-section-heading h2 {
  margin: 16px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}

.axnv-about-subtitle {
  margin: 0;
  color: var(--axnv-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.axnv-about-section p {
  color: var(--axnv-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.axnv-about-section :is(p, li) a.axnv-ilink {
  color: var(--axnv-primary);
  border-bottom: 1px solid rgba(66, 217, 255, 0.4);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.axnv-about-section :is(p, li) a.axnv-ilink:hover {
  color: #9becff;
  border-bottom-color: #9becff;
}

/* =========================
   AT A GLANCE
========================= */

.axnv-about-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.axnv-about-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px;
  border: 1px solid var(--axnv-border);
  border-radius: var(--axnv-radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.axnv-about-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--axnv-muted-2);
}

.axnv-about-stat-value {
  font-size: 1.08rem;
  font-weight: 650;
  color: var(--axnv-text);
}

/* =========================
   PILLARS
========================= */

.axnv-about-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.axnv-about-pillar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 26px;
  text-decoration: none;
  border: 1px solid var(--axnv-border);
  border-radius: var(--axnv-radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.axnv-about-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--axnv-border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  box-shadow: 0 18px 50px rgba(66, 217, 255, 0.14);
}

.axnv-about-pillar-icon {
  font-size: 1.5rem;
  color: var(--axnv-primary);
}

.axnv-about-pillar h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--axnv-text);
}

.axnv-about-pillar p {
  margin: 0;
  color: var(--axnv-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* =========================
   VERIFY
========================= */

.axnv-about-verify-card {
  padding: 30px 32px;
  border: 1px solid var(--axnv-border);
  border-radius: var(--axnv-radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.axnv-about-contract-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 18px;
  padding: 12px 16px;
  border: 1px solid var(--axnv-border);
  border-radius: var(--axnv-radius-sm);
  background: rgba(0, 0, 0, 0.25);
}

.axnv-about-contract-row code {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.92rem;
  color: var(--axnv-text);
}

/*
 * Contract-address copy button.
 *
 * Hardcoded hex (not the --axnv-* custom properties) and !important on every
 * state, including rest: a browser/OS default focus indicator (outline, or a
 * forced-colors / accent-color ring) was showing pink here with nothing in
 * this codebase ever setting pink, so every color-bearing property is pinned
 * explicitly and the native outline is replaced with our own box-shadow ring.
 */
.axnv-about-copy-btn,
.axnv-about-copy-btn:link,
.axnv-about-copy-btn:visited {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 9px;
  background: transparent !important;
  color: #aab7cf !important;
  outline: none !important;
  box-shadow: none;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.axnv-about-copy-btn:hover,
.axnv-about-copy-btn:focus,
.axnv-about-copy-btn:focus-visible,
.axnv-about-copy-btn:active {
  color: #42d9ff !important;
  border-color: rgba(66, 217, 255, 0.6) !important;
  outline: none !important;
}

.axnv-about-copy-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(66, 217, 255, 0.35);
}

.axnv-about-copy-btn svg {
  width: 16px;
  height: 16px;
  color: inherit !important;
  stroke: currentColor !important;
  fill: none !important;
}

/* =========================
   FINAL CTA
========================= */

.axnv-about-final {
  padding: 90px 0 110px;
  text-align: center;
}

.axnv-about-final h2 {
  margin: 0 0 26px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}

.axnv-about-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 18px;
}

/* =========================
   REVEAL-ON-SCROLL
========================= */

.axnv-about-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.axnv-about-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .axnv-about-pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .axnv-about-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .axnv-about-pillar-grid,
  .axnv-about-stat-grid {
    grid-template-columns: 1fr;
  }
  .axnv-about-hero {
    padding: 110px 0 50px;
  }
  .axnv-about-contract-row {
    flex-wrap: wrap;
  }
}
