@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 Token Sale - Stylesheet
   Brand-consistent with lockitin.xyz, standalone page
   Enhanced with epic Web3 parallax effects
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Core Brand */
  --primary: #00E5CC;
  --primary-hover: #00FFDF;
  --primary-muted: rgba(0, 229, 204, 0.15);

  /* Backgrounds */
  --bg-base: #0A0A0B;
  --bg-surface: #141416;
  --bg-elevated: #1C1C1F;
  --bg-overlay: rgba(0, 0, 0, 0.85);

  /* Borders */
  --border-subtle: #1F1F22;
  --border-default: #2A2A2E;
  --border-emphasis: #3A3A3F;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #8B8B8B;
  --text-tertiary: #5A5A5A;

  /* Semantic */
  --yes-green: #22C55E;
  --yes-green-muted: rgba(34, 197, 94, 0.15);
  --no-red: #EF4444;
  --no-red-muted: rgba(239, 68, 68, 0.15);
  --warning-amber: #F59E0B;
  --warning-amber-muted: rgba(245, 158, 11, 0.15);
  --locked-blue: #3B82F6;
  --locked-blue-muted: rgba(59, 130, 246, 0.15);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATED PARALLAX BACKGROUND - Web3 mesh gradient
   ═══════════════════════════════════════════════════════════════════════════ */

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

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

@keyframes saleMeshFloat {
  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 */
.sale-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 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: saleGridPulse 8s ease-in-out infinite;
}

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

/* Floating Orbs */
.sale-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

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

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

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

.sale-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.25) 0%, transparent 70%);
  top: 40%;
  right: 10%;
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes saleOrbFloat {
  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;
  }
}

/* Floating particles */
.sale-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

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

.sale-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.sale-particle:nth-child(2) { left: 30%; animation-delay: 3s; background: var(--primary); }
.sale-particle:nth-child(3) { left: 50%; animation-delay: 6s; }
.sale-particle:nth-child(4) { left: 70%; animation-delay: 9s; background: var(--primary); }
.sale-particle:nth-child(5) { left: 90%; animation-delay: 12s; }

@keyframes saleParticleFloat {
  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;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

.mono {
  font-family: 'Space Mono', monospace;
}

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }

@media (max-width: 640px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100vw;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */

.nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

@media (max-width: 640px) {
  .nav-inner {
    gap: 12px;
  }

  .nav-links {
    margin-left: 12px;
    gap: 16px;
    flex-wrap: wrap;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

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

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.12) 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; }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  padding: 14px 28px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(0, 229, 204, 0.1) 100%);
  color: var(--yes-green);
  border: 2px solid rgba(34, 197, 94, 0.5);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  animation: badgePulse 3s ease-in-out infinite, badgeGlow 2s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.3), inset 0 0 20px rgba(34, 197, 94, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-badges .hero-badge {
  margin-bottom: 0;
}

.hero-warning {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--no-red);
  background: var(--no-red-muted);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-weight: 600;
  margin-bottom: 0;
}

.hero-warning-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--no-red);
}

.hero-warning-icon svg,
.warning-icon svg,
.footer-warning-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(34, 197, 94, 0.3), inset 0 0 20px rgba(34, 197, 94, 0.1); }
  50% { box-shadow: 0 0 50px rgba(34, 197, 94, 0.5), inset 0 0 30px rgba(34, 197, 94, 0.2); }
}

.hero-badge::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--yes-green);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--yes-green), 0 0 30px var(--yes-green), 0 0 45px rgba(34, 197, 94, 0.5);
  animation: dotPulse 1.5s ease-in-out infinite;
  z-index: 1;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 30px 10px rgba(34, 197, 94, 0.15); }
}

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

.hero h1 {
  font-family: 'Space Mono', monospace;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #22C55E 50%, #00E5CC 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGradient 8s ease infinite;
}

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

.hero h1 span {
  background: linear-gradient(135deg, var(--yes-green) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   TERMS SECTION - Full width now
   ═══════════════════════════════════════════════════════════════════════════ */

/* Terms section is now full-width, no longer in a grid */

/* ═══════════════════════════════════════════════════════════════════════════
   TERMS SECTION CARD STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

.terms-section {
  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);
  margin-bottom: 32px;
  border-radius: 20px;
  padding: 32px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.terms-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yes-green), var(--primary), #3B82F6, var(--yes-green));
  background-size: 200% 100%;
  animation: sectionBorderFlow 4s linear infinite;
}

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

.terms-section:hover {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(34, 197, 94, 0.1);
}

@media (max-width: 640px) {
  .terms-section {
    padding: 20px 16px;
    border-radius: 16px;
  }
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.section-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

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

.terms-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.term-item {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(0, 229, 204, 0.02) 100%);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.term-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--yes-green));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.term-item:hover {
  border-color: rgba(0, 229, 204, 0.3);
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(0, 229, 204, 0.05) 100%);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 229, 204, 0.1);
}

.term-item:hover::before {
  opacity: 1;
}

.term-number {
  font-family: 'Space Mono', monospace;
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 700;
  min-width: 28px;
}

.term-content {
  flex: 1;
}

.term-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.term-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.refund-meta {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.refund-meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  font-weight: 600;
}

.refund-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.refund-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  font-size: 0.75rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.02em;
  background: rgba(0, 229, 204, 0.12);
  color: var(--primary);
}

.refund-pill-deadline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.refund-pill-countdown {
  background: linear-gradient(135deg, rgba(0, 229, 204, 0.2), rgba(34, 197, 94, 0.12));
  border-color: rgba(0, 229, 204, 0.4);
  color: var(--text-primary);
  box-shadow: 0 0 18px rgba(0, 229, 204, 0.15);
}

.refund-pill-live {
  animation: refundPulse 3.6s ease-in-out infinite;
}

@keyframes refundPulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(0, 229, 204, 0.12);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 18px rgba(0, 229, 204, 0.22);
    transform: translateY(-1px);
  }
}

.term-link {
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}

.term-link:hover {
  text-decoration: underline;
}

.terms-docs-inline {
  margin: 18px 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.terms-docs-label {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   CONTRIBUTION BOX
   ═══════════════════════════════════════════════════════════════════════════ */

.contribute-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.input-group {
  margin-bottom: 20px;
}

.input-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.input-label label {
  font-size: 0.875rem;
  font-weight: 500;
}

.input-label span {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.input-field {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-family: 'Space Mono', monospace;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-muted);
}

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

.input-helper {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.tokens-preview {
  color: var(--primary);
  font-family: 'Space Mono', monospace;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CHECKBOX & AGREEMENT
   ═══════════════════════════════════════════════════════════════════════════ */

.agreement-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.checkbox-wrapper {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.checkbox-wrapper input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

.checkbox-custom {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-emphasis);
  border-radius: 6px;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.checkbox-wrapper input:checked + .checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-custom::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid var(--bg-base);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s;
}

.checkbox-wrapper input:checked + .checkbox-custom::after {
  transform: rotate(45deg) scale(1);
}

.agreement-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, var(--yes-green) 0%, var(--primary) 50%, #00ffaa 100%);
  background-size: 200% 200%;
  color: var(--bg-base);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 18px 36px;
  box-shadow:
    0 4px 20px rgba(34, 197, 94, 0.4),
    0 0 40px rgba(34, 197, 94, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  animation: btnGradientShift 4s ease-in-out infinite;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.02em;
}

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

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--yes-green), var(--primary), #00ffaa, var(--yes-green));
  background-size: 400% 400%;
  z-index: -1;
  border-radius: 14px;
  animation: borderGlow 3s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.btn-primary:hover:not(:disabled)::after {
  opacity: 1;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #00ffaa 0%, var(--primary-hover) 50%, var(--yes-green) 100%);
  background-size: 200% 200%;
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(34, 197, 94, 0.5),
    0 0 80px rgba(34, 197, 94, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

.btn-primary:active:not(:disabled) {
  transform: translateY(-2px) scale(1.01);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.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);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 229, 204, 0.1);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RIGHT COLUMN - NUTRITION FACTS LABEL
   ═══════════════════════════════════════════════════════════════════════════ */

/* Gradient frame around the nutrition label */
.facts-frame {
  padding: 3px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--yes-green) 25%, #0066FF 50%, var(--primary) 75%, var(--yes-green) 100%);
  background-size: 300% 300%;
  box-shadow:
    0 0 50px rgba(0, 229, 204, 0.2),
    0 25px 60px rgba(0, 0, 0, 0.5);
  animation: factsFrameGlow 5s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facts-frame:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 0 70px rgba(0, 229, 204, 0.3),
    0 35px 70px rgba(0, 0, 0, 0.5);
}

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

/* The actual nutrition facts label */
.nutrition-label {
  background: #FFFFFF;
  color: #000000;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 8px;
  border-radius: 5px;
}

.nutrition-header {
  border-bottom: 1px solid #000;
  padding-bottom: 4px;
  margin-bottom: 4px;
}

.nutrition-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.nutrition-subtitle {
  font-size: 0.875rem;
  font-weight: 400;
}

.serving-info {
  border-bottom: 8px solid #000;
  padding: 4px 0 8px;
  font-size: 0.875rem;
}

.serving-line {
  display: flex;
  justify-content: space-between;
}

.amount-header {
  background: #000;
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 0;
  margin: 0 -8px;
  padding-left: 8px;
}

/* Main facts rows */
.fact-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid #000;
  font-size: 0.875rem;
}

.fact-row.thick-top {
  border-top: 5px solid #000;
  margin-top: -1px;
}

.fact-row.thick-bottom {
  border-bottom: 5px solid #000;
}

.fact-row.no-border {
  border-bottom: none;
}

.fact-label {
  font-weight: 700;
}

.fact-label.indent {
  padding-left: 16px;
  font-weight: 400;
}

.fact-value {
  font-weight: 700;
  text-align: right;
}

.fact-value.highlight {
  color: #00A896;
}

/* % daily value column */
.fact-percent {
  min-width: 50px;
  text-align: right;
  font-weight: 700;
}

/* Footer note */
.nutrition-footer {
  font-size: 0.7rem;
  padding-top: 8px;
  border-top: 1px solid #000;
  margin-top: 4px;
}

.nutrition-footer p {
  margin-bottom: 4px;
}

/* Token Facts container in distribution grid */
.token-facts-container {
  /* Fills its grid column */
}

.token-facts-container .facts-frame {
  /* Contained within the grid column */
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROGRESS BAR
   ═══════════════════════════════════════════════════════════════════════════ */

.progress-section {
  margin-top: 32px;
  padding: 28px;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(34, 197, 94, 0.05) 100%);
  border-radius: 16px;
  border: 1px solid var(--border-default);
  position: relative;
  overflow: hidden;
}

.progress-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yes-green), var(--primary), var(--yes-green));
  background-size: 200% 100%;
  animation: progressBorderFlow 3s linear infinite;
}

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

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.progress-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.progress-amount {
  font-family: 'Space Mono', monospace;
  font-size: 1.25rem;
  color: var(--primary);
}

.progress-bar {
  height: 16px;
  background: var(--bg-base);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--yes-green) 0%, var(--primary) 50%, #00FFDF 100%);
  background-size: 200% 100%;
  border-radius: 8px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  animation: progressGradient 3s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

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

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTRIBUTION INFO CARD
   ═══════════════════════════════════════════════════════════════════════════ */

.contribution-card {
  margin-top: 20px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(0, 229, 204, 0.08) 100%);
  position: relative;
  overflow: hidden;
}

.contribution-card.hidden {
  display: none;
}

.contribution-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 229, 204, 0.18), transparent 45%);
  pointer-events: none;
}

.contribution-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.contribution-card-title {
  font-weight: 600;
  font-size: 1rem;
}

.contribution-card-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.contribution-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.metric-value {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
  color: var(--primary);
}

.contribution-card-footer {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.footer-value {
  font-family: 'Space Mono', monospace;
  color: var(--text-primary);
  word-break: break-all;
}

.contribution-tooltip {
  position: relative;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}

.tooltip-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 204, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--primary);
  background: rgba(0, 229, 204, 0.08);
}

.tooltip-text {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(320px, 70vw);
  background: rgba(10, 10, 11, 0.95);
  border: 1px solid rgba(0, 229, 204, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-align: left;
  z-index: 5;
}

.contribution-tooltip:hover .tooltip-text,
.contribution-tooltip:focus-visible .tooltip-text,
.contribution-tooltip:focus-within .tooltip-text {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CRITICAL WARNING BOX
   ═══════════════════════════════════════════════════════════════════════════ */

.critical-warning {
  margin-top: 32px;
  padding: 20px;
  background: var(--no-red-muted);
  border: 2px solid var(--no-red);
  border-radius: 12px;
  animation: warning-pulse 2s ease-in-out infinite;
}

@keyframes warning-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 20px 4px rgba(239, 68, 68, 0.3); }
}

.warning-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.warning-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--no-red);
}

.warning-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--no-red);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.warning-content {
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.warning-content strong {
  color: var(--no-red);
}

/* ═══════════════════════════════════════════════════════════════════════════
   GOVERNANCE SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.governance-section {
  margin-top: 32px;
  padding: 24px;
  background: var(--locked-blue-muted);
  border: 1px solid var(--locked-blue);
  border-radius: 12px;
}

.governance-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.governance-icon {
  font-size: 1.25rem;
}

.governance-title {
  font-weight: 600;
}

.governance-list {
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.governance-list li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.governance-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--locked-blue);
}

.governance-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.gov-wallets {
  margin-top: 8px;
}

.gov-wallets div {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.gov-wallets a {
  color: var(--primary);
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.gov-wallets a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTRIBUTION LIMITS
   ═══════════════════════════════════════════════════════════════════════════ */

.contribution-limits {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 20px;
  margin-top: 10px;
  margin-bottom: 24px;
}

.limits-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.limits-icon {
  font-size: 1.25rem;
}

.limits-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.limits-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px;
  background: var(--bg-surface);
  border-radius: 8px;
  margin-bottom: 12px;
}

.limit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.limit-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.limit-value {
  font-family: 'Space Mono', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.limit-divider {
  width: 1px;
  height: 40px;
  background: var(--border-emphasis);
}

.limits-note {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .limits-content {
    gap: 16px;
    padding: 12px;
  }

  .limit-value {
    font-size: 1.25rem;
  }

  .limit-divider {
    height: 32px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STATUS MESSAGES
   ═══════════════════════════════════════════════════════════════════════════ */

.status-box {
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: none;
}

.status-box.success {
  display: block;
  background: var(--yes-green-muted);
  border: 1px solid var(--yes-green);
  color: var(--yes-green);
}

.status-box.error {
  display: block;
  background: var(--no-red-muted);
  border: 1px solid var(--no-red);
  color: var(--no-red);
}

.status-box.warning {
  display: block;
  background: var(--warning-amber-muted);
  border: 1px solid var(--warning-amber);
  color: var(--warning-amber);
}

.status-box.info {
  display: block;
  background: var(--locked-blue-muted);
  border: 1px solid var(--locked-blue);
  color: var(--text-secondary);
}

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

.footer {
  margin-top: auto;
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

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

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-warning {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--no-red);
  background: var(--no-red-muted);
  padding: 10px 16px;
  border-radius: 8px;
  margin: 12px auto;
  max-width: 500px;
  font-weight: 500;
}

.footer-warning-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--no-red);
  flex: 0 0 auto;
  margin-top: 2px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   WALLET BUTTON STATES
   ═══════════════════════════════════════════════════════════════════════════ */

.wallet-btn {
  font-family: 'Space Mono', monospace;
  font-size: 0.875rem;
}

.wallet-address {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOADING STATES
   ═══════════════════════════════════════════════════════════════════════════ */

.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--bg-base);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   COUNTDOWN / TIME DISPLAY
   ═══════════════════════════════════════════════════════════════════════════ */

.countdown {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  color: var(--warning-amber);
  padding: 6px 14px;
  background: var(--warning-amber-muted);
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  animation: countdownPulse 2s ease-in-out infinite;
}

@keyframes countdownPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 15px 3px rgba(245, 158, 11, 0.2); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   DISCLAIMERS
   ═══════════════════════════════════════════════════════════════════════════ */

.disclaimer {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: 8px;
  border-left: 3px solid var(--warning-amber);
}

.disclaimer-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--warning-amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.disclaimer-text {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

.text-primary { color: var(--primary); }
.text-muted { color: var(--text-secondary); }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   TOKEN DISTRIBUTION SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

/* Divider between terms and distribution (now in same card) */
.distribution-divider {
  height: 1px;
  background: var(--border-default);
  margin: 32px 0;
}

.distribution-intro {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.distribution-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1100px) {
  .distribution-grid {
    grid-template-columns: 260px 1fr;
    gap: 48px;
  }
}

@media (max-width: 700px) {
  .distribution-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .token-facts-container {
    width: 100%;
    max-width: 360px;
  }
}

/* Vesting goes full width below the 2-column grid */
.vesting-container {
  grid-column: 1 / -1;
  margin-top: 16px;
}

/* Donut Chart - CSS conic-gradient version */
.pie-chart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donut-chart {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 40px rgba(34, 197, 94, 0.2),
    0 0 80px rgba(0, 229, 204, 0.1),
    inset 0 0 30px rgba(0, 0, 0, 0.3);
  animation: donutRotate 30s linear infinite;
}

@keyframes donutRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.donut-hole {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  animation: donutRotate 30s linear infinite reverse;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.donut-value {
  font-family: 'Space Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.donut-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* Legacy SVG pie chart (kept for reference) */
.pie-chart {
  width: 200px;
  height: 200px;
  transform: rotate(-90deg);
}

.pie-segment {
  transition: opacity 0.2s;
}

.pie-legend {
  margin-top: 24px;
  width: 100%;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.85rem;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.legend-label {
  flex: 1;
  color: var(--text-secondary);
}

.legend-value {
  font-family: 'Space Mono', monospace;
  font-weight: 600;
  color: var(--text-primary);
}

/* Vesting Schedule */
.vesting-container h3 {
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.vesting-intro {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.vesting-item {
  margin-bottom: 20px;
}

.vesting-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
  flex-wrap: wrap;
}

.vesting-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  min-width: 0; /* Allow text to shrink */
}

.vesting-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
}

.vesting-badge.immediate {
  background: var(--yes-green-muted);
  color: var(--yes-green);
}

.vesting-badge.locked {
  background: var(--no-red-muted);
  color: var(--no-red);
}

.vesting-badge.vested {
  background: var(--primary-muted);
  color: var(--primary);
}

.vesting-badge.seasonal {
  background: rgba(139, 92, 246, 0.15);
  color: #8B5CF6;
}

.vesting-bar {
  height: 8px;
  background: var(--bg-elevated);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.vesting-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.vesting-fill.seasonal-gradient {
  background: linear-gradient(90deg, #8B5CF6 0%, #8B5CF6 66%, var(--bg-elevated) 66%, var(--bg-elevated) 100%);
}

.vesting-detail {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.distribution-note {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--primary-muted);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.distribution-note strong {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO FEATURES (positive framing badges)
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, rgba(20, 20, 22, 0.8) 0%, rgba(34, 197, 94, 0.05) 100%);
  border: 1px solid var(--border-default);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.hero-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 204, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.hero-feature:hover::before {
  transform: translateX(100%);
}

.hero-feature:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary-muted) 0%, rgba(34, 197, 94, 0.1) 100%);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 229, 204, 0.2);
}

.hero-feature:nth-child(1) { animation: featureSlideIn 0.5s ease-out 0.1s both; }
.hero-feature:nth-child(2) { animation: featureSlideIn 0.5s ease-out 0.2s both; }
.hero-feature:nth-child(3) { animation: featureSlideIn 0.5s ease-out 0.3s both; }

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

.feature-icon {
  font-size: 1rem;
}

.feature-text {
  font-weight: 500;
}

@media (max-width: 640px) {
  .hero-features {
    gap: 12px;
  }

  .hero-feature {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOKEN SALE TERMS MODAL
   ═══════════════════════════════════════════════════════════════════════════ */

.terms-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 10001;
  padding: 20px;
  overflow-y: auto;
}

.terms-modal-overlay.show,
.terms-modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.terms-modal-card,
.terms-modal {
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  border-radius: 16px;
  width: min(680px, 100%);
  max-height: none;
  margin: 20px 0;
  box-shadow:
    0 0 80px rgba(0, 229, 204, 0.15),
    0 25px 50px rgba(0, 0, 0, 0.5);
  animation: termsSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes termsSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.terms-modal-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: var(--bg-surface);
  border-radius: 16px 16px 0 0;
  z-index: 1;
}

.terms-modal-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.terms-modal-badge {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  padding: 4px 10px;
  background: var(--warning-amber-muted);
  color: var(--warning-amber);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.terms-modal-title {
  font-family: 'Space Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.terms-modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 8px 0 0 0;
}

.terms-modal-body {
  padding: 24px 28px;
  max-height: 50vh;
  overflow-y: auto;
}

.terms-modal-body::-webkit-scrollbar {
  width: 6px;
}

.terms-modal-body::-webkit-scrollbar-track {
  background: var(--bg-elevated);
  border-radius: 3px;
}

.terms-modal-body::-webkit-scrollbar-thumb {
  background: var(--border-emphasis);
  border-radius: 3px;
}

.terms-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

.terms-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.terms-warning-box {
  background: var(--no-red-muted);
  border: 1px solid var(--no-red);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.terms-warning-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.terms-warning-box p:last-child {
  margin-bottom: 0;
}

.terms-warning-box strong {
  color: var(--no-red);
}

.terms-excluded-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 20px;
}

.terms-excluded-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--no-red);
  margin-bottom: 8px;
}

.terms-excluded-list {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.terms-modal-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.terms-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(0, 0, 0, 0.2) 100%);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.terms-checkbox-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.terms-checkbox-item:hover {
  border-color: rgba(0, 229, 204, 0.4);
  background: linear-gradient(135deg, var(--bg-base) 0%, rgba(0, 229, 204, 0.03) 100%);
  transform: translateX(3px);
}

.terms-checkbox-item.checked {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary-muted) 0%, rgba(34, 197, 94, 0.1) 100%);
  box-shadow: 0 2px 12px rgba(0, 229, 204, 0.15);
}

.terms-checkbox-item.checked::before {
  opacity: 1;
}

.terms-checkbox-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.terms-checkbox-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
}

.terms-checkbox-label strong {
  color: var(--text-primary);
}

.terms-modal-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--border-subtle);
  position: sticky;
  bottom: 0;
  background: var(--bg-surface);
  border-radius: 0 0 16px 16px;
}

.btn-terms-sign {
  width: 100%;
  padding: 18px 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--yes-green) 100%);
  background-size: 200% 200%;
  color: var(--bg-base);
  border: none;
  border-radius: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 229, 204, 0.3);
  animation: termsSignGlow 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

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

.btn-terms-sign::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}

.btn-terms-sign:hover:not(:disabled)::before {
  left: 100%;
}

.btn-terms-sign:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--yes-green) 0%, var(--primary-hover) 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 229, 204, 0.4);
}

.btn-terms-sign:disabled {
  background: var(--bg-elevated);
  color: var(--text-tertiary);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  animation: none;
}

.btn-terms-sign .sign-icon {
  font-size: 1.1rem;
}

.terms-modal-card.signing .btn-terms-sign {
  background: var(--bg-elevated);
  color: var(--text-secondary);
}

.terms-modal-card.signing .btn-terms-sign::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid var(--text-tertiary);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 8px;
}

.terms-signature-note {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--primary-muted);
  border: 1px solid var(--primary);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.terms-signature-note strong {
  color: var(--primary);
}

/* Terms modal compact list */
.terms-compact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.terms-compact-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.terms-compact-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.terms-compact-list li strong {
  color: var(--text-primary);
}

/* Terms full link */
.terms-full-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.terms-full-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.terms-modal-body .terms-docs-inline {
  margin: 8px 0 0;
}

/* Body classes for modal open */
body.modal-open {
  overflow: hidden;
}

/* Mobile adjustments for terms modal */
@media (max-width: 640px) {
  .terms-modal-overlay {
    padding: 8px;
    align-items: flex-start;
  }

  .terms-modal-card {
    border-radius: 12px;
    margin: 8px 0;
    max-height: calc(100vh - 16px);
    display: flex;
    flex-direction: column;
  }

  .terms-modal-header {
    padding: 12px 16px;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
  }

  .terms-modal-header-top {
    margin-bottom: 4px;
  }

  .terms-modal-title {
    font-size: 1rem;
  }

  .terms-modal-subtitle {
    font-size: 0.75rem;
    margin-top: 4px;
  }

  .terms-modal-body {
    padding: 12px 16px;
    max-height: none;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide verbose content on mobile to make room for checkboxes */
  .terms-modal-body .terms-warning-box {
    padding: 10px;
    margin-bottom: 12px;
  }

  .terms-modal-body .terms-warning-box p {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }

  .terms-modal-body .terms-section-title {
    font-size: 0.65rem;
    margin: 0 0 8px 0;
    padding-bottom: 4px;
  }

  .terms-modal-body .terms-compact-list {
    margin-bottom: 12px;
  }

  .terms-modal-body .terms-compact-list li {
    padding: 3px 0 3px 16px;
    font-size: 0.75rem;
  }

  .terms-modal-body .terms-excluded-box {
    padding: 10px;
    margin-bottom: 12px;
  }

  .terms-modal-body .terms-excluded-title {
    font-size: 0.7rem;
    margin-bottom: 4px;
  }

  .terms-modal-body .terms-excluded-list {
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .terms-modal-body .terms-full-link {
    font-size: 0.75rem;
  }

  .terms-modal-body .terms-docs-inline {
    font-size: 0.7rem;
    gap: 4px;
    margin: 4px 0 0;
  }

  /* Compact checkboxes on mobile */
  .terms-modal-checkboxes {
    gap: 8px;
  }

  .terms-checkbox-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .terms-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }

  .terms-checkbox-label {
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .terms-modal-footer {
    padding: 12px 16px 16px;
    border-radius: 0 0 12px 12px;
    flex-shrink: 0;
  }

  .btn-terms-sign {
    padding: 14px 20px;
    font-size: 0.85rem;
  }

  .terms-signature-note {
    padding: 8px 10px;
    font-size: 0.65rem;
    margin-top: 10px;
  }

  .terms-cancel-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* Extra small screens (iPhone SE, etc) */
@media (max-width: 380px) {
  .terms-modal-card {
    margin: 4px 0;
  }

  .terms-modal-header {
    padding: 10px 12px;
  }

  .terms-modal-title {
    font-size: 0.9rem;
  }

  .terms-modal-body {
    padding: 10px 12px;
  }

  .terms-checkbox-item {
    padding: 8px 10px;
  }

  .terms-checkbox-label {
    font-size: 0.68rem;
  }

  .terms-modal-footer {
    padding: 10px 12px 14px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .sale-bg::before,
  .sale-bg::after,
  .sale-orb,
  .sale-particle,
  .hero::before,
  .hero-badge,
  .hero h1,
  .terms-section::before,
  .critical-warning,
  .btn-primary::before {
    animation: none;
  }

  .terms-section,
  .btn-primary,
  .btn-secondary {
    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(--yes-green);
}