:root {
  --theme-color: #00ff66;
  --theme-glow: rgba(0, 255, 102, 0.3);
  --theme-glow-inner: rgba(0, 255, 102, 0.2);
}

body {
  background: #4d4d4d url("/images/backgrounds.jpg") fixed center;
  background-size: cover;
  font-family: 'Segoe UI', sans-serif;
  color: var(--theme-color);
  margin: 0;
  padding: 20px;
}

.theme-selector {
    background: #1e1e1e;
    color: var(--theme-color);
    border: 1px solid var(--theme-color);
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 15px;
}

.brand-icon {
  background: #1e1e1e;
  border: 2px solid var(--theme-color);
  color: var(--theme-color);
  font-family: monospace;
  font-weight: bold;
  font-size: 2em;
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: inset 0 0 8px var(--theme-glow-inner), 0 0 10px var(--theme-glow);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid #333;
  margin-bottom: 20px;
}

.status-container {
  display: flex;
  align-items: center;
  background: #1e1e1e;
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid #333;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 10px;
  display: inline-block;
}

.status-online {
  color: #00ff66;
}

.status-online .status-dot {
  background: #00ff66;
  box-shadow: 0 0 6px #00ff66;
}

.status-offline {
  color: #ff3333;
}

.status-offline .status-dot {
  background: #ff3333;
  box-shadow: 0 0 6px #ff3333;
}

.theme-selector {
  background: #1e1e1e;
  color: var(--theme-color);
  border: 1px solid var(--theme-color);
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.admin-btn {
  color: var(--theme-color);
  border: 1px solid var(--theme-color);
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
}

.game-block {
  background: #1e1e1e;
  margin-bottom: 30px;
  border-radius: 8px;
  border: 1px solid #333;
}

.game-header {
  background: #2d2d2d;
  padding: 15px;
  color: var(--theme-color);
  border-bottom: 2px solid var(--theme-color);
  display: flex;
  justify-content: space-between;
}

/* Port Testing Button Styles */
.test-btn {
  background: #333;
  color: var(--theme-color);
  border: 1px solid var(--theme-color);
  padding: 2px 6px;
  cursor: pointer;
  font-size: 0.75em;
  margin: 2px;
}

.test-btn:hover {
  background: var(--theme-color);
  color: #000;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  padding: 12px;
  background: #111;
  color: var(--theme-color);
  font-size: 0.8em;
}

td {
  padding: 12px;
  border-bottom: 1px solid #2a2a2a;
  color: #b3b3b3;
}