/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
font-family: 'Roboto', sans-serif;

}

body {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #f0f4ff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* 🔹 Rozmyte tło */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(5,10,30,0.9), rgba(5,10,30,0.9)),
              url('https://cdn.discordapp.com/attachments/595294525446946818/1435053499862880316/stateside.png?ex=690a9138&is=69093fb8&hm=0ee3d035d60993c5ab2f41ac91b0ea5fa26048951ee395e9f00c5aeeb2d6dc74&');
  background-position: 60% center;
              filter: blur(6px);
  transform: scale(1.1);
  z-index: -1;
}

/* Główna zawartość */
.overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 800px;
  padding: 30px;
}

/* 🔥 Napis z pulsującym efektem glow */
header {
  font-size: 4em;
  font-weight: 700;
  letter-spacing: 3px;
  color: white;
  text-transform: uppercase;
  text-shadow:
    -2px -2px 0 black,
     2px -2px 0 black,
    -2px  2px 0 black,
     2px  2px 0 black,
     0 0 20px rgba(80,130,255,0.8);
  animation: glow 3s ease-in-out infinite;
}

/* ✨ Animacja pulsującego blasku */
@keyframes glow {
  0%, 100% {
    text-shadow:
      -2px -2px 0 black,
       2px -2px 0 black,
      -2px  2px 0 black,
       2px  2px 0 black,
       0 0 20px rgba(80,130,255,0.8),
       0 0 40px rgba(80,130,255,0.5);
  }
  50% {
    text-shadow:
      -2px -2px 0 black,
       2px -2px 0 black,
      -2px  2px 0 black,
       2px  2px 0 black,
       0 0 30px rgba(120,160,255,1),
       0 0 60px rgba(120,160,255,0.8);
  }
}

p {
  font-size: 1.2em;
  max-width: 600px;
  line-height: 1.6em;
  color: #dbe4ff;
}

.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

a {
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, #1f3b73, #2a56a1);
  padding: 12px 25px;
  border-radius: 8px;
  transition: 0.3s;
  font-weight: 500;
  box-shadow: 0 0 10px rgba(30,60,120,0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

a:hover {
  background: linear-gradient(135deg, #274b93, #3c69d1);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(80,130,255,0.6);
}

footer {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  font-size: 0.9em;
  opacity: 0.7;
  color: #a0b9ff;
}

@media (max-width: 600px) {
  header { font-size: 2.5em; }
  p { font-size: 1em; padding: 0 15px; }
  .buttons { flex-direction: column; }
}
.icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  position: relative;
}


/* Unikalny kolor dla przycisku Discord */
.discord-btn {
  background: linear-gradient(135deg, #5865F2, #4752C4);
}

.discord-btn:hover {
  background: linear-gradient(135deg, #6B73F2, #5865F2);
}
.rules-box {
  background: rgba(10, 20, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px 40px;
  max-width: 900px;
  text-align: left;
  line-height: 1.8em;
  color: #e2e8ff;
  box-shadow: 0 0 20px rgba(50, 100, 200, 0.2);
  overflow-y: auto;
  max-height: 70vh; /* umożliwia przewijanie, jeśli regulamin jest długi */
}

.rules-box p {
  margin: 10px 0;
  font-size: 1.05em;
}

.discord-links {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.discord-links ul {
  list-style: none;
  display: flex;          /* 🔹 ustawia linki obok siebie */
  gap: 15px;              /* 🔹 odstęp między przyciskami */
  margin-top: 10px;
  flex-wrap: wrap;        /* 🔹 pozwala, żeby na telefonie się zawijały */
  padding: 0;
}

.discord-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a56a1, #3a6df2);
  padding: 10px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(50, 100, 200, 0.3);
}

.discord-links a:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #3d6bd1, #6ca0ff);
}


.back-btn {
  margin-top: 40px;
  background: linear-gradient(135deg, #1f3b73, #2a56a1);
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

.back-btn:hover {
  background: linear-gradient(135deg, #2a56a1, #3d6bd1);
  transform: scale(1.05);
}
