/* Web3ToolLaunch — custom component styles */

/* ── Cards ──────────────────────────────────────────── */
.w3-card {
  position: relative;
  border-radius: 1rem;
  transition: border-color 200ms, transform 200ms, box-shadow 200ms;
  backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.w3-card:hover {
  transform: translateY(-0.125rem);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.08), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.w3-card-pinned {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(6, 18, 40, 0.95) 100%);
  border-color: rgba(34, 211, 238, 0.25);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.06), 0 4px 20px rgba(0, 0, 0, 0.5);
}
.w3-card-pinned:hover {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.12), 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ── Eyebrow label ───────────────────────────────────── */
.w3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

/* ── Category icon ───────────────────────────────────── */
.w3-cat-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.12);
}

/* ── Vote chip ───────────────────────────────────────── */
.w3-vote {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.25rem 0.625rem;
  color: rgba(148, 163, 184, 0.8);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── Section divider ─────────────────────────────────── */
.w3-divider {
  height: 1px;
  margin: 0;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.2), transparent);
}

/* ── Gradient text ───────────────────────────────────── */
.w3-gradient-text {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-image: linear-gradient(135deg, #22d3ee 0%, #818cf8 100%);
}

/* ── CTA band ────────────────────────────────────────── */
.w3-cta-band {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 1px solid rgba(34, 211, 238, 0.12);
}

/* ── Upvote button ───────────────────────────────────── */
.w3-upvote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms, background-color 150ms, border-color 150ms;
  color: rgba(148, 163, 184, 0.75);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.w3-upvote-btn:hover {
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.25);
}

/* ── Logo ring ───────────────────────────────────────── */
.w3-logo-ring {
  transition: box-shadow 200ms;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.w3-card:hover .w3-logo-ring {
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.3);
}

/* ── Sidebar card ────────────────────────────────────── */
.w3-sidebar-card {
  position: sticky;
  top: 5.5rem;
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── Primary gradient button ─────────────────────────── */
.w3-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  color: #000;
  font-size: 0.875rem;
  transition: all 200ms;
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.25);
}
.w3-btn-primary:hover {
  opacity: 0.9;
  transform: scale(1.02);
}
.w3-btn-primary:active {
  transform: scale(0.98);
}

/* ── Fade-in animation ───────────────────────────────── */
@keyframes w3-fadein {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.w3-fadein {
  animation: w3-fadein 0.5s ease both;
}
