@font-face {
  font-family: 'Minecraft';
  src: url('fonts/Minecraft.eot?') format('embedded-opentype'),
       url('fonts/Minecraft.otf') format('truetype');
}

body {
  margin: 0;
  padding: 20px;
  background: #3a3f45;
  color: white;
  font-family: sans-serif;
}

h1 {
  text-align: center;
  font-size: 2em;
  margin: 0 0 8px;
}
.subtitle {
  text-align: center;
  color: #bbb;
  margin: 0 0 16px;
  font-size: 0.9em;
}

.content-box {
  max-width: 500px;
  background: #2a2d32;
  margin: 0 auto;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-label {
  font-family: 'Minecraft', sans-serif;
  font-size: 1.1em;
  margin: 4px 0 2px;
}
.section-underline {
  font-family: 'Minecraft', sans-serif;
  font-size: 1.1em;
  line-height: 0.6;
  margin: 0 0 6px;
}

.section-label.fun,
.section-underline.fun { color: #a259ff; }
.section-label.tweaks,
.section-underline.tweaks { color: #ceff00; }
.section-label.fullsize,
.section-underline.fullsize { color: #00a3ff; }

.section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pack {
  position: relative;
}
.pack a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.2s;
}
.pack a:hover {
  background: rgba(255,255,255,0.1);
}

.icon {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
}

.name {
  font-size: 1.2em;
  font-family: 'Minecraft', sans-serif;
}

.hoverbox {
  display: none;
  flex-direction: column;
  align-items: center;
  position: absolute;
  left: 180px;
  top: 0;
  background: #1a1a1a;
  padding: 6px;
  border-radius: 4px;
  width: 280px;
  z-index: 2;
}
.hoverbox img {
  max-width: 100%;
  border: 1px solid #444;
  image-rendering: smooth;
}
.description {
  margin: 6px 0 4px;
  font-size: 0.85em;
  text-align: center;
}
.download-note {
  font-size: 0.8rem;
  color: #aaa;
  margin: 0;
  text-align: center;
}
.pack a:hover + .hoverbox {
  display: flex;
}


.floating-btn {
  position: fixed;
  bottom: 12px;
  right: 12px;
  width: 80px;
  height: 80px;
}
.floating-btn img {
  width: 100%;
  height: 100%;
  transition: transform 0.2s ease;
  border-radius: 6px;
}
.floating-btn:hover img {
  transform: scale(1.05);
}

a {
  color: inherit;
  text-decoration: none;
}
a:visited, a:active, a:hover {
  color: inherit;
}

.section-label.style,
.section-underline.style { color: #ff8a00; }

.section-label.utility,
.section-underline.utility { color: #00ffb7; }

.section-label.sound,
.section-underline.sound { color: #ffee00; }

.custom-note {
  color: #ffaa00;
  font-size: 0.9em; /* Same size as download note */
  margin: 10px 0;    /* Less vertical spacing */
}


