/* ═══════════════════════════════════════════
   VALUE LIST PAGE — value-list.css
   ═══════════════════════════════════════════ */

/* ── Hero ── */
.vl-hero {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
}
.vl-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 0.6rem; }
.accent { color: var(--accent); }
.vl-hero-sub { color: var(--text-muted); max-width: 640px; font-size: 1.05rem; margin-bottom: 1.2rem; }
.vl-hero-stats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stat-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Info strip ── */
.vl-info-strip { margin: 1.2rem auto; }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.info-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.05rem; }
.info-card a { color: var(--accent); text-decoration: none; }
.info-card a:hover { text-decoration: underline; }

/* ── Controls ── */
.vl-controls { margin-bottom: 1rem; }
.vl-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.9rem;
}
.search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}
.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  pointer-events: none;
}
.search-wrap input {
  width: 100%;
  padding: 0.65rem 0.75rem 0.65rem 2.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  box-sizing: border-box;
}
.search-wrap input:focus { border-color: var(--accent); }

.filter-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.filter-row select {
  padding: 0.62rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.88rem;
  cursor: pointer;
  outline: none;
}
.filter-row select:focus { border-color: var(--accent); }

/* ── Rarity pills ── */
.vl-rarity-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.pill {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.pill.active, .pill:hover { color: var(--text); border-color: var(--accent); }
.pill-common.active    { background: #3a4a2a; border-color: #7ec850; color: #7ec850; }
.pill-uncommon.active  { background: #2a4a3a; border-color: #50e0a0; color: #50e0a0; }
.pill-rare.active      { background: #2a3a5a; border-color: #60a0f0; color: #60a0f0; }
.pill-epic.active      { background: #3a2a5a; border-color: #b060f0; color: #b060f0; }
.pill-legendary.active { background: #4a3a1a; border-color: #f0c060; color: #f0c060; }
.pill-mythical.active  { background: #4a1a4a; border-color: #e060e0; color: #e060e0; }
.pill-divine.active    { background: #3a2010; border-color: #f08040; color: #f08040; }
.pill-prismatic.active { background: #1a3a4a; border-color: #40e0e0; color: #40e0e0; }

/* ── Result count ── */
.vl-result-count { font-size: 0.85rem; color: var(--text-muted); }
.vl-result-count span { font-weight: 700; color: var(--accent); }

/* ── Table ── */
.vl-table-wrap { overflow-x: auto; margin-bottom: 2rem; }
.vl-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.9rem;
}
.vl-table thead th {
  background: var(--bg-alt);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.vl-table thead th[data-sort]:hover { color: var(--accent); }
.vl-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.1s; }
.vl-table tbody tr:last-child { border-bottom: none; }
.vl-table tbody tr:hover { background: var(--bg-alt); }
.vl-table td { padding: 0.65rem 1rem; vertical-align: middle; }
.vl-table .col-name { font-weight: 600; white-space: nowrap; }

/* Rarity badges */
.rarity-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.rarity-common    { background:#3a4a2a; color:#7ec850; }
.rarity-uncommon  { background:#2a4a3a; color:#50e0a0; }
.rarity-rare      { background:#2a3a5a; color:#60a0f0; }
.rarity-epic      { background:#3a2a5a; color:#b060f0; }
.rarity-legendary { background:#4a3a1a; color:#f0c060; }
.rarity-mythical  { background:#4a1a4a; color:#e060e0; }
.rarity-divine    { background:#3a2010; color:#f08040; }
.rarity-prismatic { background:#1a3a4a; color:#40e0e0; }

/* Value */
.value-num { font-weight: 700; color: var(--accent); font-size: 1rem; }
.sheckle-label { font-size: 0.75rem; color: var(--text-muted); }

/* Harvest badges */
.harvest-badge { font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.hb-multi  { color: #50d090; }
.hb-single { color: #e08040; }

/* Hide less important columns on small screens */
@media (max-width: 640px) {
  .col-source, .col-tip { display: none; }
  .vl-table td, .vl-table th { padding: 0.55rem 0.6rem; }
}

.no-results { text-align: center; padding: 2rem; color: var(--text-muted); }

/* ── CTA strip ── */
.vl-cta-strip { margin-bottom: 3rem; }
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 1.5rem;
  flex-wrap: wrap;
}
.cta-text h2 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.cta-text p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.btn { display: inline-block; padding: 0.65rem 1.4rem; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 0.95rem; transition: opacity 0.15s; }
.btn-accent { background: var(--accent); color: #000; }
.btn-accent:hover { opacity: 0.85; }

/* ── Guide section ── */
.vl-guide { max-width: 780px; margin-bottom: 3rem; }
.vl-guide h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.vl-guide h3 { font-size: 1.15rem; margin: 1.8rem 0 0.6rem; }
.vl-guide p { color: var(--text-muted); line-height: 1.7; margin-bottom: 0.75rem; }
.vl-guide code { background: var(--bg-alt); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.85em; color: var(--accent); }

/* Rarity guide grid */
.rarity-guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.6rem; margin: 0.8rem 0 1.2rem; }
.rg-item { padding: 0.65rem 0.75rem; border-radius: 8px; font-size: 0.83rem; line-height: 1.5; border: 1px solid var(--border); }
.rg-common    { background:#3a4a2a22; color:#7ec850; }
.rg-uncommon  { background:#2a4a3a22; color:#50e0a0; }
.rg-rare      { background:#2a3a5a22; color:#60a0f0; }
.rg-epic      { background:#3a2a5a22; color:#b060f0; }
.rg-legendary { background:#4a3a1a22; color:#f0c060; }
.rg-mythical  { background:#4a1a4a22; color:#e060e0; }
.rg-divine    { background:#3a201022; color:#f08040; }
.rg-prismatic { background:#1a3a4a22; color:#40e0e0; }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 0.6rem; overflow: hidden; }
.faq-item summary { padding: 0.85rem 1rem; cursor: pointer; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "›"; font-size: 1.2rem; transform: rotate(90deg); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(270deg); }
.faq-item p { padding: 0 1rem 0.85rem; color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; margin: 0; }
