/* --- RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- STRONA --- */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
  color: #e0e0e0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-top: 85px; /* żeby treść nie wchodziła pod header */
}
#back_image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.9; /* lekka przezroczystość, opcjonalnie */
}
/* --- TŁO WIDEO --- */
/*
video#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.2;
}
*/

/* --- HEADER --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  background: rgba(15, 25, 25, 0.45); /* przezroczystość */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px 20px;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 255, 255, 0.08);
  animation: fadeIn 1.2s ease-in-out;
}

header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  color: #33ffff;
  text-shadow: 0 0 10px #33ffff66;
}

/* --- PRZYCISK STRONA GŁÓWNA --- */
.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.25);
  color: #33ffff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
  position: absolute;
  top: 50%;
  left: 25px;
  transform: translateY(-50%);
  backdrop-filter: blur(6px);
}

.home-btn i {
  font-size: 1rem;
}

.home-btn:hover {
  background: rgba(0, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}
.legend {
  text-align: center;
  margin: 25px auto;
  max-width: 1000px;
  background: rgba(20, 25, 25, 0.6); /* ciemne szkło */
  padding: 14px 25px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.05);
  font-size: 0.95rem;
  font-family: 'Orbitron', sans-serif;
  color: #b0ffff;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease-in-out;
}
.legend p {
  margin: 0;
  line-height: 1.6;
}

/* 🟢 Kolory i efekt neonowy dla statusów */
.status {
  font-weight: 500;
}

.status.online {
  color: #33ff99;
  text-shadow: 0 0 8px #33ff99cc, 0 0 15px #00ffaa55;
  animation: pulseOnline 2s infinite alternate ease-in-out;
}

.status.idle {
  color: #ffee66;
  text-shadow: 0 0 6px #ffee6688;
}

.status.paused {
  color: #ffaa44;
  text-shadow: 0 0 6px #ffaa4488;
}

.status.offline {
  color: #ff5555;
  text-shadow: 0 0 6px #ff555588;
}

/* ✨ Animacja pulsującej diody ONLINE */
@keyframes pulseOnline {
  0% { text-shadow: 0 0 8px #33ff99cc, 0 0 15px #00ffaa55; opacity: 1; }
  100% { text-shadow: 0 0 3px #33ff9980, 0 0 6px #00ffaa22; opacity: 0.8; }
}

/* --- SEKCJA INTRO --- */
.intro {
  max-width: 900px;
  margin: 40px auto;
  background: rgba(25, 25, 25, 0.8);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
  padding: 25px 35px;
  text-align: center;
  backdrop-filter: blur(6px);
}

.intro h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.9rem;
  color: #33ffff;
  margin-bottom: 15px;
  text-shadow: 0 0 10px #33ffff66, 0 0 25px #00caff33;
}

.intro p {
  font-size: 1.05rem;
  color: #d0d0d0;
  line-height: 1.6;
}

/* --- TABELA SERWERÓW --- */
.servers {
  text-align: center;
}

.servers h2 {
  font-family: 'Orbitron', sans-serif;
  color: #33ffff;
  font-size: 2rem;
  margin: 40px 0 25px;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 0 10px #33ffff55, 0 0 20px #00e0e033;
  animation: neonPulse 2.8s ease-in-out infinite alternate;
}

@keyframes neonPulse {
  0% { text-shadow: 0 0 6px #33ffff55, 0 0 12px #00e0e033; }
  100% { text-shadow: 0 0 14px #33ffffaa, 0 0 26px #00ffff66; }
}

.table-container {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding: 20px;
}

.servers-table {
  border-collapse: collapse;
  width: 90%;
  max-width: 1000px;
  background: rgba(25, 25, 25, 0.8);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.servers-table th {
  background: linear-gradient(180deg, #009f80, #007060);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 14px;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(0,255,255,0.2);
}

.servers-table td {
  text-align: center;
  padding: 12px 10px;
  color: #d8d8d8;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s ease, color 0.3s ease;
}

.servers-table tr:nth-child(odd) td {
  background: rgba(255,255,255,0.04);
}

.servers-table tr:hover td {
  background: rgba(0,255,255,0.12);
  color: #fff;
}

.servers-table td:first-child {
  font-weight: 600;
  color: #aeefff;
}

/* --- TABELA SRS / LOTATC --- */
.radio {
  text-align: center;
  margin-top: 60px;
}

.radio h2 {
  font-family: 'Orbitron', sans-serif;
  color: #33ffff;
  font-size: 1.8rem;
  margin: 30px 0 25px;
  text-shadow: 0 0 10px #33ffff55, 0 0 20px #00e0e033;
  animation: neonPulse 3s ease-in-out infinite alternate;
}

.radio-table {
  border-collapse: collapse;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(25, 25, 25, 0.8);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.radio-table th {
  background: linear-gradient(180deg, #008b99, #006677);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 14px;
  letter-spacing: 1px;
}

.radio-table td {
  text-align: center;
  padding: 12px 10px;
  color: #d8d8d8;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s ease, color 0.3s ease;
}

.radio-table tr:nth-child(odd) td {
  background: rgba(255,255,255,0.04);
}

.radio-table tr:hover td {
  background: rgba(0,255,255,0.12);
  color: #fff;
}


/* --- CTA SEKCJA --- */
.cta {
  text-align: center;
  padding: 50px 20px;
}

.cta h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.9rem;
  color: #33ffff;
  text-shadow: 0 0 10px #33ffff55;
  margin-bottom: 15px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 25px;
  line-height: 1.6;
  color: #d8d8d8;
}

.cta-btn {
  display: inline-block;
  background: rgba(0,255,255,0.15);
  border: 2px solid #33ffff;
  border-radius: 10px;
  padding: 12px 25px;
  color: #e0ffff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: rgba(0,255,255,0.25);
  box-shadow: 0 0 20px #00ffff66;
}

/* --- STOPKA --- */
footer {
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  margin: 40px 0 20px;
}

/* --- ANIMACJE --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }

  .intro h2, .cta h2 {
    font-size: 1.6rem;
  }

  .servers-table, .radio-table {
    width: 95%;
  }

  .home-btn {
    font-size: 0.85rem;
    padding: 5px 10px;
    left: 15px;
  }
}
/* --- ANIMACJA FADE-UP --- */
.intro,
.servers,
.radio,
.cta {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro.show,
.servers.show,
.radio.show,
.cta.show {
  opacity: 1;
  transform: translateY(0);
}
/* --- AKTUALIZACJA DATY --- */
.update-info {
  text-align: center;
  margin: 40px auto 30px;
  color: #aeefff;
  font-size: 1rem;
  opacity: 0.85;
}

.update-info span {
  color: #33ffff;
  font-weight: bold;
  text-shadow: 0 0 6px #33ffff55;
}

/* --- TRYB NOCNY --- */
body.dark-mode {
  background: linear-gradient(180deg, #0a0a0a, #000);
  color: #e8e8e8;
}

body.dark-mode header h1,
body.dark-mode .intro h2,
body.dark-mode .servers h2,
body.dark-mode .radio h2 {
  color: #00ffff;
}

body.dark-mode table {
  background: rgba(15, 15, 15, 0.8);
}

body.dark-mode footer {
  background: rgba(15, 15, 15, 0.8);
}
.update-info {
  text-align: center;
  color: #ccc;
  font-size: 0.95rem;
  margin: 30px auto;
  opacity: 0.85;
  transition: opacity 0.4s ease;
}

.update-info p {
  display: inline-block;
  background: rgba(25, 25, 25, 0.7);
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
}

.update-info span {
  color: #33ffff;
  font-weight: 600;
  text-shadow: 0 0 6px #00ffff66;
}

