/* CTRL+ALT+DELVE — Gruvbox Dark theme */
:root{
  --bg:#282828;        /* dark0 */
  --bg-soft:#1d2021;   /* dark0_hard */
  --fg:#ebdbb2;        /* light1 */
  --muted:#bdae93;     /* light3 */
  --yellow:#fabd2f;
  --aqua:#8ec07c;
  --orange:#fe8019;
  --purple:#d3869b;
  --red:#fb4934;
  --shadow:rgba(0,0,0,.4);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:"VT323", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  background:var(--bg);
  color:var(--fg);
  letter-spacing:0.02em;
  text-shadow:0 0 2px rgba(235,219,178,0.2);
}

.bg{
  background:
    radial-gradient(1000px 600px at 20% 0%, rgba(250,189,47,0.05), transparent 60%),
    radial-gradient(800px 500px at 80% 100%, rgba(142,192,124,0.06), transparent 50%),
    var(--bg);
}

.scanlines{
  pointer-events:none;
  position:fixed; inset:0;
  background: linear-gradient(rgba(255,255,255,0.05), transparent 3px);
  background-size: 1px 3px;
  mix-blend-mode: overlay;
  opacity:.12;
}

.container{
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100dvh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap: 1rem;
}

.topbar{
  display:flex;
  gap:.75rem;
  align-items:center;
  padding: .75rem 1rem;
  border-bottom:1px dashed rgba(235,219,178,0.2);
  background: linear-gradient( to bottom, rgba(29,32,33,0.6), rgba(29,32,33,0.2));
  position:sticky; top:0; z-index:10;
}

.link{ color:var(--aqua); text-decoration:none; }
.link:hover{ color:var(--yellow); }
.link.active{ color:var(--orange); }

.terminal{
  width: min(780px, 95%);
  padding: 2rem 1.5rem;
  background: linear-gradient(180deg, rgba(29,32,33,0.8), rgba(29,32,33,0.35));
  border: 1px solid rgba(235,219,178,0.2);
  box-shadow: 0 20px 60px var(--shadow), inset 0 0 40px rgba(0,0,0,.35);
  border-radius: 14px;
  text-align:left;
}

.logo{
  margin:0 0 .5rem 0;
  font-size: clamp(28px, 8vw, 48px);
  color: var(--yellow);
  text-shadow: 0 0 6px rgba(250,189,47,0.35), 0 0 16px rgba(250,189,47,0.2);
}

.blink{ animation: blink 1s steps(1,end) infinite; }
@keyframes blink{ 50%{ opacity:0; } }

.bootlog{
  min-height: 200px;
  white-space: pre-wrap;
  line-height: 1.25;
  margin: .5rem 0 1rem;
  color: var(--fg);
}

.btn{
  display:inline-block;
  padding:.6rem 1rem;
  border:1px dashed var(--aqua);
  color: var(--aqua);
  text-decoration:none;
  border-radius:8px;
  box-shadow: 0 0 8px rgba(142,192,124,0.15);
  transition:.15s transform, .15s background, .15s color, .15s box-shadow;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(142,192,124,0.12);
  color: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 0 14px rgba(250,189,47,0.18);
}
.btn.small{ padding:.45rem .75rem; font-size:1rem; }
.hidden{ display:none; }

.footer{
  opacity:.8;
  font-size: 1.05rem;
}

.page{
  align-items: stretch;
  justify-content:flex-start;
  gap: 1rem;
  padding-top: 2rem;
}

.title{
  font-size: clamp(28px, 8vw, 42px);
  color: var(--yellow);
  margin: 0 0 .25rem 0;
}

.lead{ font-size: 1.35rem; color: var(--fg); opacity:.95; }

.card{
  padding:1rem 1rem 1rem 1.2rem;
  background: linear-gradient(180deg, rgba(29,32,33,0.75), rgba(29,32,33,0.25));
  border:1px solid rgba(235,219,178,0.18);
  border-radius:12px;
  box-shadow: 0 12px 36px var(--shadow), inset 0 0 30px rgba(0,0,0,.2);
}

.card h2{
  color: var(--aqua);
  margin:.2rem 0 .6rem 0;
}

.card ul{ margin: .5rem 0 .25rem 1.2rem; }

.muted{ color: var(--muted); }

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

.project .shot{
  width:100%;
  height:auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  image-rendering: pixelated;
  border:1px dashed rgba(235,219,178,0.2);
  border-radius:8px;
  margin-bottom:.6rem;
}

.tags span{
  border:1px dashed rgba(235,219,178,0.25);
  padding:.1rem .4rem;
  border-radius:6px;
  margin-right:.25rem;
  color: var(--muted);
}
