/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}
html, body {
  height: 100%;
  overflow: hidden;
  background: black;
}
#container {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* UI nad tłem */
.ui {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 60px 20px;
  color: #fff;
}

/* Nagłówek */
h1 {
  font-size: 3rem;
  margin-bottom: 40px; /* zamiast 20px */
  background: linear-gradient(90deg, #ff6ec4, #7873f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: neon 2s infinite alternate;
}

@keyframes neon {
  from { text-shadow: 0 0 10px #ff6ec4, 0 0 20px #7873f5; }
  to   { text-shadow: 0 0 20px #ff6ec4, 0 0 40px #7873f5; }
}

/* Pole wyszukiwania + przyciski */
.search-box input, .search-box button, #copyBtn {
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin: 5px;
}
.search-box input {
  width: 220px;
  background: #333;
  color: #fff;
}
.search-box button, #copyBtn {
  background: linear-gradient(45deg, #ff6ec4, #7873f5);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 10px #ff6ec4;
}
.search-box button:hover, #copyBtn:hover {
  transform: scale(1.05);
}
#result {
  margin-top: 20px;
  font-size: 1.2rem;
}

/* Liczniki */
.counters p {
  margin: 10px 0;
  font-weight: bold;
}

/* Przyciski Admin/Kontakt */
.buttons {
  margin-top: 20px;
}
.buttons a {
  display: inline-block;
  margin: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: 0.3s;
  font-size: 0.95rem;
}
.buttons a i {
  margin-right: 8px;
}

/* Discord button */
.buttons a.discord {
  background: linear-gradient(45deg, #5865F2, #404EED);
}
.buttons a.discord:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #5865F2;
}

/* Tip button */
.buttons a.tip {
  background: linear-gradient(45deg, #00C853, #64DD17);
}
.buttons a.tip:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00C853;
}

/* Sekcja płatności */
.payment {
  margin-top: 30px;
  font-size: 1rem;
  text-align: center;
  background: linear-gradient(45deg, #ff6ec4, #7873f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  animation: glow 1.5s infinite alternate;
}

.payment a {
  color: #ff0099;
  text-decoration: underline;
  font-weight: bold;
}

.payment a:hover {
  text-decoration: none;
  color: #ae00ff;
}

/* Animacja „pulsu” */
@keyframes glow {
  from { text-shadow: 0 0 5px #ff6ec4, 0 0 10px #7873f5; }
  to   { text-shadow: 0 0 15px #ff6ec4, 0 0 30px #7873f5; }
}

/* Stopka */
footer {
  margin-top: 30px;
  font-size: 0.8rem;
  color: #777;
}

/* Modale */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
}
.modal-content {
  background: #1e1e2f;
  color: white;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  width: 320px;
  text-align: center;
  box-shadow: 0 0 20px #ff6ec4;
}
.modal-content h2 {
  margin-bottom: 10px;
}
.modal-content input {
  padding: 10px;
  margin: 5px 0;
  width: 80%;
  background: #333;
  border: none;
  border-radius: 5px;
  color: #fff;
}
.modal-content button {
  margin-top: 10px;
  padding: 10px 20px;
  background: linear-gradient(45deg, #ff6ec4, #7873f5);
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}
.modal-content button:hover {
  transform: scale(1.05);
}
.close {
  position: absolute;
  right: 680px;
  top: 297px;
  font-size: 10px;
  cursor: pointer;
  color: linear-gradient(45deg, #ff6ec4, #ff0000);
}

/* Piękny przycisk Regulaminu */
.rules-button {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  background: linear-gradient(45deg, #ff66cc, #ff3399);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 51, 153, 0.5);
  transition: all 0.3s ease;
  font-size: 14px;
}
.rules-button:hover {
  background: linear-gradient(45deg, #ff3399, #ff66cc);
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(255, 51, 153, 0.7);
}
/* Komunikat cooldown */
.cooldown-message {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  border-radius: 8px;
  background: linear-gradient(45deg, #ff6ec4, #7873f5);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.6);
  animation: pulseCooldown 1.5s infinite alternate;
  transition: all 0.3s ease;
}

@keyframes pulseCooldown {
  from { transform: scale(1); box-shadow: 0 0 10px #ff6ec4; }
  to { transform: scale(1.05); box-shadow: 0 0 20px #7873f5; }
}

.custom-btn {
  display: inline-block;
  margin: 10px 5px;
  padding: 10px 20px;
  background: linear-gradient(45deg, #ff66cc, #7873f5);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(255, 51, 153, 0.5);
}
.custom-btn i {
  margin-right: 8px;
}
.custom-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(255, 51, 153, 0.7);
}

.support-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.support-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  color: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.support-btn.discord {
  background: linear-gradient(45deg, #5865F2, #404EED);
}

.support-btn.donate {
  background: linear-gradient(45deg, #00C853, #64DD17);
}

.support-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.support-btn i {
  font-size: 20px;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body {
  min-height: 100vh;
}

.ui {
  flex: 1 0 auto; /* Sprawia, że ui zajmuje dostępną przestrzeń */
}

footer {
  flex-shrink: 0;
  text-align: center;
  font-size: 0.8rem;
  color: #777;
  margin-top: 30px;
  padding: 15px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
