* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "VT323", monospace;
  background: #000;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#backgroundCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.main-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  animation: fadeInUp 0.6s ease;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-btn {
  background: transparent;
  border: none;
  color: #555;
  padding: 0.5rem 0;
  font-size: 18px;
  font-family: "VT323", monospace;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.nav-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #5865f2;
  transition: width 0.2s ease;
}
.nav-btn:hover {
  color: #fff;
}
.nav-btn:hover::after {
  width: 100%;
}
.nav-btn.active {
  color: #fff;
}
.nav-btn.active::after {
  width: 100%;
}
.help-btn {
  background: transparent;
  border: 1px solid #555;
  color: #555;
  padding: 0.3rem 0.8rem;
  font-size: 18px;
  font-family: "VT323", monospace;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
  border-radius: 4px;
}
.help-btn:hover {
  color: #fff;
  border-color: #5865f2;
}
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.title {
  font-family: "Press Start 2P", monospace;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
.subtitle {
  font-size: 20px;
  color: #888;
  margin-bottom: 2.5rem;
  line-height: 1.4;
}
.discord-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px;
  margin-bottom: 2.5rem;
  max-width: fit-content;
  transition: all 0.2s ease;
}
.discord-card:hover {
  border-color: rgba(88, 101, 242, 0.4);
  transform: translateY(-2px);
}
.lanyard-status {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lanyard-avatar {
  position: relative;
  flex-shrink: 0;
}
.lanyard-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
}
.lanyard-status-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #23a55a;
  border: 3px solid #000;
}
.lanyard-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lanyard-username {
  font-size: 20px;
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.lanyard-username:hover {
  color: #5865f2;
}
.lanyard-status-text {
  font-size: 18px;
  color: #666;
}
.currently-section {
  margin-bottom: 2rem;
}
.currently-text {
  font-size: 18px;
  color: #888;
  line-height: 1.6;
}
.project-card,
.experience-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.project-card:hover,
.experience-item:hover {
  border-color: rgba(88, 101, 242, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.project-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.project-logo {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
}
.project-title,
.experience-title {
  font-size: 20px;
  color: #fff;
}
.project-desc,
.experience-role {
  font-size: 16px;
  color: #888;
  line-height: 1.5;
  margin-bottom: 8px;
}
.project-link {
  color: #5865f2;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.2s ease;
}
.project-link:hover {
  opacity: 0.8;
}
.discontinued {
  font-size: 14px;
  color: #f23f42;
  font-style: italic;
}
.owner-highlight {
  text-align: center;
  margin-top: 2rem;
  font-size: 18px;
  color: #fff;
  font-family: "Press Start 2P", monospace;
  letter-spacing: 0.05em;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.contact-link {
  color: #777;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.2s ease;
  padding: 0.8rem;
  border-left: 2px solid transparent;
  display: block;
}
.contact-link:hover {
  color: #5865f2;
  border-left-color: #5865f2;
  padding-left: 1.2rem;
}
.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.skill-category {
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding-left: 15px;
  transition: border-color 0.2s ease;
}
.skill-category:hover {
  border-left-color: #5865f2;
}
.skill-category-title {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}
.skill-items {
  font-size: 18px;
  color: #888;
  line-height: 1.6;
}
.terminal {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 600px;
  max-width: calc(100vw - 4rem);
  height: 400px;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: none;
  flex-direction: column;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.terminal.active {
  display: flex;
  animation: slideUp 0.3s ease;
}
.terminal.minimized {
  display: none;
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: move;
  user-select: none;
}
.terminal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 18px;
  color: #888;
  font-family: "VT323", monospace;
}
.terminal-controls {
  display: flex;
  gap: 0.5rem;
}
.term-btn {
  background: transparent;
  border: none;
  color: #666;
  font-size: 22px;
  font-family: "VT323", monospace;
  cursor: pointer;
  padding: 0 0.5rem;
  transition: color 0.2s;
}
.term-btn:hover {
  color: #fff;
}
.terminal-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  font-family: "VT323", monospace;
  font-size: 18px;
}
.terminal-output {
  margin-bottom: 0.5rem;
}
.terminal-line {
  margin-bottom: 0.25rem;
  color: #ccc;
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.4;
  opacity: 0;
  animation: typewriter 0.05s forwards;
}
@keyframes typewriter {
  to {
    opacity: 1;
  }
}
.terminal-line.success {
  color: #23a55a;
}
.terminal-line.error {
  color: #f23f42;
}
.terminal-line.warning {
  color: #f0b232;
}
.terminal-line.info {
  color: #5865f2;
}
.terminal-input-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.prompt {
  color: #5865f2;
  font-weight: bold;
  white-space: nowrap;
}
.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: "VT323", monospace;
  font-size: 18px;
  outline: none;
}
.terminal-orb {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.2);
  border: 2px solid rgba(88, 101, 242, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: all 0.2s ease;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
}
.terminal-orb.active {
  display: flex;
}
.terminal-orb:hover {
  background: rgba(88, 101, 242, 0.4);
  border-color: rgba(88, 101, 242, 0.8);
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.5);
}
.terminal-orb svg {
  width: 24px;
  height: 24px;
  color: #5865f2;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }
  .title {
    font-size: 1.5rem;
  }
  .subtitle {
    font-size: 16px;
  }
  .nav {
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .nav-btn,
  .help-btn {
    font-size: 16px;
  }
  .terminal {
    width: calc(100vw - 2rem);
    height: 60vh;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }
  .terminal-orb {
    width: 50px;
    height: 50px;
  }
  .lanyard-username,
  .project-title,
  .skill-category-title,
  .experience-title {
    font-size: 18px;
  }
  .lanyard-status-text,
  .currently-text,
  .skill-items,
  .experience-role,
  .contact-link {
    font-size: 16px;
  }
  .project-desc {
    font-size: 14px;
  }
  .owner-highlight {
    font-size: 14px;
    padding: 0.75rem;
  }
  .discord-card {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .title {
    font-size: 1.2rem;
  }
  .nav {
    gap: 0.75rem;
  }
  .nav-btn,
  .help-btn {
    font-size: 14px;
  }
  .terminal {
    height: 50vh;
  }
  .terminal-body {
    font-size: 16px;
  }
}
