/* index.css */

body {
  background: linear-gradient(135deg, #43cea2, #185a9d);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  text-align: center;
}

h1 {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

input[type="text"] {
  padding: 0.75rem 1rem;
  font-size: 2.25rem;
  border-radius: 8px;
  border: none;
  width: 350px;
  max-width: 80vw;
  height: 80px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  outline: none;
  transition: box-shadow 0.3s ease;
}

input[type="text"]:focus {
  box-shadow: 0 0 10px #ffd700;
}

button {
  padding: 0.8rem;
  font-size: 2rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  background-color: #38b2ac;
  width: 350px;
  height: 100px;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;

  margin-bottom: 1rem;
}

button:hover {
  background-color: #319795;
  transform: scale(1.05);
}

button:active {
  transform: scale(0.95);
}


/* Player Count Display */
#playerCountContainer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: bold;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#playersCount {
  font-size: 40px;
  color: #ffea00;
}

#playersText {
  font-size: 24px;
  color: #ffffff;
}

.beta-badge {
  display: inline-block;
  margin-left: 12px;
  padding: 4px 8px;
  background: red;
  color: white;
  font-family: 'Press Start 2P', cursive, monospace;
  /* pixelowa czcionka */
  font-size: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Discord Button */
.discord-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  background-color: #5865F2;
  /* kolor Discord */
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  width: 350px;
  height: 100px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.discord-button:hover {
  background-color: #4752C4;
  transform: scale(1.05);
}

.discord-icon {
  width: 52.8px;
  height: 40px;
}