/* ==========================================================================
   github.css  —  GitHub page styles
   ========================================================================== */

.github-layout {
  padding: 0 40px 60px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
}

/* ── Profile card ── */
.github-profile-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  animation: fadeUp 0.6s ease both;
}

.github-profile-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--green);
  border-left: 2px solid var(--green);
}

.github-profile-card::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 16px; height: 16px;
  border-bottom: 2px solid var(--green);
  border-right: 2px solid var(--green);
}

.github-profile-card__icon {
  width: 72px;
  height: 72px;
  border: 1px solid var(--border);
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.github-profile-card__icon i {
  font-size: 2em;
  color: var(--green-dim);
}

.github-profile-card__label {
  font-size: 0.62em;
  letter-spacing: 4px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.github-profile-card__name {
  font-size: 1.2em;
  color: var(--green);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(0, 255, 65, 0.35);
  margin-bottom: 4px;
}

.github-profile-card__sub {
  font-size: 0.7em;
  color: var(--text-dim);
  letter-spacing: 2px;
}

/* ── CTA wrap ── */
.github-cta-wrap {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 28px;
  position: relative;
  animation: fadeUp 0.6s ease 0.1s both;
}

.github-cta-wrap::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--green);
  border-left: 2px solid var(--green);
}

.github-cta-wrap__eyebrow {
  font-size: 0.62em;
  letter-spacing: 4px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.github-cta-wrap__desc {
  font-size: 0.82em;
  color: var(--text-dim);
  line-height: 1.9;
  letter-spacing: 0.4px;
  margin-bottom: 24px;
}

/* ── Button ── */
.github-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--green-dim);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.75em;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 28px;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}

.github-btn::before {
  content: '> ';
  color: var(--green-dark);
}

.github-btn:hover {
  background: var(--green-glow);
  border-color: var(--green);
  box-shadow: 0 0 18px var(--green-glow);
}

.github-btn i {
  font-size: 1.1em;
}

/* ── Shared animation ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .github-layout { padding: 0 20px 48px; }
  .github-profile-card { flex-direction: column; align-items: flex-start; gap: 16px; }
}