/* Dig & Clean Wiki — shared styles (bright beach-digging theme) */

:root {
  --dc-sand: #e0a530;      /* sand gold */
  --dc-sand-dark: #b8791e;
  --dc-ocean: #0891b2;     /* cyan-600 */
  --dc-ocean-dark: #0e7490;
  --dc-foam: #ecfeff;
  --dc-ink: #2b2013;       /* warm dark brown for headings */
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #fdf8ee;
  color: #45392a;
}

.font-display {
  font-family: 'Baloo 2', system-ui, sans-serif;
}

.glow-text {
  background: linear-gradient(90deg, #0891b2, #0e9f6e 60%, #e0a530);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-glow {
  background:
    radial-gradient(circle at 12% -10%, rgba(224,165,48,0.28), transparent 45%),
    radial-gradient(circle at 90% 0%, rgba(8,145,178,0.22), transparent 50%),
    linear-gradient(180deg, #fffaf0 0%, #fdf8ee 100%);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #0891b2, #0e7490);
  box-shadow: 0 8px 24px -8px rgba(8,145,178,0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 12px 28px -8px rgba(8,145,178,0.6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 9999px;
  font-weight: 600;
  color: #45392a;
  border: 1px solid #e3d3ab;
  background: #ffffff;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-outline:hover {
  border-color: #e0a530;
  color: #b8791e;
}

.card {
  background: #ffffff;
  border: 1px solid #f0e4c4;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px -6px rgba(43,32,19,0.12);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  border-color: rgba(8,145,178,0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(43,32,19,0.18);
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(224,165,48,0.14);
  color: #b8791e;
  border: 1px solid rgba(224,165,48,0.35);
}

.tag-ocean {
  background: rgba(8,145,178,0.1);
  color: #0e7490;
  border-color: rgba(8,145,178,0.3);
}

.tag-clean {
  background: rgba(20,184,166,0.1);
  color: #0f766e;
  border-color: rgba(20,184,166,0.3);
}

.ad-slot {
  border: 1px dashed #e3d3ab;
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: #a8967a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.prose-dc p, .prose-dc li {
  color: #4b3d2b;
  line-height: 1.75;
}
.prose-dc h2 {
  color: var(--dc-ink);
}
.prose-dc a {
  color: #0e7490;
  text-decoration: underline;
  text-underline-offset: 2px;
}

video-embed, .video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #f0e4c4;
}

/* rarity color chips */
.rarity-common { background: rgba(120,113,108,0.12); color: #57534e; border-color: rgba(120,113,108,0.3); }
.rarity-uncommon { background: rgba(34,197,94,0.12); color: #15803d; border-color: rgba(34,197,94,0.3); }
.rarity-rare { background: rgba(8,145,178,0.12); color: #0e7490; border-color: rgba(8,145,178,0.3); }
.rarity-epic { background: rgba(168,85,247,0.12); color: #7e22ce; border-color: rgba(168,85,247,0.3); }
.rarity-legendary { background: rgba(224,165,48,0.16); color: #b8791e; border-color: rgba(224,165,48,0.4); }
.rarity-mythic { background: rgba(244,63,94,0.12); color: #be123c; border-color: rgba(244,63,94,0.3); }
.rarity-chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid;
}

/* progress bar for museum tracker */
.progress-track {
  width: 100%;
  height: 0.85rem;
  border-radius: 9999px;
  background: #f0e4c4;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #0891b2, #14b8a6);
  transition: width 0.3s ease;
}

table.dc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.dc-table th {
  text-align: left;
  padding: 0.6rem 0.9rem;
  background: #fff6e0;
  color: #7a5a1e;
  font-weight: 700;
  border-bottom: 1px solid #f0e4c4;
}
table.dc-table td {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid #f5ecd6;
}
table.dc-table tr:hover td {
  background: #fffaf0;
}
