html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  height: 100%;
  background: url('/background.webp') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 1rem 1rem 0.5rem;
  background-color: rgba(0, 0, 0, 0.6);
}

header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

.container {
  flex: 1 0 auto;
  display: flex;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
}

.left {
  max-width: 480px;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right {
  flex: 1;
  padding: 2rem;
  box-sizing: border-box;
  overflow-y: hidden;
  position: relative;
  max-width: 40%;
}

h1.krabs-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.discord-btn {
  background-color: #3c833b;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 2rem;
  width: 100%;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.discord-btn:hover {
  background-color: #2e672d;
}

.server-button {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.8rem 1.2rem;
  margin-bottom: 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  border: none;
  color: white;
  width: 100%;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
}

.server-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.server-button img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  margin-right: 0.5rem;
}

.details {
  background: rgba(0, 0, 0, 0.85);
  padding: 1rem;
  border-radius: 10px;
  max-height: 70vh;
  overflow-y: auto;
}

.details .info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.info-text {
  flex: 1;
}

.game-image {
  margin-left: 1rem;
}

.game-image img {
  width: 128px;
  border-radius: 10px;
}

.details p {
  margin: 0.5rem 0;
}

.copy-ip {
  cursor: pointer;
  color: #FFD54F;
  font-weight: bold;
  text-decoration: underline;
}

#player-list {
  max-height: 200px;
  overflow-y: auto;
  padding-left: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

#player-list::-webkit-scrollbar {
  width: 6px;
}

#player-list::-webkit-scrollbar-thumb {
  background-color: transparent;
}

footer {
  flex-shrink: 0;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem;
}

footer img {
  height: 24px;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.vpn-status-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.vpn-logo {
  width: 32px;
  height: 32px;
}

.vpn-status-button {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  background-color: rgba(150, 150, 150, 0.2);
  color: #222;
  pointer-events: none; /* делает некликабельным */
  transition: background 0.3s ease;
  user-select: none;
}
