body {
  background: #212121;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: white;
}

.slotcontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.slot {
  width: 100px;
  height: 150px;
  border: 2px solid #444;
  border-radius: 10px;
  background: #fafafa;
  margin: 0 10px;
  overflow: hidden;
  position: relative;
}

.symbols {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: top 1s ease-out;
}

.symbol {
  width: 100px;
  height: 150px;
  font-size: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

button {
  margin: 10px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.floating-message {
  position: absolute;
  top: 15%;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 15px 30px;
  font-size: 20px;
  border-radius: 10px;
  display: none;
  animation: fadeOut 3s ease-out forwards;
  color: black;
  z-index: 1000;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-20px); }
}

.buttons {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.buttons button {
  margin: 0 10px;
}

#alertContainer {
  height: 40px; /* stała wysokość, by nie przesuwać układu */
  margin-bottom: 8px;
  font-size: 15px;
  color: #fff;
  width: 40%;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  line-height: 40px;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
  overflow: hidden;
}

#alertContainer.visible {
  opacity: 1;
}

#auth {
  background-color: #2a2a2a;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  width: 300px;
  text-align: center;
  margin: 20px auto;
  color: #ffffff;
  font-family: Arial, sans-serif;
  margin-bottom: 10%;
}

#auth h3 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #f1f1f1;
}

#auth input {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  background: #444;
  color: white;
  transition: background 0.3s;
}

#auth input:focus {
  background: #555;
  outline: none;
}

#auth button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background-color: #00c853;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

#auth button:hover {
  background-color: #00b347;
}

.welcome-banner {
  background: linear-gradient(135deg, #ff9800, #ffc107);
  color: #212121;
  padding: 12px 24px;
  border-radius: 15px;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: 25px;
  text-align: center;
  animation: slideFade 1s ease-out;
  max-width: 90%;
}

@keyframes slideFade {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.leaderboard-btn {
  background-color: #ffcc00;
  color: #000;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.leaderboard-btn:hover {
  background-color: #ffd633;
  transform: scale(1.05);
}