/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #000;
  color: #ccc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* CANVAS MATRIX BACKGROUND */
canvas.matrix {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  background: transparent;
}

/* HEADER */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  user-select: none;
  width: 100%;
  max-width: 1000px;
  padding: 0 20px;
}
header h1 {
  color: #fff;
  font-size: 2.5rem;
  text-shadow: 0 0 15px rgba(0, 212, 43, 0.7);
  font-weight: 600;
  white-space: nowrap;
}

/* MAIN: centered horizontally and vertically */
main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  max-width: 900px;
  padding: 0 40px;
  text-align: center;
  z-index: 5;
  user-select: text;
  color: #cfcfcf;
}
main h2 {
  color: #e0e0e0;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(255,255,255,0.2);
  font-weight: 600;
  user-select: none;
}
main p {
  font-size: 0.9rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  user-select: text;
  text-shadow: 0 0 5px rgb(0, 0, 0);
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  color: #fff;
  background: #003a08;
  border: 2px solid #29e502;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(122, 189, 4, 0.4);
  transition: background 0.3s, box-shadow 0.3s;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
}
.btn:hover,
.btn:focus {
  background: #00a917;
  border: 2px solid #5afc38;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 0 20px rgb(122, 189, 4);
  outline: none;
  color: #fff;
}

/* FOOTER */
footer {
	position: fixed;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.7rem;
	color: #bfbebe;
	text-shadow: 0 0 5px rgb(0, 0, 0);
	z-index: 10;
	user-select: none;
	white-space: nowrap;
	text-align: center;
	margin: 0 auto;
}
footer a {
  color: #01f322;
  text-decoration: none;
  font-weight: 600;
}
footer a:hover,
footer a:focus {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 768px) {
  header {
    top: 10px; /* Reduce top spacing */
    width: 90%; /* Give more width */
    padding: 0 5%; /* Add padding */
  }
  
  header h1 {
    font-size: 2rem; /* Smaller font */
    line-height: 1.3; /* Tighter line height */
    margin-bottom: 0.5rem; /* Space below header */
	white-space: wrap;
	
  }
  
  main {
    padding-top: 70px; /* Push content down below header */
    padding-bottom: 70px; /* Space above footer */
    justify-content: flex-start; /* Align to top */
  }
  
  main h2 {
    font-size: 1.4rem; /* Slightly larger than h1 */
    margin-top: 0.5rem; /* Space above h2 */
    margin-bottom: 1rem;
  }
  
  /* Keep the rest of your responsive styles... */
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2rem;
  }
  
  main h2 {
    font-size: 1.4rem;
  }
  
  main {
    padding-top: 60px;
  }
}
