/* pycode.org placeholder — terminal theme, mirrors Cinder's palette */

:root {
  --bg:        #050805;
  --surface:   #0a120a;
  --border:    #1a3a1a;
  --text:      #c8e8c8;
  --muted:     #5a8a5a;
  --dim:       #345a34;
  --accent:        #00ff66;
  --accent-soft:   rgba(0, 255, 102, 0.18);
  --accent-glow:   rgba(0, 255, 102, 0.45);

  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  background:
    radial-gradient(ellipse at top, rgba(0, 255, 102, 0.05), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.crt {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 102, 0.025) 0,
    rgba(0, 255, 102, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: screen;
}

main {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.prompt {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
  margin-right: .35rem;
}

h1 {
  font-size: 1.65rem;
  margin: 0 0 .25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  background: var(--accent);
  margin-left: 0.15em;
  vertical-align: -0.15em;
  animation: blink 1.05s steps(1) infinite;
  box-shadow: 0 0 8px var(--accent-glow);
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }

.tagline {
  color: var(--accent);
  margin: .25rem 0 2rem;
  font-size: .9rem;
}

h2 {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  margin: 2rem 0 .75rem;
}

ul.projects {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.projects li {
  padding: .5rem 0;
  border-bottom: 1px dashed var(--border);
}
ul.projects li:last-child { border-bottom: none; }

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: text-shadow .12s;
}
a:hover, a:focus-visible {
  text-shadow: 0 0 8px var(--accent-glow);
  outline: 0;
}

.desc {
  color: var(--muted);
  font-size: .85rem;
  margin-left: .25rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: .78rem;
}

@media (max-width: 600px) {
  main { padding: 2rem 1rem 3rem; }
  h1 { font-size: 1.4rem; }
  .desc { display: block; margin-left: 0; margin-top: .15rem; }
}
