* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  background-color: #0c001f;
  overflow-x: hidden;
  position: relative;
}
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.main-header, main, footer {
  position: relative;
  z-index: 2;
}
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 5%;
  background: rgba(12, 0, 31, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff;
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}
.nav-links a:hover { color: #fff; }
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}
.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
main {
  padding: 120px 20px 60px;
  max-width: 900px;
  margin: 0 auto;
}
.page-title {
  text-align: center;
  margin-bottom: 50px;
}
.page-title h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  margin-bottom: 10px;
}
.page-title p {
  font-size: 1.1rem;
  color: #e0e0e0;
  max-width: 600px;
  margin: 0 auto;
}
.command-category {
  margin-bottom: 40px;
}
.command-category h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
.command {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.command:hover {
  background: rgba(255, 255, 255, 0.1);
}
.command-title {
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.command-title::after {
  content: '+';
  font-size: 2rem;
  font-weight: 300;
  color: #c084fc;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.command.active .command-title::after {
  transform: rotate(45deg);
}
code {
  background-color: rgba(0, 0, 0, 0.4);
  color: #a7b3c4;
  padding: 4px 8px;
  border-radius: 5px;
  font-family: 'Courier New', Courier, monospace;
}
.command-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #d1d1d1;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out, padding 0.5s ease-out;
  padding: 0 20px;
}
.command.active .command-description {
  opacity: 1;
  max-height: 200px;
  padding: 0 20px 20px;
}
.main-footer-bottom {
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  color: #aaa;
}
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
      position: fixed; top: 0; right: -100%; width: 70%; height: 100vh;
      background: rgba(20, 1, 46, 0.9);
      backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 30px; transition: right 0.4s ease-in-out;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.5rem; }
  .hamburger.active .bar:nth-child(2) { opacity: 0; }
  .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  main { padding-top: 100px; }
  .page-title h1 { font-size: 2.5rem; }
  .command-category h2 { font-size: 1.5rem; }
  .command-title { font-size: 1rem; padding: 15px; }
  .command-description { font-size: 0.9rem; }
}
