body {
  margin: 0;
  background-color: #111;
  color: #ccc;
  font-family: Arial, sans-serif;
}

a {
  color: #00ccff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  margin: 0;
  padding: 0;
}

.banner-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.banner {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* MENU na obrazku */
.top-nav {
  position: absolute;
  top: 20px;
  right: 30px;
  display: flex;
  gap: 20px;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 12px;
  border-radius: 6px;
  z-index: 5;
  align-items: center;
}

.top-nav a {
  color: #fff;
  font-weight: bold;
}

.top-nav a:hover {
  color: #00ccff;
}

/* Rotujący napis na środku bannera */
.banner-text-rotator {
  position: absolute;
  top: 70%;
  left: 75%;
  transform: translate(-50%, -50%);
  padding: 10px 20px;
  background: rgba(0,0,0,0.6);
  border-radius: 8px;
  color: #00ccff;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  opacity: 1;
  z-index: 5;
  transition: opacity 0.5s ease-in-out;
}

/* Połysk */
.banner-container::before,
.banner-container::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 8px;
}

.banner-container::before {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(6px);
}

.banner-container::after {
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  width: 120%;
  left: -120%;
  animation: shineStrong 4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.6));
}

@keyframes shineStrong {
  from { left: -120%; }
  to { left: 120%; }
}

/* STRUKTURA 3-KOLUMNOWA */
.container {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 10px;
}

.left {
  flex: 1;
  min-width: 220px;
}

.center {
  flex: 3;
  min-width: 300px;
}

.right {
  flex: 1;
  min-width: 220px;
}

/* BOXY */
.box {
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
}

.box h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #00ccff;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
  font-size: 1.1em;
}

/* Linia z obrazkiem w tle */
.bg-line {
  background-image: url('images/box-bg.gif');
  background-repeat: repeat-x;
  background-size: cover;
  padding: 5px 10px;
  margin: 5px 0;
  color: #111;
  font-weight: bold;
  text-align: center;
  border-radius: 3px;
}

.small-text {
  font-size: 0.9em;
  color: #aaa;
}

.time-box {
  background-color: #222;
  padding: 5px;
  margin-top: 5px;
  border: 1px solid #333;
  text-align: center;
  font-family: monospace;
  color: #ccc;
}

/* Discord button/link styl */
.discord-link {
  display: inline-block;
  background-color: #5865F2;
  color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.discord-link:hover {
  background-color: #4752C4;
}

/* LISTY */
ul {
  list-style: none;
  padding: 0;
}

li {
  padding: 5px 0;
}

.date {
  float: right;
  color: #888;
}

footer {
  margin-top: 40px;
  padding: 20px;
  background-color: #1a1a1a;
  border-top: 2px solid #333;
  text-align: center;
  color: #777;
  font-size: 0.9em;
}

.footer-links a {
  margin: 0 5px;
}

.news-container {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.news-single-icon {
  width: auto;       /* wyświetl oryginalną szerokość */
  height: auto;      /* wyświetl oryginalną wysokość */
  max-height: 134px; /* opcjonalnie max wysokość (z Twojego PNG) */
  max-width: 71px;   /* opcjonalnie max szerokość */
  margin-top: 0;     /* dostosuj jeśli trzeba */
  flex-shrink: 0;    /* żeby się nie kurczył */
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.news-list li {
  padding: 8px 0;
  border-bottom: 1px solid #333;
  color: #ccc;
}

.news-list li strong {
  color: #00ccff;
  margin-right: 6px;
}

.news-list li .date {
  display: block;
  color: #888;
  font-size: 0.85em;
  margin-top: 4px;
}

.videos-container {
  display: flex;
  gap: 15px;
  align-items: center;
}

.videos-single-icon {
  width: auto;
  height: 134px; /* dopasuj do Twojej ikony */
  flex-shrink: 0;
}

.videos-carousel {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.videos-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
  gap: 10px;
}

.video-item {
  flex: 0 0 100px; /* szerokość pojedynczego kwadratu */
  height: 100px;
  border: 1px solid #333;
  border-radius: 6px;
  overflow: hidden;
}

.video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-item img:hover {
  transform: scale(1.05);
}

.carousel-btn {
  background: rgba(0,0,0,0.6);
  border: none;
  color: #00ccff;
  font-size: 2em;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  user-select: none;
  transition: background-color 0.3s;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.9);
}

.left-btn {
  margin-right: 10px;
}

.right-btn {
  margin-left: 10px;
}

.event-display {
  text-align: center;
  color: #00ccff;
  font-weight: bold;
  min-height: 120px; /* stała wysokość dla estetyki */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.event-display img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.form-input {
  width: 100%;
  padding: 8px;
  background-color: #222;
  border: 1px solid #444;
  border-radius: 4px;
  color: #ccc;
}

.form-button {
  padding: 8px 16px;
  background-color: #00ccff;
  border: none;
  border-radius: 4px;
  color: #111;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-button:hover {
  background-color: #009ecc;
}

/* === RANKING TABLE STYLE === */

.ranking {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background-color: #111;
  color: #ddd;
  font-size: 14px;
}

.ranking th,
.ranking td {
  border: 1px solid #333;
  padding: 8px 10px;
  text-align: center;
}

.ranking th {
  background-color: #222;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ranking tr:nth-child(even) {
  background-color: #1a1a1a;
}

.ranking tr:hover {
  background-color: #222;
  color: #fff;
}

.ranking-container {
  max-width: 600px;
  margin: 0 auto;
}
