@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-sans/dm-sans-v17-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/dm-sans/dm-sans-v17-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/dm-sans/dm-sans-v17-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/dm-sans/dm-sans-v17-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/space-mono/space-mono-v17-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/space-mono/space-mono-v17-latin-700.woff2") format("woff2");
}

/* ═══════════════════════════════════════════════════════════════════════════════
   LOCKIT DAO - PREMIUM WEB3 VISUAL SYSTEM
   Parallax backgrounds, animated gradients, glowing effects, and epic aesthetics
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════════
   ANIMATED GRADIENT BACKGROUND - Full page mesh gradient
   ═══════════════════════════════════════════════════════════════════════════════ */

.dao-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #0A0A0B;
}

.dao-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 229, 204, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 60% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(34, 197, 94, 0.04) 0%, transparent 50%);
  animation: meshFloat 30s ease-in-out infinite;
}

@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(2%, 1%) rotate(0.5deg); }
  50% { transform: translate(-1%, 2%) rotate(-0.5deg); }
  75% { transform: translate(-2%, -1%) rotate(0.3deg); }
}

/* Animated grid overlay */
.dao-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 204, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 204, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 0%, transparent 70%);
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PARALLAX ORB SYSTEM - Floating glowing orbs
   ═══════════════════════════════════════════════════════════════════════════════ */

.dao-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.dao-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}

.dao-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 229, 204, 0.4) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation-duration: 25s;
  animation-delay: 0s;
}

.dao-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, transparent 70%);
  bottom: 10%;
  left: -8%;
  animation-duration: 30s;
  animation-delay: -5s;
}

.dao-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  top: 50%;
  right: 15%;
  animation-duration: 22s;
  animation-delay: -10s;
}

.dao-orb-4 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.25) 0%, transparent 70%);
  bottom: 30%;
  left: 20%;
  animation-duration: 28s;
  animation-delay: -15s;
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  25% {
    transform: translate(30px, -40px) scale(1.1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
    opacity: 0.35;
  }
  75% {
    transform: translate(40px, 30px) scale(1.05);
    opacity: 0.45;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO SECTION - Epic typography and glow effects
   ═══════════════════════════════════════════════════════════════════════════════ */

.dao-hero {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  overflow: hidden;
}

.dao-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 204, 0.1) 0%, transparent 60%);
  pointer-events: none;
  animation: heroGlow 6s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.dao-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(0, 229, 204, 0.08);
  border: 1px solid rgba(0, 229, 204, 0.3);
  border-radius: 100px;
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: badgePulse 3s ease-in-out infinite;
}

.dao-hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary), 0 0 24px var(--primary);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 204, 0.2); }
  50% { box-shadow: 0 0 30px 10px rgba(0, 229, 204, 0.1); }
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.dao-hero-title {
  font-family: 'Space Mono', monospace;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 24px;
  background: linear-gradient(135deg, #FFFFFF 0%, #00E5CC 50%, #3B82F6 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGradient 8s ease infinite;
  text-shadow: 0 0 80px rgba(0, 229, 204, 0.3);
}

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

.dao-hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   GLOWING CTA BUTTONS
   ═══════════════════════════════════════════════════════════════════════════════ */

.dao-cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.dao-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.dao-btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #00FFDF 100%);
  color: #0A0A0B;
  border: none;
  box-shadow:
    0 4px 20px rgba(0, 229, 204, 0.3),
    0 0 40px rgba(0, 229, 204, 0.1);
}

.dao-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.dao-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 30px rgba(0, 229, 204, 0.4),
    0 0 60px rgba(0, 229, 204, 0.2);
}

.dao-btn-primary:hover::before {
  transform: translateX(100%);
}

.dao-btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dao-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CARD GRID - Glassmorphism cards with hover effects
   ═══════════════════════════════════════════════════════════════════════════════ */

.dao-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.dao-card {
  position: relative;
  background: rgba(20, 20, 22, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.dao-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 204, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.dao-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 204, 0.5), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.dao-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 204, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 229, 204, 0.1);
}

.dao-card:hover::before {
  opacity: 1;
}

.dao-card:hover::after {
  transform: scaleX(1);
}

.dao-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.dao-card-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dao-card-title {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dao-card-title .arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--primary);
}

.dao-card:hover .dao-card-title .arrow {
  opacity: 1;
  transform: translateX(0);
}

.dao-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STATS BAR - Animated counters with glow
   ═══════════════════════════════════════════════════════════════════════════════ */

.dao-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 32px;
  background: rgba(20, 20, 22, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  margin: 40px 0;
}

.dao-stat {
  text-align: center;
  padding: 20px 16px;
  position: relative;
}

.dao-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(0, 229, 204, 0.2), transparent);
}

.dao-stat-value {
  font-family: 'Space Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, #00FFDF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.dao-stat-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CONTRACT ADDRESS BOX - Sleek display with copy functionality
   ═══════════════════════════════════════════════════════════════════════════════ */

.dao-contracts {
  background: rgba(20, 20, 22, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
  margin: 40px 0;
}

.dao-contracts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dao-contracts-title {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dao-contracts-badge {
  font-size: 0.7rem;
  padding: 6px 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  color: #3B82F6;
  font-family: 'Space Mono', monospace;
}

.dao-contract-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  gap: 16px;
}

.dao-contract-row:last-child {
  border-bottom: none;
}

.dao-contract-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-width: 120px;
}

.dao-contract-address {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  color: var(--primary);
  word-break: break-all;
  text-align: right;
  flex: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   GOVERNANCE CARD - Special styling for governance actions
   ═══════════════════════════════════════════════════════════════════════════════ */

.dao-gov-card {
  background: rgba(20, 20, 22, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}

.dao-gov-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #3B82F6, #8B5CF6, var(--primary));
  background-size: 200% 100%;
  animation: borderFlow 4s linear infinite;
}

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

.dao-gov-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.dao-gov-title {
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dao-gov-meta {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-family: 'Space Mono', monospace;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   GLOW INPUT FIELDS
   ═══════════════════════════════════════════════════════════════════════════════ */

.dao-input-group {
  background: rgba(28, 28, 31, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.dao-input-group:focus-within {
  border-color: rgba(0, 229, 204, 0.3);
  box-shadow: 0 0 20px rgba(0, 229, 204, 0.1);
}

.dao-input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  outline: none;
}

.dao-input::placeholder {
  color: var(--text-tertiary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ANIMATED SECTION DIVIDERS
   ═══════════════════════════════════════════════════════════════════════════════ */

.dao-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 204, 0.3), transparent);
  margin: 60px 0;
  position: relative;
}

.dao-divider::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--bg-base);
  border: 2px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */

.dao-footer {
  text-align: center;
  padding: 48px 24px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.dao-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.dao-footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.dao-footer-link:hover {
  color: var(--primary);
}

.dao-footer-warning {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 20px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #EF4444;
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .dao-hero {
    padding: 60px 0 40px;
  }

  .dao-hero-badge {
    padding: 10px 18px;
    font-size: 0.7rem;
  }

  .dao-hero-subtitle {
    font-size: 1rem;
    padding: 0 16px;
  }

  .dao-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dao-card {
    padding: 20px;
  }

  .dao-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }

  .dao-stat:not(:last-child)::after {
    display: none;
  }

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

  .dao-contracts {
    padding: 20px;
  }

  .dao-contract-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .dao-contract-address {
    text-align: left;
    font-size: 0.75rem;
  }

  .dao-orb-1, .dao-orb-2, .dao-orb-3, .dao-orb-4 {
    filter: blur(80px);
    opacity: 0.3;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   REDUCED MOTION - Respect user preferences
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .dao-bg::before,
  .dao-bg::after,
  .dao-orb,
  .dao-hero::before,
  .dao-hero-badge,
  .dao-hero-title,
  .dao-gov-card::before {
    animation: none;
  }

  .dao-card,
  .dao-btn {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SCROLLBAR STYLING
   ═══════════════════════════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--border-emphasis);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PARTICLE EFFECT (Optional - for extra flair)
   ═══════════════════════════════════════════════════════════════════════════════ */

.dao-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.dao-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 15s linear infinite;
}

.dao-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.dao-particle:nth-child(2) { left: 25%; animation-delay: 2s; }
.dao-particle:nth-child(3) { left: 40%; animation-delay: 4s; }
.dao-particle:nth-child(4) { left: 55%; animation-delay: 6s; }
.dao-particle:nth-child(5) { left: 70%; animation-delay: 8s; }
.dao-particle:nth-child(6) { left: 85%; animation-delay: 10s; }

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
    transform: translateY(80vh) scale(1);
  }
  90% {
    opacity: 0.3;
    transform: translateY(10vh) scale(0.8);
  }
  100% {
    transform: translateY(-10vh) scale(0);
    opacity: 0;
  }
}