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-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  height: 100vh;
}

.nova-button {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nova-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.nav-container {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
}

.nav-button {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background-color: #2c2f33;
  border: 1px solid #444;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-button:hover {
  background-color: #5865f2;
  transform: scale(1.05);
}


.interstellar-heading {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
  padding: 10px 20px;
  background-color: #000000;
}

h2 {
  font-size: 5rem;
  color: #fff; /* Pure white text */
  text-align: center;
  margin: 0;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  cursor: pointer;
  background: none;
  border: none;
  box-shadow: none;
  text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff;
}

h2:hover {
  font-size: 3rem;
  text-shadow: 0 0 20px #fff, 0 0 40px #fff, 0 0 60px #fff;
}

#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;
}

.tile-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Search bar styling */
#searchBar {
  display: block;
  margin: 30px auto 10px;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background-color: #e0e0e0;
  color: #333;
  width: 80%;
  max-width: 400px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Grid layout: 4 tiles per row */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tile button styling */
.tile-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 250px;
  background: #1e1e1e;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  color: white;
  font-family: sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 20px;
}

/* Image inside tile */
.tile-button img {
  max-width: 120px;
  max-height: 120px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 12px;
}

/* Label inside tile */
.tile-button span {
  margin-top: 8px;
}