/* === Layout === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0f0f0f;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  text-align: center;
  padding: 30px 20px 100px;
  flex: 1;
}

#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* === Typografia === */
h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* === Animacje fadeIn === */
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }
.delay-3 { animation-delay: 1.5s; }
.delay-4 { animation-delay: 2s; }

/* === Animacja fadeInUp dla obrazków === */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Obrazki merchu === */
.merch-img {
  width: 100%;
  max-width: 1005px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 10px;
  background-color: transparent;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.merch-img:hover {
  transform: scale(1.05);
  filter: brightness(1.1) saturate(1.2);
}

/* === Przycisk Gumroad === */
.gumroad-link {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  padding: 15px 25px;
  background-color: #ff5f5f;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 95, 95, 0.4);
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  white-space: nowrap;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
  animation-delay: 3.5s;
}

.gumroad-link:hover {
  background-color: #ff2f2f;
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .gumroad-link {
    padding: 12px 18px;
    font-size: 0.9rem;
  }
}
