/* ================================
   RESET + BAZOWE STYLOWANIE
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  line-height: 1.6;
  text-align: center;
  padding-top: 130px;
  padding-bottom: 60px; /* miejsce na stopkę */
}

/* ================================
   NAGŁÓWEK + MENU
================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(255, 127, 0, 0.3);
}

header .logo img {
  width: 140px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(255, 150, 0, 0.7));
}
header .logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 14px rgba(255, 150, 0, 1));
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

nav ul li {
  display: inline;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

nav ul li a:hover {
  color: #FF7F00;
}

/* Definicja animacji mrugania */
@keyframes blinkText {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 8px rgba(255, 127, 0, 0.8);
  }
  50% {
    opacity: 0.6;
    text-shadow: 0 0 18px rgba(255, 160, 0, 1);
  }
}

/* ================================
   SEKCJE GŁÓWNE
================================ */
.main-info,
.about-section,
.contact-form,
.regulamin-container,
.thank-you {
  max-width: 1000px;
  width: 90%;
  margin: 160px auto 80px auto;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 127, 0, 0.15);
  transition: box-shadow 0.4s ease;
}

.main-info:hover,
.about-section:hover,
.contact-form:hover,
.regulamin-container:hover,
.thank-you:hover {
  box-shadow: 0 0 30px rgba(255, 127, 0, 0.35);
}

h1, h2 {
  color: #FF7F00;
  text-shadow: 0 0 10px rgba(255, 127, 0, 0.6);
}

/* ================================
   PRZYCISKI
================================ */
button {
  background-color: #FF7F00;
  color: white;
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 127, 0, 0.3);
}
button:hover {
  background-color: #e06b00;
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(255, 127, 0, 0.6);
}

.copy-ip-btn {
  background-color: rgba(255,255,255,0.1);
  color: #FF7F00;
  border: 2px solid #FF7F00;
  font-weight: bold;
  box-shadow: 0 0 8px rgba(255, 127, 0, 0.3);
}
.copy-ip-btn:hover {
  background-color: rgba(255,127,0,0.3);
  color: white;
  box-shadow: 0 0 16px rgba(255, 127, 0, 0.6);
}

/* ================================
   BOCZNY PASEK MEDIÓW SPOŁECZNOŚCIOWYCH
================================ */
.social-media-sidebar {
    position: fixed;
    top: 60%;
    right: -80px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px 0 0 10px;
    border: 1px solid rgba(255, 127, 0, 0.3); /* obramowanie jak stopka */
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.4);
    transition: right 0.3s ease-in-out, box-shadow 0.3s ease;
    backdrop-filter: blur(4px);
    z-index: 20;
}

.social-media-sidebar a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social-media-sidebar a:hover {
    background-color: rgba(255, 127, 0, 0.2); /* delikatne pomarańczowe podświetlenie */
    box-shadow: 0 0 12px rgba(255, 127, 0, 0.6);
    transform: scale(1.1);
}

.social-media-sidebar a img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease;
    display: block;
}

.social-media-sidebar a:hover img {
    opacity: 1;
}

/* Pokazanie sekcji po najechaniu na krawędź */
body:hover .social-media-sidebar {
    right: 0;
}

/* Styl bocznego widgetu Discord */
.discord-widget {
    position: fixed;
    bottom: 50px;
    left: -350px;
    transform: translateY(0);
    transition: left 0.3s ease-in-out;
    z-index: 20;
}

/* ================================
   STOPKA (bez animacji)
================================ */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  color: #f5f5f5;
  padding: 10px 0;
  font-size: 14px;
  text-align: center;
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 127, 0, 0.3);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
  z-index: 5;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
}

footer p {
  margin: 0;
  text-shadow: 0 0 6px rgba(255, 127, 0, 0.4);
}

/* ================================
   HAMBURGER MENU
================================ */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 100;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
  box-shadow: 0 0 5px rgba(255, 127, 0, 0.5);
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ================================
   RESPONSYWNOŚĆ
================================ */
@media (max-width: 768px) {
  body { padding-top: 100px; background-attachment: scroll; }

  .menu-toggle {
    display: flex;
    position: absolute;
    top: 25px;
    right: 25px;
  }

  nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid #FF7F00;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
  }
  nav.active { display: flex; }
  nav ul { flex-direction: column; gap: 15px; }

  .social-media-sidebar { display: none; }

  footer { font-size: 13px; padding: 10px; }
}

.social-media-sidebar a img[src*="facebook"] {
  transform: scale(1.15);
}

/* Ukrycie numeracji i kropek z list */
ul, ol {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

