@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap');

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

body {
  font-family: 'Inconsolata', monospace;
  background: #0f0f0f;
  color: #d0d0d0;
  text-align: center;
  line-height: 1.4;
  overflow-x: hidden;
}

.hex-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.hex-block {
  position: fixed;
  font-size: 0.8rem;
  color: #888888;
  white-space: pre;
  opacity: 0.6;
  background: #0a0a0a;
  padding: 8px;
  border-radius: 4px;
  display: block !important;
}

header {
  padding: 1rem 0;
  background: #000000;
  border-bottom: 1px solid #1a1a1a;
  position: relative;
  z-index: 2;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00cc00;
  text-transform: lowercase;
  letter-spacing: 1px;
}

.terminal {
  margin: 1rem auto;
  max-width: 900px;
  background: #1a1a1a;
  border: 1px solid #222222;
  border-radius: 4px;
  padding: 0.75rem;
  text-align: left;
  position: relative;
  z-index: 2;
}

.terminal-output {
  font-size: 0.9rem;
  color: #00cc00;
  white-space: pre-wrap;
  min-height: 2rem;
}

.terminal-output::after {
  content: '█';
  animation: blink 1s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.profile-badges, .badge-section {
  margin: 1rem auto;
  padding: 1.5rem;
  max-width: 900px;
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid #222222;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: relative;
  z-index: 2;
}

.profile-badges.show, .badge-section.show {
  opacity: 1;
}

.profile-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.profile-badge {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid #222222;
  border-radius: 4px;
  padding: 1.5rem;
  min-width: 220px;
}

.profile-badge h2, .badge-section h2 {
  color: #888888;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  width: 100%;
  text-align: center;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2.5rem;
  justify-items: center;
  padding: 2rem;
}

.badge-grid img {
  width: 100px;
  height: auto;
  border-radius: 4px;
  border: 1px solid #222222;
  transition: filter 0.2s ease;
}

.badge-grid img:hover {
  filter: drop-shadow(0 0 8px rgba(0, 204, 0, 0.3));
}

@media (max-width: 768px) {
  .logo {
    font-size: 1.5rem;
  }

  .terminal, .profile-badges, .badge-section {
    padding: 1rem;
  }

  .profile-badge {
    min-width: 180px;
    padding: 1rem;
  }

  .badge-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    padding: 1.5rem;
  }

  .badge-grid img {
    width: 80px;
  }

  .hex-block {
    font-size: 0.7rem;
  }
}
