/* Minecraft Backend Gaming guide */

/* Flat hero — no card panel */
.page-wrap .hero-wrap {
  background: transparent;
  padding: clamp(40px, 6vw, 56px) 20px clamp(24px, 4vw, 32px);
}

.page-wrap .hero-wrap .hero {
  background: none;
  min-height: auto;
  padding: 0;
  overflow: visible;
}

.page-wrap .hero-wrap .wrap {
  padding: 0;
  max-width: 1200px;
}

.hero-image--minecraft,
.page-wrap .hero-wrap .hero-image {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 14px auto 0;
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: var(--round, 16px);
  overflow: hidden;
}

.hero-image--minecraft img,
.page-wrap .hero-wrap .hero-image img {
  display: block;
  width: auto;
  max-width: min(900px, 100%);
  height: auto;
  max-height: clamp(220px, 40vw, 460px);
  object-fit: contain;
}

.guide-section-head {
  margin: 0;
  font-size: 1.35rem;
}

.guide-section-desc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.guide-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.guide-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.guide-list li:last-child {
  margin-bottom: 0;
}

.guide-callout {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--round);
  border: 1px solid rgba(152, 186, 227, 0.25);
  background: color-mix(in oklab, var(--zms-700) 55%, transparent);
}

.guide-callout--highlight {
  border-color: color-mix(in oklab, #3dd4d0 40%, transparent);
  background: color-mix(in oklab, #3dd4d0 10%, var(--zms-700));
  box-shadow: inset 3px 0 0 color-mix(in oklab, #3dd4d0 85%, transparent);
}

.guide-callout--warning {
  border-color: color-mix(in oklab, #e8a317 45%, transparent);
  background: color-mix(in oklab, #e8a317 12%, var(--zms-700));
  box-shadow: inset 3px 0 0 color-mix(in oklab, #e8a317 85%, transparent);
}

.guide-callout--final {
  border-color: color-mix(in oklab, #6aab3a 45%, transparent);
  background: color-mix(in oklab, #6aab3a 12%, var(--zms-700));
  box-shadow: inset 3px 0 0 color-mix(in oklab, #6aab3a 85%, transparent);
}

.guide-callout h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--zms-100);
}

.guide-callout p {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.guide-callout p:last-child {
  margin-bottom: 0;
}

.guide-callout blockquote {
  margin: 12px 0;
  padding: 12px 16px;
  border-left: 3px solid color-mix(in oklab, #3dd4d0 70%, transparent);
  background: color-mix(in oklab, var(--zms-700) 50%, transparent);
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.5;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.skill-card {
  padding: 16px 18px;
  border-radius: var(--round);
  border: 1px solid rgba(152, 186, 227, 0.22);
  background: color-mix(in oklab, var(--zms-700) 35%, transparent);
}

.skill-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--zms-100);
}

.skill-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.skill-card--servers { box-shadow: inset 3px 0 0 color-mix(in oklab, #6aab3a 75%, transparent); }
.skill-card--networking { box-shadow: inset 3px 0 0 color-mix(in oklab, #3dd4d0 75%, transparent); }
.skill-card--linux { box-shadow: inset 3px 0 0 color-mix(in oklab, #f0c040 75%, transparent); }
.skill-card--windows { box-shadow: inset 3px 0 0 color-mix(in oklab, #0078d4 75%, transparent); }
.skill-card--java { box-shadow: inset 3px 0 0 color-mix(in oklab, #e85d5d 75%, transparent); }
.skill-card--python { box-shadow: inset 3px 0 0 color-mix(in oklab, #4a9fd8 75%, transparent); }
.skill-card--database { box-shadow: inset 3px 0 0 color-mix(in oklab, #5b8fd4 75%, transparent); }
.skill-card--security { box-shadow: inset 3px 0 0 color-mix(in oklab, #9b6dd7 75%, transparent); }

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.compare-card {
  padding: 16px 18px;
  border-radius: var(--round);
  border: 1px solid rgba(152, 186, 227, 0.22);
  background: color-mix(in oklab, var(--zms-700) 35%, transparent);
}

.compare-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--zms-100);
}

.compare-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.link-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.link-list a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--round);
  border: 1px solid rgba(152, 186, 227, 0.22);
  background: color-mix(in oklab, var(--zms-700) 40%, transparent);
  color: var(--zms-100);
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.link-list a:hover {
  border-color: color-mix(in oklab, #6aab3a 50%, transparent);
  background: color-mix(in oklab, #6aab3a 12%, var(--zms-700));
  color: #fff;
}

.level-path {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.level-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--round);
  border: 1px solid rgba(152, 186, 227, 0.2);
  background: color-mix(in oklab, var(--zms-700) 40%, transparent);
}

.level-badge {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, #6aab3a 70%, transparent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.level-text {
  margin: 0;
  padding-top: 2px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.career-tag {
  padding: 10px 14px;
  border-radius: var(--round);
  border: 1px solid rgba(152, 186, 227, 0.2);
  background: color-mix(in oklab, var(--zms-700) 30%, transparent);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.option-card {
  padding: 16px 18px;
  border-radius: var(--round);
  border: 1px solid rgba(152, 186, 227, 0.22);
  background: color-mix(in oklab, var(--zms-700) 35%, transparent);
}

.option-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--zms-100);
}

.option-card > p {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.option-label {
  margin: 12px 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--zms-100);
}

.option-list {
  margin-top: 4px;
  margin-bottom: 8px;
}

.vm-tree {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--round);
  border: 1px solid rgba(152, 186, 227, 0.22);
  background: color-mix(in oklab, var(--zms-700) 45%, transparent);
}

.vm-tree-title {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--zms-100);
  font-size: 0.95rem;
}

.vm-tree ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.vm-tree li {
  margin-bottom: 6px;
  line-height: 1.45;
}

.vm-tree li:last-child {
  margin-bottom: 0;
}

.progression-timeline {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.progression-step {
  position: relative;
  padding: 12px 16px 12px 42px;
  border-left: 2px solid color-mix(in oklab, #6aab3a 50%, transparent);
  margin-left: 12px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.45;
}

.progression-step::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: color-mix(in oklab, #6aab3a 80%, transparent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--zms-700) 80%, transparent);
}

.progression-step:last-child {
  border-left-color: transparent;
}

.ticket-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ticket-list li {
  padding: 10px 14px;
  border-radius: var(--round);
  border: 1px solid rgba(152, 186, 227, 0.2);
  background: color-mix(in oklab, var(--zms-700) 35%, transparent);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ticket-list li::before {
  content: "▸ ";
  color: color-mix(in oklab, #9b6dd7 80%, transparent);
  font-weight: 700;
}

.guide-subhead {
  margin: 22px 0 0;
  font-size: 1.1rem;
  color: var(--zms-100);
}

.grow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  margin-top: 16px;
  align-items: center;
}

.grow-card {
  padding: 16px 18px;
  border-radius: var(--round);
  border: 1px solid rgba(152, 186, 227, 0.22);
  background: color-mix(in oklab, var(--zms-700) 35%, transparent);
}

.grow-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--zms-100);
}

.grow-card--arrow {
  padding: 0;
  border: none;
  background: none;
  color: color-mix(in oklab, #6aab3a 80%, transparent);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1;
}

@media (max-width: 768px) {
  .grow-grid {
    grid-template-columns: 1fr;
  }

  .grow-card--arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
}
