/* ─── Graveyard Page ─── Dark, memorial / graveyard feel */

:root {
  --grave-accent: #dc2626;
  --grave-accent-soft: #b91c1c;
  --grave-bg: #fafafa;
  --grave-slate: #374151;
}

body {
  background:
    radial-gradient(ellipse at 40% 5%, rgba(220,38,38,0.05) 0%, transparent 50%),
    linear-gradient(180deg, #fafafa 0%, #f3f4f6 100%);
}

.nav-link.active .bar {
  background-color: var(--grave-accent);
}

.grave-card {
  background: #fff;
  border-radius: 22px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 26px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 1.25rem;
  position: relative;
  margin-top: 22px;
}
.grave-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(220,38,38,0.14);
  border-color: rgba(220,38,38,0.25);
}
.grave-card:hover .card-img {
  transform: scale(1.06);
}
.grave-card:hover .card-icon-circle {
  transform: translateX(-50%) scale(1.12);
}

.grave-card .chip-mortem {
  background: #fef2f2;
  color: var(--grave-accent-soft);
  border: 1px solid rgba(220,38,38,0.20);
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 5px rgba(220,38,38,0.05), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.15s ease;
}
.grave-card .chip-mortem:hover {
  transform: translateY(-1px);
  border-color: var(--grave-accent);
}
.grave-card .chip-deprecated {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.15s ease;
}
.grave-card .chip-deprecated:hover {
  transform: translateY(-1px);
  border-color: #9ca3af;
}

.grave-card .btn-ghost-grave {
  flex: 1;
  padding: 8px 14px;
  border-radius: 9999px;
  border: 1.5px solid #d1d5db;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b5563;
  background: #fff;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
  text-align: center;
}
.grave-card .btn-ghost-grave:hover {
  border-color: var(--grave-accent);
  color: var(--grave-accent-soft);
  background: #fef2f2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.grave-card .btn-primary-grave {
  flex: 1;
  padding: 8px 14px;
  border-radius: 9999px;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: var(--grave-accent);
  box-shadow: 0 4px 12px rgba(220,38,38,0.22);
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
  text-align: center;
}
.grave-card .btn-primary-grave:hover {
  background: var(--grave-accent-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(220,38,38,0.28);
}

/* ── Viral circular icon ── */
.card-icon-circle {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--grave-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow:
    0 8px 20px rgba(220,38,38,0.20),
    0 2px 6px rgba(0,0,0,0.08);
  z-index: 3;
  transition: transform 0.3s ease;
}

/* Banner image section - same layout as marketplace */
.card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: linear-gradient(180deg, #fef2f2 0%, #fecaca 100%);
  border-radius: 16px;
  margin-top: 0px;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(220,38,38,0.06);
  position: relative;
  transition: transform 0.3s ease;
}
.card-img .placeholder-text {
  color: #9ca3af;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ─── Graveyard Shimmer Skeleton ─── */
.shimmer-card {
  background: #fff;
  border-radius: 22px;
  border: 1px solid #fef2f2;
  box-shadow: 0 8px 26px rgba(220, 38, 38, 0.08);
  padding: 1.25rem;
  position: relative;
  margin-top: 20px;
}
.shimmer-card .shimmer-circle {
  background: linear-gradient(90deg, #fef2f2 25%, #fecaca 50%, #fef2f2 75%);
  background-size: 200% 100%;
}
.shimmer-card .shimmer-img {
  background: linear-gradient(90deg, #fef2f2 25%, #fecaca 50%, #fef2f2 75%);
  background-size: 200% 100%;
}
.shimmer-card .shimmer-line {
  background: linear-gradient(90deg, #fef2f2 25%, #fecaca 50%, #fef2f2 75%);
  background-size: 200% 100%;
}
