* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #1a1a1a;
}

@font-face {
  font-family: "Segoe UI";
  src: url("segoe-ui-normal.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Segoe UI";
  src: url("segoe-ui-bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInSimple {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-in forwards;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 20px;
  padding-top: 80px;
  animation: fadeInSimple 0.3s ease-in;
}

.container {
  animation: fadeIn 0.3s ease-in;
}

.modpack-section {
  animation: fadeIn 0.3s ease-in;
  animation-fill-mode: both;
}

/* stagger animation for modpack sections */
.modpack-section:nth-child(1) { animation-delay: 0.05s; }
.modpack-section:nth-child(2) { animation-delay: 0.1s; }
.modpack-section:nth-child(3) { animation-delay: 0.15s; }
.modpack-section:nth-child(4) { animation-delay: 0.2s; }
.modpack-section:nth-child(5) { animation-delay: 0.25s; }
.modpack-section:nth-child(6) { animation-delay: 0.3s; }
.modpack-section:nth-child(7) { animation-delay: 0.35s; }

.no-scroll {
  overflow: hidden;
}

.header-title {
  color: #00ff00;
  font-size: 1.5em;
  margin: 0;
  letter-spacing: normal;
  background: none;
  border: none;
  font-family: inherit;
}

header h1 {
  font-size: 2.5em;
  color: #00ff00;
  letter-spacing: normal;
  margin-bottom: 15px;
}

.version-text {
  color: #00ff00;
  font-weight: bold;
  font-size: 1.3em;
  margin-bottom: 5px;
}

.update-text {
  color: #aaaaaa;
  font-size: 0.9em;
}

.section-title {
  color: #00ff00;
  font-size: 1.8em;
  margin-bottom: 10px;
  text-align: center;
}

.section-description {
  color: #aaaaaa;
  font-size: 1em;
  text-align: center;
  margin-bottom: 20px;
}

.header-subtitle {
  color: #aaaaaa;
  font-size: 1.1em;
  margin-top: 10px;
}

.modpack-title {
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.footer-credit a {
  color: #00ff00;
}

.footer-heart {
  color: #00ff00;
}

.header-home-link {
  cursor: pointer;
  transition: color 0.2s ease;
}

.header-home-link:hover {
  color: #66ff66;
}

/* main title */
.main-title {
  color: #00ff00;
  font-size: 1.4em;
  font-weight: bold;
  margin: 0 0 5px 0;
  text-align: center;
}

.update-text {
  color: #aaaaaa;
  font-size: 0.85em;
  text-align: center;
  margin-bottom: 15px;
}

/* Info Box */
.info-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 15px 20px;
  margin: 15px 0;
  text-align: left;
}

.info-box p {
  color: #cccccc;
  font-size: 0.9em;
  line-height: 1.6;
  margin-bottom: 10px;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.info-box u {
  color: #00ff00;
}

/* Choose text */
.choose-text {
  color: #00ff00;
  font-size: 0.95em;
  text-align: center;
  margin: 20px 0 10px 0;
}

/* Download header */
.download-header {
  text-align: center;
  margin-bottom: 20px;
}

.wasm-info {
  color: #cccccc;
  font-size: 0.9em;
  line-height: 1.5;
  margin-top: 10px;
  text-align: left;
}
