/* Nguyen Family Office - ASCII Terminal Theme */

:root {
  --bg: #0a0a0a;
  --text: #00ff00;
  --text-dim: #008800;
  --accent: #00ffff;
  --border: #004400;
  --link: #00ffff;
  --link-hover: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  line-height: 1.4;
}

body {
  font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Code", "Courier New", monospace;
  background: var(--bg);
  color: var(--text);
  max-width: 80ch;
  margin: 0 auto;
  padding: 2rem 1rem;
  min-height: 100vh;
}

/* ASCII Art Header */
.ascii-header {
  color: var(--accent);
  font-size: 0.7rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  overflow-x: auto;
}

/* Typography */
h1 {
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--text);
  margin-bottom: 0.25rem;
}

h2 {
  font-size: 1rem;
  font-weight: normal;
  color: var(--accent);
  margin: 1rem 0 0.5rem 0;
}

p {
  margin-bottom: 1rem;
}

.tagline {
  color: var(--text-dim);
  font-style: italic;
}

/* Horizontal rule */
hr {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 1.5rem 0;
}

/* Preformatted text */
pre {
  font-family: inherit;
  font-size: 0.9rem;
  white-space: pre;
  overflow-x: auto;
  color: var(--text);
  line-height: 1.3;
}

/* Links */
a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Sections */
section {
  margin: 1rem 0;
}

main {
  min-height: 70vh;
}

/* Footer */
footer {
  margin-top: 2rem;
}

footer pre {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Blinking cursor effect */
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

h1::after {
  content: "_";
  animation: blink 1s infinite;
}

/* Responsive */
@media (max-width: 600px) {
  html {
    font-size: 12px;
  }
  
  .ascii-header {
    font-size: 0.5rem;
  }
  
  body {
    padding: 1rem 0.5rem;
  }
}

/* Selection */
::selection {
  background: var(--text);
  color: var(--bg);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}
