@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

:root {
  --bg-dark: #050505;
  --bg-gradient: radial-gradient(circle at top left, #0a0a0a 0%, #050505 50%, #000000 100%);
  --toxic-green: #39ff14;
  --neon-green-glow: 0 0 8px #39ff14, 0 0 20px #39ff14;
  --text-gray: #c8c8c8;
  --text-light: #f1f1f1;
  --transition-speed: 0.3s;
}

#adamcwel{
  color: var(--toxic-green);
  font-weight: 700;
}

#regs{
  color: var(--toxic-green);
}

body {
  background: #0a0a0a; /* było #050505 – jaśniejsze, ale nadal ciemne */
  color: var(--text-light);
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
  line-height: 1.6;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}
/* Przyspieszenie GPU */
.card-hover,
.swiper-slide,
header,
body::before {
  will-change: transform, opacity, filter;
}


/* Rozjaśnione, mocniej widoczne neonowe plamy */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
      radial-gradient(circle at 20% 25%, rgba(57, 255, 20, 0.18), transparent 35%),
      radial-gradient(circle at 80% 35%, rgba(57, 255, 20, 0.14), transparent 40%),
      radial-gradient(circle at 60% 80%, rgba(57, 255, 20, 0.10), transparent 45%),
      radial-gradient(circle at 30% 90%, rgba(57, 255, 20, 0.09), transparent 50%);
  filter: blur(25px);
  opacity: 0.55; /* było ~0.35–0.55 → bardziej widoczne */
  animation: toxicFlow 18s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes toxicFlow {
  0% {
    transform: scale(1) translateY(0);
    filter: hue-rotate(0deg) blur(40px);
    opacity: 0.35;
  }
  100% {
    transform: scale(1.05) translateY(-2%);
    filter: hue-rotate(40deg) blur(45px);
    opacity: 0.55;
  }
}

#scrollTopBtn:hover svg {
  filter: drop-shadow(0 0 9px var(--toxic-green));
  transform: scale(1.05);
  transition: all var(--transition-speed) ease;
}

/* STRZAŁKI SWIPER */
.swiper-button-next,
.swiper-button-prev {
  color: var(--toxic-green); /* zielony kolor strzałek */
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #59ff4a; /* jaśniejszy neon przy hoverze */
  text-shadow: 0 0 8px #39ff14, 0 0 20px #39ff14;
  transform: scale(1.1);
}

/* EFEKT PŁYNNEGO HOVER DLA ARTYKUŁÓW */
.card-hover {
  transition: all 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease, border-top-color 0.4s ease;
  position: relative;
  background-color: #050505;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.25);
}

/* Subtelny glow pseudo-elementem */
.card-hover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease, box-shadow 0.4s ease;
  pointer-events: none;
}

.card-hover:hover::before {
  opacity: 1;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.35);
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0) !important;
  /*backdrop-filter: blur(12px);*/
  z-index: 50;
  border-bottom: 1px solid rgba(57, 255, 20, 0.1);
  box-shadow: 0 0 2px rgba(57, 255, 20, 0.05);
  /*transition: background var(--transition-speed) ease, box-shadow var(--transition-speed) ease; */
}

header .nav-link {
  color: var(--text-gray);
  transition: color var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
  position: relative;
}

header .nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--toxic-green);
  transition: width var(--transition-speed) ease;
  position: absolute;
  bottom: -4px;
  left: 0;
}

header .nav-link:hover::after {
  width: 100%;
}

header .nav-link:hover {
  color: var(--toxic-green);
  text-shadow: var(--neon-green-glow);
}

/* Aktywny link */
header .nav-link.active {
  color: var(--toxic-green);
  text-shadow: var(--neon-green-glow);
}

/* PRZYCISKI */
.discord-btn {
  background: linear-gradient(90deg, #1a1a1a, #0c0c0c);
  border: 1px solid var(--toxic-green);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
  color: var(--toxic-green);
  transition: all var(--transition-speed) ease;
  animation: pulseGlow 2s infinite;
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
}

.discord-btn:hover {
  background: var(--toxic-green);
  color: #000;
  box-shadow: 0 0 25px var(--toxic-green);
  transform: scale(1.05);
}

.apply-btn {
  background: var(--toxic-green);
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
  transition: all var(--transition-speed) ease;
  border-radius: 8px;
  padding: 0.7rem 1.6rem;
}

.apply-btn:hover {
  background: #59ff4a;
  box-shadow: 0 0 20px var(--toxic-green);
  transform: translateY(-2px) scale(1.02);
}



/* Efekt pulsacji przy Discord */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 7px rgba(57, 255, 20, 0.2); }
  50% { box-shadow: 0 0 9px rgba(57, 255, 20, 0.6); }
}

/* SEKCJE */
section {
  padding: 120px 0;
  position: relative;
  transition: background var(--transition-speed) ease;
}

/* Sekcja 1,2,3 – obok siebie */
#features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

#features .card {
  background: rgba(15, 15, 15, 0.95);
  border: 2px solid rgba(57, 255, 20, 0.1);
  border-radius: 19px;
  padding: 2rem;
  transition: all 0.4s ease, transform 0.4s ease;
  backdrop-filter: blur(4px);
}

#features .card:hover {
  border-color: var(--toxic-green);
  transform: translateY(-8px);
  box-shadow: 0 0 1px rgba(57, 255, 20, 0.3);
}

/* Sekcje Serwer / Galeria / FAQ – pod sobą */
#serwer, #galeria, #faq {
  display: block;
  width: 100%;
  margin-top: 60px;
  border-top: 1px solid rgba(57, 255, 20, 0.15);
}

#galeria {
    height: 580px;
}

/* Scrollbar w kolorze neonowym */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--toxic-green);
  border-radius: 10px;
  box-shadow: var(--neon-green-glow);
}

::-webkit-scrollbar-track {
  background: #000;
}

#faq {
  background-color: #000; /* czarne tło */
  padding: 20px;
  border: 1px solid #00ff41; /* toksyczna zielona ramka */
  border-radius: 19px;
  box-shadow: 0 0 9px #00ff41; /* świecący efekt */
}

.faq-item summary {
  cursor: pointer;
  color: #e9e9e9;
  font-weight: bold;
}

.faq-item p {
  color: white;
}

.faq-item {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #00ff41;
  padding: 10px;
  border-radius: 8px;
}

.gallerySwiper {
  height: 460px;  /* wysokość slidera */
}

.gallerySwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallerySwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.15);
}

.gallerySwiper img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.35);
}

/* Strzałki neon */
.swiper-button-next,
.swiper-button-prev {
  color: #39ff14;
  filter: drop-shadow(0 0 7px #39ff14);
  transition: .3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.2);
}