* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a14;
  color: #e0e0e0;
  min-height: 100vh;
  overflow-x: hidden;
}

canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px;
}

h1 {
  font-size: 2.2em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.bio {
  color: #aaa;
  font-size: 1em;
  margin-bottom: 6px;
}

.subtitle {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 50px;
}

.subtitle a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.subtitle a:hover {
  color: #bbb;
}

h2 {
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #555;
  margin-bottom: 20px;
}

.project {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 16px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
  backdrop-filter: blur(10px);
}

.project:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

body.gravity-on, body.gravity-on * {
  transition: none !important;
}
body.gravity-on .project,
body.gravity-on .project:hover {
  pointer-events: none;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.07);
  transform: none;
  overflow: hidden;
}
body.gravity-on .project-img {
  opacity: 0.85;
}

.project-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 16px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.project:hover .project-img {
  opacity: 1;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.project-name {
  font-size: 1.2em;
  font-weight: 600;
  color: #fff;
}

.project-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.project-link {
  font-size: 0.8em;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.project-link:hover,
.project:hover .project-link {
  color: #ccc;
}

.project-github {
  font-family: "SF Mono", Menlo, Monaco, "Courier New", monospace;
  font-size: 0.75em;
  color: #555;
  text-decoration: none;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: -0.03em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.project-github:hover {
  color: #fff;
  border-color: #666;
  background: rgba(255, 255, 255, 0.05);
}

.project-desc {
  color: #999;
  font-size: 0.9em;
  line-height: 1.6;
  margin-bottom: 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.7em;
  padding: 4px 11px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: #666;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #444;
  font-size: 0.8em;
}

.footer a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: #999;
}

.dont-press {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  padding: 8px 16px;
  font-size: 0.75em;
  font-family: inherit;
  color: #333;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.dont-press:hover {
  color: #ff4444;
  border-color: rgba(255, 68, 68, 0.3);
  background: rgba(255, 68, 68, 0.05);
}

.collab-link,
.collab-link:visited,
.collab-link:hover,
.collab-link:active {
  color: #aaa !important;
  text-decoration: none;
}

h2.under-construction {
  color: #f59e0b !important;
}

.construction-barrier {
  display: block;
  width: 100%;
  margin-top: 50px;
  margin-bottom: 24px;
  height: 8px;
  min-height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    #f59e0b 0px,
    #f59e0b 12px,
    #111 12px,
    #111 24px
  );
  border-radius: 4px;
}

@media (max-width: 600px) {
  .container { padding: 50px 20px; }
  h1 { font-size: 1.6em; }
  .project { padding: 20px; }
}
