body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #121212;
  color: #f1f1f1;
  font-size: 14px;
}

main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: left;
}

footer {
  text-align: center;
  margin-top: 3rem;
  padding: 1rem;
  background: #1e1e1e;
  color: #888;
  font-size: 0.9rem;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem;
  background: #1e1e1e;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  color: #2ecc71;
  margin-right: 2rem;
}
.logo a {
  color: #2ecc71;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links li a {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: #2ecc71;
  font-weight: bold;
}

.hamburger {
  display: none !important;
}


.community-link { position: relative; }
.community-submenu {
  display: none;
  position: absolute;
  background: #222;
  padding: 0.5rem;
  border-radius: 4px;
  list-style: none;
  min-width: 160px;
  z-index: 1000;
}
.community-submenu a {
  color: #f1f1f1;
  text-decoration: none;
  display: block;
  padding: 0.25rem 0.5rem;
}
.community-link:hover .community-submenu { display: block; }
@media (min-width: 768px) {
  .community-link:hover .community-submenu { display: block !important; }
}

.server-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  min-height: 100px;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.3s;
  background: #1a1a1a;
  border: 1px solid #4a4a70;


}
.server-card img {
  flex: 0 0 300px;
  max-height: 80px;
  width: 100%;
  object-fit: contain;
  border-radius: 4px;
  background: #000;
}
.server-card > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.server-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  color: #fff;
}
.server-card p {
  font-size: 0.8rem;
  margin: 0.2rem 0;
  color: #ccc;
}
.server-card .tags {
  margin: 0.3rem 0;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.server-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(46,204,113,0.4);
}
.server-card.spotlight {
background: linear-gradient(145deg, #3e350a, #5a440f);
box-shadow: 0 0 12px rgba(241,196,15,0.6); /* satteres Goldgelb */

  border: 1px solid #4a4a70;
}
.server-card.top {
  background: linear-gradient(145deg, #243850, #305070);
  box-shadow: 0 0 12px rgba(52,152,219,0.5); 0 0 6px rgba(52,152,219,0.4);
  border: 1px solid #4a4a70;
}
.server-card.spotlight:hover {
  box-shadow: 0 0 12px rgba(241,196,15,0.8);
}
.server-card.top:hover {
  box-shadow: 0 0 12px rgba(52,152,219,0.8);
}



.section-box {
  background: #1a1a1a;
  border: 1px solid #4a4a70;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);

}

.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}
.info-table th, .info-table td {
  padding: 0.9rem 1.2rem;
  text-align: left;
  background: #1a1a1a;
  border-bottom: 1px solid #2c2c2c;
}
.info-table th {
  background: #2c2c2c;
  color: #2ecc71;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.info-table tr:hover td { background: #222; }

.cta-button {
  background: transparent;
  color: #2ecc71;
  border: 1px solid #2ecc71;
  font-weight: normal;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  transition: all 0.2s;
  font-size: 0.8rem;
  align-self: flex-start;
  display: inline-block;
  text-decoration: none;
  margin-top: 1rem;
}
.cta-button:hover {
  background: #2ecc71;
  color: #121212;
  font-weight: bold;
}

.tag {
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: #1a1a1a;
  color: #2ecc71;
  border: 1px solid #2ecc71;
  margin: 0.1rem 0.1rem 0 0;
}

#server-detail .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

#server-detail .tag {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #2ecc71;
  color: #121212;
  font-weight: bold;
  display: inline-block;
  white-space: nowrap;
}

h3 {
  margin: 1.5rem 0 0.5rem;
}

.hidden { display: none; }

}

/* === Cluster === */
.cluster-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cluster-fields {
  display: flex;
  gap: 1rem;
  flex-grow: 1;
}

.cluster-fields input[type="text"],
.cluster-fields select {
  background-color: #2c2c2c;
  color: #f1f1f1;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

.cluster-row button.remove-cluster-row {
  background: none;
  color: #e74c3c;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  padding: 0 0.5rem;
  transition: color 0.2s;
  flex-shrink: 0;
}

.cluster-row button.remove-cluster-row:hover {
  color: #ff6b6b;
}
/* === Direktlinks Buttons === */
.direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.link-button {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  min-width: 150px;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
}

.link-button.discord {
  background-color: #5865F2;
  color: #fff;
}

.link-button.discord:hover {
  background-color: #4752C4;
}

.link-button.website {
  background-color: #2ecc71;
  color: #121212;
}

.link-button.website:hover {
  background-color: #27ae60;
}
.status-online {
  color: #2ecc71;
  font-weight: bold;
}

.status-offline {
  color: #e74c3c;
  font-weight: bold;
}

.status-error {
  color: #f39c12;
  font-weight: bold;
}

.live-status {
  font-style: italic;
  color: #aaa;
  margin-top: 0.3rem;
}

.vote-counter {
  font-size: 0.85rem;
  color: #ccc;
  white-space: nowrap;
}
