body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('assets/indexbg.webp') no-repeat center center;
  background-size: cover;
  font-family: Arial, sans-serif;
}

button {
  padding: 12px 20px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  background: #ff6f61;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #ff3b2e;
}

/* Popup styles */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.popup.show {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.popup.show .popup-content {
  transform: scale(1);
}

.popup-content img {
  max-width: 100%;
  border-radius: 10px;
}

.close-btn {
  margin-top: 10px;
  padding: 8px 15px;
  background: #ff6f61;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.close-btn:hover {
  background: #ff3b2e;
}

#hugCounter {
  position: fixed;          /* Fix at top-left */
  top: 20px;                /* Distance from top */
  left: 20px;               /* Distance from left */
  background-color: rgba(255, 111, 97, 0.9); /* semi-transparent red */
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 1000;            /* on top of everything */
}
