/* Custom styles that won't be overwritten by Tailwind */

.retro-menu-btn {
  position: fixed;
  top: 16px;
  left: 16px;
  width: 64px;
  height: 48px;
  border: 2px solid #4a4a4a;
  background: #b2ebb2;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  transform-origin: top left;
}

.retro-menu-btn:hover {
  transform: scale(1.08);
  box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
}

.retro-menu-btn span {
  width: 22px;
  height: 3px;
  background: #4a4a4a;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.retro-menu-btn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.retro-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.retro-menu-btn.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.retro-menu-panel {
  position: fixed;
  top: 78px;
  left: 16px;
  min-width: 220px;
  padding: 10px;
  border: 2px solid #4a4a4a;
  background: #b2ebb2;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
  z-index: 5;
}

.retro-menu-panel a {
  display: block;
  padding: 8px 10px;
  color: #4a4a4a;
  text-decoration: none;
  font-family: 'Pixel Operator', 'VT323', monospace;
  font-size: 30px;
}

.retro-menu-panel a:hover {
  background: rgba(74, 74, 74, 0.08);
}

@media (max-width: 640px) {
  .retro-menu-btn {
    top: 12px;
    left: 12px;
  }

  .retro-menu-panel {
    top: 74px;
    left: 12px;
    min-width: 190px;
  }
}

.github-menu-btn {
  position: fixed;
  top: 16px;
  left: 106px;
  width: 64px;
  height: 48px;
  border: 2px solid #4a4a4a;
  background: #b2ebb2;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  transform-origin: top left;
}

.github-menu-btn:hover {
  transform: scale(1.08);
  box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
}