/* === SPACE THEME BACKGROUND === */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: radial-gradient(ellipse at bottom, #2a004f 0%, #000010 100%);
  color: #e0e0ff;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 99900%; height: 99900%;
  background: transparent url("img/stars.png") repeat;
  animation: nebulaDrift 120s linear infinite;
  z-index: -1;
  mix-blend-mode:screen;
}

body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 40% 60%, rgba(128,0,255,0.2), transparent 70%),
              radial-gradient(circle at 70% 30%, rgba(0,255,255,0.1), transparent 60%);
  animation: pulseGlow 10s ease-in-out infinite;
  z-index: -2;
}

@keyframes nebulaDrift {
  from { background-position: 0 0; }
  to { background-position: -8000px 4000px; }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.05); }
}

/* === NAVBAR === */
nav {
  background: rgba(10, 10, 30, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0.75rem 2rem;
  border-bottom: 2px solid #1a1a40;
  box-shadow: 0 0 15px #05081555;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav button {
  background: linear-gradient(145deg, #3a0070, #0a0020);
  color: #f2f2f2;
  padding: 0.6rem 1rem;
  border: 1px solid #05081555;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(128, 0, 255, 0.3);
}

nav button:hover {
  background: linear-gradient(145deg, #3a0070, #0a0020);
  color: #fff;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: linear-gradient(145deg, #3a0070, #0a0020);
  color: #fff;
  font-size: 1.5rem;
  border: 1px solid #05081555;
  border-radius: 6px;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  box-shadow: 0 0 12px rgba(128, 0, 255, 0.3);
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
      background: linear-gradient(145deg, #3a0070, #0a0020);

  }

  .menu-items {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
  }

  .menu-items.active {
    display: flex;

  }
}

/* === PAGE SECTIONS === */
.page {
  display: none;
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(15, 15, 40, 0.85);
  border-radius: 12px;
  box-shadow: 0 0 25px #05081544;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.page.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

h1, h2 {
  color: #ffffff;
  text-align: center;
  text-shadow: 0 0 20px #8000ff88;
}

/* === HOME IMAGES === */
.logo {
  display: block;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.banner {
  display: block;
  margin: 0 auto 1.5rem auto;
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
}

/* === QUOTES === */
q {
  color: #FA2A55;
  text-shadow: 0 0 10px #fa2a7d;
  font-family: 'Happy Monkey', cursive, sans-serif;
  text-decoration: underline;
  padding: 0.5rem;
}

h3 {
  color: #3f98eb;
  font-family: 'Happy Monkey', cursive, sans-serif;
  text-decoration: underline;
  padding: 0.5rem;
}

/* === BUTTONS & LINKS === */
.link-button, .btn, button[type="submit"], .btn-discord {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(145deg, #3a0070, #0a0020);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 0 12px rgba(128, 0, 255, 0.3);
}

.link-button:hover,
.btn:hover,
button[type="submit"]:hover,
.btn-discord:hover {
  background: linear-gradient(145deg, #00ffff, #3a0070);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* === FORM INPUTS === */
input, textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border-radius: 6px;
  border: 1px solid #05081555;
  background: #0a0a1f;
  color: #f2f2f2;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #00ffff;
  box-shadow: 0 0 8px #00ffff88;
}

/* === BOT CARDS === */
.bot-card {
  background: rgba(0, 10, 30, 0.8);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px #05081544;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px #05081599;
}

.bot-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #c0f9ff;
}

/* === RESPONSIVE NAV === */
@media (max-width: 768px) {
  nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.3rem;
  }
  nav button {
    flex: 0 0 auto;
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
  }
}

@media (max-width: 480px) {
  nav {
    flex-direction: column;
    align-items: stretch;
  }
  nav button {
    width: 100%;
  }
  .page {
    margin: 1rem;
    padding: 1rem;
  }
}

/* Mobile-specific layout */
@media (max-width: 768px) {
  nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.75rem;
    gap: 0.4rem;
  }

  nav button {
    flex: 1 1 calc(50% - 0.8rem);
    font-size: 0.85rem;
    padding: 0.6rem;
  }
}


   .donation-buttons {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-top: 1.5rem;
      max-width: 300px;
      margin-left: auto;
      margin-right: auto;
    }
    .donation-buttons a {
      display: block;
      text-align: center;
      padding: 0.85rem 1.5rem;
      border-radius: 10px;
      font-weight: bold;
      font-size: 1.1rem;
      text-decoration: none;
      color: white;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .donation-buttons a:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    .paypal-btn { background-color: #003087; }
    .venmo-btn { background-color: #3D95CE; }
    .kofi-btn { background-color: #FF5E5B; }
    .patreon-btn { background-color: #FF424D; }

    /* PDF Viewer */
    .pdf-viewer {
      width: 100%;
      height: 90vh; /* bigger view */
      border: none;
    }



      .discord-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1.5rem;
    background-color: #4652cc;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    margin: 0.75rem 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .discord-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  .discord-button img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
  }
  .discord-container {
    text-align: center;
    margin-top: 1.5rem;
  }




  
    #music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 9999;
  }

  #music-control img {
    width: 60px;   /* adjust size */
    height: 60px;
    border-radius: 50%;
    transition: transform 0.2s ease-in-out;
  }

  #music-control img:hover {
    transform: scale(1.1);
  }


  .form-status {
  margin-top: 1rem;
  text-align: center;
  font-weight: bold;
  color: #FA2A55;
  text-shadow: 0 0 10px #ffffff;
  animation: pulseGlow 2s ease-in-out infinite;
}
