body {
  background-color: #1e1e1e;
  color: #89cff0;
  font-family: sans-serif;
  margin: 0;
  padding-top: 100px; /* ruimte voor fixed topbar */
}

/* Topbar layout */
.top-bar {
  background-color: #2c2c2c;
  color: #89cff0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 2em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  flex-wrap: nowrap;
  gap: 1em;
}

.logo {
  font-size: 2em;
  font-weight: bold;
  color: #89cff0;
}

.loadstring-box {
  flex: 1 1 600px;
  display: flex;
  gap: 0.5em;
  max-width: 800px;
  margin: 0 auto;
  min-width: 0;
}

.loadstring-box input {
  flex: 1;
  padding: 0.8em;
  border: 1px solid #444;
  background-color: #1e1e1e;
  color: #89cff0;
  font-size: 1em;
  border-radius: 4px;
}

.loadstring-box button {
  padding: 0.8em 1.4em;
  background-color: #89cff0;
  border: none;
  color: #1e1e1e;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  border-radius: 4px;
}

.sub-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5em;
  margin: 1em 0 0.5em;
  flex-wrap: wrap;
  background: none;
  border: none;
}

.sub-bar a,
.sub-bar input {
  padding: 0.6em 1em;
  border: 2px solid #89cff0;
  border-radius: 999px;
  background: transparent;
  color: #89cff0;
  font-weight: bold;
  text-decoration: none;
  font-size: 1em;
}




.status {
  padding: 0.4em 1em;
  border-radius: 999px;
  color: #fff;
  font-weight: bold;
  font-size: 0.9em;
}

.status.active {
  background-color: #2ecc71; 
}

.status.patched {
  background-color: #e74c3c; 
}

/* ==== GAME CARDS GRID ==== */

.games-wrapper {
  padding: 2em;
}

.games-active,
.games-patched {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1em;
  margin-top: 1.5em;
}

/* ==== SINGLE GAME CARD ==== */

.game-card {
  background-color: #2c2c2c;
  border-radius: 12px;
  padding: 1em 1.2em;
  position: relative;
  border: 2px solid #444;
  color: #89cff0;
  cursor: pointer;
  transition: 0.2s;
  height: 140px;            
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.game-card:hover {
  transform: translateY(-3px);
  border-color: #89cff0;
}

.game-card .version {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 0.2em 0.6em;
  border-radius: 6px;
  background-color: #1e1e1e;
  border: 1px solid #444;
  font-size: 0.85em;
}

.game-card ul {
  list-style: disc;
  margin-top: 2em;    
  margin-bottom: 1em;
  padding-left: 1.2em;
  font-size: 0.9em;
  color: #c0eaff;
}

.game-card .game-name {
  margin-top: 0.8em;
  padding-top: 0.6em;
  border-top: 1px solid #444;
  text-align: center;
  font-weight: bold;
  color: #89cff0;
  font-size: 1em;
}

.games-section {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}

.games-section > .status {
  align-self: center;
}

.games-active {
  margin-bottom: 2em;  
}

/*Hide copy button*/
@media (max-width: 768px) {
  .loadstring-box input {
    display: none;
  }

  .loadstring-box {
    justify-content: flex-end;
  }
}



