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

body {
  background: #000;
  color: #00ff41;
  font-family: 'Courier New', Courier, monospace;
  min-height: 100vh;
  overflow-y: auto;
}

/* Matrix Rain canvas — fixed full-screen behind everything */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.30;
}

/* Hero layout — centered in viewport */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.hero-content {
  text-align: left;
  padding: 2rem;
}

/* > DANIEL BARUTOV line */
.prompt {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: bold;
  text-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* Blinking cursor */
.cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: #00cc33;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 6px #00cc33;
}

.bio {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: #009922;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Terminal-style buttons */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  color: #00ff41;
  text-decoration: none;
  font-size: clamp(0.85rem, 2vw, 1rem);
  border: 1px solid #00ff41;
  padding: 0.4rem 1rem;
  letter-spacing: 0.08em;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.btn:hover {
  background: #00ff41;
  color: #000;
  box-shadow: 0 0 14px #00ff41, 0 0 28px #00ff41;
}

@media (max-width: 480px) {
  .links {
    flex-direction: column;
  }
}

/* ── Sections ────────────────────────────────────────────────────────────────*/
.section {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-top: 1px solid #003311;
}

.section-title {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: bold;
  text-shadow: 0 0 8px #00ff41;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

/* ── Skills tags ─────────────────────────────────────────────────────────────*/
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  border: 1px solid #00cc33;
  color: #00cc33;
  padding: 0.25rem 0.7rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.tag-sm {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-color: #005522;
  color: #007733;
}

/* ── Project cards ───────────────────────────────────────────────────────────*/
.project-card {
  border: 1px solid #003311;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s;
}

.project-card:hover {
  border-color: #00ff41;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.project-title {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: bold;
  color: #00ff41;
  text-shadow: 0 0 6px #00ff41;
}

.project-period {
  font-size: 0.8rem;
  color: #005522;
}

.project-desc {
  font-size: 0.85rem;
  color: #009922;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.project-results {
  list-style: none;
  margin-bottom: 1rem;
}

.project-results li {
  font-size: 0.82rem;
  color: #00cc33;
  line-height: 1.6;
  padding-left: 1.2rem;
  position: relative;
}

.project-results li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #00ff41;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
