/* ==========================================================================
   gGrow Design System - Premium Dark Theme
   Single accent: Purple #7C3AED
   Typography: Space Grotesk / Inter / JetBrains Mono
   Glass morphism - GPU-promoted animations - Mobile-first responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. FONT IMPORTS
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600;700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* --------------------------------------------------------------------------
   1. CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Purple accent */
  --purple: #7C3AED;
  --purple-light: #A78BFA;
  --purple-dark: #5B21B6;
  --purple-glow: rgba(124, 58, 237, .3);

  /* Backgrounds */
  --bg: #09090b;
  --bg-card: rgba(255, 255, 255, .035);
  --bg-card-hover: rgba(255, 255, 255, .06);
  --bg-elevated: rgba(255, 255, 255, .05);

  /* Borders */
  --border: rgba(255, 255, 255, .07);
  --border-hover: rgba(124, 58, 237, .2);

  /* Text */
  --text: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #52525b;

  /* Semantic */
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #fb7185;
  --info: #60a5fa;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-index scale */
  --z-base: 1;
  --z-elevated: 10;
  --z-sticky: 100;
  --z-header: 1000;
  --z-overlay: 2000;
  --z-modal: 3000;
  --z-toast: 4000;

  /* Layout */
  --header-height: 72px;
  --bottom-nav-height: 72px;
  --container-max: 1200px;
  --container-wide: 1400px;
}

/* --------------------------------------------------------------------------
   2. RESET AND BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: var(--purple-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--purple);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

::selection {
  background: rgba(124, 58, 237, .4);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .1);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, .2);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1.1rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mono,
.text-mono,
code,
.wallet-addr {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.9em;
}

code {
  background: var(--bg-elevated);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple-light), var(--purple), var(--purple-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-glow {
  background: linear-gradient(135deg, var(--purple-light), var(--purple), var(--purple-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(124, 58, 237, .4), 0 0 60px rgba(124, 58, 237, .15);
}

.text-purple {
  color: var(--purple);
}

.text-purple-light {
  color: var(--purple-light);
}

.text-success {
  color: var(--success);
}

.text-warning {
  color: var(--warning);
}

.text-danger {
  color: var(--danger);
}

.text-info {
  color: var(--info);
}

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

.text-secondary {
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   4. KEYFRAME ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(124, 58, 237, 0); }
  50% { box-shadow: 0 0 16px rgba(124, 58, 237, .5); }
}

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

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes ribbon-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slide-out-right {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes typing-cursor {
  0%, 100% { border-color: var(--purple); }
  50% { border-color: transparent; }
}

@keyframes progress-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes modal-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-card-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes bar-fill {
  from { width: 0; }
}

/* --------------------------------------------------------------------------
   5. BACKGROUND EFFECTS
   -------------------------------------------------------------------------- */
.ambient-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, .03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.3s ease;
}

.glow-orb-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, rgba(124, 58, 237, .12) 0%, transparent 70%);
}

.glow-orb-2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(124, 58, 237, .10) 0%, transparent 70%);
}

.glow-orb-3 {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(167, 139, 250, .08) 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   6. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.page-wrapper {
  position: relative;
  z-index: var(--z-base);
  min-height: 100vh;
  padding-top: var(--header-height);
}

/* --------------------------------------------------------------------------
   7. HEADER / SMART NAV
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: var(--z-header);
  background: rgba(9, 9, 11, .72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.35s var(--ease-out),
              background-color 0.35s ease,
              border-color 0.35s ease;
  display: flex;
  align-items: center;
}

.header.scrolled {
  background: rgba(9, 9, 11, .88);
  border-bottom-color: rgba(255, 255, 255, .1);
}

.header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.03em;
  transition: var(--transition-base);
}

.logo:hover {
  text-shadow: 0 0 20px rgba(124, 58, 237, .5);
}

.logo img,
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple);
  border-radius: var(--radius-full);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.hamburger {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile slide menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 9, 11, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: calc(var(--z-header) - 1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  gap: var(--space-md);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu .nav-link {
  font-size: 1.2rem;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   8. BOTTOM NAV (mobile)
   -------------------------------------------------------------------------- */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  z-index: var(--z-header);
  background: rgba(9, 9, 11, .88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: var(--space-xs) var(--space-sm);
  transition: color var(--transition-fast);
  position: relative;
}

.bottom-nav-item.active {
  color: var(--purple-light);
}

.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--purple);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--purple-glow);
}

.bottom-nav-item i,
.bottom-nav-item svg,
.bottom-nav-icon {
  font-size: 1.25rem;
  width: 24px;
  height: 24px;
  transition: transform var(--transition-fast);
}

.bottom-nav-item.active i,
.bottom-nav-item.active svg,
.bottom-nav-item.active .bottom-nav-icon {
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   9. CARDS - GLASS MORPHISM
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-lg);
  transition: transform 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, .1);
}

.card:hover::after {
  opacity: 1;
}

.card-glow {
  box-shadow: 0 0 30px rgba(124, 58, 237, .08);
}

.card-glow:hover {
  box-shadow: 0 20px 60px rgba(124, 58, 237, .18),
              0 0 40px rgba(124, 58, 237, .1);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.card-body {
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.card-flat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.card-flat:hover {
  transform: none;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   10. STAT CARDS
   -------------------------------------------------------------------------- */
.stat-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text), var(--purple-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: var(--space-xs);
}

.stat-change.positive {
  color: var(--success);
}

.stat-change.negative {
  color: var(--danger);
}

.stat-live-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: blink 2s infinite;
  display: inline-block;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

/* --------------------------------------------------------------------------
   11. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 200px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-md);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.hero-subtitle .typing-cursor {
  display: inline-block;
  border-right: 2px solid var(--purple);
  padding-right: 2px;
  animation: typing-cursor 1s infinite;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--text);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. SCROLL RIBBON
   -------------------------------------------------------------------------- */
.ribbon {
  overflow: hidden;
  width: 100%;
  padding: var(--space-lg) 0;
  position: relative;
}

.ribbon::before,
.ribbon::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.ribbon::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.ribbon::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.ribbon-track {
  display: flex;
  gap: var(--space-md);
  animation: ribbon-scroll 25s linear infinite;
  will-change: transform;
  width: max-content;
}

.ribbon-track:hover {
  animation-play-state: paused;
}

.ribbon-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ribbon-separator {
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.5;
  align-self: center;
}

/* --------------------------------------------------------------------------
   13. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   14. FEATURES GRID
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(124, 58, 237, .1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(124, 58, 237, .1);
  color: var(--purple-light);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  position: relative;
  animation: float 4s ease-in-out infinite;
}

.feature-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 58, 237, .15);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon::after {
  opacity: 1;
}

.feature-card:hover .feature-icon {
  background: rgba(124, 58, 237, .18);
}

.feature-card:nth-child(2) .feature-icon { animation-delay: 0.5s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: 1s; }
.feature-card:nth-child(4) .feature-icon { animation-delay: 1.5s; }
.feature-card:nth-child(5) .feature-icon { animation-delay: 2s; }
.feature-card:nth-child(6) .feature-icon { animation-delay: 2.5s; }

.feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   15. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item.open {
  border-left: 2px solid var(--purple);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: color var(--transition-fast);
  gap: var(--space-md);
}

.faq-question:hover {
  color: var(--purple-light);
}

.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
  color: var(--text-muted);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   16. PROGRESS BAR
   -------------------------------------------------------------------------- */
.progress {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--purple-dark), var(--purple), var(--purple-light));
  background-size: 200% 100%;
  animation: progress-shimmer 2s ease-in-out infinite;
  transition: width 0.6s var(--ease-out);
}

.progress-sm {
  height: 4px;
}

.progress-lg {
  height: 12px;
}

/* --------------------------------------------------------------------------
   17. BADGES
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  white-space: nowrap;
}

.badge-purple {
  background: rgba(124, 58, 237, .15);
  border-color: rgba(124, 58, 237, .3);
  color: var(--purple-light);
}

.badge-success {
  background: rgba(74, 222, 128, .1);
  border-color: rgba(74, 222, 128, .25);
  color: var(--success);
}

.badge-warning {
  background: rgba(251, 191, 36, .1);
  border-color: rgba(251, 191, 36, .25);
  color: var(--warning);
}

.badge-danger {
  background: rgba(251, 113, 133, .1);
  border-color: rgba(251, 113, 133, .25);
  color: var(--danger);
}

.badge-info {
  background: rgba(96, 165, 250, .1);
  border-color: rgba(96, 165, 250, .25);
  color: var(--info);
}

.badge-live {
  background: rgba(74, 222, 128, .1);
  border-color: rgba(74, 222, 128, .25);
  color: var(--success);
  animation: pulse-glow 2.5s infinite;
}

.badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: blink 2s infinite;
}

/* Tier badges */
.badge-diamond {
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
  background-size: 200% 200%;
  animation: shimmer 3s linear infinite;
}

.badge-platinum {
  background: rgba(96, 165, 250, .12);
  border-color: rgba(96, 165, 250, .3);
  color: #93bbfc;
}

.badge-gold {
  background: rgba(251, 191, 36, .12);
  border-color: rgba(251, 191, 36, .3);
  color: #fcd34d;
}

.badge-silver {
  background: rgba(161, 161, 170, .12);
  border-color: rgba(161, 161, 170, .3);
  color: #a1a1aa;
}

.badge-bronze {
  background: rgba(217, 119, 87, .12);
  border-color: rgba(217, 119, 87, .3);
  color: #d97757;
}

/* --------------------------------------------------------------------------
   18. MODALS
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay.open .modal-card {
  animation: modal-card-in 0.4s var(--ease-out) forwards;
}

.modal-card {
  position: relative;
  background: rgba(15, 15, 20, .95);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-xl);
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  box-shadow: 0 0 60px rgba(124, 58, 237, .1),
              0 0 1px rgba(124, 58, 237, .3);
}

.modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.modal-body {
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.modal-close {
  display: block;
  width: 100%;
  padding: var(--space-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  text-align: center;
}

.modal-close:hover {
  background: var(--bg-card-hover);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   19. TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: calc(var(--header-height) + var(--space-md));
  right: var(--space-md);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(15, 15, 20, .92);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-md) var(--space-lg);
  min-width: 280px;
  max-width: 400px;
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  animation: slide-in-right 0.4s var(--ease-out);
  border-left: 3px solid var(--border);
}

.toast.toast-success {
  border-left-color: var(--success);
}

.toast.toast-warning {
  border-left-color: var(--warning);
}

.toast.toast-danger {
  border-left-color: var(--danger);
}

.toast.toast-info {
  border-left-color: var(--info);
}

.toast.toast-purple {
  border-left-color: var(--purple);
}

.toast.dismissing {
  animation: slide-out-right 0.3s ease forwards;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 2px;
}

.toast-message {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.toast-dismiss {
  flex-shrink: 0;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
  transition: color var(--transition-fast);
}

.toast-dismiss:hover {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   20. TABLES
   -------------------------------------------------------------------------- */
.table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, .02);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody td {
  padding: var(--space-md) var(--space-lg);
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, .03);
  white-space: nowrap;
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, .01);
}

tbody tr {
  transition: background var(--transition-fast);
}

tbody tr:hover {
  background: rgba(124, 58, 237, .04);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   21. FORMS
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.form-error {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: var(--space-xs);
}

/* --------------------------------------------------------------------------
   22. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out),
              background 0.3s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease,
              opacity 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, .3);
}

.btn-primary:hover {
  background: #8b5cf6;
  box-shadow: 0 8px 30px rgba(124, 58, 237, .45);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--purple);
  color: var(--purple-light);
}

.btn-outline:hover {
  background: rgba(124, 58, 237, .1);
  border-color: var(--purple-light);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .05);
}

.btn-glow {
  animation: pulse-glow 2.5s infinite;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
}

.btn-icon.btn-sm {
  width: 32px;
  height: 32px;
}

/* --------------------------------------------------------------------------
   23. WALLET CONNECTED STATE
   -------------------------------------------------------------------------- */
.wallet-connected {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.wallet-connected:hover {
  border-color: var(--border-hover);
}

.wallet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: blink 2s infinite;
}

.wallet-addr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.wallet-copy-icon {
  color: var(--text-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
}

.wallet-copy-icon:hover {
  color: var(--purple-light);
}

.wallet-copy-icon.copied {
  color: var(--success);
  transform: scale(1.2);
}

/* --------------------------------------------------------------------------
   24. LEADERBOARD
   -------------------------------------------------------------------------- */
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.leaderboard-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.leaderboard-row:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.leaderboard-rank {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  min-width: 36px;
  text-align: center;
  color: var(--text-muted);
}

.leaderboard-row:nth-child(1) .leaderboard-rank {
  color: #fcd34d;
  text-shadow: 0 0 12px rgba(252, 211, 77, .4);
}

.leaderboard-row:nth-child(2) .leaderboard-rank {
  color: #c0c0c0;
  text-shadow: 0 0 12px rgba(192, 192, 192, .3);
}

.leaderboard-row:nth-child(3) .leaderboard-rank {
  color: #d97757;
  text-shadow: 0 0 12px rgba(217, 119, 87, .3);
}

.leaderboard-row:nth-child(1) {
  box-shadow: 0 0 30px rgba(252, 211, 77, .06);
}

.leaderboard-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.leaderboard-name {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
}

.leaderboard-score {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.leaderboard-tier {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   25. ALPHA CARDS
   -------------------------------------------------------------------------- */
.alpha-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.alpha-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(124, 58, 237, .08);
}

.alpha-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alpha-category {
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.alpha-category-defi {
  background: rgba(124, 58, 237, .12);
  color: var(--purple-light);
}

.alpha-category-nft {
  background: rgba(96, 165, 250, .12);
  color: var(--info);
}

.alpha-category-airdrop {
  background: rgba(74, 222, 128, .12);
  color: var(--success);
}

.alpha-category-governance {
  background: rgba(251, 191, 36, .12);
  color: var(--warning);
}

.alpha-timestamp {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.alpha-content {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

.alpha-conviction {
  display: flex;
  align-items: center;
  gap: 4px;
}

.alpha-conviction-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.alpha-conviction-dot.filled {
  background: linear-gradient(135deg, #fb923c, #ef4444);
}

.alpha-conviction-dot.empty {
  background: var(--border);
}

.alpha-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.alpha-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.alpha-vote-btn:hover {
  color: var(--purple-light);
  border-color: var(--border-hover);
}

.alpha-vote-btn.voted {
  color: var(--purple);
  border-color: var(--purple);
  background: rgba(124, 58, 237, .1);
}

/* --------------------------------------------------------------------------
   26. GOVERNANCE
   -------------------------------------------------------------------------- */
.governance-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.governance-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.governance-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.governance-status-active {
  background: rgba(74, 222, 128, .1);
  color: var(--success);
}

.governance-status-active::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: blink 2s infinite;
}

.governance-status-closed {
  background: rgba(82, 82, 91, .2);
  color: var(--text-muted);
}

.governance-status-pending {
  background: rgba(251, 191, 36, .1);
  color: var(--warning);
}

.governance-status-pending::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warning);
  animation: blink 2s infinite;
}

.vote-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.vote-bar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vote-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.vote-bar-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.vote-bar-percent {
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}

.vote-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.vote-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--purple-dark), var(--purple));
  animation: bar-fill 1s var(--ease-out);
  transition: width 0.6s var(--ease-out);
}

.vote-bar-fill.against {
  background: linear-gradient(90deg, #7f1d1d, var(--danger));
}

/* --------------------------------------------------------------------------
   27. AIRDROP CARDS
   -------------------------------------------------------------------------- */
.airdrop-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.airdrop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.airdrop-status {
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.airdrop-status-live {
  background: rgba(74, 222, 128, .1);
  color: var(--success);
}

.airdrop-status-upcoming {
  background: rgba(96, 165, 250, .1);
  color: var(--info);
}

.airdrop-status-ended {
  background: rgba(82, 82, 91, .2);
  color: var(--text-muted);
}

.airdrop-steps {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.airdrop-step {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.airdrop-step.completed {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 0 8px rgba(124, 58, 237, .3);
}

.airdrop-step.active {
  background: rgba(124, 58, 237, .3);
  border-color: var(--purple);
}

.airdrop-difficulty {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.airdrop-difficulty-bar {
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .1);
}

.airdrop-difficulty-bar.filled {
  background: var(--purple);
}

.airdrop-difficulty.hard .airdrop-difficulty-bar.filled {
  background: var(--danger);
}

/* --------------------------------------------------------------------------
   28. TREASURY
   -------------------------------------------------------------------------- */
.treasury-balance {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.treasury-balance-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--text), var(--purple-light), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.treasury-balance-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.allocation-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.allocation-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.allocation-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.allocation-bar-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.allocation-bar-value {
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}

.allocation-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.allocation-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--purple-dark), var(--purple), var(--purple-light));
  animation: bar-fill 1.2s var(--ease-out);
  transition: width 0.6s var(--ease-out);
}

.allocation-bar:nth-child(2) .allocation-bar-fill { animation-delay: 0.1s; }
.allocation-bar:nth-child(3) .allocation-bar-fill { animation-delay: 0.2s; }
.allocation-bar:nth-child(4) .allocation-bar-fill { animation-delay: 0.3s; }
.allocation-bar:nth-child(5) .allocation-bar-fill { animation-delay: 0.4s; }

.tx-amount {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

.tx-amount.incoming {
  color: var(--success);
}

.tx-amount.incoming::before {
  content: '+';
}

.tx-amount.outgoing {
  color: var(--danger);
}

.tx-amount.outgoing::before {
  content: '-';
}

/* --------------------------------------------------------------------------
   29. LOADING STATES
   -------------------------------------------------------------------------- */
.skeleton {
  background: linear-gradient(90deg,
    rgba(255, 255, 255, .04) 0%,
    rgba(255, 255, 255, .08) 50%,
    rgba(255, 255, 255, .04) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 14px;
  margin-bottom: var(--space-sm);
}

.skeleton-text.short {
  width: 60%;
}

.skeleton-heading {
  height: 28px;
  margin-bottom: var(--space-md);
  width: 80%;
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.skeleton-card {
  height: 200px;
  border-radius: var(--radius-lg);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: rotate-slow 0.8s linear infinite;
}

.spinner-lg {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

.loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 9, 11, .6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: inherit;
  z-index: var(--z-elevated);
}

/* --------------------------------------------------------------------------
   30. TABS
   -------------------------------------------------------------------------- */
.tabs {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  overflow-x: auto;
}

.tab {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab:hover {
  color: var(--text-secondary);
}

.tab.active {
  background: var(--purple);
  color: #fff;
}

/* --------------------------------------------------------------------------
   31. DIVIDERS AND DECORATIONS
   -------------------------------------------------------------------------- */
.divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-lg) 0;
}

.divider-purple {
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  height: 1px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--purple);
  opacity: 0.4;
}

/* --------------------------------------------------------------------------
   32. RESPONSIVE - TABLET (768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .bottom-nav {
    display: block;
  }

  body {
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  }

  .hero {
    padding: 140px 0 60px;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  .hero-stats {
    gap: var(--space-lg);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .container,
  .container-wide {
    padding: 0 var(--space-md);
  }

  .modal-card {
    max-height: 90vh;
    margin: var(--space-sm);
  }

  .toast-container {
    left: var(--space-md);
    right: var(--space-md);
  }

  .toast {
    min-width: auto;
    max-width: none;
  }

  .ribbon-track {
    animation-duration: 18s;
  }

  table {
    font-size: 0.85rem;
  }

  thead th,
  tbody td {
    padding: var(--space-sm) var(--space-md);
  }

  .leaderboard-row {
    padding: var(--space-sm) var(--space-md);
  }
}

/* --------------------------------------------------------------------------
   33. RESPONSIVE - MOBILE (480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero {
    padding: 120px 0 40px;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: -0.03em;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }

  .stat-value {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .tabs {
    gap: 2px;
  }

  .tab {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   34. UTILITY CLASSES
   -------------------------------------------------------------------------- */

/* Text alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Text sizes */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.85rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.15rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

/* Font weights */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Spacing - margins */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Spacing - padding */
.p-0 { padding: 0; }
.p-1 { padding: var(--space-sm); }
.p-2 { padding: var(--space-md); }
.p-3 { padding: var(--space-lg); }
.p-4 { padding: var(--space-xl); }

/* Display */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

/* Flex */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Grid */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; top: 0; }

/* Width */
.w-full { width: 100%; }
.max-w-sm { max-width: 400px; }
.max-w-md { max-width: 600px; }
.max-w-lg { max-width: 800px; }
.max-w-xl { max-width: 1000px; }

/* Borders */
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }
.border { border: 1px solid var(--border); }

/* Opacity */
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

/* Animations */
.float {
  animation: float 4s ease-in-out infinite;
  will-change: transform;
}

.float-slow {
  animation: float-slow 6s ease-in-out infinite;
  will-change: transform;
}

.float-delay-1 { animation-delay: 0.5s; }
.float-delay-2 { animation-delay: 1s; }
.float-delay-3 { animation-delay: 1.5s; }

/* --------------------------------------------------------------------------
   35. PAGE COMPONENTS - SHARED SECTION HEADER
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  padding-top: var(--space-xl);
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: var(--space-sm);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-block {
  display: flex;
  width: 100%;
}

.floating {
  animation: float 4s ease-in-out infinite;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   36. VERIFY PAGE
   -------------------------------------------------------------------------- */
.verify-container {
  max-width: 500px;
  margin: 0 auto;
  padding-top: var(--space-xl);
}

.verify-title {
  text-align: center;
  margin-bottom: var(--space-sm);
}

.verify-container .page-subtitle {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.verify-card {
  margin-bottom: var(--space-lg);
}

.verify-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.verify-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 30px var(--purple-glow);
}

.verify-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.verify-step {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(124, 58, 237, .04);
  border: 1px solid rgba(124, 58, 237, .1);
  opacity: 0.5;
  transition: opacity 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

.verify-step.active,
.verify-step:first-child {
  opacity: 1;
  background: rgba(124, 58, 237, .08);
  border-color: rgba(124, 58, 237, .2);
}

.verify-step.completed {
  opacity: 1;
  background: rgba(74, 222, 128, .06);
  border-color: rgba(74, 222, 128, .2);
}

.verify-step.completed .step-number {
  background: var(--success);
}

.step-number {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: #fff;
}

.step-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.4;
}

.connected-state {
  display: none;
}

.connected-state.visible {
  display: block;
}

.wallet-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(124, 58, 237, .06);
  border: 1px solid rgba(124, 58, 237, .15);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.verify-status {
  margin-top: var(--space-lg);
}

.verify-perks {
  margin-bottom: var(--space-2xl);
}

.verify-perks h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-md);
  color: var(--purple-light);
}

.perks-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.perks-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.perks-list li svg {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   37. ALPHA FEED PAGE
   -------------------------------------------------------------------------- */
.alpha-posts {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.alpha-card {
  padding: var(--space-lg);
}

.alpha-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

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

.alpha-body h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.alpha-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.alpha-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.conviction-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.conviction-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(124, 58, 237, .15);
  border: 1px solid rgba(124, 58, 237, .3);
  transition: background 0.3s ease;
}

.conviction-dot.filled {
  background: var(--purple);
  border-color: var(--purple-light);
  box-shadow: 0 0 6px var(--purple-glow);
}

.vote-buttons {
  display: flex;
  gap: var(--space-sm);
}

.empty-state {
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
  color: var(--text-muted);
}

.empty-icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-md);
  opacity: 0.4;
}

.empty-state h3 {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.empty-state p {
  font-size: 0.95rem;
}

.fab-btn {
  position: fixed;
  bottom: 100px;
  right: var(--space-lg);
  z-index: var(--z-elevated);
  display: none;
  gap: var(--space-sm);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(124, 58, 237, .4);
}

.fab-btn.visible {
  display: inline-flex;
}

/* --------------------------------------------------------------------------
   38. LEADERBOARD PAGE
   -------------------------------------------------------------------------- */
.stat-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.leaderboard-table-wrap {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding: var(--space-sm);
}

.leaderboard-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.leaderboard-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, .03);
}

.leaderboard-row:hover {
  background: rgba(124, 58, 237, .04);
}

.lb-rank {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.lb-rank.top-1 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #111;
  border-color: #fbbf24;
}

.lb-rank.top-2 {
  background: linear-gradient(135deg, #d1d5db, #9ca3af);
  color: #111;
  border-color: #d1d5db;
}

.lb-rank.top-3 {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #111;
  border-color: #f97316;
}

.lb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.lb-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lb-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.lb-wallet {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.lb-stats {
  display: flex;
  gap: var(--space-lg);
  flex-shrink: 0;
}

.lb-calls,
.lb-hit-rate {
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.lb-score {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  min-width: 60px;
  text-align: right;
  flex-shrink: 0;
}

.scoring-legend {
  margin-bottom: var(--space-2xl);
}

.scoring-legend h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-lg);
}

.legend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.legend-item {
  display: flex;
  gap: var(--space-md);
}

.legend-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.legend-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.legend-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   39. LEADERBOARD + ALPHA RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .stat-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .leaderboard-row {
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: var(--space-md);
  }

  .lb-stats {
    gap: var(--space-md);
  }

  .lb-score {
    min-width: auto;
  }

  .legend-grid {
    grid-template-columns: 1fr;
  }

  .fab-btn {
    bottom: calc(var(--bottom-nav-height) + var(--space-md) + env(safe-area-inset-bottom, 0px));
    right: var(--space-md);
  }
}

@media (max-width: 480px) {
  .stat-grid-4 {
    grid-template-columns: 1fr;
  }

  .lb-stats {
    width: 100%;
    justify-content: space-between;
  }

  .alpha-header {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
}

.fade-up {
  animation: fade-up 0.6s var(--ease-out) forwards;
}

.animate-spin {
  animation: rotate-slow 1s linear infinite;
}

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Pointer events */
.pointer-events-none { pointer-events: none; }

/* --------------------------------------------------------------------------
   35. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .header,
  .bottom-nav,
  .ambient-grid,
  .glow-orb,
  .toast-container,
  .modal-overlay {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    padding: 0;
  }

  .card {
    border: 1px solid #ddd;
    background: #fff;
    backdrop-filter: none;
  }
}

/* --------------------------------------------------------------------------
   36. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ribbon-track {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   37. PAGE-SPECIFIC: RESEARCH, MEMBER, MINT
   -------------------------------------------------------------------------- */

/* Page Section */
.page-section {
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-3xl);
  min-height: 60vh;
}

/* Section Title / Subtitle */
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* Search Wrap */
.search-wrap {
  margin-bottom: var(--space-lg);
}

.form-input-wrap {
  position: relative;
}

.form-input-wrap .form-input-icon {
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.form-input-wrap .form-input {
  padding-left: 48px;
}

/* Filter Row */
.filter-row {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.filter-row .form-select {
  min-width: 140px;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.stats-row-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Research Entry */
.research-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.research-entry {
  padding: var(--space-lg);
}

.research-entry-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.research-entry h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.research-entry .text-secondary {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.research-entry-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.research-wallet-link {
  color: var(--purple-light);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color var(--transition-fast);
}

.research-wallet-link:hover {
  color: var(--purple);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
  color: var(--text-muted);
}

.empty-state svg {
  margin: 0 auto var(--space-md);
  opacity: 0.3;
  display: block;
}

.empty-state h2 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.empty-state p {
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}

.empty-state .btn {
  margin-top: var(--space-md);
}

/* Bounties Section */
.bounties-section {
  margin-top: var(--space-3xl);
}

.bounties-section h2 {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
}

.bounties-subtitle {
  font-size: 0.95rem;
  margin-bottom: var(--space-xl);
}

.bounty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.bounty-card {
  padding: var(--space-lg);
}

.bounty-reward {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--success);
  margin-bottom: var(--space-sm);
}

.bounty-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.bounty-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.bounty-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

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

/* Badge Colors (extra) */
.badge-green { background: rgba(34, 197, 94, 0.15); color: #4ADE80; }
.badge-red { background: rgba(239, 68, 68, 0.15); color: #F87171; }
.badge-yellow { background: rgba(234, 179, 8, 0.15); color: #FACC15; }
.badge-blue { background: rgba(59, 130, 246, 0.15); color: #60A5FA; }

/* --------------------------------------------------------------------------
   38. MEMBER PROFILE
   -------------------------------------------------------------------------- */
.profile-header {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  margin-bottom: var(--space-xl);
}

.profile-avatar-wrap {
  margin-bottom: var(--space-md);
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  border: 2px solid var(--purple);
}

.profile-wallet-row {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  transition: border-color var(--transition-fast);
  margin-bottom: var(--space-md);
}

.profile-wallet-row:hover {
  border-color: var(--purple);
}

.profile-wallet-addr {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.profile-wallet-row svg {
  opacity: 0.5;
}

.profile-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-sm);
}

.profile-join-date {
  font-size: 0.85rem;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.profile-expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-md);
}

/* Alpha Entry (member page) */
.alpha-entry {
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.alpha-entry-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.alpha-entry h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.alpha-entry .text-secondary {
  font-size: 0.9rem;
  line-height: 1.6;
}

.alpha-entry-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Badge Grid */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
}

.badge-slot {
  text-align: center;
  padding: var(--space-lg);
  opacity: 0.4;
}

.badge-slot-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.badge-slot-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.badge-slot-desc {
  font-size: 0.75rem;
}

.badge-grid-note {
  text-align: center;
  font-size: 0.85rem;
  margin-top: var(--space-md);
}

/* Activity Timeline */
.activity-timeline {
  padding: var(--space-sm) 0;
}

.timeline-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
  margin-top: 6px;
  flex-shrink: 0;
}

.timeline-date {
  font-size: 0.75rem;
  margin-bottom: var(--space-xs);
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* --------------------------------------------------------------------------
   39. MINT PAGE
   -------------------------------------------------------------------------- */
.mint-hero {
  text-align: center;
  padding-top: calc(var(--header-height) + var(--space-3xl));
}

.mint-hero-inner {
  max-width: 600px;
  margin: 0 auto;
}

.mint-hero-image {
  margin-bottom: var(--space-xl);
}

.mint-owl-img {
  border-radius: 50%;
  border: 3px solid var(--purple);
  box-shadow: 0 0 40px var(--purple-glow);
}

.mint-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.mint-hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: var(--space-xl);
}

/* Mint Progress */
.mint-progress-wrap {
  max-width: 400px;
  margin: 0 auto;
}

.mint-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.progress-bar {
  height: 8px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple), var(--purple-light));
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width;
}

/* Mint Card Section */
.mint-card-section {
  padding: var(--space-2xl) 0 var(--space-3xl);
}

.mint-card {
  max-width: 500px;
  margin: 0 auto;
  padding: var(--space-xl);
}

.mint-price-display {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.mint-price {
  font-size: 3rem;
  font-weight: 800;
  display: block;
  margin-bottom: var(--space-xs);
}

.mint-price-note {
  font-size: 0.9rem;
}

/* Mint Features */
.mint-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.mint-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.95rem;
}

.mint-feature-item svg {
  flex-shrink: 0;
}

/* Mint Payment Tabs */
.mint-payment-tabs {
  margin-bottom: var(--space-xl);
}

.mint-payment-tabs .tabs {
  margin-bottom: var(--space-md);
}

.mint-pay-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  font-size: 1.05rem;
  font-weight: 700;
}

.mint-pay-note {
  text-align: center;
  font-size: 0.8rem;
  margin-top: var(--space-md);
}

.mint-coming-soon {
  text-align: center;
  padding: var(--space-xl);
}

.mint-coming-soon svg {
  margin: 0 auto var(--space-md);
  display: block;
}

/* Mint Contract */
.mint-contract {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.mint-contract-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: var(--space-sm);
}

.mint-contract-addr {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  transition: border-color var(--transition-fast);
  font-size: 0.75rem;
  word-break: break-all;
  margin-bottom: var(--space-sm);
}

.mint-contract-addr:hover {
  border-color: var(--purple);
}

.mint-contract-addr svg {
  opacity: 0.5;
  flex-shrink: 0;
}

.mint-basescan-link {
  font-size: 0.8rem;
  color: var(--purple-light);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: block;
  margin-top: var(--space-xs);
}

.mint-basescan-link:hover {
  color: var(--purple);
}

/* Mint FAQ */
.mint-faq-section {
  padding: var(--space-2xl) 0 var(--space-3xl);
}

.mint-faq-section .section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.faq-list {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* --------------------------------------------------------------------------
   40. PAGE-SPECIFIC RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .page-section {
    padding: calc(var(--header-height) + var(--space-lg)) 0 var(--space-2xl);
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .stats-row-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-row {
    flex-direction: column;
  }

  .filter-row .form-select {
    width: 100%;
  }

  .research-entry-meta {
    gap: var(--space-sm);
  }

  .bounty-grid {
    grid-template-columns: 1fr;
  }

  .bounty-meta {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
  }

  .profile-header {
    padding: var(--space-lg);
  }

  .badge-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mint-hero-title {
    font-size: 2rem;
  }

  .mint-price {
    font-size: 2.25rem;
  }

  .mint-card {
    padding: var(--space-lg);
  }

  .mint-contract-addr {
    font-size: 0.65rem;
  }
}

/* --------------------------------------------------------------------------
   END - gGrow Design System
   -------------------------------------------------------------------------- */
