body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #cc3ca8, #a553ee);
  color: white;
  margin: 0;
  text-align: center;
  overflow-x: hidden; /* horizontal scroll off */
  overflow-y: auto;   /* vertical scroll on */
}

header {
  padding: 25px;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Main container – now vertically scrollable */
.gallery-container {
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  gap: 25px;
  scrollbar-width: thin;
  scrollbar-color: #ff6b6b #333;
}

/* Gallery cards – vertical arrangement */
.gallery {
  display: flex;
  flex-direction: column; /* row → column */
  align-items: center;
  gap: 25px;
  width: 100%;
  max-width: 400px;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  width: 100%;
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.card button {
  background: #ff6b6b;
  border: none;
  color: white;
  padding: 10px 20px;
  margin: 15px 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.card button:hover {
  background: #ff3b3b;
}