body {
  margin: 0;
  background: black;
}

canvas#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1; /* Push it behind everything */
  pointer-events: none; /* Prevent it from blocking clicks or scroll */
}

.button, .nova-button, .tile-button {
  position: relative;
  z-index: 10;
}

.button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;              /* Space between buttons */
  margin-top: 20px;       /* Distance from the title */
  flex-wrap: wrap;
}

.nova-button {
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(135deg, #3a3a3a, #1a1a1a); /* dark grey gradient */
  border: 2px solid black; /* black outline */
  border-radius: 999px; /* pill shape */
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.nova-button:hover {
  background: linear-gradient(135deg, #4a4a4a, #2a2a2a); /* lighter on hover */
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2), 0 0 24px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #111;
  z-index: 1000;
  gap: 12px;
  overflow: hidden;
  white-space: nowrap;
}

.corner-heading {
  font-size: 5rem;
  color: #fff;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 10px #fff;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.corner-heading:hover {
  color: #ccc; /* Slightly darker */
  text-shadow: 0 0 5px #aaa;
}

.nav-button {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 120px;
  min-width: 60px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background-color: #2c2f33;
  border: 1px solid #444;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-button:hover {
  background-color: #5865f2;
  transform: scale(1.05);
}

#updateLog {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #f9f9f9;
  border-left: 5px solid #0078D7;
  padding: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  max-width: 300px;
  z-index: 9999;
  animation: fadeIn 0.5s ease-in-out;
}

#updateLog {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border-left: 4px solid #0078D7;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-family: sans-serif;
  max-width: 250px;
  z-index: 1000; /* higher than particles */
}

#updateLog h4 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #0078D7;
}

#updateLog p {
  margin: 0;
  font-size: 13px;
  color: #333;
}

.info-box {
  background-color: #2c2f33;
  color: #fff;
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid #000;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-family: sans-serif;
}

h2 {
  font-size: 5rem;
  color: #fff;
  margin: 0;
  text-align: center;
  text-shadow: 0 0 10px #fff;
  position: relative;
  z-index: 1001;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

h2:hover {
  color: #ccc; /* Slightly darker */
  text-shadow: 0 0 5px #aaa;
}

.main-content {
  padding-top: 100px; /* Adjust based on nav-bar height */
}

.title-section {
  text-align: center;
  padding-top: 120px; /* Adjust if nav bar is fixed */
}