/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

html, body {
  height: 100%;
  overflow: hidden;
  background-color: transparent; /* Canvas shows through */
  color: #f0f0f0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background canvas */
#bgCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

/* Main content container */
.content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: auto; /* center horizontally */
  padding: 3rem 2rem 5rem;
  text-align: center;
  line-height: 1.6;
  max-height: 100vh; /* full viewport height */
  overflow-y: hidden; /* hide scrollbar */
  background: transparent; /* remove background and blur */
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;

  display: flex;
  flex-direction: column;
  justify-content: center; /* center vertically */
  height: 100vh; /* full viewport height */
}

/* Hide scrollbars in all browsers */
.content::-webkit-scrollbar {
  display: none;
}
.content {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Headings */
h1 {
  font-size: 3.8rem;
  color: #ffcc00;
  text-shadow: 0 0 15px #b69650cc;
  margin-bottom: 1.5rem;
  letter-spacing: 1.2px;
  font-weight: 700;
  user-select: none;
}

h2 {
  margin-top: 2.5rem;
  color: #ffcc00;
  border-bottom: 3px solid #ffcc00;
  padding-bottom: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.8px;
}

p {
  font-size: 1.25rem;
  color: #f8f8f8;
  opacity: 0.9;
  margin-bottom: 1.3rem;
  line-height: 1.7;
  user-select: text;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.button-group {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

button {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 12px 30px;
  background: linear-gradient(135deg, #a35a0fcc, #d9a94dcc);
  border: none;
  border-radius: 30px;
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(217, 169, 77, 0.6);
  user-select: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.15));
}

button:hover, button:focus {
  background: linear-gradient(135deg, #ffdb4dcc, #ffcc0099);
  color: #222;
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.8);
  transform: translateY(-3px);
  outline: none;
}

.btn-icon {
  width: 22px;
  height: 22px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.5));
}

/* Footer */
footer {
  position: fixed;
  bottom: 12px;
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.7;
  color: #f8f8f8;
  z-index: 1;
  user-select: none;
  letter-spacing: 0.5px;
}

.footer-links {
  margin-top: 4px;
}

.footer-links a {
  color: #00ccff;
  text-decoration: none;
  margin: 0 8px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #66ddff;
  text-decoration: underline;
}

/* Title with logo */
.title-with-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1.5rem;
  user-select: none;
}

/* Logo icon - larger and crisp */
.logo-icon {
  width: 150px;        /* increase size */
  height: auto;        /* maintain aspect ratio */
  image-rendering: pixelated; /* keep pixel art crisp */
  filter: drop-shadow(0 0 8px #ffcc00cc);
  transition: filter 0.3s ease;
}

.logo-icon:hover {
  filter: drop-shadow(0 0 20px #ffd633cc);
}

/* Button icons - larger and crisp */
.btn-icon {
  width: 35px;         /* increase size */
  height: auto;        /* maintain aspect ratio */
  image-rendering: pixelated;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
}

/* Responsive tweaks */
@media (max-width: 600px) {
  h1 {
    font-size: 2.8rem;
  }
  .content {
    padding: 2rem 1rem 4rem;
    max-width: 95%;
  }
  button {
    width: 100%;
    justify-content: center;
  }
  .button-group {
    flex-direction: column;
    gap: 1rem;
  }
}
