:root {
  --bg: #0d1117;
  --bg-card: #161b22;
  --text: #c9d1d9;
  --accent: #ff4d4d;
  --muted: #8b949e;
  --border: #30363d;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Courier New', monospace;
  line-height: 1.6;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

nav .logo { font-weight: bold; font-size: 1.2rem; color: var(--accent); }

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover { color: var(--accent); }

.hero {
  padding: 5rem 3rem;
  max-width: 900px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero h1 span { color: var(--accent); }

#typed {
  color: var(--accent);
  border-right: 2px solid var(--accent);
  padding-right: 4px;
}

.hero p.subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 1.5rem 0 2rem;
  max-width: 650px;
}

.links {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.links a {
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}

.links a.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d1117;
  font-weight: bold;
}

.stats {
  display: flex;
  gap: 3rem;
}

.stats div { text-align: left; }
.stats .num { font-size: 1.6rem; font-weight: bold; }
.stats .label { color: var(--muted); font-size: 0.85rem; }

.hero-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  padding: 5rem 3rem;
}

.hero-wrapper .hero {
  padding: 0;
  flex: 1;
}

.profile-ring {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  padding: 10px;
  flex-shrink: 0;
}

.profile-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.about-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  box-shadow: 0 0 20px rgba(255, 77, 77, 0.08);
}

.about-section .prompt {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.about-section .prompt::before {
  content: "$ ";
}

.about-section h2 {
  display: none;
}

.about-section p {
  color: var(--text);
  line-height: 1.8;
  font-size: 1rem;
  white-space: pre-line;
}

.about-section .cursor-blink {
  display: inline-block;
  width: 8px;
  height: 1rem;
  background: var(--accent);
  animation: blink 1s step-start infinite;
  margin-left: 4px;
}

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

.skills-section {
  max-width: 800px;
  margin: 0 auto 60px auto;
  padding: 0 30px;
}

.skills-section h2 {
  color: var(--accent);
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.skills-section h2::before {
  content: "$ ls skills/ ";
}

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

.skill-tag {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}
