/* Base page styling */
body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: #eee;
  background: url('images/background.png') no-repeat center center fixed;
  background-size: cover;
  position: relative;
}

/* Dark overlay */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

/* Page title */
h1 {
  margin: 2rem 0 1rem;
  font-size: 2.5rem;
  text-align: center;
  text-shadow: 0 0 5px #000;
}

/* Server table styling */
table {
  width: auto;
  margin: 0 auto;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  table-layout: auto;
  /* Increase overall table scale */
  font-size: 1.5em;
}

thead tr {
  background: #b30000;
}

/* Table headers and cells */
th, td {
  padding: 1.5rem 2rem; /* increased from 1rem to 1.5rem vertical, 2rem horizontal */
  text-align: center;
  color: #fff;
  white-space: nowrap;
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.05);
}

tbody tr:hover {
  background: rgba(179, 0, 0, 0.2);
}

/* Game logos next to server names */
.logo {
  width: 36px; /* increased from 24px */
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* Connect button styling */
.connect-btn {
  background: #b30000;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem; /* increased from 0.5rem 1rem */
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 1.2em; /* larger text */
}
.connect-btn:hover {
  background: #e60000;
}

/* Steam icon inside connect button */
.steam-logo {
  width: 24px; /* increased from 16px */
  height: auto;
  margin-right: 0.5rem;
}

/* Online/offline status colors */
.online {
  color: #0f0 !important;
  font-weight: bold;
}
.offline {
  color: #f00 !important;
  font-weight: bold;
}