@font-face {
  font-family: 'NF Pixels';
  src: url('fonts/NFPixels-Regular.eot');
  src: url('fonts/NFPixels-Regular.eot?#iefix') format('embedded-opentype'),
       url('fonts/NFPixels-Regular.woff2') format('woff2'),
       url('fonts/NFPixels-Regular.woff') format('woff'),
       url('fonts/NFPixels-Regular.ttf') format('truetype'),
       url('fonts/NFPixels-Regular.svg#NFPixels-Regular') format('svg');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  font-family: 'NF Pixels', sans-serif;
  font-weight: 400;
  background-color: #121212;
  color: #d0d0d0;
  margin: 0;
  padding: 0;
}

header {
  background-color: #1b1b1b;
  padding: 20px;
  text-align: center;
  border-bottom: 5px solid #2a2a2a;
}

header .logo {
  font-size: 3rem;
  color: #00c261;
  letter-spacing: 5px;
  margin-bottom: 10px;
  font-weight: 400;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 0;
  margin-bottom: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #d0d0d0;
  font-size: 1.2rem;
  font-weight: 400;
  border: 2px solid transparent;
  padding: 5px 10px;
  transition: all 0.2s ease;
}

.nav-links li a:hover {
  color: #00c261;
  border: 2px solid #2abb72;
}

.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #1c1c1c 0%, #242424 100%);
  border-bottom: 5px solid #2a2a2a;
}

.hero h1 {
  font-size: 3rem;
  color: #00c261;
  margin-bottom: 15px;
  letter-spacing: 4px;
  font-weight: 400;
}

.hero p {
  font-size: 1.4rem;
  color: #b4cab4;
  font-weight: 400;
}



.donate-btn {
  margin-top: 20px;
  padding: 12px 25px;
  font-family: 'NF Pixels', sans-serif;
  font-size: 1.2rem;
  color: #d0d0d0;
  background: transparent;
  border: 2px solid #2dca7c;
  cursor: pointer;
  transition: all 0.3s ease;
}

.donate-btn:hover {
  background-color: #2dca7c;
  color: #121212;
}


#donate-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

#donate-popup {
  background: #1f1f1f;
  padding: 26px 22px;
  border: 5px solid #303030;
  text-align: center;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
}

#donate-popup h2 {
  color: #00c261;
  font-size: 1.6rem;
  margin: 6px 0 22px;
  font-weight: 400;
}

.donate-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.donate-option {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 48px;
  font-size: 1.05rem;
  font-family: 'NF Pixels', sans-serif;
  color: #d0d0d0;
  text-decoration: none;
  border: 2px solid #2dca7c;
  transition: all 0.18s ease;
  background: transparent;
}

.donate-option:hover {
  background-color: #2dca7c;
  color: #121212;
  border-color: #2dca7c;
}

.close-donate-btn {
  display: inline-block;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: 2px solid #2dca7c;
  color: #d0d0d0;
  font-size: 1rem;
  font-family: 'NF Pixels', sans-serif;
  cursor: pointer;
  transition: all 0.18s ease;
}

.close-donate-btn:hover {
  background-color: #2dca7c;
  color: #121212;
}

#donate-overlay[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
#donate-overlay[aria-hidden="false"] { visibility: visible; pointer-events: auto; }



section {
  padding: 40px 5vw;
}



.modding-pages {
  text-align: center;
}

.modding-pages h2 {
  color: #00c261;
  font-size: 2rem;
  margin-bottom: 25px;
  letter-spacing: 2px;
}

.modding-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.modding-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 50px;
  font-size: 1.2rem;
  color: #d0d0d0;
  text-decoration: none;
  border: 2px solid #2dca7c;
  transition: all 0.3s ease;
}

.modding-btn:hover {
  background-color: #2dca7c;
  color: #121212;
  border-color: #2dca7c;
}

h2 {
  color: #00c261;
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-align: center;
  font-weight: 400;
}

p {
  max-width: 700px;
  margin: 0 auto 15px;
  line-height: 1.6;
  text-align: center;
  color: #b0b0b0;
  font-weight: 400;
}



.mods-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.mod-card {
  width: 100%;
  max-width: 290px;
  background-color: #1f1f1f;
  border: 5px solid #303030;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  padding-bottom: 15px;
}

.mod-card:hover {
  transform: translateY(-15px);
  border-color: rgba(51,255,153,0.5);
}

.mod-banner {
  width: 200px;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  border: 5px solid #303030;
  padding: 8px;
  box-sizing: border-box;
  transition: transform 0.25s ease;
}

.mod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.mod-banner:hover {
  transform: scale(1.05);
  border-color: rgba(51,255,153,0.5);
}

.mod-banner:hover .mod-img {
  transform: scale(1.05);
}

.mod-card h3 {
  padding: 10px 5px 5px;
  font-size: 1.25rem;
  color: #00c261;
  text-align: center;
  font-weight: 400;
}

.mod-card p {
  padding: 0 5px 5px;
  font-size: 1.1rem;
  color: #b0b0b0;
  font-weight: 400;
}

.mod-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: auto;
  flex-wrap: nowrap;
}

.mod-link-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 40px;
  font-size: 1rem;
  color: #d0d0d0;
  text-decoration: none;
  border: 2px solid #2dca7c;
  transition: all 0.3s ease;
}

.mod-link-btn:hover {
  background-color: #2dca7c;
  color: #121212;
  border-color: #2dca7c;
}



footer {
  background-color: #1b1b1b;
  padding: 10px;
  text-align: center;
  color: #888;
  border-top: 5px solid #2a2a2a;
}

footer a {
  color: #33ff99;
  text-decoration: none;
  font-weight: 400;
}

footer a:hover {
  color: #66ffaa;
}



@media (max-width: 768px) {
  header .logo {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .nav-links {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .nav-links li a {
    font-size: 1rem;
    padding: 4px 6px;
  }

  .hero {
    padding: 40px 15px;
  }

  .hero h1 {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .hero p {
    font-size: 1rem;
  }

  .donate-btn {
    font-size: 1rem;
    padding: 10px 18px;
  }

  #donate-popup {
    padding: 18px;
    max-width: 340px;
  }
  
  .donate-option {
    width: 140px;
    height: 44px;
    font-size: 0.95rem;
  }

  .modding-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .modding-btn {
    width: 100%;
    max-width: 200px;
    height: 45px;
    font-size: 1rem;
    margin: 0 auto;
  }

  .mods-container {
    flex-direction: column;
    gap: 20px;
  }

  .mod-card {
    max-width: 90%;
    margin: 0 auto;
  }

  .mod-banner {
    width: 160px;
    height: 160px;
    margin-top: 15px;
  }

  .mod-card h3 {
    font-size: 1.1rem;
  }

  .mod-card p {
    font-size: 0.95rem;
  }

  .mod-link-btn {
    width: 90px;
    font-size: 0.9rem;
  }

  footer {
    font-size: 0.85rem;
    padding: 20px 10px;
  }
}

@media (max-width: 480px) {
  header .logo {
    font-size: 1.7rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .donate-btn {
    font-size: 0.9rem;
    padding: 8px 15px;
  }

  .modding-btn,
  .donate-option,
  .close-donate-btn {
    width: 100%;
    max-width: 180px;
    height: 42px;
    font-size: 0.95rem;
  }

  .mod-banner {
    width: 140px;
    height: 140px;
  }
}
