/* ============================================
   SHARED — font, reset, left panel, footer
   Used by: index.html, projects.html, admin.html
   ============================================ */

@font-face {
  font-family: 'Swansea';
  src: url('../swansea-webfont/swansea.woff2') format('woff2'),
       url('../swansea-webfont/swansea.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

html, body {
  height: 100%;
  background: #050510;
  color: #fff;
  font-family: 'Swansea', 'Arial Black', 'Arial', sans-serif;
}

body {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.panel-left {
  flex-shrink: 0;
  width: 380px;
  height: 100vh;
  background: #050510;
  padding: 60px 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1.5px solid rgba(255,255,255,0.4);
  position: relative;
  z-index: 1;
}

.name {
  font-size: 47px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 2px rgba(255,255,255,0.5), 0 2px 6px rgba(255,255,255,0.15);
  margin-bottom: 24px;
}

.name a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  margin-left: -10px;
  padding-top: 10px;
  transition: color 0.3s ease, background 0.3s ease, text-shadow 0.3s ease;
}

.name a:hover {
  color: #050510;
  background: #fff;
  text-shadow: none;
}



.roles {
  font-size: 22px;
  font-style: italic;
  color: #ccc;
  text-shadow: 0 2px 4px rgba(255,255,255,0.3);
  margin-bottom: 72px;
}

/* ── NAV LINKS ── */
.nav-links { display: flex; flex-direction: column; gap: 12px; }

.nav-links a {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 0 2px rgba(255,255,255,0.5), 0 2px 6px rgba(255,255,255,0.15);
  position: relative;
  padding: 10px 16px 10px 36px;
  border-radius: 5px;
  transition: color 0.3s ease, background 0.3s ease,
              box-shadow 0.3s ease, text-shadow 0.3s ease;
  display: inline-block;
}

.nav-links a::before {
  content: ".";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.nav-links a:hover {
  color: #050510;
  background: #fff;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
  text-shadow: none;
}


.footer {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #aaa;
  font-size: 12px;
  line-height: 1.5;
}

.pixel-icon {
  width: 50px;
  height: auto;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -webkit-optimize-contrast;
  margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  body { flex-direction: column; overflow: auto; }
  .panel-left {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1.5px solid rgba(255,255,255,0.4);
    padding: 32px 20px 24px;
  }
  .name { font-size: 32px; }
  .roles { font-size: 18px; margin-bottom: 40px; }
  .nav-links a { font-size: 20px; }
}
