/* Nexus City – Erz-Rezepte Seite */
.nc-rezepte-hero {
  position: relative;
  text-align: center;
  margin-bottom: 2.5rem;
}

.nc-rezepte-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.nc-rezepte-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nc-rezepte-legend code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
}

.nc-rezepte-legend code.sym-B { color: #facc15; border-color: rgba(250, 204, 21, 0.4); }
.nc-rezepte-legend code.sym-I { color: #a78bfa; border-color: rgba(167, 139, 250, 0.4); }
.nc-rezepte-legend code.sym-S { color: #86efac; border-color: rgba(134, 239, 172, 0.4); }
.nc-rezepte-legend code.sym-O { color: #67e8f9; border-color: rgba(103, 232, 249, 0.4); }

.nc-tier-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nc-tier-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 4, 22, 0.65);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.nc-tier-card:hover {
  border-color: rgba(0, 225, 253, 0.25);
}

.nc-tier-card.is-open {
  box-shadow: 0 0 40px -10px var(--tier-glow, rgba(0, 225, 253, 0.2));
}

.nc-tier-card__header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}

.nc-tier-card__header:focus-visible {
  outline: 2px solid var(--nc-cyan);
  outline-offset: -2px;
}

.nc-tier-card__tier {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nc-tier-card__meta {
  flex: 1;
  min-width: 0;
}

.nc-tier-card__name {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.nc-tier-card__sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.2rem;
}

.nc-tier-card__chevron {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.nc-tier-card.is-open .nc-tier-card__chevron {
  transform: rotate(180deg);
  background: rgba(0, 225, 253, 0.15);
}

.nc-tier-card__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.nc-tier-card.is-open .nc-tier-card__panel {
  grid-template-rows: 1fr;
}

.nc-tier-card__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.nc-tier-card__content {
  padding: 0 1.5rem 1.5rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
}

.nc-tier-card.is-open .nc-tier-card__content {
  opacity: 1;
  transform: translateY(0);
}

.nc-tier-section {
  margin-top: 1.25rem;
}

.nc-tier-section h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nc-cyan);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.nc-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.nc-info-chip {
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.nc-info-chip strong {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.2rem;
}

.nc-smelt-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.nc-smelt-chain .arrow {
  color: var(--nc-cyan);
  opacity: 0.7;
}

.nc-effect-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nc-effect-item {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--tier-color, var(--nc-cyan));
  font-size: 0.85rem;
}

.nc-effect-item strong {
  color: #fff;
  display: block;
  margin-bottom: 0.15rem;
}

.nc-set-bonus {
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(0, 225, 253, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.nc-set-bonus h5 {
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 0.35rem;
}

.nc-set-bonus ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.nc-set-bonus li {
  padding: 0.25rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.nc-set-bonus li::before {
  content: "✦ ";
  color: #fbbf24;
}

.nc-recipe-grid-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.nc-recipe-card {
  padding: 1rem;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease;
}

.nc-recipe-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.nc-recipe-card h5 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}

.nc-info-chip--mine strong { color: #fbbf24; }

.nc-mining-section h2 i { opacity: 0.9; }
.nc-mining-rule { transition: border-color 0.2s ease; }
.nc-mining-rule:hover { border-color: rgba(251, 191, 36, 0.35); }

.nc-craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 2rem);
  gap: 3px;
  margin: 0 auto;
  width: fit-content;
}

.nc-craft-cell {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.25);
}

.nc-craft-cell.filled {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.nc-craft-cell.sym-B { border-color: rgba(250, 204, 21, 0.5); color: #facc15; }
.nc-craft-cell.sym-I { border-color: rgba(167, 139, 250, 0.5); color: #c4b5fd; }
.nc-craft-cell.sym-S { border-color: rgba(134, 239, 172, 0.5); color: #86efac; }
.nc-craft-cell.sym-O { border-color: rgba(103, 232, 249, 0.5); color: #67e8f9; }

@media (max-width: 640px) {
  .nc-tier-card__header {
    padding: 1rem;
    gap: 0.75rem;
  }
  .nc-tier-card__name {
    font-size: 1.15rem;
  }
  .nc-tier-card__content {
    padding: 0 1rem 1rem;
  }
  .nc-recipe-grid-wrap {
    grid-template-columns: 1fr 1fr;
  }
}
