html, body {
  margin: 0;
  padding: 0;
  background: #1a1a1a;
  font-family: 'Arial', 'Helvetica', sans-serif;
  overflow: hidden;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

#canvas-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

canvas {
  border-radius: 12px;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.8),
    0 0 80px rgba(0, 0, 0, 0.4);
  border: 2px solid #333;
}

/* Footer badges */
.footer-badges {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  gap: 10px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

.opensource-badge a,
.contact-badge a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 6px 10px;
  border: 1px solid #333;
  border-radius: 4px;
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(4px);
  display: inline-block;
}

.opensource-badge a:hover,
.contact-badge a:hover {
  color: #fff;
  border-color: #666;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  html, body {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pan-x;
  }
  
  main {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
  }
  
  #canvas-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  canvas {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    border-radius: 8px;
    border: 2px solid #333;
    box-shadow: 
      0 4px 12px rgba(0, 0, 0, 0.8),
      0 0 40px rgba(0, 0, 0, 0.4);
  }
  
  .footer-badges {
    position: relative;
    bottom: auto;
    left: auto;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
  }
  
  .opensource-badge a,
  .contact-badge a {
    font-size: 11px;
    padding: 4px 8px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  main {
    padding: 5px;
  }
  
  canvas {
    border-radius: 6px;
    border-width: 1px;
  }
}

