/* General layout and colors */
body {
  font-family: system-ui, sans-serif;
  margin: 0;
  background-color: #121212;
  color: #f0f0f0;
  line-height: 1.6;
}

/* Header */
header {
  text-align: center;
  padding: 2.5rem 1rem;
  background-color: #1e1e1e;
}
.logo {
  height: 80px;
  margin-bottom: 1rem;
  border-radius: 50%;
}
.tagline {
  font-size: 1.1rem;
  color: #ccc;
}

/* Main layout */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Section headings */
section {
  margin-bottom: 3rem;
}
h2 {
  border-bottom: 2px solid #444;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Lists */
ul.project-list,
ul.team-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.project-list li {
  margin-bottom: 1rem;
  background: #1c1c1c;
  padding: 1rem;
  border-radius: 8px;
  transition: background 0.2s;
}
.project-list li ul {
    margin-top: 0.5rem;   /* Adds space between parent and nested list */
    margin-left: 1.5rem;  /* Keep indentation for sub-items */
    padding-left: 0;       /* Remove default padding */
}

.project-list li ul li {
    list-style: none;
    background: #1c1c1c;
    padding: 0.5rem 1rem; /* Keep consistent padding */
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.project-list li ul li:hover {
  background-color: #333;
}
.project-list li:hover {
  background: #2a2a2a;
}
.project-list a {
  color: #66ccff;
  font-weight: bold;
}
.project-list .description {
  display: block;
  margin-top: 0.25rem;
  color: #aaa;
  font-size: 0.95rem;
}
.team-list li {
  background: #1c1c1c;
  margin-bottom: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}
.community {
  text-align: left;
  margin-bottom: 3rem;
}
.discord-link {
  display: inline-block;
  background-color: #5865F2;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.2s ease;
  margin-top: 1rem;
}
.discord-link:hover {
  background-color: #4752c4;
  text-decoration: none;
}

/* Links */
a {
  color: #66ccff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #1e1e1e;
  font-size: 0.9rem;
  color: #888;
}

/* Images */
img.badge {
  height: 24px;
  vertical-align: middle;
  margin-left: 5px;
}

/* Tables */
table.stats {
  width: 100%;
  border-collapse: collapse;
}
table.stats td {
  padding: 5px;
}
