/* =====================================================================
   Black Archlord — Roadmap (roadmap.php)
   Tarjetas agrupadas en "Coming soon" (dorado) y "Already in the game" (verde).
   ===================================================================== */

/* Progreso en la cabecera */
.nw-road-progress {
  flex: 0 0 auto;
  width: 300px;
  max-width: 100%;
  padding: 18px 20px;
}

.nw-road-progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.nw-road-progress-head span {
  color: var(--nw-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nw-road-progress-head strong {
  color: var(--nw-green);
  font-family: var(--nw-font-display);
  font-size: 30px;
  line-height: 1;
}

.nw-road-bar {
  height: 8px;
  margin: 12px 0 14px;
  overflow: hidden;
  border: 1px solid var(--nw-line-soft);
  background: rgba(0, 0, 0, 0.45);
}

.nw-road-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1f9a4c, var(--nw-green));
  box-shadow: 0 0 12px rgba(54, 210, 107, 0.5);
}

.nw-road-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
}

.nw-road-counts > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d9ccc6;
}

.nw-road-counts b {
  color: #fff;
}

.nw-road-counts .is-done i { color: var(--nw-green); }
.nw-road-counts .is-progress i { color: var(--nw-gold); }

/* Grupos */
.nw-road-page {
  display: grid;
  gap: 34px;
  padding-top: 30px;
  padding-bottom: 60px;
}

.nw-road-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--nw-line);
  color: #fff;
  font-family: var(--nw-font-display);
  font-size: 22px;
  font-weight: 700;
}

.nw-road-group-title i {
  color: var(--nw-gold);
}

.nw-road-group.is-done .nw-road-group-title i {
  color: var(--nw-green);
}

.nw-road-group-title small {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  padding: 0 6px;
  border: 1px solid var(--nw-frame);
  color: var(--nw-muted);
  font-family: var(--nw-font-body);
  font-size: 12px;
}

.nw-road-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Tarjeta */
.nw-road-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-top: 2px solid var(--nw-gold);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nw-road-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 26px rgba(224, 169, 106, 0.14);
}

.nw-road-card.is-done {
  border-top-color: var(--nw-green);
}

.nw-road-card.is-done:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 26px rgba(54, 210, 107, 0.14);
}

.nw-road-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nw-road-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--nw-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nw-road-tag i {
  color: var(--nw-red);
}

.nw-road-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid rgba(242, 181, 68, 0.55);
  color: #f2b544;
  background: rgba(242, 181, 68, 0.1);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nw-road-card.is-done .nw-road-state {
  border-color: rgba(54, 210, 107, 0.55);
  color: var(--nw-green);
  background: rgba(54, 210, 107, 0.1);
}

.nw-road-card-title {
  margin: 0;
  color: #fff;
  font-family: var(--nw-font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.nw-road-card-text {
  margin: 0;
  color: #cbbcb6;
  font-size: 14px;
  line-height: 1.6;
}

.nw-road-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 18px;
  border: 1px solid var(--nw-line-soft);
  color: var(--nw-muted);
  background: rgba(0, 0, 0, 0.3);
  font-size: 14px;
  text-align: center;
}

.nw-road-note i {
  color: var(--nw-gold);
}

@media (max-width: 1100px) {
  .nw-road-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nw-road-progress { width: 100%; }
}

@media (max-width: 640px) {
  .nw-road-grid { grid-template-columns: 1fr; }
  .nw-road-card { padding: 18px; }
  .nw-road-group-title { font-size: 19px; }
}
