@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #ccc;
  --card: #eee;
  --text: #333;
  --muted: #555;
  --accent: #222;
  --cmd-bg: #1f2522;
  --cmd-text: #d7d7d7;
  --cmd-text-meta: #84cd94;
  --cmd-text-route: #4557ff;
  --border: #333;
  --card-bg: #ddd;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card);
  color: var(--text);
  font-family: "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  line-height: 1.7;
}

.page {
  width: min(920px, calc(100% - 32px));
  margin: 32px 42px 32px 42px;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
}

.terminal-bar {
  background: var(--cmd-bg);
  color: var(--cmd-text);
  padding: 14px 18px;
  letter-spacing: 0.03em;
  font-size: 20px;
}

.cmd-meta {
  color: var(--cmd-text-meta);
}

.cmd-route {
  color: var(--cmd-text-route);
}

.cursor {
  display: inline-block;
  width: 9px;
  height: 1em;
  background: var(--cmd-text);
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
}

.card {
  background: var(--card);
  padding: 32px;
}

.title {
  margin: 0;
  font-size: clamp(3rem, 10vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--accent);
}

.subtitle {
  color: var(--muted);
  margin-top: 12px;
}

header {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px dashed var(--border);
}

main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  margin-top: 28px;
}

section {
  margin-bottom: 36px;
}

h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.12em;
}

h2::before {
  content: '[ ';
  color: var(--muted);
}

h2::after {
  content: ' ]';
  color: var(--muted);
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.profile-table td {
  padding: 7px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.5);
  vertical-align: top;
}

.profile-table td:first-child {
  color: var(--muted);
  width: 34%;
}

.project {
    display: block;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--border);
    padding: 12px;
    margin-bottom: 12px;
    background: var(--card-bg);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.project:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--border);
}

.project-title {
    font-weight: bold;
    color: var(--accent);
}

.project-desc {
    color: var(--muted);
    font-size: 0.92rem;
    margin-top: 4px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-button {
  position: relative;
  display: inline-block;
  padding: 8px 10px;
  border: 1px solid var(--accent);
  overflow: hidden;
  z-index: 0;
  transition: color 0.1s ease;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.link-button:hover {
  transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--border);
}

a {
  color: var(--accent);
  text-decoration: none;
}

footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);

  font-size: 0.85em;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 760px) {
  body {
    margin: 0;
    display: block;
    min-height: 100svh;
    min-height: 100dvh;
  }

  .page {
    margin: 0;
    width: 100%;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  .terminal-bar {
    border-radius: 0;
  }

  .card {
    flex: 1;
    border-radius: 0;
    padding: 22px;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }

  main {
    grid-template-columns: 1fr;
  }
}
