/* Resetowanie domyślnych ustawień */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ciało strony */
body {
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

/* Sekcja Hero z tłem wideo */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Umieszczamy wideo w tle */
}

/* Wyśrodkowanie kafelków */
.tiles {
  display: flex;
  justify-content: center; /* Wyśrodkowanie kafelków */
  gap: 50px;
  z-index: 1;
  position: relative;
}

.tile {
  color: #fff;
  padding: 40px;
  text-align: center;
  border-radius: 20px;
  width: 45%;  /* Każdy kafelek zajmuje 45% szerokości */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  height: 400px;  /* Możesz zmieniać wysokość w zależności od potrzeb */
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  filter: brightness(50%); /* Przyciemnienie kafelków */
}

/* Dodanie napisu "Wkrótce" do kafelków */
.tile::after {
  content: "Wkrótce";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: bold;
  color: white;
  z-index: 1;  /* Upewnienie się, że napis będzie na wierzchu */
}

/* Kafelka Forum */
.tile.forum {
  background-image: url('assets/forum.jpg'); /* Tło Forum */
}

/* Kafelka Gry */
.tile.games {
  background-image: url('assets/games.jpg'); /* Tło Gier */
  pointer-events: none;  /* Zablokowanie klikania */
}

/* Przycisk */
.cta-button {
  background-color: #ff5733;
  color: white;
  padding: 15px 30px;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: auto;  /* Przycisk będzie na dole kafelka */
}

.cta-button:hover {
  background-color: #c7401f;
  transform: scale(1.1);
}

/* Efekty na Kafelkach */
.tile:hover {
  transform: translateY(-10px); /* Kafelki unoszą się */
  background-color: rgba(255, 87, 51, 0.7); /* Kolor kafelka przy najechaniu */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.9); /* Większy cień przy najechaniu */
}

.tile:hover .cta-button {
  background-color: #fff;
  color: #333;
}

/* Zwiększenie rozmiaru logo */
.logo img {
  width: 700px; /* Większe logo */
  margin-bottom: 30px;
  z-index: 1;
  position: relative;
}

/* Responsywność */
@media (max-width: 768px) {
  .tiles {
    flex-direction: column;
    gap: 20px;
  }
}