@font-face {
  font-family: "Minecraft Ten";
  src: url("../fonts/minecraft-ten.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Minecraft Seven";
  src: url("../fonts/minecraft-seven.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #070b12;
  --panel: #0d141f;
  --panel-2: #111b29;
  --border: #293548;
  --border-light: #3c4d66;
  --text: #f4f7ff;
  --muted: #a9b4c8;
  --soft: #dbe5f7;
  --green: #5cff9d;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  --pixel-shadow: 4px 4px 0 #000;
  --content: 1180px;
  --wide-content: 1440px;
  --page-padding: clamp(1rem, 3vw, 2.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(92, 255, 157, 0.07), transparent 28rem),
    linear-gradient(180deg, #060911 0%, #080d15 45%, #05080d 100%);
  font-family: "Minecraft Seven", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  image-rendering: pixelated;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--muted); }
h1, h2, h3 {
  margin: 0;
  color: var(--text);
  font-family: "Minecraft Ten", "Minecraft Seven", system-ui, sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.8rem, 8vw, 6.5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.2rem; text-transform: uppercase; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  color: #02050a;
  background: var(--green);
  border: 2px solid #fff;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid var(--border);
  background: rgba(7, 11, 18, 0.88);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  width: min(var(--wide-content), calc(100% - (var(--page-padding) * 2)));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.brand-icon {
  width: 46px;
  height: 46px;
  object-fit: cover;
  background: #101927;
  border: 2px solid var(--border-light);
  box-shadow: var(--pixel-shadow);
  padding: 4px;
}
.brand-text { display: grid; gap: 0.05rem; }
.brand-text strong {
  font-family: "Minecraft Ten", "Minecraft Seven", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.brand-text small { color: var(--muted); font-size: 0.72rem; }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}
.nav-link {
  padding: 0.55rem 0.85rem;
  color: var(--soft);
  border: 2px solid transparent;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: #101927;
  border-color: var(--border-light);
}

main { width: 100%; margin: 0; }
.page-hero,
.section {
  width: min(var(--content), calc(100% - (var(--page-padding) * 2)));
  margin-left: auto;
  margin-right: auto;
  padding: 4.5rem 0;
}
.wide-section {
  width: min(var(--wide-content), calc(100% - (var(--page-padding) * 2)));
}
.page-hero {
  text-align: center;
  border-bottom: 2px solid var(--border);
}
.page-hero p { max-width: 760px; margin: 1rem auto 0; }

.hero-banner {
  min-height: 640px;
  width: 100%;
  display: grid;
  align-items: center;
  padding: clamp(1.25rem, 5vw, 3.5rem) var(--page-padding);
  border-bottom: 2px solid var(--border);
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.96) 0%, rgba(5, 8, 13, 0.78) 48%, rgba(5, 8, 13, 0.20) 100%),
    url("../images/banner.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}
.hero-content {
  width: min(var(--wide-content), 100%);
  margin: 0 auto;
}
.hero-copy { max-width: 760px; }
.kicker,
.section-kicker {
  margin-bottom: 0.75rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}
.lead {
  max-width: 760px;
  margin-top: 1.2rem;
  color: var(--soft);
  font-size: 1.05rem;
}
.hero-actions,
.cta-row,
.card-actions,
.mail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.project-card,
.stat-card,
.about-card,
.mailbox,
.link-card,
.friend-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    var(--panel);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}
.pixel-button,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  color: var(--text);
  background: #0b111b;
  border: 2px solid var(--border-light);
  box-shadow: 3px 3px 0 #000;
  font-family: "Minecraft Seven", system-ui, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, background 120ms ease;
}
.pixel-button:hover,
.filter-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #000;
  border-color: var(--border-light);
  background: #101a2a;
}
.pixel-button:active,
.filter-button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #000;
}
.pixel-button.primary,
.filter-button.active {
  color: #06100b;
  background: var(--green);
  border-color: #b8ffd3;
}
.pixel-button.disabled { display: none; }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  align-items: end;
  text-align: center;
  margin-bottom: 1.5rem;
}
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.stat-card { padding: 1.3rem; text-align: center; }
.stat-number {
  display: block;
  color: var(--green);
  font-family: "Minecraft Ten", "Minecraft Seven", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}
.stat-label { display: block; margin-top: 0.55rem; color: var(--soft); }
.stat-note { margin-top: 0.45rem; font-size: 0.72rem; color: var(--muted); }

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 1.4rem auto 0.75rem;
}
.filter-button { min-height: 36px; padding: 0.5rem 0.75rem; font-size: 0.75rem; }
.result-count { margin-bottom: 1.2rem; color: var(--soft); font-size: 0.85rem; text-align: center; }

.project-grid,
.link-grid,
.friend-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.project-card,
.link-card,
.friend-card {
  position: relative;
  min-height: 245px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.project-card:hover,
.link-card:hover,
.friend-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), transparent), var(--panel-2);
}
.project-top { display: grid; grid-template-columns: 64px 1fr; gap: 0.9rem; align-items: center; margin-bottom: 1rem; }
.project-icon,
.friend-avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: #080d15;
  border: 2px solid var(--border-light);
  padding: 4px;
}
.friend-avatar { width: 72px; height: 72px; }
.project-card p,
.link-card p,
.friend-card p { color: var(--soft); }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.45rem; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.2rem 0.45rem;
  background: #0a1019;
  border: 2px solid var(--border-light);
  color: var(--text);
  font-size: 0.68rem;
  text-transform: uppercase;
}
.tag.green { border-color: var(--green); }
.project-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto; padding-top: 1rem; }
.project-meta span {
  padding: 0.2rem 0.45rem;
  color: var(--muted);
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(169, 180, 200, 0.18);
  font-size: 0.72rem;
}
.project-card.is-hidden { display: none; }

.link-card,
.friend-card { min-height: 190px; }
.link-card h3,
.friend-card h3 { margin-bottom: 0; }
.link-card .card-actions,
.friend-card .card-actions { margin-top: auto; padding-top: 1rem; }
.friend-card .card-actions.friend-actions-top { margin-top: 1rem; padding-top: 0; }
.link-card-head,
.friend-card-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}
.social-icon,
.button-icon {
  object-fit: contain;
  image-rendering: auto;
}
.social-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 8px;
  background: #080d15;
  border: 2px solid var(--border-light);
  box-shadow: 3px 3px 0 #000;
}
.button-icon {
  width: 18px;
  height: 18px;
  margin-right: 0.45rem;
}
.inline-svg-icon {
  width: 18px;
  height: 18px;
  margin-right: 0.45rem;
  fill: currentColor;
}

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.about-card { padding: 1.4rem; }
.timeline { display: grid; gap: 0.85rem; margin-top: 1rem; }
.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(169, 180, 200, 0.18);
}
.timeline-year {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  color: #06100b;
  background: var(--green);
  border: 2px solid #b8ffd3;
  font-family: "Minecraft Ten", "Minecraft Seven", system-ui, sans-serif;
}

.mailbox {
  position: relative;
  min-height: 720px;
  padding: clamp(1rem, 3vw, 2.5rem);
  overflow: hidden;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.92), rgba(7, 11, 18, 0.62), rgba(7, 11, 18, 0.18)),
    url("../images/mail-image.png") center / cover no-repeat;
}
.form-panel {
  width: min(620px, 100%);
  margin-left: auto;
  padding: 1.25rem;
  background: rgba(7, 11, 18, 0.86);
  border: 2px solid var(--border-light);
  box-shadow: 4px 4px 0 #000;
  backdrop-filter: blur(10px);
}
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.45rem; }
label { color: var(--soft); font-size: 0.85rem; text-transform: uppercase; }
input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem;
  color: var(--text);
  background: #080d15;
  border: 2px solid var(--border-light);
  font-family: "Minecraft Seven", system-ui, sans-serif;
  outline: none;
}
textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
input:focus,
textarea:focus,
select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(92,255,157,0.16); }

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 9999;
  width: min(720px, calc(100% - 2rem));
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms ease, opacity 280ms ease;
}
.site-toast.is-open { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.site-toast-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem;
  background: rgba(13, 20, 31, 0.96);
  border: 2px solid var(--border-light);
  box-shadow: 4px 4px 0 #000, 0 18px 60px rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
}
.site-toast-title { color: var(--text); font-family: "Minecraft Ten", "Minecraft Seven", system-ui, sans-serif; text-transform: uppercase; }
.site-toast p { font-size: 0.85rem; }
.site-toast-actions { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.site-toast .pixel-button { min-height: 36px; padding: 0.45rem 0.75rem; font-size: 0.72rem; }

.site-footer { border-top: 2px solid var(--border); margin-top: 2rem; background: rgba(5, 8, 13, 0.9); }
.footer-wrap {
  width: min(var(--wide-content), calc(100% - (var(--page-padding) * 2)));
  margin: 0 auto;
  padding: 1.4rem 0;
  display: flex;
  justify-content: center;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (min-width: 1260px) {
  .project-grid,
  .link-grid,
  .friend-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero-banner { min-height: 520px; }
  .project-grid,
  .link-grid,
  .friend-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; }
  .form-panel { margin: 0 auto; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .nav-wrap { min-height: auto; padding: 1rem 0; align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; overflow-x: auto; width: 100%; flex-wrap: nowrap; padding-bottom: 0.25rem; }
  .nav-link { flex: 0 0 auto; padding: 0.45rem 0.6rem; font-size: 0.75rem; }
  .page-hero,
  .section { padding: 3rem 0; }
  .hero-banner { min-height: 460px; background-position: center; }
  .project-grid,
  .link-grid,
  .friend-grid,
  .stat-grid { grid-template-columns: 1fr; }
  .project-top { grid-template-columns: 58px 1fr; }
  .project-icon { width: 58px; height: 58px; }
  .site-toast-inner { grid-template-columns: 1fr; }
  .mailbox { min-height: 640px; }
}
@media (max-width: 430px) {
  h1 { font-size: 2.45rem; }
  .brand-text small { display: none; }
  .filters { gap: 0.4rem; }
  .filter-button { font-size: 0.68rem; padding: 0.45rem 0.55rem; }
  .timeline-item { grid-template-columns: 52px 1fr; }
}

/* Latest requested layout updates */
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 4rem);
  min-height: min(640px, calc(100vh - 98px));
}

.hero-copy {
  align-self: center;
}

.hero-skin {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  min-height: 480px;
}

.hero-skin img {
  width: min(36vw, 380px);
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(12px 14px 0 rgba(0, 0, 0, 0.55));
}

.selected-projects .project-grid {
  grid-template-columns: repeat(3, minmax(0, 360px));
  justify-content: center;
}

.page-icon {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 1rem;
  padding: 8px;
  background: #080d15;
  border: 2px solid var(--border-light);
  box-shadow: 4px 4px 0 #000;
}

.link-username {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  word-break: break-word;
}

.text-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.25rem;
}

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    max-width: 760px;
    margin: 0 auto;
  }

  .hero-copy .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-skin {
    min-height: 360px;
    align-items: center;
  }

  .hero-skin img {
    width: min(60vw, 300px);
    max-height: 390px;
  }
}

@media (max-width: 720px) {
  .selected-projects .project-grid {
    grid-template-columns: 1fr;
  }

  .hero-skin {
    min-height: 300px;
  }

  .hero-skin img {
    width: min(72vw, 240px);
    max-height: 320px;
  }
}

/* Header title centered at the top */
.nav-wrap {
  min-height: auto;
  padding: 1rem 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
}

.brand {
  justify-content: center;
}

.nav-links {
  justify-content: center;
}

.inline-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* About page 4K image banner */
.about-banner {
  min-height: 560px;
  width: 100%;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem) var(--page-padding);
  border-bottom: 2px solid var(--border);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.22), rgba(5, 8, 13, 0.88)),
    url("../images/about-image.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.about-banner-content {
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.about-banner-content p {
  max-width: 760px;
  margin: 1rem auto 0;
  color: var(--soft);
}

.project-top {
  align-items: start;
}

.project-tags {
  margin-top: 0;
}

@media (max-width: 720px) {
  .nav-wrap {
    align-items: center;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .about-banner {
    min-height: 420px;
  }
}


/* Latest header + timeline refinement */
.site-header .nav-wrap {
  min-height: 96px;
  padding: 0 var(--page-padding);
  width: min(var(--wide-content), 100%);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 4vw, 3rem);
}

.site-header .brand {
  flex: 0 0 auto;
  align-self: center;
  justify-content: flex-start;
  min-height: 64px;
}

.site-header .brand-icon {
  width: 56px;
  height: 56px;
}

.site-header .brand-text {
  align-content: center;
  line-height: 1.1;
}

.site-header .brand-text strong {
  display: block;
  line-height: 1;
}

.site-header .brand-text small {
  display: block;
  margin-top: 0.35rem;
  line-height: 1.1;
}

.site-header .nav-links {
  flex: 1 1 auto;
  justify-content: flex-end;
  align-items: center;
}

.timeline-card {
  overflow: hidden;
}

.real-timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-left: 1.35rem;
}

.real-timeline::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  bottom: 0.35rem;
  left: 0.32rem;
  width: 2px;
  background: linear-gradient(180deg, var(--green), var(--border-light));
}

.real-timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -1.35rem;
  top: 0.5rem;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--green);
  border: 2px solid #b8ffd3;
  box-shadow: 0 0 0 4px #0d141f, 3px 3px 0 #000;
}

.real-timeline-content {
  padding: 0.9rem;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(169, 180, 200, 0.2);
}

.real-timeline-item.today .real-timeline-content {
  border: 2px solid var(--green);
  background: linear-gradient(180deg, rgba(92,255,157,0.08), rgba(255,255,255,0.035));
}

.timeline-date {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: var(--green);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.real-timeline-content h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.timeline-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.timeline-stat {
  padding: 0.75rem;
  background: #080d15;
  border: 2px solid var(--border-light);
  box-shadow: 3px 3px 0 #000;
}

.timeline-stat-number {
  display: block;
  color: var(--green);
  font-family: "Minecraft Ten", "Minecraft Seven", system-ui, sans-serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1;
}

.timeline-stat-label {
  display: block;
  margin-top: 0.4rem;
  color: var(--soft);
  font-size: 0.72rem;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header .nav-wrap {
    min-height: auto;
    flex-direction: column;
    justify-content: center;
    padding: 1rem var(--page-padding);
  }

  .site-header .brand {
    justify-content: center;
  }

  .site-header .nav-links {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .site-header .nav-wrap {
    align-items: center;
  }

  .timeline-stats {
    grid-template-columns: 1fr;
  }
}


/* Hero vertical centering refinement */
.hero-banner {
  padding-top: 0;
  padding-bottom: 0;
}

.site-header .brand {
  display: flex;
  align-items: center;
}

.site-header .brand-text {
  height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.18rem;
}

.site-header .brand-text strong,
.site-header .brand-text small {
  line-height: 1;
}

/* Animated about terminal */
.about-terminal {
  margin-top: 1.4rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(92,255,157,0.12), transparent 18rem),
    #050b09;
  border: 2px solid rgba(92,255,157,0.42);
  box-shadow: 4px 4px 0 #000, inset 0 0 0 2px rgba(0,0,0,0.55);
}

.about-terminal-bar {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 2px solid rgba(92,255,157,0.18);
  background: rgba(92,255,157,0.06);
}

.terminal-dots {
  display: flex;
  gap: 0.45rem;
}

.terminal-dots span {
  width: 12px;
  height: 12px;
  background: var(--green);
  border: 1px solid rgba(184,255,211,0.85);
  box-shadow: 2px 2px 0 #000;
}

.terminal-title {
  color: var(--green);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.about-terminal-screen {
  padding: 1rem;
  color: var(--soft);
  font-family: "Minecraft Seven", monospace;
}

.terminal-line {
  display: block;
  margin: 0.55rem 0;
  opacity: 0;
  transform: translateY(8px);
  animation: terminalLineIn 420ms steps(4, end) forwards;
  animation-delay: var(--delay, 0ms);
}

.terminal-output {
  margin: 0.65rem 0 1rem;
  padding: 0.8rem;
  border: 2px solid rgba(92,255,157,0.25);
  background: rgba(255,255,255,0.035);
}

.terminal-prompt,
.terminal-ok,
.terminal-value {
  color: var(--green);
}

.terminal-table {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.terminal-row {
  display: grid;
  grid-template-columns: minmax(130px, auto) 1fr;
  gap: 0.75rem;
}

.terminal-cursor {
  display: inline-block;
  width: 0.65em;
  height: 1em;
  margin-left: 0.2rem;
  background: var(--green);
  vertical-align: -0.15em;
  animation: terminalBlink 850ms steps(1, end) infinite;
}

@keyframes terminalLineIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes terminalBlink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@media (max-width: 980px) {
  .hero-content {
    min-height: auto;
    padding: 4rem 0 0;
  }

  .hero-skin {
    align-self: center;
  }
}

@media (max-width: 720px) {
  .site-header .brand-text {
    height: auto;
  }

  .terminal-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
