/* CHOPPER — community site (CTO) */

:root {
  --scroll: 0;
  --bg-deep: #0c1220;
  --bg-card: #141c2e;
  --bg-elevated: #1a2540;
  --accent-mint: #5eead4;
  --accent-coral: #fb7185;
  --accent-gold: #fbbf24;
  --text: #e8edf5;
  --text-muted: #94a3b8;
  --border: rgba(94, 234, 212, 0.15);
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1100px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: max(5rem, calc(env(safe-area-inset-top, 0px) + 4.5rem));
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip link — keyboard users */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: var(--accent-mint);
  color: #042f2e;
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--accent-coral);
  outline-offset: 2px;
}

/* Scroll progress (reading position) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 300;
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll, 0));
  background: linear-gradient(90deg, #2dd4bf, var(--accent-mint), var(--accent-coral));
  pointer-events: none;
}

/* Focus ring — consistent across interactive elements */
:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid rgba(94, 234, 212, 0.85);
  outline-offset: 3px;
}

/* Section rhythm */
main > section + section {
  border-top: 1px solid rgba(94, 234, 212, 0.06);
}

/* Subtle grid + gradient */
.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(94, 234, 212, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(251, 113, 133, 0.08), transparent),
    linear-gradient(180deg, #0c1220 0%, #0a0f18 100%);
  pointer-events: none;
}

.bg-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(94, 234, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 1.25rem, var(--max));
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 250;
  backdrop-filter: blur(14px);
  background: rgba(12, 18, 32, 0.92);
  border-bottom: 1px solid var(--border);
  padding-top: max(0.25rem, env(safe-area-inset-top, 0));
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.55rem 0;
  min-height: 3.25rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-sections-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.35);
  background: rgba(26, 37, 64, 0.65);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.header-sections-btn:hover {
  border-color: rgba(94, 234, 212, 0.55);
  background: rgba(94, 234, 212, 0.08);
  color: var(--accent-mint);
}

.header-sections-btn:active {
  transform: scale(0.98);
}

.header-sections-btn[aria-expanded="true"] {
  border-color: rgba(94, 234, 212, 0.6);
  background: rgba(94, 234, 212, 0.12);
  color: var(--accent-mint);
}

.header-sections-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1rem;
}

.header-burger {
  display: block;
  position: relative;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: background 0.2s ease;
}

.header-burger::before,
.header-burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.28s ease, top 0.28s ease;
}

.header-burger::before {
  top: -6px;
}

.header-burger::after {
  top: 6px;
}

.header-sections-btn[aria-expanded="true"] .header-burger {
  background: transparent;
}

.header-sections-btn[aria-expanded="true"] .header-burger::before {
  top: 0;
  transform: rotate(45deg);
}

.header-sections-btn[aria-expanded="true"] .header-burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.header-pump-short {
  display: none;
}

.nav--desktop {
  display: none;
}

@media (max-width: 640px) {
  .brand {
    font-size: 1.05rem;
  }

  .brand-text {
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .header-sections-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .header-sections-btn {
    padding: 0.55rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  .header-pump {
    padding: 0.5rem 0.85rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .header-pump-long {
    display: none;
  }

  .header-pump-short {
    display: inline;
  }
}

@media (min-width: 641px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem 1.25rem;
  }

  .nav--desktop {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.85rem;
    min-width: 0;
  }

  .nav--desktop a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
  }

  .nav--desktop a:hover,
  .nav--desktop a:focus-visible {
    color: var(--accent-mint);
    outline: none;
  }

  .header-sections-btn--mobile {
    display: none;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(94, 234, 212, 0.35);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.brand:hover img {
  transform: rotate(-5deg) scale(1.06);
  box-shadow: 0 0 0 2px rgba(94, 234, 212, 0.45);
  border-color: rgba(94, 234, 212, 0.55);
}

/* Sections overlay menu */
.sections-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(4.75rem, calc(env(safe-area-inset-top, 0px) + 3.75rem)) 1rem 1.5rem;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sections-panel:not([hidden]) {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.sections-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 14, 0.78);
  backdrop-filter: blur(8px);
}

.sections-panel-card {
  position: relative;
  width: min(100%, 400px);
  max-height: min(80vh, 580px);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid rgba(94, 234, 212, 0.28);
  background: var(--bg-card);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.sections-panel:not([hidden]) .sections-panel-card {
  animation: sectionsPanelIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes sectionsPanelIn {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sections-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(26, 37, 64, 0.5), transparent);
  flex-shrink: 0;
}

.sections-panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sections-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(10, 15, 22, 0.6);
  color: var(--text-muted);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sections-close:hover {
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.35);
  color: var(--accent-coral);
}

.sections-panel-nav {
  display: flex;
  flex-direction: column;
  padding: 0.45rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  gap: 0.15rem;
}

.sections-panel-nav a {
  display: block;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.sections-panel-nav a:hover,
.sections-panel-nav a:focus-visible {
  background: rgba(94, 234, 212, 0.1);
  color: var(--accent-mint);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .sections-panel:not([hidden]) .sections-panel-card {
    animation: none;
  }

  .sections-panel {
    transition: none;
  }

  .header-burger::before,
  .header-burger::after,
  .header-sections-btn[aria-expanded="true"] .header-burger::before,
  .header-sections-btn[aria-expanded="true"] .header-burger::after {
    transition: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-mint), #2dd4bf);
  color: #042f2e;
  box-shadow: 0 4px 20px rgba(45, 212, 191, 0.35);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(45, 212, 191, 0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  transition: transform 0.22s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(94, 234, 212, 0.4);
  transform: translateY(-2px);
}

/* Hero */
.hero {
  position: relative;
  padding: 2rem 0 3rem;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  text-align: center;
  overflow: hidden;
}

.hero-floaties {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-float {
  position: absolute;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  opacity: 0.45;
  filter: drop-shadow(0 0 12px rgba(94, 234, 212, 0.25));
  animation: heroFloat 7s ease-in-out infinite;
}

.hero-float--1 {
  left: 5%;
  top: 18%;
  animation-delay: 0s;
}

.hero-float--2 {
  right: 8%;
  top: 28%;
  animation-delay: 1.2s;
}

.hero-float--3 {
  left: 12%;
  bottom: 22%;
  animation-delay: 0.6s;
}

.hero-float--4 {
  right: 6%;
  bottom: 18%;
  animation-delay: 1.8s;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-12px) rotate(4deg);
  }
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

@media (min-width: 641px) {
  .hero {
    padding: 3rem 0 4rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: clamp(0.72rem, 2.8vw, 0.8rem);
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 100%;
  text-align: center;
  line-height: 1.35;
  animation: heroBadgePulse 5s ease-in-out infinite;
}

@keyframes heroBadgePulse {
  0%,
  100% {
    border-color: rgba(94, 234, 212, 0.15);
    box-shadow: 0 0 0 0 rgba(94, 234, 212, 0);
  }
  50% {
    border-color: rgba(94, 234, 212, 0.35);
    box-shadow: 0 0 20px rgba(94, 234, 212, 0.08);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-gradient {
  background: linear-gradient(90deg, var(--accent-mint), var(--accent-coral), var(--accent-coral), var(--accent-mint));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroGradientShift 8s ease infinite;
}

@keyframes heroGradientShift {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.hero-lead {
  font-size: clamp(0.95rem, 3.8vw, 1.1rem);
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0 auto 1rem;
  padding: 0 0.25rem;
  text-wrap: balance;
}

.hero-ticker {
  font-weight: 700;
  color: var(--accent-mint);
  letter-spacing: -0.02em;
}

.hero-quip {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--accent-gold);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  min-height: 1.5em;
  transition: opacity 0.35s ease;
  opacity: 1;
}

.hero-quip.is-fading {
  opacity: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: stretch;
}

@media (max-width: 640px) {
  .hero-cta {
    flex-direction: column;
    gap: 0.65rem;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta .btn {
    width: 100%;
    padding: 0.65rem 1rem;
  }
}

.hero-logo {
  width: min(200px, min(72vw, 260px));
  height: auto;
  margin: 0 auto 1.25rem;
  border-radius: clamp(16px, 4vw, 24px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(94, 234, 212, 0.2);
  animation: heroLogoFloat 5s ease-in-out infinite;
}

@keyframes heroLogoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 640px) {
  .hero-logo {
    margin-bottom: 1.1rem;
  }

  .hero-float {
    font-size: 1rem;
    opacity: 0.3;
  }
}

/* Live tokenomics */
.tokenomics {
  padding-top: 2rem;
}

.tokenomics-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.25rem;
}

.tokenomics-title {
  margin-bottom: 0;
}

.tokenomics-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-mint);
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.35);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5);
  animation: livePulse 2.2s ease-out infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(45, 212, 191, 0);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
    transform: scale(1);
  }
}

.tokenomics-status {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tokenomics-status--error {
  color: var(--accent-coral);
}

.tokenomics-disclaimer {
  margin-bottom: 1.25rem;
}

.tokenomics-disclaimer strong {
  color: var(--text);
  font-weight: 600;
}

.tokenomics-panel {
  position: relative;
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(26, 37, 64, 0.95) 0%,
    rgba(10, 15, 22, 0.98) 45%,
    rgba(20, 36, 52, 0.95) 100%
  );
  background-size: 200% 200%;
  animation: tokenomicsPanelBg 14s ease infinite;
}

@keyframes tokenomicsPanelBg {
  0%,
  100% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
}

.tokenomics-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(94, 234, 212, 0.07) 50%,
    transparent 62%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: tokenomicsSheen 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes tokenomicsSheen {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.tokenomics-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .tokenomics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat-card {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(10, 15, 22, 0.55);
  border: 1px solid rgba(94, 234, 212, 0.12);
  animation: statCardIn 0.65s ease backwards;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.stat-card:hover {
  border-color: rgba(94, 234, 212, 0.28);
  transform: translateY(-2px);
}

.stat-card:nth-child(1) {
  animation-delay: 0.05s;
}

.stat-card:nth-child(2) {
  animation-delay: 0.1s;
}

.stat-card:nth-child(3) {
  animation-delay: 0.15s;
}

.stat-card:nth-child(4) {
  animation-delay: 0.2s;
}

.stat-card:nth-child(5) {
  animation-delay: 0.25s;
}

@keyframes statCardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card--wide {
  grid-column: 1 / -1;
}

.stat-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.stat-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.stat-change.stat-change--up {
  color: var(--accent-mint);
}

.stat-change.stat-change--down {
  color: var(--accent-coral);
}

.stat-change.stat-change--flat {
  color: var(--text-muted);
}

.stat-value.stat-value--flash {
  animation: statValueFlash 0.5s ease;
}

@keyframes statValueFlash {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  35% {
    transform: scale(1.04);
    filter: brightness(1.2);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.tokenomics-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(94, 234, 212, 0.12);
}

.tokenomics-updated {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tokenomics-dex-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-mint);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.tokenomics-dex-link:hover {
  border-bottom-color: rgba(94, 234, 212, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
    box-shadow: none;
  }

  .stat-card {
    animation: none;
  }

  .stat-value.stat-value--flash {
    animation: none;
  }

  .stat-card:hover {
    transform: none;
  }

  .hero-float,
  .hero-badge,
  .hero-gradient,
  .hero-logo {
    animation: none;
  }

  .tokenomics-panel {
    animation: none;
  }

  .tokenomics-panel::after {
    animation: none;
  }

  .meme-hero,
  .reveal-section.is-visible .meme-tile,
  .reveal-section.is-visible .meme-hero {
    animation: none !important;
  }

  .meme-hero {
    box-shadow: var(--shadow), 0 0 0 1px var(--border);
  }

  .brand:hover img {
    transform: none;
  }

  .btn-primary:hover,
  .btn-ghost:hover {
    transform: none;
  }

  .meme-tile:hover {
    transform: none;
  }
}

/* Sections */
section {
  padding: 3rem 0;
}

.reveal-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-mint);
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 42rem;
}

.section-sub.vision-kicker {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  color: var(--text);
}

.section-sub-kicker {
  display: block;
  margin-top: 0.55rem;
  font-style: italic;
  color: var(--accent-coral);
  font-size: 0.95em;
}

.inline-code {
  color: var(--accent-mint);
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.9em;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card + .card {
  margin-top: 1rem;
}

/* Intro */
.intro-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.intro-grid .card p {
  margin: 0;
  color: var(--text-muted);
}

.intro-grid .card p + p {
  margin-top: 0.75rem;
}

.intro-grid strong {
  color: var(--text);
}

/* Vision */
.vision-card {
  border-left: 4px solid var(--accent-gold);
  background: linear-gradient(135deg, var(--bg-card), rgba(181, 160, 106, 0.07));
}

.vision-emoji {
  font-size: 1.5rem;
  margin-right: 0.35rem;
}

/* Steps — how to buy */
.steps {
  counter-reset: step;
  display: grid;
  gap: 0.75rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: rgba(94, 234, 212, 0.15);
  color: var(--accent-mint);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
}

.step p {
  margin: 0;
  font-size: 0.95rem;
}

.step a {
  color: var(--accent-mint);
}

/* Contract */
.ca-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: #0a0f16;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(94, 234, 212, 0.35);
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.75rem;
  word-break: break-all;
}

.ca-row code {
  flex: 1;
  min-width: 0;
  color: var(--accent-mint);
}

/* Charity */
.charity-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .charity-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.donate-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.65rem 1.2rem;
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.35);
  border-radius: var(--radius-sm);
  color: #fda4af;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.donate-link:hover {
  background: rgba(251, 113, 133, 0.2);
}

.milestone-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.milestone-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.milestone-list li:last-child {
  border-bottom: none;
}

.milestone-list strong {
  color: var(--accent-gold);
}

/* Giveaways */
.giveaway-banner {
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.1), rgba(251, 113, 133, 0.08));
  border: 1px solid rgba(94, 234, 212, 0.25);
}

/* Meme gallery — showcase layout */
.memes-section {
  padding-bottom: 3.5rem;
}

.meme-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.meme-hero {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(26, 37, 64, 0.9), rgba(10, 15, 22, 0.95));
  min-height: min(50vh, 540px);
  max-height: 580px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(94, 234, 212, 0.12);
}

@keyframes memeHeroGlow {
  0%,
  100% {
    box-shadow: var(--shadow), 0 0 0 1px rgba(94, 234, 212, 0.12);
  }
  50% {
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35), 0 0 48px rgba(94, 234, 212, 0.12);
  }
}

.reveal-section.is-visible .meme-hero {
  animation: memeHeroGlow 7s ease-in-out infinite, memeHeroIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes memeHeroIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.meme-hero img {
  width: 100%;
  height: 100%;
  min-height: min(50vh, 540px);
  max-height: 580px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.meme-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 600px) {
  .meme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .meme-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.meme-tile {
  margin: 0;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  min-height: 260px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.reveal-section.is-visible .meme-tile {
  animation: memeTilePop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.reveal-section.is-visible .meme-tile:nth-child(1) {
  animation-delay: 0.06s;
}

.reveal-section.is-visible .meme-tile:nth-child(2) {
  animation-delay: 0.12s;
}

.reveal-section.is-visible .meme-tile:nth-child(3) {
  animation-delay: 0.18s;
}

.reveal-section.is-visible .meme-tile:nth-child(4) {
  animation-delay: 0.24s;
}

.reveal-section.is-visible .meme-tile:nth-child(5) {
  animation-delay: 0.3s;
}

.reveal-section.is-visible .meme-tile:nth-child(6) {
  animation-delay: 0.36s;
}

@keyframes memeTilePop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.meme-tile:hover {
  transform: scale(1.03) rotate(-1.5deg);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(94, 234, 212, 0.35);
  z-index: 1;
}

.meme-tile img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Community / social */
.social-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.social-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.social-card:hover {
  border-color: rgba(94, 234, 212, 0.35);
  transform: translateY(-2px);
}

.social-card-platform {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.social-card-handle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-mint);
}

#community .section-sub strong {
  color: var(--text);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .social-card:hover {
    transform: none;
  }
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 240;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--accent-mint);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(94, 234, 212, 0.08);
  color: var(--text);
}

body.menu-open .back-to-top {
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }

  .back-to-top {
    transition: none;
  }
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-inner {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-inner p {
  margin: 0.35rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--accent-mint);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.footer-social a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-social a:hover {
  color: var(--accent-mint);
  text-decoration: underline;
}

.footer-tagline {
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(94, 234, 212, 0.75);
  margin: 0.5rem 0 0.75rem !important;
  letter-spacing: 0.01em;
}

.footer-legal {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  font-size: 0.7rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.footer-legal p {
  margin: 0 0 0.65rem;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}
