/* content.css — loaded by inner pages only */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Silkscreen:wght@400;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --bg: #0d0d14;
  --bg2: #13131e;
  --panel: #1a1a2e;
  --accent1: #ff6eb4;
  --accent2: #7fffd4;
  --accent3: #ffe066;
  --accent4: #a78bfa;
  --text: #f0e6ff;
  --text-dim: #9987b8;
  --font-title: 'Silkscreen', monospace;
  --font-mono: 'Space Mono', monospace;
  --font-pixel: 'VT323', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  /* no cursor:none here — cursor is on the parent shell */
  min-height: 100%;
  overflow-y: auto;
}

a { color: var(--accent2); text-decoration: none; }
a:hover { color: var(--accent1); text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

#page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* Page title */
.page-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--accent2);
  letter-spacing: 3px;
  margin-bottom: 28px;
  text-shadow: 0 0 12px var(--accent2);
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-title::before { content: '★'; color: var(--accent1); font-size: 1.2rem; }

/* Panel */
.panel {
  background: var(--panel);
  border: 1.5px solid var(--accent4);
  border-radius: 2px;
  padding: 22px 26px;
  margin-bottom: 24px;
}
.panel-title {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--accent1);
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Section headings (links page etc) */
.section-heading {
  font-family: var(--font-title);
  color: var(--accent3);
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* WIP box */
.wip-box {
  border: 2px dashed var(--accent3);
  background: rgba(255,224,102,0.05);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-pixel);
  font-size: 1.2rem;
  color: var(--accent3);
  margin-bottom: 24px;
  animation: blink-border 1.5s step-end infinite;
}
.wip-box .wip-icon { font-size: 2rem; animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink-border {
  0%, 100% { border-color: var(--accent3); }
  50% { border-color: transparent; }
}

/* Tabs */
.section-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.section-tab {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--text-dim);
  border: 1.5px solid var(--text-dim);
  background: none;
  padding: 7px 16px;
  cursor: pointer;
  transition: all 0.15s;
  text-transform: uppercase;
}
.section-tab:hover, .section-tab.active {
  color: var(--accent2);
  border-color: var(--accent2);
  background: rgba(127,255,212,0.07);
}

/* Artwork grid */
.artwork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.artwork-card {
  background: var(--panel);
  border: 1px solid var(--accent4);
  overflow: hidden;
  transition: transform 0.15s, border-color 0.15s;
}
.artwork-card:hover { transform: translateY(-3px); border-color: var(--accent1); }
.artwork-card .thumb {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  overflow: hidden;
}
.artwork-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.artwork-card .card-label { padding: 8px 10px; font-size: 0.8rem; color: var(--text-dim); }

/* Games */
.game-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--accent4);
  padding: 16px;
  margin-bottom: 16px;
  transition: border-color 0.15s;
  text-decoration: none;
  color: var(--text);
}
.game-card:hover { border-color: var(--accent1); text-decoration: none; }
.game-thumb {
  width: 80px;
  height: 80px;
  background: var(--bg2);
  border: 1px solid var(--accent4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  overflow: hidden;
}
.game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.game-info h3 { font-family: var(--font-title); font-size: 1rem; color: var(--accent2); margin-bottom: 6px; letter-spacing: 1px; }
.game-info p { font-size: 0.82rem; color: var(--text-dim); }
.game-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-title);
  border: 1px solid var(--accent3);
  color: var(--accent3);
  padding: 2px 7px;
  margin-top: 6px;
  letter-spacing: 1px;
}

/* CV */
.cv-section { margin-bottom: 32px; }
.cv-section-title {
  font-family: var(--font-title);
  color: var(--accent1);
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.cv-entry {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(167,139,250,0.2);
}
.cv-year { font-family: var(--font-title); font-size: 0.8rem; color: var(--accent1); min-width: 70px; flex-shrink: 0; }
.cv-entry h4 { font-family: var(--font-title); font-size: 0.85rem; color: var(--accent2); margin-bottom: 3px; }
.cv-entry p { font-size: 0.8rem; color: var(--text-dim); }

/* Links */
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.link-card {
  background: var(--panel);
  border: 1.5px solid var(--accent4);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s;
}
.link-card:hover { border-color: var(--accent1); transform: translateX(4px); text-decoration: none; }
.link-icon { font-size: 1.5rem; flex-shrink: 0; }
.link-info .link-name { font-family: var(--font-title); font-size: 0.8rem; color: var(--accent2); letter-spacing: 1px; }
.link-info .link-desc { font-size: 0.75rem; color: var(--text-dim); margin-top: 2px; }

/* Responsive */
@media (max-width: 600px) {
  #page-content { padding: 24px 14px 40px; }
  .links-grid { grid-template-columns: 1fr; }
}
