/* Make the entire page a flex column */
html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: #121212;
  color: #e0e0e0;
  font-family: Arial, sans-serif;
}

/* Main content grows to fill available space */
main {
  flex: 1;
  padding: 40px;
  text-align: center;
}

main section {
  margin-bottom: 30px;
}

main section h2 {
  color: #FF006F;
  margin-bottom: 10px;
}

main ul {
  list-style-type: disc;
  padding-left: 40px;
}

main ul li {
  margin-bottom: 6px;
  line-height: 1.5;
}

main a {
  color: #FF006F;
  text-decoration: none;
}

main a:hover {
  text-decoration: underline;
}

code {
  background-color: #2a2a2a;
  padding: 2px 5px;
  border-radius: 3px;
  color: #FF006F;
  font-family: monospace;
}

/* Header stays at top */
header {
  background-color: #1E1E1E;
  padding: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  border-bottom: 2px solid #FF006F;
}

/* Footer sticks to bottom */
footer {
  background-color: #1E1E1E;
  padding: 15px;
  text-align: center;
  border-top: 2px solid #FF006F;
}

/* Links */
header a {
  color: #FF006F;
  text-decoration: none;
  font-weight: bold;
}

header a:hover {
  text-decoration: underline;
}

/* Headings and lists */
h1 {
  color: #FF006F;
  margin-bottom: 20px;
}

p,
li {
  line-height: 1.6;
}

ul {
  list-style-type: disc;
  margin: 20px auto;
  padding-left: 40px;
  max-width: 600px;
  text-align: left;
}

/* Generic button style */
.button {
  display: inline-block;
  background-color: #FF006F;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.button:hover {
  background-color: #e60062;
  /* slightly darker on hover */
  transform: translateY(-2px);
  /* subtle lift effect */
}

.button:active {
  transform: translateY(0);
}

.mods-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: auto;
}

.mods-list li {
  padding: 8px;
  border-bottom: 1px solid #333;
}

.mods-list a {
  color: #FF006F;
  text-decoration: none;
  font-weight: bold;
}

.mods-list a:hover {
  text-decoration: underline;
}

.mod-search {
  width: 300px;
  max-width: 90%;
  padding: 10px;
  margin: 20px auto;
  display: block;
  border-radius: 6px;
  border: none;
  background: #222;
  color: white;
}

.mods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  max-width: 900px;
  margin: auto;
}

.mod-card
{
background:#1a1a1a;
padding:15px;
border-radius:10px;
border:1px solid #333;
text-align:center;
}

.mod-icon
{
width:64px;
height:64px;
border-radius:12px;
margin-bottom:10px;
}

.mod-desc
{
font-size:0.9rem;
opacity:0.8;
}

.mod-card a {
  color: #FF006F;
  text-decoration: none;
  font-weight: bold;
}

.mod-card a:hover {
  text-decoration: underline;
}

.randomness-links {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive for small screens */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
  }

  main {
    padding: 20px;
  }
}