

.container {
  width: 50%;
  display: flex;
  justify-content: center; 
  align-items: flex-start;   
  background: white;
  margin-top: 80px; 
  margin-bottom: 10px;
}
.swiper {
  display: flex;
  align-items: center;  
  justify-content: center;
  width: auto;  
  height: fit-content;
  margin-top: 40px;
  margin-bottom: 10px;
}

.swiper-slide img {
  width: 40%;  
  display: block;
  margin: 0 auto; 
}

/* Popup background */
.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

/* Popup box */
.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  width: 300px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Stars */
.stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 15px 0;
}
.stars span {
  font-size: 30px;
  cursor: pointer;
  color: #ccc;
  transition: color 0.3s;
}
.stars span.active {
  color: gold;
}

/* Buttons */
button {
  padding: 8px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}
.close-btn {
  background: #ccc;
}
.submit-btn {
  background: #007bff;
  color: white;
}


#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  background-color: #333;
  color: white;
  cursor: pointer;
  display: none; /* hidden by default */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s, transform 0.3s;
}

#backToTop:hover {
  background-color: #555;
  transform: scale(1.1);
}


/* Secret popup styling */
.secret-popup {
  display: none; /* hidden by default */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.secret-popup-content {
  background: #fff;
  border-radius: 15px;
  padding: 20px 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: popin 0.4s ease;
}

.secret-popup-content h2 {
  margin-bottom: 10px;
}

.secret-popup-content button {
  margin-top: 15px;
  padding: 8px 16px;
  border: none;
  background: #007BFF;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

.secret-popup-content button:hover {
  background: #0056b3;
}

@keyframes popin {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}




#gameBtn {
  position: absolute;   /* puts it in the corner */
  top: 20px;
  right: 20px;
  padding: 12px 25px;
  background: grey;
  color: white;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1000;        /* makes sure it's always visible */
  transition: background 0.3s;
}

#gameBtn:hover {
  background: darkgrey;
}
