body {
  background: #222;
  color: #ecebc9;
  font-family: 'Press Start 2P', Arial, monospace;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Fixed Pixel Nav Bar --- */
.pixel-nav {
  display: flex;
  justify-content: center;
  gap: 0.75em;
  background: #181f15;
  border-bottom: 4px solid #6aac3a;
  box-shadow: 0 2px 0 #4c7a1d;
  font-family: 'Press Start 2P', monospace;
  z-index: 1000;
  position: relative;
}
.fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  min-height: 3.2em;
  padding-top: 0.15em;
  padding-bottom: 0.15em;
}

.nav-link {
  color: #ecebc9;
  font-family: 'Press Start 2P', monospace;
  text-decoration: none;
  font-size: 1em;
  padding: 0.6em 1.2em;
  transition: background 0.1s, color 0.1s, box-shadow 0.12s;
  border: 2px solid transparent;
  border-radius: 0;
  box-shadow: 0 2px 0 #232913;
  margin: 0 0.1em;
  position: relative;
  background: none;
}
.nav-link:hover, .nav-link:focus {
  color: #232913;
  background: #6aac3a;
  border-color: #a3723a;
  box-shadow: 0 2px 0 #6aac3a;
  z-index: 2;
}

/* --- MOTD Banner --- */
.motd-banner {
  width: 100vw;
  background: #3e5229;
  color: #f3eebd;
  font-family: 'Press Start 2P', monospace;
  font-size: 1.06em;
  text-align: center;
  padding: 0.7em 1.2em;
  border-bottom: 4px solid #6aac3a;
  box-shadow: 0 2px 0 #232913;
  animation: motd-slide 1.2s cubic-bezier(.33,1.4,.7,1);
  position: relative;
  z-index: 999;
}
.motd-text {
  display: inline-block;
  animation: motd-fade 4s infinite alternate;
}
@keyframes motd-slide {
  from { opacity: 0; transform: translateY(-32px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes motd-fade {
  0% { opacity: 1;}
  45% { opacity: 1;}
  55% { opacity: 0.7;}
  100% { opacity: 1;}
}

/* --- Header shifts down for nav+motd --- */
header {
  text-align: center;
  padding: 7.4em 1em 1.2em 1em; /* extra top padding for nav+motd */
  background: #232913;
  border-bottom: 8px solid #a3723a;
  box-shadow: 0 2px 0 #232913, 0 4px 0 #6aac3a;
  position: relative;
}

.site-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 0.6em;
}

.site-icon {
  width: 68px;
  height: 68px;
  image-rendering: pixelated;
  border: 3px solid #6aac3a;
  background: #181f15;
  border-radius: 12px;
  box-shadow: 0 2px 0 #4c7a1d;
}

.pixel-title {
  font-size: 2.3em;
  letter-spacing: 3px;
  margin: 0;
  color: #ecebc9;
  text-shadow: 2px 4px 0 #232913, 0 0 24px #365e1f;
  font-family: 'Press Start 2P', monospace;
  animation: title-bounce 2s ease infinite alternate;
}
@keyframes title-bounce {
  0% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.07) translateY(-8px); }
  100% { transform: scale(1) translateY(0); }
}

.subtitle {
  font-size: 1.1em;
  color: #c7b279;
  margin-top: 0.7em;
  font-weight: 400;
  text-shadow: 1px 1px 0 #3e561d;
  margin-bottom: 1em;
  letter-spacing: 1px;
}

.discord-btn {
  display: inline-block;
  margin-top: 1.1em;
  background: #5865f2;
  color: #ecebc9;
  border: 4px solid #232913;
  padding: 0.7em 2.1em 0.7em 2.1em;
  font-size: 1em;
  border-radius: 0;
  font-family: 'Press Start 2P', monospace;
  text-decoration: none;
  box-shadow:
    0 0 0 4px #7289da,
    0 0 0 8px #232913;
  position: relative;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  animation: disco-pop 2.2s infinite alternate ease-in;
}
.discord-btn:hover, .discord-btn:focus {
  background: #7289da;
  color: #fff;
  box-shadow:
    0 0 0 4px #a3723a,
    0 0 0 8px #6aac3a;
  transform: scale(1.05);
}
@keyframes disco-pop {
  0% { box-shadow: 0 0 0 4px #7289da, 0 0 0 8px #232913;}
  60% { box-shadow: 0 0 0 4px #a3723a, 0 0 0 8px #6aac3a;}
  100% { box-shadow: 0 0 0 4px #7289da, 0 0 0 8px #232913;}
}

main {
  margin: 0 auto;
  max-width: 900px;
}

/* --- Block Section Styling --- */
.block-section {
  margin: 2em auto;
  background: #232913;
  border-radius: 0;
  padding: 2.2em 1.5em 1.6em 1.5em;
  max-width: 750px;
  position: relative;
  box-shadow:
    0 0 0 4px #6aac3a,
    0 0 0 8px #232913,
    0 0 0 12px #a3723a,
    0 0 0 16px #232913;
  outline: 0;
  transition: box-shadow 0.18s, transform 0.18s;
  animation: section-pop 0.7s cubic-bezier(.33,1.4,.7,1) backwards;
}
@keyframes section-pop {
  0% { opacity: 0; transform: translateY(30px) scale(0.95);}
  100% { opacity: 1; transform: translateY(0) scale(1);}
}

.block-section:not(:last-child) {
  margin-bottom: 2.5em;
}

.section-header {
  margin-bottom: 1em;
}

.pixel-h2 {
  font-family: 'Press Start 2P', monospace;
  color: #ecebc9;
  font-size: 1.3em;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 #232913, 0 2px 0 #6aac3a;
  border-bottom: 4px solid #6aac3a;
  display: inline-block;
  padding-bottom: 0.2em;
}

#join .join-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4em;
  font-size: 1.05em;
}

.join-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
  font-size: 1em;
  margin-bottom: 0.2em;
}

.label {
  color: #c7b279;
  font-weight: bold;
  margin-right: 0.2em;
  text-shadow: 1px 1px 0 #232913;
}

.value {
  font-family: inherit;
  letter-spacing: 0.5px;
  color: #ecebc9;
  background: #232913;
  padding: 4px 10px;
  border-radius: 0;
  font-size: 1em;
  box-shadow: 0 2px 0 #4c7a1d;
  border: 2px solid #6aac3a;
  margin-right: 0.15em;
  transition: background 0.13s;
}

.pixel-btn {
  background: #a3723a;
  color: #f3eebd;
  border: 3px solid #232913;
  font-family: 'Press Start 2P', monospace;
  border-radius: 0;
  margin-left: 0.2em;
  padding: 0.29em 1.2em 0.29em 1.2em;
  font-size: 0.9em;
  cursor: pointer;
  box-shadow:
    0 0 0 3px #6aac3a,
    0 0 0 6px #232913;
  text-shadow: 1px 1px #4c7a1d;
  transition: background 0.12s, box-shadow 0.12s, transform 0.11s;
  outline: none;
}
.pixel-btn:hover, .pixel-btn:focus {
  background: #6aac3a;
  color: #232913;
  box-shadow:
    0 0 0 3px #a3723a,
    0 0 0 6px #c7b279;
  transform: scale(1.06);
}

#status-display {
  margin-top: 1em;
  font-size: 1.08em;
  background: #181f15;
  padding: 0.7em 1.1em;
  border-radius: 0;
  border: 2px solid #6aac3a;
  animation: fadein 1.3s cubic-bezier(.32,1.3,.7,1) backwards;
}

ol {
  margin-left: 2em;
  font-size: 1.05em;
  color: #f3eebd;
  background: #181f15;
  padding: 0.5em 1.5em;
  border-radius: 0;
  border-left: 8px solid #6aac3a;
  letter-spacing: 1px;
  box-shadow: 0 2px 0 #6aac3a55;
}

/* --- FAQ Section --- */
#faq .faq-list {
  margin-top: 1.5em;
}
.faq-item {
  margin-bottom: 1em;
  border: 2px solid #6aac3a;
  background: #181f15;
  border-radius: 8px;
  box-shadow: 0 2px 0 #4c7a1d;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: #232913;
  color: #ecebc9;
  font-family: 'Press Start 2P', monospace;
  font-size: 1em;
  padding: 1em 1.5em 1em 1em;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.13s;
  border-bottom: 2px solid #6aac3a;
  position: relative;
}
.faq-question::after {
  content: "+";
  float: right;
  font-size: 1.1em;
  color: #c7b279;
  transition: transform 0.18s;
}
.faq-item.open .faq-question::after {
  content: "-";
  transform: rotate(90deg);
}
.faq-answer {
  display: none;
  padding: 1em 1.5em 1em 1.5em;
  background: #1c2512;
  color: #ecebc9;
  font-size: 0.97em;
}
.faq-item.open .faq-answer {
  display: block;
  animation: faq-fadein 0.4s;
}
@keyframes faq-fadein {
  from { opacity: 0; transform: translateY(12px);}
  to { opacity: 1; transform: translateY(0);}
}
.faq-ip, .faq-port {
  color: #6aac3a;
  font-weight: bold;
}

/* --- Staff Section --- */
.staff-team-list {
  display: flex;
  gap: 1.2em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1em;
}
.staff-card {
  background: #181f15;
  border: 2px solid #6aac3a;
  border-radius: 10px;
  padding: 1.2em 1.6em;
  box-shadow: 0 2px 0 #4c7a1d;
  text-align: center;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1em;
}
.staff-role {
  font-size: 0.95em;
  font-weight: bold;
  color: #fff;
  background: #6aac3a;
  padding: 0.15em 1.2em;
  border-radius: 5px;
  margin-bottom: 0.5em;
  letter-spacing: 1px;
  text-shadow: 1px 1px #232913;
}
.staff-admin .staff-role {
  background: #eab308;
  color: #232913;
}
.staff-mod .staff-role {
  background: #3b82f6;
  color: #fff;
}
.staff-helper .staff-role {
  background: #8b5cf6;
  color: #fff;
}
.staff-name {
  font-size: 1.15em;
  font-weight: bold;
  margin-bottom: 0.2em;
  color: #ecebc9;
}
.staff-user {
  font-size: 0.92em;
  color: #c7b279;
}

/* --- Socials Section --- */
#socials .socials-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  justify-content: center;
  margin-top: 1.2em;
}
.social-btn {
  min-width: 170px;
  font-size: 1.05em;
  padding: 0.8em 2em;
  margin: 0.2em 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: 'Press Start 2P', monospace;
  box-shadow: 0 2px 0 #232913, 0 6px 16px #23291344;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s, transform 0.12s;
}
.discord-social {
  background: #5865f2;
  border-color: #232913;
  color: #ecebc9;
}
.discord-social:hover, .discord-social:focus {
  background: #7289da;
  color: #fff;
  box-shadow: 0 4px 0 #232913, 0 0 0 4px #7289da;
  transform: scale(1.05);
}
.reddit-social {
  background: #ff5700;
  border-color: #232913;
  color: #fff;
}
.reddit-social:hover, .reddit-social:focus {
  background: #ff884d;
  color: #232913;
  box-shadow: 0 4px 0 #232913, 0 0 0 4px #ff884d;
  transform: scale(1.05);
}

footer {
  text-align: center;
  color: #ecebc9bb;
  padding: 2em 1em 1em 1em;
  font-size: 0.95em;
  background: #232913;
  border-top: 8px solid #a3723a;
  margin-top: 2.5em;
  position: relative;
  letter-spacing: 1px;
}

/* Animation for sections on scroll */
.animate-in {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.7s cubic-bezier(.33,1.4,.7,1), transform 0.7s cubic-bezier(.33,1.4,.7,1);
}
.animate-in.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Mobile responsive */
@media (max-width: 900px) {
  main {
    padding: 0 2vw;
  }
  .block-section {
    padding: 1.1em 0.4em;
    max-width: 99vw;
  }
  .section-header h2 {
    font-size: 1em;
  }
  .pixel-title {
    font-size: 1.3em;
  }
  .pixel-nav {
    flex-wrap: wrap;
    font-size: 0.8em;
    gap: 0.2em;
  }
  .nav-link {
    font-size: 0.9em;
    padding: 0.5em 0.9em;
  }
  .site-icon {
    width: 52px;
    height: 52px;
  }
  .site-title-row {
    gap: 12px;
  }
  .staff-team-list {
    flex-direction: column;
    align-items: center;
    gap: 0.6em;
  }
}
html {
  scroll-padding-top: 7.7em; /* for anchor offset so nothing is hidden */
}

::-webkit-scrollbar {
  width: 10px;
  background: #232913;
}
::-webkit-scrollbar-thumb {
  background: #6aac3a;
  border-radius: 0;
}