.coding-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.coding-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #38bdf8, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.coding-desc {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Construction Showcase */
.construction-showcase {
  margin-bottom: 3.5rem;
}

.construction-frame {
  background: #141720;
  border: 3px solid #eab308;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(234, 179, 8, 0.15);
}

.construction-bar {
  background: repeating-linear-gradient(
    -45deg,
    #eab308,
    #eab308 15px,
    #000000 15px,
    #000000 30px
  );
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-title {
  background: #000;
  color: #facc15;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.25rem 0.8rem;
  border-radius: 4px;
  letter-spacing: 1px;
}

.construction-image-box {
  position: relative;
  background: #000;
}

.construction-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.construction-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #fde047;
  text-align: right;
  font-weight: 700;
}

/* Terminal Window */
.term-section {
  margin-bottom: 4rem;
}

.term-window {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  font-family: var(--font-mono);
}

.term-bar {
  background: #161b22;
  border-bottom: 1px solid #30363d;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.term-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.term-file {
  font-size: 0.75rem;
  color: #8b949e;
}

.term-body {
  padding: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.term-line {
  color: #e6edf3;
  margin-bottom: 0.3rem;
}

.prompt {
  color: #58a6ff;
  font-weight: 700;
  margin-right: 0.5rem;
}

.term-output {
  color: #8b949e;
  margin-bottom: 1rem;
  padding-left: 1.2rem;
}

.text-cyan {
  color: #38bdf8 !important;
}

/* Projects */
.projects-section {
  margin-bottom: 4rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, border-color 0.2s;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.p-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}
.p-tag.js { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.p-tag.bot { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.p-tag.py { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.p-tag.ai { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.p-tag.game { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.p-tag.chaos { background: rgba(234, 179, 8, 0.15); color: #facc15; }
.p-tag.sys { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }
.p-tag.legacy { background: rgba(236, 72, 153, 0.15); color: #f472b6; }

.project-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #fff;
}

.project-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.project-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.p-status.ready { color: #34d399; }
.p-status.wip { color: #facc15; }
.p-commits { color: var(--text-sub); }

.p-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
}
.p-link:hover { text-decoration: underline; }

/* Stack Badges */
.stack-section {
  margin-bottom: 4rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.8rem;
}

.stack-section h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.badge {
  background: #181d29;
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #e5e7eb;
}
