#nix18-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

#nix18-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  max-width: 90vw;
  max-height: 90vh;
  transform: translate(-50%, -50%) scale(0.9);
  background-color: #fcb314;
  background-image: url('nix18-logo.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  z-index: 9999;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 15px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Active (visible) states */
#nix18-overlay.active,
#nix18-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Centered bottom button */
#nix18-accept-btn {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

#nix18-accept-btn:hover {
  background-color: #333;
}
