html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
  background-color: #000;
  color: #fff;
  font-family: 'Courier New', monospace;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

main.container,
footer,
#cookie-banner {
  position: relative;
  z-index: 1;
}

main.container {
  flex: 1 0 auto;
  pointer-events: none;
}

main.container a,
footer a,
#cookie-banner button {
  pointer-events: auto;
}

footer {
  flex-shrink: 0;
  margin-top: auto;
}

.site-footer {
  padding: 15px 10px;
  border-top: 1px solid #555;
  background-color: #111;
  color: #ccc;
  text-align: center;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  z-index: 1000;
  width: 100%;
  padding: 10px 20px;
  border-top: 1px solid #555;
  background-color: #111;
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
}

.cookie-button {
  margin-left: 15px;
  padding: 5px 10px;
  border: 1px solid #fff;
  background-color: #222;
  color: #fff;
  cursor: pointer;
}

.cookie-button.cookie-reject {
  margin-left: 10px;
  background-color: #550000;
}

.hero {
  text-align: center;
  margin-top: 6vh;
  margin-bottom: 2rem;
}

.hero img {
  width: 180px;
  max-width: 55%;
  height: auto;
  margin-bottom: 1rem;
}

.terminal-box {
  background-color: rgba(0, 0, 0, 0.88);
  border: 1px solid #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.08);
  text-align: left;
}

.terminal-title {
  border-bottom: 1px solid #fff;
  padding: 12px 15px;
  color: #39ff88;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-shadow: 0 0 6px rgba(57, 255, 136, 0.3);
}

.terminal-content {
  padding: 18px;
}

.step-card {
  border: 1px solid #555;
  background-color: rgba(17, 17, 17, 0.92);
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 0;
}

.badge-terminal {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
  padding: 6px 10px;
  margin: 4px;
  display: inline-block;
}

.tree {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.tree ul {
  list-style: none;
  padding-left: 2.5rem;
  margin: 0.35rem 0 1.1rem;
}

.tree-folder,
.tree-file {
  line-height: 1.7;
}

.tree-folder {
  color: #39ff88;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(57, 255, 136, 0.22);
}

.step-card > strong:first-child {
  color: #39ff88;
  text-shadow: 0 0 6px rgba(57, 255, 136, 0.3);
}

.tree-file::before {
  content: "├── ";
  color: #777;
}

.tree li:last-child.tree-file::before {
  content: "└── ";
}

.link-description {
  display: block;
  color: #aaa;
  padding-left: 2.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.prompt {
  color: #aaa;
  margin-bottom: 1.25rem;
}

a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero {
    margin-top: 3vh;
  }

  .terminal-content {
    padding: 12px;
  }

  .tree ul {
    padding-left: 1rem;
  }

  .tree-file::before,
  .tree li:last-child.tree-file::before {
    content: "- ";
  }

  .link-description {
    padding-left: 1.2rem;
  }

  .cookie-button {
    margin-top: 8px;
  }
}
