.wiki-hero {
  background-color: #1a1a1a; /* Ciemne tło (dopasuj do reszty wiki) */
  color: #ffffff;
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  /* background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/tlo-serwera.jpg'); <- tu jak będzie fajny screen to można dać*/
  background-size: cover;
  background-position: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

/* Tęczowy gradient na tekście */
.gradient-text {
  background: linear-gradient(90deg, #ff6b6b, #feca57, #1dd1a1, #5f27cd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Gradient Patronite */
.gradient-patronite {
  background: linear-gradient(90deg, #fa5305, #702400);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Gradient Minecraft */
.gradient-minecraft {
  background: linear-gradient(90deg, #009e0d, #004f07);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
/* Gradient Discord */
.gradient-discord {
  background: linear-gradient(90deg, #0345fc, #001f75);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Podtytuł */
.hero-subtitle {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2rem;
  font-weight: 200;
}

.hero-description {
  background: rgba(255, 255, 255, 0.05); /* Półprzezroczyste tło */
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  border-left: 4px solid #1dd1a1; /* Zielony akcent po lewej */
  text-align: left;
}

.patronite-description {
  background: rgba(255, 255, 255, 0.05); /* Półprzezroczyste tło */
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  border-left: 4px solid #fa5305; /* Zielony akcent po lewej */
  text-align: left;
}

.hero-description p {
  margin: 0;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #5f27cd; /* Kolor fioletowy */
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.2s, background-color 0.2s;
}

.btn-primary:hover {
  background-color: #4b1bad;
  transform: translateY(-2px);
}

.divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5f27cd, transparent);
  margin: 3rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.section-desc {
  text-align: center;
  color: #aaa;
  margin-bottom: 2rem;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; /* Odstępy między kafelkami */
  padding: 0 1rem;
}

/* Wygląd pojedynczego kafelka */
.nav-card {
  background-color: #252525;
  border-radius: 10px;
  padding: 1.5rem;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 5px solid transparent;
}

.nav-card:hover {
  transform: translateY(-5px);
  background-color: #2f2f2f;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.card-icon {
  font-size: 2.5rem;
}

.card-content h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
  white-space: nowrap;
}

.card-content p {
  margin: 0.3rem 0 0 0;
  font-size: 0.9rem;
  color: #ccc;
}

/* kolorowe paski po lewej */
.card-red { border-left-color: #ff6b6b; }
.card-orange { border-left-color: #feca57; }
.card-green { border-left-color: #1dd1a1; }
.card-purple { border-left-color: #5f27cd; }

/* Jeśli ekran jest węższy niż 480px (telefony) */
@media (max-width: 480px) {
  .nav-grid {
    grid-template-columns: 1fr; 
  }
  .nav-card {
    flex-direction: column; 
    text-align: center;
    border-left: none;
    border-top: 5px solid transparent; 
  }

  /* na mobilce pasek na górze */
  .card-red { border-top-color: #ff6b6b; }
  .card-orange { border-top-color: #feca57; }
  .card-green { border-top-color: #1dd1a1; }
  .card-purple { border-top-color: #5f27cd; }
}