:root{
  --bg: #050a06;
  --fg: #a6ffb7;
  --dim: #6fe58c;
  --glow: rgba(120, 255, 170, .18);
  --line: rgba(120, 255, 170, .08);
  --card: rgba(8, 20, 12, .65);
  --border: rgba(120, 255, 170, .18);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin:0;
  font-family: var(--mono);
  background: radial-gradient(1200px 600px at 30% 20%, rgba(70,255,140,.06), transparent 55%),
              radial-gradient(900px 500px at 70% 80%, rgba(70,255,140,.05), transparent 60%),
              var(--bg);
  color: var(--fg);
  overflow-x: hidden;
}

.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.topbar{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 0 40px var(--glow);
}

.brand{
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
}

.status{
  font-size: 12px;
  color: var(--dim);
  display:flex;
  gap:10px;
  align-items:center;
}
.dot{
  width:8px;height:8px;border-radius:50%;
  background: #38ff7a;
  box-shadow: 0 0 14px rgba(56,255,122,.6);
}

.terminal{
  margin-top: 18px;
  padding: 18px 16px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.28);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 0 60px var(--glow);
  position: relative;
}

.lines{
  min-height: 130px;
  white-space: pre-wrap;
  line-height: 1.45;
  color: var(--fg);
  text-shadow: 0 0 10px rgba(120,255,170,.25);
}

.prompt{
  margin-top: 10px;
  color: var(--dim);
  text-shadow: 0 0 10px rgba(120,255,170,.18);
}
.user{ color: var(--fg); }
.host{ color: var(--fg); }
.path{ color: var(--dim); }

.cursor{
  display:inline-block;
  animation: blink 1s steps(2,end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.links{
  margin-top: 12px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.links a{
  color: var(--fg);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 6px 10px;
  background: rgba(10,25,15,.35);
}
.links a:hover{
  background: rgba(20,55,30,.4);
  box-shadow: 0 0 22px var(--glow);
}

.cards{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 860px){
  .cards{ grid-template-columns: repeat(3, 1fr); }
}

.card{
  padding: 16px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 0 30px rgba(120,255,170,.08);
}
.card h2{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card p, .card li{
  font-size: 13px;
  color: var(--fg);
  opacity: .95;
}
.card ul{
  padding-left: 18px;
  margin: 10px 0;
}
.hint{
  color: var(--dim);
  opacity: .9;
  font-size: 12px;
}

a{ color: var(--fg); }
a.mail{ font-weight: 700; }

.footer{
  margin-top: 18px;
  padding: 12px 6px;
  color: var(--dim);
  font-size: 12px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items:center;
  justify-content:center;
}
.footer a{ color: var(--dim); text-decoration: none; }
.footer a:hover{ color: var(--fg); }
.sep{ opacity: .35; }

/* CRT / Scanlines / Noise */
.crt{
  pointer-events:none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    linear-gradient(rgba(255,255,255,.03), rgba(0,0,0,.03)),
    repeating-linear-gradient(
      to bottom,
      rgba(0,0,0,0) 0px,
      rgba(0,0,0,0) 2px,
      var(--line) 3px
    );
  mix-blend-mode: overlay;
  opacity: .55;
  filter: contrast(1.1) saturate(1.05);
}

body::after{
  content:"";
  pointer-events:none;
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  opacity: .06;
  mix-blend-mode: soft-light;
}

