/* Reset & base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #111;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 9%;
  background-color: #f1f1f1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #38196b;
}

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #38196b;
}
.nav-links a.active {
  color: #38196b;
  font-weight: 600;
  /* Jeśli chcesz np. podkreślenie jak border-bottom zamiast hovera */
  border-bottom: 2px solid #38196b;
  padding-bottom: 2px;
}

/* Games Section */
.our-games {
  padding: 5rem 9%;
  background-color: #fff;
  text-align: center;
}

.section-title {
  font-size: 3.5rem;
  color: #38196b;
  margin-bottom: 1.2rem;
}

.games-description {
  font-size: 1.4rem;
  color: #444;
  max-width: 800px;
  margin: 0 auto 4rem;
}

/* Game Entry List Style */
.games-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.game-entry {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 700px;
  width: 100%;
  background-color: #f9f9f9;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.game-entry:hover {
  transform: translateY(-5px);
}

.game-entry img {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.game-info {
  text-align: left;
}

.game-info h3 {
  font-size: 1.6rem;
  color: #38196b;
  margin-bottom: 0.5rem;
}

.game-info p {
  font-size: 1.2rem;
  color: #555;
}

.game-info i {
  margin-right: 0.4rem;
  color: #888;
}
/* Highlight active nav */
.nav-link.active {
  border-bottom: 2px solid #38196b;
}

/* About Section */
.about {
  padding: 5rem 9%;
  background-color: #f9f9f9;
  text-align: center;
}
.about-description {
  max-width: 700px;
  margin: auto;
  font-size: 1.3rem;
  color: #444;
}

.contact {
  padding: 5rem 9%;
  background-color: #fff;
  max-width: 700px;
  margin: auto;
  /* usuń text-align: center stąd */
}
.contact .section-title {
  text-align: center;  /* wyśrodkuj tylko nagłówek */
  margin-bottom: 2rem; /* dodaj trochę odstępu pod nagłówkiem */
}
.contact form {
  text-align: left; /* wyrównaj formularz do lewej */
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact label {
  font-weight: 600;
}
.contact input,
.contact select,
.contact textarea {
  padding: 0.9rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #f7f7f7;
  font-size: 1rem;
}
.contact textarea {
  resize: vertical;
}
.contact .checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.contact button {
  padding: 1rem;
  background-color: #1b25dd;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s;
}
.contact button:hover {
  background-color: #0f1abf;
}
/* Style dla sekcji polityki prywatności */
.privacy {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

.privacy h2.section-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #222;
  text-align: center;
}

.privacy h3 {
  font-size: 1.3rem;
  margin-top: 25px;
  margin-bottom: 10px;
  color: #444;
  border-bottom: 2px solid #007BFF;
  padding-bottom: 4px;
}

.privacy p, 
.privacy ul {
  font-size: 1rem;
  margin-bottom: 15px;
}

.privacy ul {
  list-style-type: disc;
  padding-left: 20px;
}

.privacy a {
  color: #007BFF;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.privacy a:hover,
.privacy a:focus {
  color: #0056b3;
  outline: none;
}

/* Responsive - mniej paddingu na mniejszych ekranach */
@media (max-width: 600px) {
  .privacy {
    padding: 15px 20px;
  }
}

.gallery {
  text-align: center;
  padding: 50px 20px;
  background: #f4f4f4;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 10px;
}

.carousel-track img {
  width: 1000px;
  height: 562px; /* 16:9 proporcja do 1000px szerokości */
  flex-shrink: 0;
  object-fit: cover;
  background: #000; /* możesz usunąć jeśli niepotrzebne */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: fit-content;
}

.carousel-slide {
  position: relative;
  width: 1000px;
  height: 562px; /* 16:9 proporcja */
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-blur {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(25px) brightness(0.8);
  transform: scale(1.1);
  z-index: 0;
}

.main-img {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  z-index: 1;
  border-radius: 6px;
}

@media (max-width: 1000px) {
  .carousel-slide {
    width: 100vw;
    height: calc(100vw * 9 / 16); /* dynamiczna proporcja */
  }
}


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  padding: 10px 20px;
  z-index: 2;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.success-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #38196b;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease-in-out;
  z-index: 9999;
}

.success-popup.show {
  opacity: 1;
  transform: translateY(0);
}
.store-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #38196b;
  font-weight: bold;
  gap: 6px;
  transition: color 0.3s ease;
}

.store-link:hover {
  color: #6c35d0;
}
.social-media {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.social-icon {
  font-size: 2.8rem;
  color: #38196b;
  transition: color 0.3s, transform 0.3s;
}

.social-icon:hover,
.social-icon:focus {
  color: #7a4ddb; /* jaśniejszy fiolet */
  transform: scale(1.2);
  outline: none;
}




