/* ================================
   Professional Neon Marketplace Theme
   Refined for Ultra-Premium UI
================================ */

:root {
  --neon: #5eead4;
  --neon-glow: rgba(94, 234, 212, 0.35);
  --bg-main: #05080a;
  --bg-card: #0c1218;
  --border-soft: rgba(255, 255, 255, 0.06);
  --border-neon: rgba(94, 234, 212, 0.15);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Typography */
body {
  font-family: 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(94, 234, 212, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(15, 23, 42, 1) 0px, transparent 50%);
  color: var(--text-main);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* Header: Sleeker & Higher Contrast */
header {
  background: rgba(5, 8, 10, 0.8);
  backdrop-filter: blur(12px);
  padding: 32px 20px;
  text-align: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-main);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

header span {
  color: var(--neon);
  text-shadow: 0 0 15px var(--neon-glow);
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 60px auto 120px;
  padding: 0 24px;
}

/* Category Box */
.category-box {
  background: rgba(15, 23, 32, 0.4);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 48px;
}

.category-box h2 {
  color: var(--text-main);
  margin-bottom: 30px;
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 15px;
}

.category-box h2::after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background: linear-gradient(90deg, var(--border-soft), transparent);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 320px));
  gap: 28px;
  justify-content: center;   /* ⭐ centers cards horizontally */
}


/* Refined Card Design */
.card {
  background: #0f1720;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(94, 234, 212, 0.05), transparent 70%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--border-neon);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(94, 234, 212, 0.05);
}

.project-body {
  padding: 24px;
}

.project-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 16px;
  background: #161f2a;
  border: 1px solid var(--border-soft);
  padding: 8px;
}

.project-body h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

.project-body p {
  margin: 12px 0 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Tags */
.project-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.project-tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Explore Button */
.explore-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon);
  border: 1px solid var(--border-neon);
  background: transparent;
  transition: var(--transition-smooth);
}

.explore-btn:hover {
  background: var(--neon);
  color: #05080a;
  box-shadow: 0 0 20px var(--neon-glow);
}


/* Footer */

.arc-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(7,11,15,0.85);
  backdrop-filter: blur(10px);
  color: #9fb3b3;
  padding: 10px 0;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 9999;
}

.arc-logo {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

/* Mobile tweaks */

@media (max-width: 600px) {
  header {
    font-size: 1.4rem;
    padding: 22px 16px;
  }

  .project-body {
    padding: 18px;
  }
}

.arc-footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.arc-footer a:hover {
  color: var(--neon); /* optional neon hover */
  text-decoration: none;
}
