:root {
  --bg-color: #030014;
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --accent-color: #7b2cbf;
  --accent-glow: rgba(123, 44, 191, 0.5);
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --white-hole-glow: rgba(255, 255, 255, 0.8);
  --locked-color: #ef4444;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

/* Background Animation */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-color);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: #3a0ca3;
  bottom: -50px;
  right: -50px;
  animation-delay: -5s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: #4361ee;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.2); }
}

/* Main Layout */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  padding: 8rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header {
  text-align: center;
  margin-bottom: 4rem;
}

.glitch-text {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  color: var(--text-primary);
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.mission-statement {
  max-width: 800px;
  margin: 1.5rem auto 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 300;
}

/* Grid Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 900px;
}

/* Card Design (Glassmorphism) */
.project-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  text-decoration: none;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.3);
}

.card-content {
  position: relative;
  z-index: 2;
}

.icon-container {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.project-card:hover .icon-container {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.project-card h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.project-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Status Badges */
.status {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pulse {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Locked Card Styling */
.locked {
  opacity: 0.7;
  cursor: not-allowed;
}

.locked:hover {
  transform: none;
  border-color: var(--card-border);
}

.locked-text {
  background: rgba(239, 68, 68, 0.1);
  color: var(--locked-color);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Glow Effects */
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), var(--accent-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.project-card:hover .card-glow {
  opacity: 1;
}

#card-white-hole .card-glow {
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

/* Mouse tracking glow variables */
.mouse-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0) 50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

/* Framework License Footer */
.framework-license {
  margin-top: 4rem;
  width: 100%;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.license-content h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.license-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.license-content strong {
  color: var(--text-primary);
  font-weight: 500;
}

.copyright {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 1rem;
  margin-bottom: 0 !important;
}

.copyright a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: #9d4edd;
  text-decoration: underline;
}

/* Auth & Nav Styles */
.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.auth-btn, .primary-btn, .secondary-btn, .guest-btn {
  font-family: 'Outfit', sans-serif;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.auth-btn:hover, .secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.primary-btn {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.primary-btn:hover {
  background: #9d4edd;
  border-color: #9d4edd;
}

.guest-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: underline;
}

.guest-btn:hover {
  color: var(--text-primary);
  background: transparent;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 0, 20, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.agent-api-note {
  max-width: 720px;
  margin: 0 auto 1rem;
  padding: 0 1.5rem;
  font-family: 'Outfit', sans-serif;
}

.agent-api-note summary {
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  list-style: none;
}

.agent-api-note summary::-webkit-details-marker {
  display: none;
}

.agent-api-note summary:hover {
  color: var(--text-primary);
}

.agent-api-body {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-top: 0.5rem;
}

.agent-api-body p {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0.6rem 0;
}

.agent-api-body pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  overflow-x: auto;
  font-size: 0.78rem;
  color: var(--accent-color);
  white-space: pre-wrap;
  margin: 0.5rem 0;
}

.agent-api-body code {
  color: var(--accent-color);
  font-size: 0.85em;
}

.input-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.input-group input:focus {
  border-color: var(--accent-color);
}

.auth-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.auth-actions button {
  flex: 1;
}

.modal-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  background: rgba(239, 68, 68, 0.1);
  padding: 0.5rem;
  border-radius: 6px;
}

.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .glitch-text { font-size: 3rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .framework-license { padding: 1.5rem; }
}

/* Framework Breakdown Styles */
.framework-section {
  width: 100%;
  max-width: 900px;
  margin-bottom: 4rem;
  text-align: left;
}

.framework-section .section-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.framework-section h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.glitch-text-small {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(90deg, #7b2cbf, #4361ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.white-hole-breakdown {
  width: 100%;
  max-width: 1000px;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.highlight {
  color: var(--accent-color);
  text-shadow: 0 0 15px var(--accent-glow);
}

.section-desc {
  text-align: center;
  max-width: 800px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  width: 100%;
  margin-bottom: 3rem;
}

.component-card {
  padding: 2rem;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.component-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(123, 44, 191, 0.15);
}

.icon-glow-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(123, 44, 191, 0.1);
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.component-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

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

.features-container {
  width: 100%;
  padding: 2.5rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.features-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7b2cbf, #4361ee, #7b2cbf);
}

.features-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.5;
}

.features-list li strong {
  color: var(--text-primary);
  font-weight: 500;
}

.feature-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Live Intent Register Widget */
.intent-widget {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(10, 10, 20, 0.95);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  transform-origin: top right;
  transition: all 0.3s ease;
  width: 260px;
}
.intent-widget.hidden {
  display: none !important;
}
.intent-stats {
  text-align: center;
  width: 100%;
  margin-bottom: 0.25rem;
}
.intent-label {
  font-size: 0.7rem;
  color: rgba(0, 217, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.25rem;
  font-weight: 900;
}
.intent-count {
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.05em;
  text-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}
.intent-cami {
  font-size: 0.6rem;
  color: #6b7280;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.intent-cami-rate {
  font-size: 0.55rem;
  color: #4b5563;
  font-family: monospace;
  margin-top: 0.25rem;
  letter-spacing: 0.03em;
}

.intent-tag-wrapper {
  width: 100%;
  position: relative;
}
.intent-copy-btn {
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 0.5rem;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
}
.intent-copy-btn:hover {
  border-color: rgba(0, 217, 255, 1);
  background: rgba(0, 217, 255, 0.1);
}
.intent-copy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 0.25rem;
}
.intent-copy-label {
  font-size: 8px;
  color: #6b7280;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.intent-copy-status {
  font-size: 8px;
  font-weight: 900;
  color: #00d9ff;
  transition: color 0.2s;
}
.intent-copy-status.copied {
  color: #22c55e;
}
.intent-copy-url {
  font-size: 10px;
  color: #d1d5db;
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  padding: 0 0.25rem;
}
.intent-hover-info {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.75rem;
  width: 250px;
  padding: 1rem;
  background: #0a0a0f;
  border: 1px solid rgba(0, 217, 255, 0.4);
  border-radius: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  z-index: 10000;
}
.intent-tag-wrapper:hover .intent-hover-info {
  opacity: 1;
  visibility: visible;
}
.intent-info-title {
  font-size: 10px;
  color: #22d3ee;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
  font-style: italic;
}
.intent-info-desc {
  font-size: 11px;
  color: #d1d5db;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  margin-top: 0;
}
.intent-info-embed {
  font-size: 10px;
  color: #6b7280;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-top: 1px solid #111827;
  padding-top: 0.5rem;
  margin-bottom: 0;
  margin-top: 0;
}
.intent-info-auto {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(88, 28, 135, 0.4);
}
.intent-info-auto-title {
  font-size: 9px;
  color: #c084fc;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  margin-top: 0;
}
.intent-info-auto pre {
  font-size: 8px;
  color: rgba(216, 180, 254, 0.7);
  font-family: monospace;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  border-radius: 0.25rem;
  line-height: 1.2;
  white-space: pre-wrap;
  margin: 0;
}

.intent-cami-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: white;
  width: 100%;
  transition: all 0.2s ease;
  text-decoration: none;
  box-sizing: border-box;
}
.intent-cami-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 217, 255, 0.4);
}
.intent-cami-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s;
}
.intent-cami-link:hover .intent-cami-icon {
  border-color: rgba(0, 217, 255, 0.4);
}
.intent-cami-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.5s ease;
}
.intent-cami-link:hover .intent-cami-icon img {
  transform: scale(1.25);
}
.intent-cami-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.intent-cami-text strong {
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
}
.intent-cami-text small {
  font-size: 0.6rem;
  color: #6b7280;
  font-family: monospace;
  margin-top: 0.25rem;
  letter-spacing: -0.05em;
}

@media (max-width: 768px) {
  .intent-widget {
    transform: scale(0.9);
  }
}

/* ── Contribution / Invest CTA ── */
.contribute-btn {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  border: 1px solid rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.contribute-btn:hover {
  background: rgba(52, 211, 153, 0.22);
  border-color: rgba(52, 211, 153, 0.7);
  transform: translateY(-2px);
}

.contribute-btn.primary {
  background: #059669;
  border-color: #059669;
  color: #fff;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.3);
}

.contribute-btn.primary:hover {
  background: #10b981;
  border-color: #10b981;
}

.contribute-btn.full {
  display: block;
  width: 100%;
  text-align: center;
}

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

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.hero-cta-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.contribute-section {
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contribute-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  width: 100%;
  align-items: start;
  margin-top: 2rem;
}

.contribute-reasons {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contribute-reasons li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  padding-left: 1.2rem;
  border-left: 2px solid rgba(52, 211, 153, 0.35);
}

.contribute-reasons strong {
  color: var(--text-primary);
  font-weight: 600;
}

.contribute-widget {
  padding: 2rem !important;
  max-width: none !important;
  width: 100% !important;
  text-align: left !important;
}

.cw-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.2rem;
}

.cw-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.cw-balance {
  font-size: 0.75rem;
  color: #6ee7b7;
  font-family: monospace;
}

.cw-status {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0.8rem 0;
  min-height: 1.1rem;
}

.cw-status a { color: #6ee7b7; }

.cw-presets {
  display: flex;
  gap: 0.6rem;
  margin: 1rem 0 0.8rem;
}

.cw-preset {
  flex: 1;
  padding: 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cw-preset:hover { border-color: rgba(52, 211, 153, 0.5); }

.cw-preset.active {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.6);
  color: #6ee7b7;
}

.cw-amount-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.cw-amount {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
  font-family: monospace;
  font-size: 1rem;
  outline: none;
}

.cw-amount:focus { border-color: rgba(52, 211, 153, 0.6); }

.cw-amount-unit {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

.cw-result {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #6ee7b7;
  text-align: center;
}

.cw-result a { color: #6ee7b7; }

.cw-links {
  display: flex;
  justify-content: space-between;
  margin-top: 1.2rem;
}

.cw-linkbtn {
  background: none;
  border: none;
  color: #6ee7b7;
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
  font-family: 'Outfit', sans-serif;
}

.cw-disclaimer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .contribute-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── Contribute widget: value indicators ── */
.cw-marketbox {
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
}

.cw-market-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 0.15rem 0;
}

.cw-market-row span:last-child {
  color: var(--text-primary);
  font-family: monospace;
}

.cw-marketbox .cw-linkbtn {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
}

.cw-market-note {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cw-amount-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin: -0.6rem 0 1rem;
  font-family: monospace;
}

.cw-tx-status {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #6ee7b7;
  text-align: center;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 8px;
  padding: 0.6rem;
}

.cw-tx-status a { color: #6ee7b7; }

/* ── Intent widget: drag handle + collapse ── */
.intent-widget {
  width: 260px;
  max-width: 90vw;
  cursor: default;
}

.intent-drag-handle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: move;
  user-select: none;
  margin-top: -0.25rem;
  margin-bottom: -0.25rem;
}

.intent-grip {
  color: #4b5563;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.intent-collapse-btn {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}

.intent-collapse-btn:hover {
  color: #fff;
}

.intent-widget-collapsed-btn {
  position: fixed;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 10, 20, 0.95);
  border: 1px solid rgba(0, 217, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  color: #22d3ee;
  font-size: 1.1rem;
  cursor: move;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.intent-widget-collapsed-btn:hover {
  border-color: rgba(0, 217, 255, 0.6);
}

.intent-widget-collapsed-btn.hidden {
  display: none !important;
}
