:root {
  --bg: #070b14;
  --panel: #10192c;
  --panel-border: #1d2a46;
  --text: #e5ecff;
  --muted: #9aa8c7;
  --accent: #67e8f9;
  --accent-2: #a78bfa;
  --ok: #22c55e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(circle at 20% -10%, #1a2c52 0%, var(--bg) 45%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(#ffffff 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

.container {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 4rem 0 2.5rem;
}

.lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.kicker {
  font-family: "Fira Code", monospace;
  color: var(--accent);
  margin-bottom: 0.35rem;
  margin-top: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--panel-border);
  border-radius: 0.7rem;
  overflow: hidden;
}

.lang-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-family: "Fira Code", monospace;
  font-size: 0.82rem;
}

.lang-btn.active {
  color: #0a1020;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 700;
}

h1 {
  font-family: "Fira Code", monospace;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0;
}

.cursor {
  color: var(--ok);
}

.tagline {
  color: var(--muted);
  max-width: 720px;
  margin-top: 1rem;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
}

.btn:focus-visible,
.lang-btn:focus-visible,
.project a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a1020;
}

.btn.ghost {
  color: var(--text);
  border-color: var(--panel-border);
  background: rgba(255, 255, 255, 0.02);
}

.mini-joke {
  margin-top: 1rem;
  font-family: "Fira Code", monospace;
  color: #b6c6e7;
  font-size: 0.9rem;
}

.availability {
  margin-top: 0.8rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--panel-border);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

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

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

.stats-grid h3 {
  margin-bottom: 0.4rem;
}

.stats-grid p {
  color: var(--muted);
  margin: 0;
  text-align: justify;
}

.live-note {
  margin-top: 0.65rem;
  font-family: "Fira Code", monospace;
  font-size: 0.82rem;
  color: #b6c6e7;
}

.section-intro {
  color: var(--muted);
  margin-top: -0.2rem;
}

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

.project {
  background: #0e172b;
  border: 1px solid #26385f;
  border-radius: 0.9rem;
  padding: 0.9rem;
}

.project h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.project a {
  color: var(--accent);
  text-decoration: none;
}

.project p {
  margin: 0;
  color: #c7d3f2;
  font-size: 0.95rem;
  text-align: justify;
}

.project span {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: "Fira Code", monospace;
  color: #95a5cb;
  font-size: 0.8rem;
}

.github-cards .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 0.8rem;
}

.github-cards img {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid #27365b;
}

.cards-status {
  margin-bottom: 0;
  min-height: 1.3rem;
}

.footer {
  padding: 1rem 0 2rem;
  color: var(--muted);
  text-align: center;
}

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